terminada modificacion

This commit is contained in:
2025-04-04 17:03:08 +02:00
parent a0cb703991
commit cddf64b025
9 changed files with 129 additions and 58 deletions

View File

@ -74,6 +74,7 @@ class PresupuestoDireccionesModel extends \App\Models\BaseModel
$builder->where('t1.presupuesto_id', $presupuesto_id);
$builder->join("lg_paises t2", "t1.pais_id = t2.id", "left");
$builder->orderBy('t1.id', 'DESC');
return empty($search)
? $builder

View File

@ -119,6 +119,7 @@ class PresupuestoModel extends \App\Models\BaseModel
"total_descuento",
"total_descuentoPercent",
"total_presupuesto",
"total_aceptado_revisado",
"total_precio_unidad",
"total_factor",
"total_factor_ponderado",