added production lines stop count chart

This commit is contained in:
dhanabalan
2025-04-24 22:58:58 +05:30
parent 9c01a332a1
commit 617853cdf0
2 changed files with 129 additions and 21 deletions

View File

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