up
This commit is contained in:
@@ -16,6 +16,12 @@ class PrensillaResource extends Resource
|
||||
protected static ?string $model = Prensilla::class;
|
||||
protected static ?string $navigationIcon = 'heroicon-o-rectangle-stack';
|
||||
protected static ?string $navigationGroup = 'Producción';
|
||||
protected static bool $shouldRegisterNavigation = false; // Ocultar del menú
|
||||
|
||||
public static function canViewAny(): bool
|
||||
{
|
||||
return auth()->user()?->can('ver prensillas') ?? false;
|
||||
}
|
||||
|
||||
public static function form(Forms\Form $form): Forms\Form
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user