From 41167f4cf5e1b74f3a5a5b48ecff0b24bb092a71 Mon Sep 17 00:00:00 2001 From: dhanabalan Date: Mon, 12 Oct 2026 14:39:43 +0530 Subject: [PATCH 1/2] removed changes in production target page --- app/Filament/Pages/ProductionTarget.php | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/app/Filament/Pages/ProductionTarget.php b/app/Filament/Pages/ProductionTarget.php index aa2253db..e8180bbe 100644 --- a/app/Filament/Pages/ProductionTarget.php +++ b/app/Filament/Pages/ProductionTarget.php @@ -219,14 +219,7 @@ class ProductionTarget extends Page $month = (int) $this->filters['month'] ?? null; $category = $this->filters['category'] ?? null; if($category == '' || $category == null){ - // $this->dispatch('loadData',$year, $month, $plantId, $lineId, ''); - $this->dispatch( - 'loadData', - (int) $year, - (int) $month, - (int) $plantId, - (int) $lineId - ); + $this->dispatch('loadData',$year, $month, $plantId, $lineId, ''); } else{ $this->dispatch('loadDataCategory',$year, $month, $plantId, $lineId, $category); From 95f27b585118853d338234a08a4d7875048d8ead Mon Sep 17 00:00:00 2001 From: dhanabalan Date: Mon, 12 Oct 2026 14:40:08 +0530 Subject: [PATCH 2/2] Removed livewire on in target page --- app/Livewire/ProductionTargetPlan.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/Livewire/ProductionTargetPlan.php b/app/Livewire/ProductionTargetPlan.php index 295d48e3..024aef02 100644 --- a/app/Livewire/ProductionTargetPlan.php +++ b/app/Livewire/ProductionTargetPlan.php @@ -11,7 +11,6 @@ use Livewire\Component; use Carbon\Carbon; use DB; use Maatwebsite\Excel\Facades\Excel; -use Livewire\Attributes\On; class ProductionTargetPlan extends Component { @@ -455,8 +454,6 @@ class ProductionTargetPlan extends Component // } - - #[On('loadData')] public function loadProductionData($year, $month, $plantId, $lineId) {