You've already forked Epicnabbo-Catalogus-Updated-Daily
🆙 More fixes 🆙
This commit is contained in:
@@ -20,31 +20,31 @@ class TopDashboardOverview extends BaseWidget
|
||||
protected function getStats(): array
|
||||
{
|
||||
return [
|
||||
Stat::make(__('filament::resources.stats.users_count.title'), Number::format(User::count(), '0', '1', app()->getLocale()))
|
||||
Stat::make(__('filament::resources.stats.users_count.title'), Number::format(User::count(), 0, 1, app()->getLocale()))
|
||||
->description(__('filament::resources.stats.users_count.description'))
|
||||
->chart([20, 20])
|
||||
->descriptionIcon('heroicon-m-user-group', IconPosition::Before)
|
||||
->color('success'),
|
||||
|
||||
Stat::make(__('filament::resources.stats.furniture_count.title'), Number::format(ItemDefinition::count(), '0', '1', app()->getLocale()))
|
||||
Stat::make(__('filament::resources.stats.furniture_count.title'), Number::format(ItemDefinition::count(), 0, 1, app()->getLocale()))
|
||||
->description(__('filament::resources.stats.furniture_count.description'))
|
||||
->descriptionIcon('heroicon-m-cube', IconPosition::Before)
|
||||
->chart([20, 20])
|
||||
->color('success'),
|
||||
|
||||
Stat::make(__('filament::resources.stats.rooms_count.title'), Number::format(Room::count(), '0', '1', app()->getLocale()))
|
||||
Stat::make(__('filament::resources.stats.rooms_count.title'), Number::format(Room::count(), 0, 1, app()->getLocale()))
|
||||
->description(__('filament::resources.stats.rooms_count.description'))
|
||||
->descriptionIcon('heroicon-m-building-storefront', IconPosition::Before)
|
||||
->chart([20, 20])
|
||||
->color('success'),
|
||||
|
||||
Stat::make(__('filament::resources.stats.photos_count.title'), Number::format(CameraWeb::count(), '0', '1', app()->getLocale()))
|
||||
Stat::make(__('filament::resources.stats.photos_count.title'), Number::format(CameraWeb::count(), 0, 1, app()->getLocale()))
|
||||
->description(__('filament::resources.stats.photos_count.description'))
|
||||
->descriptionIcon('heroicon-m-camera', IconPosition::Before)
|
||||
->chart([20, 20])
|
||||
->color('success'),
|
||||
|
||||
Stat::make(__('filament::resources.stats.badge_count.title'), Number::format(WebsiteBadge::count(), '0', '1', app()->getLocale()))
|
||||
Stat::make(__('filament::resources.stats.badge_count.title'), Number::format(WebsiteBadge::count(), 0, 1, app()->getLocale()))
|
||||
->description(__('filament::resources.stats.badge_count.description'))
|
||||
->descriptionIcon('heroicon-m-gif', IconPosition::Before)
|
||||
->chart([20, 20])
|
||||
|
||||
Reference in New Issue
Block a user