From ba6d703893f19efa740f7c07f37d0b8ec35b2efb Mon Sep 17 00:00:00 2001 From: Nurmuhammet Allanov Date: Sun, 16 Nov 2025 16:41:37 +0500 Subject: [PATCH] wip --- .../Filament/Actions/PayVisaMasterPaymentAction.php | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/app/Modules/VisaMasterPaymentOrder/Filament/Actions/PayVisaMasterPaymentAction.php b/app/Modules/VisaMasterPaymentOrder/Filament/Actions/PayVisaMasterPaymentAction.php index a412933..5769043 100644 --- a/app/Modules/VisaMasterPaymentOrder/Filament/Actions/PayVisaMasterPaymentAction.php +++ b/app/Modules/VisaMasterPaymentOrder/Filament/Actions/PayVisaMasterPaymentAction.php @@ -100,16 +100,6 @@ class PayVisaMasterPaymentAction ]; }) ->action(function (array $data, VisaMasterPaymentOrder $record, Component $livewire): void { - if (! isset($data['payment_amount']) || empty($data['payment_amount'])) { - Notification::make() - ->title(__('Payment error').'!') - ->body(__('Payment amount, USD rate, and total amount are required. Please try again.')) - ->danger() - ->send(); - - return; - } - /** @var array{payment_amount: float, usd_rate: float, total_amount: float} */ $formData = $data;