Desarrollo de funcionalidad: pruebas!!

This commit is contained in:
imnavajas
2024-01-07 23:39:27 +01:00
parent c7562d9668
commit 95ab901367
7 changed files with 31 additions and 29 deletions

View File

@ -22,7 +22,7 @@ class PresupuestoModel extends \App\Models\GoBaseModel
6 => "t1.inc_rei",
7 => "t1.paginas",
8 => "t1.tirada",
9 => "t1.total_pedido",
9 => "t1.total_presupuesto",
10 => "t6.estado",
];
@ -314,7 +314,7 @@ class PresupuestoModel extends \App\Models\GoBaseModel
"t1.id AS id, t1.created_at AS fecha, t2.nombre AS cliente,
CONCAT(t3.first_name, ' ', t3.last_name) AS comercial, t1.titulo AS titulo,
t5.nombre AS pais, t1.inc_rei AS inc_rei, t1.paginas AS paginas, t1.tirada AS tirada,
t1.total_pedido AS total_pedido, t1.total_presupuesto AS total_presupuesto, t6.estado AS estado"
t1.total_presupuesto AS total_presupuesto, t1.total_presupuesto AS total_presupuesto, t6.estado AS estado"
);
$builder->join("clientes t2", "t1.cliente_id = t2.id", "left");
$builder->join("auth_user t3", "t1.user_update_id = t3.id_user", "left");