Filament moderne (groupes nav, 4 charts, filtres/badges) + Filament Shield (rôles/permissions) + noms exos localisés dans routines
Build & Deploy / build (push) Successful in 19s
Build & Deploy / build (push) Successful in 19s
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -16,6 +16,8 @@ use Illuminate\Support\Carbon;
|
||||
*/
|
||||
class StreakFitStatsOverview extends StatsOverviewWidget
|
||||
{
|
||||
protected static ?int $sort = 1;
|
||||
|
||||
protected function getStats(): array
|
||||
{
|
||||
$sessionsThisWeek = WorkoutSession::query()
|
||||
@@ -29,7 +31,7 @@ class StreakFitStatsOverview extends StatsOverviewWidget
|
||||
->color('primary'),
|
||||
|
||||
Stat::make('Séances', (string) WorkoutSession::query()->count())
|
||||
->description($sessionsThisWeek . ' cette semaine')
|
||||
->description($sessionsThisWeek.' cette semaine')
|
||||
->descriptionIcon('heroicon-m-fire')
|
||||
->color('warning'),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user