corregido error getlineaspresupuesto

This commit is contained in:
2025-01-22 23:49:31 +01:00
parent 0f9395115f
commit dd2f19b86c

View File

@ -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();