Add Gestión dashboard and update Tela stats
Introduces a new Gestión dashboard page with a stats overview widget for Tela and OrdenProduccion. Updates navigation icons for several Filament resources for better distinction. Adds a relationship between Tela and OrdenProduccion models. Refactors the telas table migration to use integer types for numeric fields instead of strings.
This commit is contained in:
@@ -28,7 +28,7 @@ class ConfeccionResource extends Resource
|
||||
protected static ?string $model = Confeccion::class;
|
||||
|
||||
protected static ?string $navigationGroup = 'Gestión';
|
||||
protected static ?string $navigationIcon = 'heroicon-o-rectangle-stack';
|
||||
protected static ?string $navigationIcon = 'heroicon-o-cog';
|
||||
|
||||
public static function form(Form $form): Form
|
||||
{
|
||||
|
||||
@@ -28,7 +28,7 @@ class InventarioPrendaResource extends Resource
|
||||
protected static ?string $model = InventarioPrenda::class;
|
||||
|
||||
protected static ?string $navigationGroup = 'Gestión';
|
||||
protected static ?string $navigationIcon = 'heroicon-o-rectangle-stack';
|
||||
protected static ?string $navigationIcon = 'heroicon-o-circle-stack';
|
||||
|
||||
public static function form(Form $form): Form
|
||||
{
|
||||
|
||||
@@ -28,7 +28,7 @@ class OrdenProduccionResource extends Resource
|
||||
protected static ?string $model = OrdenProduccion::class;
|
||||
|
||||
protected static ?string $navigationGroup = 'Gestión';
|
||||
protected static ?string $navigationIcon = 'heroicon-o-rectangle-stack';
|
||||
protected static ?string $navigationIcon = 'heroicon-o-clipboard-document-list';
|
||||
|
||||
public static function form(Form $form): Form
|
||||
{
|
||||
|
||||
@@ -30,7 +30,7 @@ class ProcesoAcabadoResource extends Resource
|
||||
protected static ?string $model = ProcesoAcabado::class;
|
||||
|
||||
protected static ?string $navigationGroup = 'Gestión';
|
||||
protected static ?string $navigationIcon = 'heroicon-o-rectangle-stack';
|
||||
protected static ?string $navigationIcon = 'heroicon-o-check-badge';
|
||||
|
||||
public static function form(Form $form): Form
|
||||
{
|
||||
|
||||
@@ -25,7 +25,7 @@ class TelaResource extends Resource
|
||||
protected static ?string $model = Tela::class;
|
||||
|
||||
protected static ?string $navigationGroup = 'Gestión';
|
||||
protected static ?string $navigationIcon = 'heroicon-o-rectangle-stack';
|
||||
protected static ?string $navigationIcon = 'heroicon-o-map';
|
||||
|
||||
public static function form(Form $form): Form
|
||||
{
|
||||
|
||||
@@ -29,7 +29,7 @@ class TintoreriaResource extends Resource
|
||||
protected static ?string $model = Tintoreria::class;
|
||||
|
||||
protected static ?string $navigationGroup = 'Gestión';
|
||||
protected static ?string $navigationIcon = 'heroicon-o-rectangle-stack';
|
||||
protected static ?string $navigationIcon = 'heroicon-o-eye-dropper';
|
||||
|
||||
public static function form(Form $form): Form
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user