wip
This commit is contained in:
@@ -100,7 +100,7 @@ class PayVisaMasterPaymentAction
|
||||
];
|
||||
})
|
||||
->action(function (array $data, VisaMasterPaymentOrder $record, Component $livewire): void {
|
||||
if (! isset($data['payment_amount']) ||!isset($data['usd_rate']) || !isset($data['total_amount'])) {
|
||||
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.'))
|
||||
|
||||
Reference in New Issue
Block a user