Yes, add cancelled, pending, and suspended service resources to admin panel

This commit is contained in:
2025-12-20 16:38:46 -05:00
parent 8a108e9604
commit 8f6ee1a7bf
17 changed files with 830 additions and 41 deletions

View File

@@ -31,6 +31,10 @@ class ServiceResource extends Resource
protected static ?string $activeNavigationIcon = 'ri-function-fill';
protected static bool $shouldRegisterNavigation = false;
protected static ?string $slug = 'all-services';
public static function getNavigationBadge(): ?string
{
return Service::where('status', 'pending')->count() ?: null;