mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
corregido error getlineaspresupuesto
This commit is contained in:
@ -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();
|
||||
|
||||
Reference in New Issue
Block a user