Removed unwanted logic from non planned production page
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 14s
Gemini PR Review / Gemini PR Review (pull_request) Failing after 19s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 14s
Laravel Pint / pint (pull_request) Successful in 2m46s
Laravel Larastan / larastan (pull_request) Failing after 5m20s

This commit is contained in:
dhanabalan
2026-10-12 12:09:46 +05:30
parent 4b8ba8ac5f
commit a2abc73f56

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)