Files
pos_heidiver/app/Filament/Pages/GestionDashboard.php
T
Juan Felipe Duarte 18c43fe06f 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.
2026-01-17 08:22:54 -05:00

32 lines
851 B
PHP

<?php
namespace App\Filament\Pages;
use App\Filament\Widgets\AlertasStockBodegasWidget;
use Filament\Pages\Page;
class GestionDashboard extends Page
{
protected static ?string $navigationIcon = 'heroicon-o-chart-bar';
protected static ?string $title = 'Dashboard de Gestión';
protected static string $view = 'filament.pages.gestion-dashboard';
protected function getHeaderWidgets(): array
{
return [
\App\Filament\Widgets\TelasStatsOverview::class,
// \App\Filament\Widgets\TelasStatsOverview::class,
// \App\Filament\Widgets\TelasEstadoOverview::class,
// \App\Filament\Widgets\TelasChart::class,
];
}
// ESTO CONTROLA EL ANCHO DE LOS WIDGETS
// protected function getHeaderWidgetsColumns(): int | array
// {
// return 12;
// }
}