diff --git a/app/Filament/Widgets/PipelineOrdersWidget.php b/app/Filament/Widgets/PipelineOrdersWidget.php index 242cd5b..edd3826 100644 --- a/app/Filament/Widgets/PipelineOrdersWidget.php +++ b/app/Filament/Widgets/PipelineOrdersWidget.php @@ -28,7 +28,8 @@ class PipelineOrdersWidget extends Widget { $this->ordersByState = []; foreach (array_keys($this->states) as $s) { - $this->ordersByState[$s] = OrdenProduccion::where('estado', $s) + $this->ordersByState[$s] = OrdenProduccion::with(['tela', 'confeccions', 'tintorerias', 'procesosAcabado']) + ->where('estado', $s) ->orderBy('fecha_entrega_estimada') ->limit(12) ->get(); diff --git a/resources/views/filament/widgets/pipeline-orders-widget.blade.php b/resources/views/filament/widgets/pipeline-orders-widget.blade.php index 6213bb3..8c0a30a 100644 --- a/resources/views/filament/widgets/pipeline-orders-widget.blade.php +++ b/resources/views/filament/widgets/pipeline-orders-widget.blade.php @@ -9,8 +9,26 @@