Yes, add cancelled, pending, and suspended service resources to admin panel
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user