@php
ini_set("pcre.backtrack_limit", "5000000");
$list = $data['list'];
$counter = 0;
$aca = 0.00; $pera = 0.00;
$index = 0; $monthlyNetpay = 0.00;
$element = [];
@endphp
{{ $campus_address }}
MONTHLY PAYMENT SLIP
For the month of {{$data['date']}}
| NAME OF EMPLOYEE | {{ $element['person']['person_info']['fullname'] }} |
| POSITION | {{ $element['person']['service_record']['position']['name'] }} |
| DEPARTMENT | {{ $element['person']['person_info']['department']['fullname'] }} |
| Basic Salary | {{-- {{ number_format((float)$element['person']['salary'], 2, '.', ',') }}--}} {{ number_format((float)$element['salary'], 2, '.', ',') }} |
| Salary Differential | 0.00 |
| {{ $benefits->ref_benefit->desc }} | {{ number_format((float)$benefits->amount, 2, '.', ',') }} |
| TOTAL EARNINGS | {{ number_format((float)($element['salary'] + $element['ben_total']), 2, '.', ',') }} |
| {{ $list_deduction->deduction_details->emp_deduction->ref_deduction->desc }} | {{ number_format((float)$list_deduction->amount, 2, '.', ',') }} | {{--{{ number_format((float)$list_deduction->amount, 2, '.', ',') }} | --}}
| TOTAL DEDUCTION | {{ number_format((float)$element['total'], 2, '.', ',') }} |
| NET PAY | @php $newnetpay = (($element['salary'] + $element['ben_total'])-$element['total']); if ($data['payroll_scope'] === "full_month") { $monthlyNetpay =$newnetpay; } @endphp {{ number_format((float)$monthlyNetpay, 2, '.', ',') }} |