Employee
{{ $payslip->employee_name }}
{{ $payslip->employee_code ?: '—' }} @if($payslip->department_name) · {{ $payslip->department_name }} @endif
Work summary
Present {{ (int)$payslip->present_days }} · Absent {{ (int)$payslip->absent_days }}
Worked {{ number_format(((int)$payslip->work_minutes)/60, 2) }} hrs
@if(!empty($payslip->expected_work_minutes))
· Target {{ number_format($payslip->expected_work_minutes / 60, 2) }} hrs
@if((int)($payslip->shortfall_minutes ?? 0) > 0)
· Short {{ number_format($payslip->shortfall_minutes / 60, 2) }} hrs
@else
· Full hours
@endif
@elseif($payslip->working_hours_per_day !== null)
· {{ number_format((float)$payslip->working_hours_per_day, 2) }} hrs/day on profile
@endif
Fixed allowance {{ number_format((float)($payslip->employee_fixed_allowance ?? 0), 2) }}
· Variable allowance {{ number_format((float)($payslip->employee_variable_allowance ?? 0), 2) }}
· Advance {{ number_format((float)($payslip->total_advance ?? 0), 2) }}
· Employee fund {{ number_format((float)($payslip->employee_fund_deduction ?? 0), 2) }}