IMMREX7
@extends('teachers.teacher_layout')
@section('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; ?>
@foreach($salreport as $var)
<tr>
<th scope="row">{{$i}}</th>
<td>{{$var->month->monthName or ''}}</td>
<td>{{$var->totalEarning}}</td>
<td>{{$var->advance or '0.00'}}</td>
<td>{{$var->totalDeduction}}</td>
<td><b>{{$var->totalSalary}}</b></td>
<td>
@if($var->isPaid == 'Y')
<a href="{{url('/teacher/printslip/'.base64_encode($var->idEmpPayment))}}" class="btn btn-sm btn-success" target="_blank">Print Salary Slip</a>
@else
<a class="btn btn-sm btn-warning">Pending</a>
@endif
</td>
</tr>
<?php $i++;?>
@endforeach
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
@stop
Copyright © 2021 -