diff --git a/src/Filament/Resources/Order/OrderResource.php b/src/Filament/Resources/Order/OrderResource.php index 4bc8d7f..c311e70 100644 --- a/src/Filament/Resources/Order/OrderResource.php +++ b/src/Filament/Resources/Order/OrderResource.php @@ -173,6 +173,11 @@ public static function table(Table $table): Table // ]) ->actions([ + Tables\Actions\Action::make('show') + ->url(fn (Order $record): string => route('orders.show', $record)) // TODO: Change the way admin view the order's products and add permissions + ->icon('heroicon-o-eye') + ->color('success') + ->openUrlInNewTab(), Tables\Actions\EditAction::make(), Tables\Actions\DeleteAction::make(), ])