Removed unwanted logic from non planned production page #1220

Merged
jothi merged 1 commits from ranjith-dev into master 2026-10-12 06:40:02 +00:00

View File

@@ -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)