wip
This commit is contained in:
1 parent
8a0f84a797
commit
e0ee2ea4e3
1 file changed
+1
-1
@@ -260,7 +260,7 @@ public function canAcceptPayment($today)
|
||||
{
|
||||
$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')) {
|
||||
|
||||
Reference in new issue
Block a user