added production lines stop count chart
This commit is contained in:
@@ -23,8 +23,11 @@ class ProductionLineStopCount extends Page
|
||||
|
||||
public function mount(): void
|
||||
{
|
||||
session()->forget(['selected_plant', 'selected_line']);
|
||||
$this->filtersForm->fill([
|
||||
'plant' => Plant::first()?->id // Default to first plant
|
||||
//'plant' => Plant::first()?->id // Default to first plant
|
||||
'plant' => null,
|
||||
'line' => null,
|
||||
]);
|
||||
}
|
||||
|
||||
@@ -52,10 +55,7 @@ class ProductionLineStopCount extends Page
|
||||
->reactive()
|
||||
->afterStateUpdated(function ($state) {
|
||||
session(['selected_line' => $state]);
|
||||
|
||||
}),
|
||||
|
||||
|
||||
])
|
||||
->columns(2);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user