{{-- Header --}}
Salary Payslip
Payroll Period: {{ sprintf('%02d', $payroll->payroll_month) }}-{{ $payroll->payroll_year }}
{{-- Employee Info --}}
Employee Name {{ $employee->name }}
Employee Code {{ $employee->employee_code }}
Employee Type {{ $employee->employee_type === 'monthly' ? 'Monthly Salary' : 'Daily Roz' }}
Payroll Date {{ optional($payroll->payroll_date)->format('d M Y') }}
{{-- Salary Table --}}
Description Amount
Gross Salary {{ number_format($item->gross_salary, 2) }}
Overtime Amount {{ number_format($item->overtime_amount, 2) }}
Deduction {{ number_format($item->deduction_amount, 2) }}
Advance Adjusted {{ number_format($item->advance_adjusted, 2) }}
Net Salary {{ number_format($item->net_salary, 2) }}
Paid Amount {{ number_format($item->paid_amount, 2) }}
Due Amount {{ number_format($item->due_amount, 2) }}
{{-- Footer --}}