diff --git a/app/Filament/Pages/InvoicePendingReason.php b/app/Filament/Pages/InvoicePendingReason.php index a11cde2..6e48988 100644 --- a/app/Filament/Pages/InvoicePendingReason.php +++ b/app/Filament/Pages/InvoicePendingReason.php @@ -151,7 +151,7 @@ class InvoicePendingReason extends Page $documentNumber = $this->filters['document_number'] ?? null; $remark = $this->filters['remark'] ?? null; - if (! $plantId || ! $documentNumber || $remark == '') { + if (! $plantId) { Notification::make() ->title('Plant') ->body("please select plant first..!") @@ -159,7 +159,7 @@ class InvoicePendingReason extends Page ->send(); return; } - if (! $documentNumber || $remark == '') { + if (! $documentNumber) { Notification::make() ->title('Document Number') ->body("please select document number..!")