From dd2f19b86cf0fabe72a1f759c7cf6183547ebcd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaime=20Jim=C3=A9nez?= Date: Wed, 22 Jan 2025 23:49:31 +0100 Subject: [PATCH] corregido error getlineaspresupuesto --- ci4/app/Models/Presupuestos/PresupuestoLineaModel.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ci4/app/Models/Presupuestos/PresupuestoLineaModel.php b/ci4/app/Models/Presupuestos/PresupuestoLineaModel.php index 47e6ec82..6a34a602 100755 --- a/ci4/app/Models/Presupuestos/PresupuestoLineaModel.php +++ b/ci4/app/Models/Presupuestos/PresupuestoLineaModel.php @@ -330,9 +330,8 @@ class PresupuestoLineaModel extends \App\Models\BaseModel $builder = $this->db ->table($this->table . " t1") ->select( - "*, t2.nombre AS papel_generico" + "*" ) - ->join("lg_papel_generico t2", "t1.papel_id = t2.id", "left") ->where("t1.presupuesto_id", $presupuesto_id); return $builder->orderBy("t1.id", "asc")->get()->getResultObject();