1
0
forked from poc/pds

updated dashboards

This commit is contained in:
dhanabalan
2025-04-23 20:53:31 +05:30
parent 2fa637bfab
commit 5425970fc2
4 changed files with 96 additions and 5 deletions

View File

@@ -20,11 +20,13 @@ class HourlyProduction extends Page
use HasFiltersForm;
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,
]);
}