From e0ee2ea4e31bb2d10c8da1d217774c5948a8ef3d Mon Sep 17 00:00:00 2001 From: Nurmuhammet Allanov Date: Sun, 24 Nov 2024 15:50:25 +0500 Subject: [PATCH] wip --- app/Nova/Actions/MakePaymentNovaVisaMaster.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')) {