diff --git a/app/Console/Commands/SimulatePayslips.php b/app/Console/Commands/SimulatePayslips.php index fdf68f169..5411b15ee 100644 --- a/app/Console/Commands/SimulatePayslips.php +++ b/app/Console/Commands/SimulatePayslips.php @@ -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'],