añadidos presupuestos en cliente

This commit is contained in:
2025-03-31 20:42:14 +02:00
parent fb2d12e318
commit 3cb512d93a
14 changed files with 497 additions and 84 deletions

View File

@ -242,7 +242,6 @@ class PedidoModel extends \App\Models\BaseModel
->join('presupuestos pr', 'pr.id = pl.presupuesto_id', 'left')
//->where('pr.deleted_at IS NULL')
->where('pr.cliente_id', $cliente_id)
->orderBy('p.created_at', 'DESC')
->groupBy('p.id');
return $builder;
}