From 8e1238e71942c1b13cb9fe6313d23c1d2170b1cd Mon Sep 17 00:00:00 2001 From: dhanabalan Date: Tue, 20 Jan 2026 10:52:03 +0530 Subject: [PATCH] Added save button in invoice pending reason page --- app/Filament/Pages/InvoicePendingReason.php | 5 +++-- .../filament/pages/invoice-pending-reason.blade.php | 9 +++++++++ 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/app/Filament/Pages/InvoicePendingReason.php b/app/Filament/Pages/InvoicePendingReason.php index 1c67f2c..276eb34 100644 --- a/app/Filament/Pages/InvoicePendingReason.php +++ b/app/Filament/Pages/InvoicePendingReason.php @@ -146,12 +146,13 @@ class InvoicePendingReason extends Page ->columns(3); } - public function addRemark($value){ + public function addRemark(){ $plantId = $this->filters['plant_id'] ?? null; $documentNumber = $this->filters['document_number'] ?? null; - $remark = $value; + $remark = $this->filters['remark'] ?? null; if (! $plantId || ! $documentNumber || $remark == '') { + return; } diff --git a/resources/views/filament/pages/invoice-pending-reason.blade.php b/resources/views/filament/pages/invoice-pending-reason.blade.php index d4f36dd..5be04b3 100644 --- a/resources/views/filament/pages/invoice-pending-reason.blade.php +++ b/resources/views/filament/pages/invoice-pending-reason.blade.php @@ -3,4 +3,13 @@ {{-- {{ $this->filtersForm($this->form) }} --}} {{ $this->filtersForm($this->form) }} +
+ +