This commit is contained in:
Lizandro Guarnizo
2026-01-19 11:17:35 -05:00
parent 8cd934a63e
commit 02fe93a10d
4 changed files with 6 additions and 0 deletions
+3
View File
@@ -9,6 +9,9 @@ class GestionDashboard extends Page
{ {
protected static ?string $navigationIcon = 'heroicon-o-chart-bar'; 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 $title = 'Dashboard de Gestión';
protected static string $view = 'filament.pages.gestion-dashboard'; protected static string $view = 'filament.pages.gestion-dashboard';
+1
View File
@@ -18,6 +18,7 @@ use Illuminate\Support\Facades\Mail;
class PuntoVenta extends Page class PuntoVenta extends Page
{ {
protected static ?string $navigationGroup = 'Operación'; protected static ?string $navigationGroup = 'Operación';
protected static ?int $navigationSort = 120;
protected static ?string $navigationIcon = 'heroicon-o-shopping-cart'; protected static ?string $navigationIcon = 'heroicon-o-shopping-cart';
protected static string $view = 'filament.pages.punto-venta'; protected static string $view = 'filament.pages.punto-venta';
@@ -24,6 +24,7 @@ class CompraResource extends Resource
{ {
protected static ?string $model = Compra::class; protected static ?string $model = Compra::class;
protected static ?string $navigationGroup = 'Operación'; // protected static ?string $navigationGroup = 'Operación'; //
protected static ?int $navigationSort = 100;
protected static ?string $navigationIcon = 'heroicon-o-credit-card'; protected static ?string $navigationIcon = 'heroicon-o-credit-card';
public static function canViewAny(): bool public static function canViewAny(): bool
@@ -33,6 +33,7 @@ class ProductoResource extends Resource
{ {
protected static ?string $navigationGroup = 'Inventario'; // protected static ?string $navigationGroup = 'Inventario'; //
protected static ?int $navigationSort = 50;
protected static ?string $model = Producto::class; protected static ?string $model = Producto::class;
protected static string $relationship = 'variantes'; protected static string $relationship = 'variantes';