{{header("cache-Control: no-store, no-cache, must-revalidate")}}
{{header("cache-Control: post-check=0, pre-check=0", false)}}
{{header("Pragma: no-cache")}}
{{header("Expires: Sat, 26 Jul 1997 05:00:00 GMT")}}
FAS-HRMS
@if(null != $payslip)
@foreach($payslip as $payslip)
Salary Slip
- Salary Month: {{$payslip->month_year}}
- Employee ID : {{$payslip->employee->employee_no}}
- Employee Name : {{$payslip->employee->name}} {{$payslip->employee->lname}}
- Designation : {{$payslip->employee->designations->name}}
EMOLUMENTSQAR
| Basic Pay{{$payslip->employee->employeePayrollInformation[0]->basic_salary}} |
| Transport Allowance{{$payslip->employee->employeePayrollInformation[0]->transport_allowance}} |
| Accomodation Allowance{{$payslip->employee->employeePayrollInformation[0]->accomodation_allowance}} |
| Continuous Allowance{{$payslip->employee->employeePayrollInformation[0]->continuous_allowance}} |
| Temporary Allowance{{$payslip->employee->employeePayrollInformation[0]->temp_allowance}} |
| Other Allowance {{$payslip->employee->employeePayrollInformation[0]->other_allowance}} |
|
GROSS PAY{{number_format($payslip->employee->employeePayrollInformation[0]->gross_total, 2)}}
|
ADDITIONS &DEDUCTIONSQAR
@if($payslip->earning)
@php
$reasons = json_decode($payslip->earning->additional_reason);
$amounts = json_decode($payslip->earning->additional_amount);
@endphp
@if (count($reasons) > 0 && count($amounts) > 0 && count($reasons) == count($amounts))
@for ($i = 0; $i < count($reasons); $i++)
Other Additions- {{ $reasons[$i] }} {{ $amounts[$i] }}
|
@endfor
@endif
@endif
| Total Additions Amount{{number_format($payslip->total_addtional_amount, 2)}} |
@if($payslip->deduction)
@php
$reasons = json_decode($payslip->deduction->deduction_reason);
$amounts = json_decode($payslip->deduction->deduction_amount);
@endphp
@if (count($reasons) > 0 && count($amounts) > 0 && count($reasons) == count($amounts))
@for ($i = 0; $i < count($reasons); $i++)
Other Deduction- {{ $reasons[$i] }} {{ $amounts[$i] }}
|
@endfor
@endif
@endif
| Total Deductions Amount{{$payslip->total_deduction_amount}} |
| Leave Deductions Amount{{number_format($payslip->total_leave_deduction_amount, 2)}} |
NET PAY{{number_format($payslip->net_salary, 2)}}
|
@endforeach
@endif