user()->super_admin == 1; } public static function form(Schema $schema): Schema { return ProviderForm::configure($schema); } public static function table(Table $table): Table { return ProvidersTable::configure($table); } public static function getPages(): array { return [ 'index' => ListProviders::route('/'), ]; } public static function getNavigationBadge(): ?string { return parent::getEloquentQuery()->count(); } }