|
{{ $payslip->processing_date }} - Payslip
|
| Employee#: |
{{ $payslip->reference_id != null ? $payslip->reference_id : '-' }} |
| Name: |
{{ $payslip->userDetails->first_name != null ? $payslip->userDetails->first_name : '' }} {{ $payslip->userDetails->last_name != null ? $payslip->userDetails->last_name : '' }} |
| Department: |
{{ $payslip->department_name != null ? $payslip->department_name : '-' }} |
| Designation: |
{{ $payslip->emp_position != null ? $payslip->emp_position : '-' }} |
| Currency: |
{{ $payslip->currency_code != null ? $payslip->currency_code : '-' }} |
@if($payslip->currency_code == 'USD')
| Conversion Rate: |
1 USD = {{ $payslip->payrollProcessingGrandTotal != null ? $payslip->payrollProcessingGrandTotal->conversion_rate : '-' }} {{ $payslip->company_currency_code }} |
@endif
|
|
| Bank A/c #: |
{{ $payslip->employeeBankDetails != null ? $payslip->employeeBankDetails->account_number : '-'}} |
| Bank Name: |
{{ $payslip->employeeBankDetails != null ? $payslip->employeeBankDetails->bank_name : '-'}} |
| Branch Name: |
{{ $payslip->employeeBankDetails != null ? $payslip->employeeBankDetails->branch : '-'}} |
| NIDA: |
{{ $payslip->userProfileDetails->national_identification_number != null ? $payslip->userProfileDetails->national_identification_number : '-'}} |
| TIN: |
{{ $payslip->userProfileDetails->tin_number != null ? $payslip->userProfileDetails->tin_number : '-'}} |
| Employee Pension Number: |
{{ $payslip->employee_pension_number != null ? $payslip->employee_pension_number : '-' }} |
| WCF: |
{{ $payslip->userProfileDetails->wcf_number != null ? $payslip->userProfileDetails->wcf_number : '-'}} |
| Secondary Education Index: |
{{ $payslip->userProfileDetails->secondary_education_index_number != null ? $payslip->userProfileDetails->secondary_education_index_number : '-'}} |
| Retirement Age: |
{{ $payslip->retirement_year != null ? $payslip->retirement_year : '-'}} |
|
@if(isset($payslip->taxable_earnings) && $payslip->taxable_earnings == true || (isset($payslip->statutory_deductions) && $payslip->statutory_deductions == true))
@if(isset($payslip->taxable_earnings) && $payslip->taxable_earnings == true)
|
Taxable Earnings
|
Amount
|
| Basic Salary: |
{{ $payslip->adjusted_basic_salary != null ? number_format($payslip->adjusted_basic_salary, 2, '.', ',') : '-' }} |
@foreach($payslip->taxable_earnings_data as $items)
| {{ $items['title'] }} |
{{ number_format($items['amount'], 2, '.', ',') }} |
@endforeach
| Total Gross: |
{{ $payslip->gross_salary != null ? number_format($payslip->gross_salary, 2, '.', ',') : '-'}} |
@endif
|
|
@if(isset($payslip->statutory_deductions) && $payslip->statutory_deductions == true)
|
Employee Statutory Deductions
|
Amount
|
@foreach($payslip->statutory_deductions_data as $items)
| {{ $items['title'] }}: |
{{ number_format($items['amount'], 2, '.', ',') }} |
@endforeach
| Total Statutory Deductions: |
{{ $payslip->deduction_total_amount != null ? number_format($payslip->deduction_total_amount, 2, '.', ',') : '-'}} |
@endif
|
@endif
@if((isset($payslip->non_taxable_Earnings) && $payslip->non_taxable_Earnings == true) || (isset($payslip->non_taxable_Deduction) && $payslip->non_taxable_Deduction == true))
@if(isset($payslip->non_taxable_Earnings_data) && $payslip->non_taxable_Earnings == true)
|
Non Taxable Earnings
|
Amount
|
@foreach($payslip->non_taxable_Earnings_data as $items)
| {{ $items['title'] }} |
{{ number_format($items['amount'], 2, '.', ',') }} |
@endforeach
@endif
|
|
@if(isset($payslip->non_taxable_Deduction) && $payslip->non_taxable_Deduction == true)
|
Non Taxable Deductions
|
Amount
|
@foreach($payslip->non_taxable_Deduction_data as $items)
| {{ $items['title'] }} |
{{ number_format($items['amount'], 2, '.', ',') }} |
@endforeach
@endif
|
@if(isset($payslip->non_taxable_Earnings) && $payslip->non_taxable_Earnings == true)
| Total Non Taxable Earnings |
{{ $payslip->non_taxable_earnings_total != null ? number_format($payslip->non_taxable_earnings_total, 2, '.', ',') : '-'}} |
@endif
|
|
@if(isset($payslip->non_taxable_Deduction) && $payslip->non_taxable_Deduction == true)
| Total NTD: |
{{ $payslip->non_taxable_deductions_total != null ? number_format($payslip->non_taxable_deductions_total, 2, '.', ',') : '-'}} |
@endif
|
@endif
| NET Bank Transfer: |
{{ $payslip->actual_net_salary != null ? number_format($payslip->actual_net_salary, 2, '.', ',') : '-' }} |
|
|
| {{ $payslip->net_salary_word }} |
|
@if(count($payslip->benefits) > 0)
|
Benifits
|
@foreach($payslip->benefits as $items)
| {{ $items['title'] }} |
{{ number_format($items['amount'], 2, '.', ',') }} |
@endforeach
| Total Benefits |
{{ $payslip->total_benefit != null ? number_format($payslip->total_benefit, 2, '.', ',') : '-'}} |
@endif
|
|
|
Attendance Information
|
| Actual Days Worked |
{{ $payslip->working_days }} |
| Absenteeism Days |
@php
$absenteeismDays = $payslip->monthly_working_days - $payslip->working_days;
@endphp
{{ $absenteeismDays < 0 ? 0 : $absenteeismDays }} |
| Leave Balance |
{{ $payslip->leave_bal ?? 0 }} |
| Upcoming Leave Days |
{{ $payslip->upcoming_approved_leave_days ? (float)$payslip->upcoming_approved_leave_days : 0 }} |
|
| Total Earning Amount: |
{{ number_format($total_earning_amount, 2, '.', ',') }} |
@if(count($payslip->contribution) > 0)
@foreach($payslip->contribution as $items)
| {{ $items['title'] }}: |
{{ number_format($items['amount'], 2, '.', ',') }} |
@endforeach
@endif
| Employer Total Contribution: |
{{ number_format($payslip->total_contribution, 2, '.', ',') }} |
| Total Cost to Employer: |
{{ number_format($payslip->actual_total_cost, 2, '.', ',') }} |
|
|
| Employee signature: |
Employer signature: |
|