| EARNINGS | Amount (RM) | |
|---|---|---|
| {{ $earning['description'] }} | {{ ucfirst($earning['type']) }} | {{ number_format($earning['amount'], 2) }} |
| GROSS SALARY | {{ number_format($data['payroll']['gross_salary'], 2) }} | |
| DEDUCTIONS | Amount (RM) | |
|---|---|---|
| {{ $deduction['description'] }} | {{ ucfirst($deduction['type']) }} | {{ number_format($deduction['amount'], 2) }} |
| TOTAL DEDUCTIONS | {{ number_format($data['payroll']['gross_salary'] - $data['payroll']['net_salary'], 2) }} | |