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)