From d41371a32d21500a80dd0cf7fd4df88d4a4f3641 Mon Sep 17 00:00:00 2001 From: dhanabalan Date: Tue, 20 Jan 2026 11:00:33 +0530 Subject: [PATCH] changed logic in invoice pending reason page --- app/Filament/Pages/InvoicePendingReason.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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..!")