<?php namespace App\Filament\Resources; use App\Filament\Resources\ShippingEntryResource\Pages; use App\Models\ShippingEntry; use Filament\Forms\Form; use Filament\Resources\Resource; use Filament\Tables; use Filament\Tables\Table; class ShippingEntryResource extends Resource { protected static ?string $model = ShippingEntry::class; protected static ?string $navigationIcon = 'lucide-truck'; protected static ?string $navigationGroup = 'Management'; protected static ?int $navigationSort = 3; public static function form(Form $form): Form { return $form ->schema([ // ]); } public static function table(Table $table): Table { return $table ->columns([ // ]) ->filters([ // ]) ->actions([ Tables\Actions\EditAction::make(), ]) ->bulkActions([ Tables\Actions\BulkActionGroup::make([ Tables\Actions\DeleteBulkAction::make(), ]), ]); } public static function getRelations(): array { return [ // ]; } public static function getPages(): array { return [ 'index' => Pages\ListShippingEntries::route('/'), 'create' => Pages\CreateShippingEntry::route('/create'), 'edit' => Pages\EditShippingEntry::route('/{record}/edit'), ]; } }