Update SimulatePayslips.php

This commit is contained in:
2026-04-23 10:43:31 +08:00
parent 6f9a608903
commit 9c37b96ed0

View File

@@ -92,7 +92,8 @@ class SimulatePayslips extends Command
'employee_id' => $user->id,
'basic_salary' => $computation['basic_salary'],
'gross_pay' => $computation['total_earnings'],
'deductions' => $computation['total_deductions'],
'total_earnings' => $computation['total_earnings'],
'total_deductions' => $computation['total_deductions'],
'net_pay' => $computation['net_pay'],
'earnings_breakdown' => $computation['earnings'],
'deductions_breakdown' => $computation['deductions'],