This commit is contained in:
2024-11-24 15:50:25 +05:00
parent 8a0f84a797
commit e0ee2ea4e3

View File

@@ -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')) {