diff --git a/app/Filament/Pages/HourlyProduction.php b/app/Filament/Pages/HourlyProduction.php index 462cb27..b532733 100644 --- a/app/Filament/Pages/HourlyProduction.php +++ b/app/Filament/Pages/HourlyProduction.php @@ -2,6 +2,7 @@ namespace App\Filament\Pages; +use App\Filament\Widgets\ItemOverview; use App\Models\Plant; use Filament\Forms\Components\Select; use Filament\Forms\Form; @@ -77,18 +78,18 @@ class HourlyProduction extends page public static function getNavigationLabel(): string { - return 'Hourly Production Count'; + return 'Production Hourly Count'; } public static function canAccess(): bool { - return Auth::check() && Auth::user()->can('view production dashboard'); + return Auth::check() && Auth::user()->can('view production hourly count dashboard'); } public function getWidgets(): array { return [ - \App\Filament\Widgets\ItemOverview::class, + ItemOverview::class, ]; } }