arreglado bug de cargar guardas de la bbdd y de serv enc para tapa dura cuando no hay proveedor

This commit is contained in:
jaimejimenezortega
2024-04-07 19:41:55 +02:00
parent e5a5071a6b
commit 8eb322aaae
3 changed files with 16816 additions and 1 deletions

View File

@ -353,7 +353,7 @@ class PresupuestoEncuadernacionesModel extends \App\Models\GoBaseModel
->table($this->table . " t1")
->where('presupuesto_id', $presupuesto_id)
->where('tarifa_encuadernado_id', $tarifa->tarifa_id)
->set('proveedor_id', $proveedor, false)
->set('proveedor_id', $proveedor)
->set('precio_unidad', $tarifa->precio_unidad)
->set('precio_total', $tarifa->precio_total)
->set('margen', $tarifa->margen)