File: /var/www/html/hrms-production/storage/framework/views/5319ecc1adbff088e391ac0a0a0e950571706a1b.php
<?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">Cadre wise Abstract</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 colspan="1" class="align-middle">Cadre</th>
<th colspan="3" class="align-middle">Nomination</th>
<th colspan="3" class="align-middle">Promotion</th>
</tr>
<tr>
<th></th>
<th>Sanction</th>
<th>Filled</th>
<th>Vacant</th>
<th>Sanction</th>
<th>Filled</th>
<th>Vacant</th>
</tr>
</thead>
<tbody>
<?php $TotalNominationCadreFilled = 0; $TotalPromotionCadreFilled=0;?>
<?php $__currentLoopData = $groupData; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $report): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<tr>
<td><?php echo e($report["CadreName"]); ?></td>
<td></td>
<td>
<?php
$NominationFilled = isset($report["TotalNominationCadreWisePost"]) ? $report["TotalNominationCadreWisePost"] : '';
$TotalNominationCadreFilled = $TotalNominationCadreFilled + $NominationFilled;
?>
<?php echo e($report["TotalNominationCadreWisePost"]); ?>
</td>
<td></td>
<td></td>
<td>
<?php
$PromotionFilled = isset($report["TotalPromotionCadreWisePost"]) ? $report["TotalPromotionCadreWisePost"] : '';
$TotalPromotionCadreFilled = $TotalPromotionCadreFilled + $PromotionFilled;
?>
<?php echo e($report["TotalPromotionCadreWisePost"]); ?>
</td>
<td></td>
</tr>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<tr>
<th rowspan="6">Total</th>
<th></th>
<th><?php echo e($TotalNominationCadreFilled); ?></th>
<th></th>
<th></th>
<th><?php echo e($TotalPromotionCadreFilled); ?></th>
<th></th>
</tr>
</tbody>
</table>
</div>
<!-- /.card-body -->
</div>
<!-- /.card -->
</form>
</div>
<!-- /.col -->
</div>
<!-- /.row -->
</div>
<!-- /.container-fluid -->
</section>
<!-- /.content -->
</div>
// Name Of Cadre List
<script>
$(function() {
$("#emplaoyeeTable").DataTable({
"responsive": true,
"ordering": false,
// "lengthChange": true,
// "autoWidth": false,
// "lengthMenu": [10, 20, 50, 100, 250, 500],
// "columnDefs": [{ "orderable": false, "targets": 0 }],
"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/cadre-wise-report.blade.php ENDPATH**/ ?>