From a2abc73f56b73cb9c5b94121a7423fc6b0e09716 Mon Sep 17 00:00:00 2001 From: dhanabalan Date: Mon, 12 Oct 2026 12:09:46 +0530 Subject: [PATCH] Removed unwanted logic from non planned production page --- app/Filament/Pages/ProductionNonPlannedReport.php | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/app/Filament/Pages/ProductionNonPlannedReport.php b/app/Filament/Pages/ProductionNonPlannedReport.php index 2c0af18d..c5af2f87 100644 --- a/app/Filament/Pages/ProductionNonPlannedReport.php +++ b/app/Filament/Pages/ProductionNonPlannedReport.php @@ -76,8 +76,6 @@ class ProductionNonPlannedReport extends Page implements HasForms Select::make('line_id') ->label('Line') ->required() - // ->relationship('line', 'name') - // ->searchable() ->columnSpan(1) ->options(function (callable $get) { if (!$get('plant_id')) { @@ -156,17 +154,7 @@ class ProductionNonPlannedReport extends Page implements HasForms TextInput::make('category') ->label('Category') - ->reactive() - ->afterStateUpdated(function ($state, callable $get, $set) { - $plantId = $get('plant_id'); - $lineId = $get('line_id'); - // $month = $get('month'); - $year = $get('year'); - - $month = (int) $get('month'); - $category = $get('category'); - - }), + ->reactive(), ]) ->columns(4) -- 2.49.1