{{strtoupper(substr(date('F', mktime(0, 0, 0, $payslip->month, 10)),0,3))}}-{{ $payslip->year }}
| Employee Name: | {{$payslip->employee}} | Grade: | {{$modified_text}} | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| IPPIS Number: | {{$payslip->ippis_no}} | Step: | {{$payslip->step}} | ||||||||||||
| Gender: | {{$payslip->gender}} | ||||||||||||||
| Ministry: | {{$payslip->mda}} | Tax State: | {{$payslip->tax_state}} | ||||||||||||
| Division: | {{$payslip->department}} | ||||||||||||||
| Designation: | {{$payslip->rank}} | ||||||||||||||
| Location: | {{$payslip->location}} | ||||||||||||||
| Date of First Appt: | {{$payslip->dofa}} | ||||||||||||||
| Date of Birth: | {{$payslip->dob}} | ||||||||||||||
| Trade Union: | {{$payslip->tin}} | ||||||||||||||
Bank Information Details |
Contributory Pension Information |
||||||||||||||
| Bank Name: | {{$payslip->bank}} | PFA Name: | {{$payslip->pfa}} | ||||||||||||
| Account Number: | {{($payslip->nuban)}} | Pension PIN: | {{$payslip->pen_no}} | ||||||||||||
|
|
|||||||||||||||
| Gross Earnings Information | Gross Deductions Information | ||||||||||||||
| Earnings | Amount | Deductions | Amount | ||||||||||||
| {{$gDuct}} | |||||||||||||||
{{ $e__!='' && isset($e__[0])?$e__[0]:'' }} |
{{$e__!='' && isset($e__[1])?" ".$e__[1]:''}} |
@if($d__!='' && isset($d__[0])) @php $dect = trim($d__[0]); @endphp @if(str_contains($dect, 'Total') && strlen($dect)>5) | Total |
{{ str_replace('Total','',$dect)}}{{ $d__!='' && isset($d__[1])?$d__[1]:'' }} |
@else
@php
if(!isset($d__[1])){
if (preg_match('/^(.*?)(\d{1,3}(,\d{3})*(\.\d+)?$)/', $d__[0], $matches)){
$description = trim($matches[1]);
$amount = str_replace(',', '', $matches[2]); // Remove commas from the amount
}else{
continue;
}
}else{
$description = $d__!='' && isset($d__[0])?$d__[0]:'';
$amount = $d__!='' && isset($d__[1])?" ".$d__[1]:'' ;
}
@endphp
{{-- {{ $d__!='' && isset($d__[0])?$d__[0]:'' }} |
{{ $d__!='' && isset($d__[1])?" ".$d__[1]:'' }} | --}}
@if($description)
{{ $description}} |
{{ $amount}} |
@endif
@endif
@else
@endif | ||||||
|
Summary of Payments |
|||||||||||||||
Total Gross Earnings: |
@php $gep = explode("\n",$payslip->gross_earning); @endphp
{{ $gEarning }} |
||||||||||||||
Total Gross Deductions: |
{{ number_format(trim($payslip->deductions),2) }} |
||||||||||||||
Total Net Earnings: |
{{ $payslip->net_earning!=""?number_format(trim($payslip->net_earning),2):"" }} |
||||||||||||||