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

@@ -18,11 +18,11 @@ class Dashboard extends \Filament\Pages\Dashboard
protected static ?string $navigationGroup = 'Production DashBoard';
public function mount(): void
{
session()->forget(['selected_plant']);
$this->filtersForm->fill([
'plant' => Plant::first()?->id // Default to first plant
'plant' => null
]);
}