diff --git a/app/Nova/Actions/MakePaymentNovaVisaMaster.php b/app/Nova/Actions/MakePaymentNovaVisaMaster.php index 6829a4e..60309ad 100644 --- a/app/Nova/Actions/MakePaymentNovaVisaMaster.php +++ b/app/Nova/Actions/MakePaymentNovaVisaMaster.php @@ -260,7 +260,7 @@ class MakePaymentNovaVisaMaster extends Action { $year = $today->format('Y'); $month = $today->format('m'); - $lastDay = lastDayOfMonth($year, $month); + $lastDay = lastDayOfMonth(year: $year, month: $month); // Condition 1: Check if today is the last day of the month if ($today->format('Y-m-d') === $lastDay->format('Y-m-d')) {