From 29e68422ff2905abe49fb5ba16593bbcd665f46b Mon Sep 17 00:00:00 2001 From: Nurmuhammet Allanov Date: Sat, 23 Nov 2024 17:36:27 +0500 Subject: [PATCH] wip --- app/Nova/Actions/MakePaymentNovaVisaMaster.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app/Nova/Actions/MakePaymentNovaVisaMaster.php b/app/Nova/Actions/MakePaymentNovaVisaMaster.php index 3af3d9a..931fe6b 100644 --- a/app/Nova/Actions/MakePaymentNovaVisaMaster.php +++ b/app/Nova/Actions/MakePaymentNovaVisaMaster.php @@ -68,12 +68,12 @@ class MakePaymentNovaVisaMaster extends Action ]); } - if (lastDayOfMonth($today->format('m'), $today->format('Y'))) { - return Action::modal('modal-response', [ - 'title' => 'Bu gun aýyn sonky guni!', - 'body' => 'Ayyn sonky guni toleg alynmayar.', - ]); - } + // if (lastDayOfMonth($today->format('m'), $today->format('Y'))) { + // return Action::modal('modal-response', [ + // 'title' => 'Bu gun aýyn sonky guni!', + // 'body' => 'Ayyn sonky guni toleg alynmayar.', + // ]); + // } if (! $resource->branch || ! $resource->branch->billing_visa_master_username) { return Action::modal('modal-response', [