configure($schema); } public static function table(Table $table): Table { return $table ->columns([ TextColumn::make('branch.code')->label('Branch')->sortable(), TextColumn::make('reference_number')->label('Reference Number')->sortable(), TextColumn::make('happened_on')->label('Date')->date()->sortable(), TextColumn::make('user.name')->label('Created By')->sortable(), ]) ->filters([ // ]) ->recordActions([ EditAction::make(), ]) ->toolbarActions([ BulkActionGroup::make([ DeleteBulkAction::make(), ]), ]); } public static function getRelations(): array { return [ // ]; } public static function getPages(): array { return [ 'index' => ListSales::route('/'), 'create' => CreateSale::route('/create'), 'edit' => EditSale::route('/{record}/edit'), ]; } }