From 03cbd6f877106e4e716536920d0096977f3f0845 Mon Sep 17 00:00:00 2001 From: dhanabalan Date: Sat, 31 May 2025 10:03:19 +0530 Subject: [PATCH] Updated permission name of hourly_production page --- app/Filament/Pages/HourlyProduction.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/app/Filament/Pages/HourlyProduction.php b/app/Filament/Pages/HourlyProduction.php index 462cb27d8..b532733e4 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, ]; } }