up
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user