| # | NAME/DESIGNATION | POSITION/ RANK |
MONTH(s) | NEW RATE |
OLD RATE |
TOTAL DIFF'L |
GROSS AMOUNT |
LRP-BKPR | LSU-FA | WTAX | TOTAL Deduction |
Net Amount Received |
Signature Remarks |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Function: {{$datalist[0]['desc']}} - {{$datalist[0]['code']}} | |||||||||||||
| {{ $cnt_data }} | {{ $data['fullname'] }} | {{ $data['position_name'] }} | |||||||||||
| {{ $value[0] }} | {{number_format((float)$data['new_rate'] , 2, '.', ',') }} | {{number_format((float)$data['old_rate'] , 2, '.', ',') }} | {{number_format((float)$diff , 2, '.', ',') }} | @php $deduct = new \App\Models\Payroll\Deduction(); $deduction = \App\Models\Payroll\PersonnelDeduction::query()->where('personnel_id', '=', $data['p_id'])->where('active', '=', 1)->where('deduction_id', '=', 26)->first(); $gross = ($diff/31)*$value[1]*$value[2]; $deduction_LRP = $gross * $deduct::DEFAULT_VALUE['LRP']; $LSUFA = $gross * $deduct::DEFAULT_VALUE['LSUFA']; if ($tenure == 1 || $tenure === '1') { $gross = ($diff * $casualTotalDays); $casualTotalGrossPerMonth = (round($data['new_rate'] * 22)*$value[2]) - (round($data['old_rate'] * 22)*$value[2]); $deduction_LRP = $casualTotalGrossPerMonth * $deduct::DEFAULT_VALUE['LRP']; $LSUFA = $casualTotalGrossPerMonth * $deduct::DEFAULT_VALUE['LSUFA']; } if ($deduction) { $deduction_LSUFA = $LSUFA; } else { $deduction_LSUFA = 0; } $deduction = ($deduction_LRP + $deduction_LSUFA); $recieve = $gross - $deduction; $total += $recieve; $grandtotal_deduciton += $deduction; $deductiontotalLRP += $deduction_LRP; $deductiontotalLSUFA += $deduction_LSUFA; $grosstotal +=$gross; @endphp{{number_format((float)$gross, 2, '.', ',')}} | {{number_format((float)$deduction_LRP, 2, '.', ',')}} | {{ $deduction_LSUFA > 0 ? number_format((float)$deduction_LSUFA, 2, '.', ',') : ''}} | {{number_format((float)$deduction, 2, '.', ',')}} | {{number_format((float)$recieve, 2, '.', ',')}} | {{ $cnt_data }}. | ||||
| TOTAL | {{ number_format((float)$grosstotal, 2, '.', ',') }} | {{ number_format((float)$deductiontotalLRP, 2, '.', ',') }} | {{ number_format((float)$deductiontotalLSUFA, 2, '.', ',') }} | {{ number_format((float)$grandtotal_deduciton, 2, '.', ',') }} | {{ number_format((float)$grandtotal, 2, '.', ',') }} | ||||||||
| CERTIFIED: Services have been duly rendered as stated: | APPROVED FOR PAYMENT: | ||||
|
{{ strtoupper($signaturies[2]['fullname']) }} {{ $signaturies[2]['label'] }} |
{{ strtoupper($signaturies[3]['fullname']) }} {{ $signaturies[3]['label'] }} |
||||
| CERTIFIED FUNDS AVAILABLE: | CERTIFIED: Each employee above has been paid the amount indicated opposite his/her name. | ||||
|
{{ strtoupper($signaturies[1]['fullname']) }}
{{ $signaturies[1]['label'] }} |
{{ strtoupper($signaturies[0]['fullname']) }} {{ $signaturies[0]['label'] }} |
||||