Merge pull request 'Removed unwanted logic from non planned production page' (#1220) from ranjith-dev into master
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 13s

Reviewed-on: #1220
This commit was merged in pull request #1220.
This commit is contained in:
2026-10-12 06:40:01 +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)