<?php $__env->startSection('content'); ?>
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<div class="container-fluid">
<div class="row mb-2">
<div class="col-sm-6">
<h1 id="page-title">Category wise Abstract (Promotion)</h1>
</div>
</div>
</div><!-- /.container-fluid -->
</section>
<!-- Main content -->
<section class="content">
<div class="container-fluid">
<div class="row">
<div class="col-12">
<div class="card">
<!-- /.card-header -->
<div class="card-body">
<table id="emplaoyeeTable" class="table table-bordered table-striped table-sm">
<thead>
<tr>
<th></th>
<th></th>
<th></th>
<th></th>
<th colspan="11">Cadre Wise Sanction Post</th>
<th colspan="11">Cadre Wise Filled Post</th>
<th colspan="11">Cadre Wise Vacant Post</th>
</tr>
<tr>
<th>Sr.No.</th>
<th>Cadre</th>
<th>Sanction Post</th>
<th>Filled Post</th>
<th>SC</th>
<th>ST</th>
<th colspan="4">VJ/NT</th>
<th>SBC</th>
<th>OBC</th>
<th>EWS</th>
<th>OPEN</th>
<th>Total</th>
<th>SC</th>
<th>ST</th>
<th colspan="4">VJ/NT</th>
<th>SBC</th>
<th>OBC</th>
<th>EWS</th>
<th>OPEN</th>
<th>Total</th>
<th>SC</th>
<th>ST</th>
<th colspan="4">VJ/NT</th>
<th>SBC</th>
<th>OBC</th>
<th>EWS</th>
<th>OPEN</th>
<th>Total</th>
</tr>
</thead>
<tbody>
<?php $__currentLoopData = $groupData; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $report): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<tr>
<td><?php echo e($loop->iteration); ?></td>
<td><?php echo e($report["CadreName"]); ?></td>
<td></td>
<td><?php echo e($report["TotalPromotionCadreWisePost"]); ?></td>
<td></td>
<td></td>
<td>A</td>
<td>B</td>
<td>C</td>
<td>D</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td>
<?php if($report["BasicCategoryName"] == "Scheduled Caste (SC)"): ?>
<?php echo e($report["TotalCategoryPost"]); ?>
<?php endif; ?>
</td>
<td>
<?php if($report["BasicCategoryName"] == "Scheduled Tribes (ST)"): ?>
<?php echo e($report["TotalCategoryPost"]); ?>
<?php endif; ?>
</td>
<td>A</td>
<td>B</td>
<td>C</td>
<td>D</td>
<td>
<?php if($report["BasicCategoryName"] == "Special Backward Classes (SBC)"): ?>
<?php echo e($report["TotalCategoryPost"]); ?>
<?php endif; ?>
</td>
<td>
<?php if($report["BasicCategoryName"] == "Other Backward Classes (OBC)"): ?>
<?php echo e($report["TotalCategoryPost"]); ?>
<?php endif; ?>
</td>
<td>
<?php if($report["BasicCategoryName"] == "Economically Weaker Sections (EWS)"): ?>
<?php echo e($report["TotalCategoryPost"]); ?>
<?php endif; ?>
</td>
<td>
<?php if($report["BasicCategoryName"] == "General Category (OPEN)"): ?>
<?php echo e($report["TotalCategoryPost"]); ?>
<?php endif; ?>
</td>
<td></td>
<td></td>
<td></td>
<td>A</td>
<td>B</td>
<td>C</td>
<td>D</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<th rowspan="1">Department</th>
<td><?php echo e($report["PromotionCadreWiseDepartment"]); ?></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td>
<?php if($report["BasicCategoryName"] == "Vimukta Jati (VJ)"): ?>
<?php echo e($report["TotalCategoryPost"]); ?>
<?php endif; ?>
</td>
<td>
<?php if($report["BasicCategoryName"] == "Nomadic Tribes-B (NT-B)"): ?>
<?php echo e($report["TotalCategoryPost"]); ?>
<?php endif; ?>
</td>
<td>
<?php if($report["BasicCategoryName"] == "Nomadic Tribes-C (NT-C)"): ?>
<?php echo e($report["TotalCategoryPost"]); ?>
<?php endif; ?>
</td>
<td>
<?php if($report["BasicCategoryName"] == "Nomadic Tribes-D (NT-D)"): ?>
<?php echo e($report["TotalCategoryPost"]); ?>
<?php endif; ?>
</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</tbody>
</table>
</div>
<!-- /.card-body -->
</div>
<!-- /.card -->
</form>
</div>
<!-- /.col -->
</div>
<!-- /.row -->
</div>
<!-- /.container-fluid -->
</section>
<!-- /.content -->
</div>
<script>
$(function() {
$("#emplaoyeeTable").DataTable({
"responsive": true,
"ordering": false,
"lengthChange": true,
"autoWidth": false,
// "lengthMenu": [10, 20, 50, 100, 250, 500],
"buttons": ["csv", "excel", "pdf", "print"],
}).buttons().container().appendTo('#emplaoyeeTable_wrapper .col-md-6:eq(0)');
});
</script>
<!-- /.content-wrapper -->
<?php $__env->stopSection(); ?>
<?php echo $__env->make('admin.include.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/html/hrms/resources/views/admin/Reports/category-wise-promotion.blade.php ENDPATH**/ ?>