IMMREX7
<?php $__env->startSection('content'); ?>
<div class="row clearfix">
<div class="col-sm-12">
<div class="card">
<div class="header">
<h2><strong>Paid Salary Report</strong></h2>
</div>
<div class="body" style="padding-top:1px;">
<div class="body table-responsive">
<table class="table table-bordered table-striped table-hover js-basic-example dataTable">
<thead>
<tr>
<th>S. No.</th>
<th>Month</th>
<th>Basic</th>
<th>Advance</th>
<th>Deduction</th>
<th>Total Salary</th>
<th>Action</th>
</tr>
</thead>
<tbody>
<?php $i=1; ?>
<?php $__currentLoopData = $salreport; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $var): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<tr>
<th scope="row"><?php echo e($i); ?></th>
<td><?php echo e(isset($var->month->monthName) ? $var->month->monthName : ''); ?></td>
<td><?php echo e($var->totalEarning); ?></td>
<td><?php echo e(isset($var->advance) ? $var->advance : '0.00'); ?></td>
<td><?php echo e($var->totalDeduction); ?></td>
<td><b><?php echo e($var->totalSalary); ?></b></td>
<td>
<?php if($var->isPaid == 'Y'): ?>
<a href="<?php echo e(url('/teacher/printslip/'.base64_encode($var->idEmpPayment))); ?>" class="btn btn-sm btn-success" target="_blank">Print Salary Slip</a>
<?php else: ?>
<a class="btn btn-sm btn-warning">Pending</a>
<?php endif; ?>
</td>
</tr>
<?php $i++;?>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('teachers.teacher_layout', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
Copyright © 2021 -