up
This commit is contained in:
@@ -26,7 +26,7 @@ class AlertasStockBodegasWidget extends BaseWidget
|
||||
|
||||
$stats[] = Stat::make('Stock Bajo Global', $productosStockBajo)
|
||||
->description('Productos bajo mínimo')
|
||||
->descriptionIcon('heroicon-m-exclamation-triangle')
|
||||
->descriptionIcon('heroicon-o-exclamation-triangle')
|
||||
->color($productosStockBajo > 0 ? 'danger' : 'success');
|
||||
|
||||
// Productos con stock alto general
|
||||
@@ -40,7 +40,7 @@ class AlertasStockBodegasWidget extends BaseWidget
|
||||
|
||||
$stats[] = Stat::make('Stock Excesivo', $productosStockAlto)
|
||||
->description('Productos sobre máximo')
|
||||
->descriptionIcon('heroicon-m-arrow-trending-up')
|
||||
->descriptionIcon('heroicon-o-arrow-trending-up')
|
||||
->color($productosStockAlto > 0 ? 'warning' : 'success');
|
||||
|
||||
// Análisis por bodega crítica (si existe)
|
||||
@@ -52,7 +52,7 @@ class AlertasStockBodegasWidget extends BaseWidget
|
||||
|
||||
$stats[] = Stat::make('Sin Stock en Principal', $productosConStockCero)
|
||||
->description('Productos agotados')
|
||||
->descriptionIcon('heroicon-m-x-circle')
|
||||
->descriptionIcon('heroicon-o-x-circle')
|
||||
->color($productosConStockCero > 0 ? 'danger' : 'success');
|
||||
}
|
||||
|
||||
@@ -63,7 +63,7 @@ class AlertasStockBodegasWidget extends BaseWidget
|
||||
return [
|
||||
Stat::make('Sistema de Alertas', 'Configurando...')
|
||||
->description('Ejecute las migraciones necesarias')
|
||||
->descriptionIcon('heroicon-m-cog-6-tooth')
|
||||
->descriptionIcon('heroicon-o-cog')
|
||||
->color('warning')
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user