diff --git a/app/Filament/Pages/GestionDashboard.php b/app/Filament/Pages/GestionDashboard.php index c0c11d4..d78414e 100644 --- a/app/Filament/Pages/GestionDashboard.php +++ b/app/Filament/Pages/GestionDashboard.php @@ -9,6 +9,9 @@ class GestionDashboard extends Page { protected static ?string $navigationIcon = 'heroicon-o-chart-bar'; + protected static ?string $navigationGroup = 'Gestión'; + protected static ?int $navigationSort = 1; + protected static ?string $title = 'Dashboard de Gestión'; protected static string $view = 'filament.pages.gestion-dashboard'; diff --git a/app/Filament/Pages/PuntoVenta.php b/app/Filament/Pages/PuntoVenta.php index 765d601..75a959c 100644 --- a/app/Filament/Pages/PuntoVenta.php +++ b/app/Filament/Pages/PuntoVenta.php @@ -18,6 +18,7 @@ use Illuminate\Support\Facades\Mail; class PuntoVenta extends Page { protected static ?string $navigationGroup = 'Operación'; + protected static ?int $navigationSort = 120; protected static ?string $navigationIcon = 'heroicon-o-shopping-cart'; protected static string $view = 'filament.pages.punto-venta'; diff --git a/app/Filament/Resources/CompraResource.php b/app/Filament/Resources/CompraResource.php index 7d4e9f5..a20ea21 100644 --- a/app/Filament/Resources/CompraResource.php +++ b/app/Filament/Resources/CompraResource.php @@ -24,6 +24,7 @@ class CompraResource extends Resource { protected static ?string $model = Compra::class; protected static ?string $navigationGroup = 'Operación'; // + protected static ?int $navigationSort = 100; protected static ?string $navigationIcon = 'heroicon-o-credit-card'; public static function canViewAny(): bool diff --git a/app/Filament/Resources/ProductoResource.php b/app/Filament/Resources/ProductoResource.php index 48502f7..600cf7b 100644 --- a/app/Filament/Resources/ProductoResource.php +++ b/app/Filament/Resources/ProductoResource.php @@ -33,6 +33,7 @@ class ProductoResource extends Resource { protected static ?string $navigationGroup = 'Inventario'; // + protected static ?int $navigationSort = 50; protected static ?string $model = Producto::class; protected static string $relationship = 'variantes';