GetSeason as string bf

This commit is contained in:
salam committed 2026-08-31 07:29:39 +02:00
1 parent db8f32ad48
commit bfcb7230af
3 files changed
+6 -3

No files matched your search

@@ -23,12 +23,10 @@ class LoadSeasons
$tmp = $date->format('y') - 1 . '/' . $date->format('y');
$season[$tmp] = $tmp;
} else {
$season[$date->year] = $date->year;
$season[(string) $date->year] = (string) $date->year;
}
}
$season = array_reverse($season);
return $season;
}
}
+4
View File
@@ -347,6 +347,10 @@ class Statistic extends BaseDashboard
'date' => 'Date',
]),
]),
/************************
* SEASON
************************/
Select::make('season')
->live()
->columns(2)