From 55b225ab49bee6015a7973ead6a6cb1a5205c63f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaime=20Jim=C3=A9nez?= Date: Tue, 5 Nov 2024 17:47:30 +0100 Subject: [PATCH] errata de 109 en encuadernaciones model --- .../Models/Presupuestos/PresupuestoEncuadernacionesModel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci4/app/Models/Presupuestos/PresupuestoEncuadernacionesModel.php b/ci4/app/Models/Presupuestos/PresupuestoEncuadernacionesModel.php index f9bd0f84..956bbe77 100755 --- a/ci4/app/Models/Presupuestos/PresupuestoEncuadernacionesModel.php +++ b/ci4/app/Models/Presupuestos/PresupuestoEncuadernacionesModel.php @@ -271,7 +271,7 @@ class PresupuestoEncuadernacionesModel extends \App\Models\BaseModel $tarifa_precio_min = floatval($tarifa_proveedor->tarifa_precio_min); - if($$tarifa_precio_min > $precio_total){ + if($tarifa_precio_min > $precio_total){ $total = $total-($total * $margen/100.0); $margen = round(100.0 * (floatval($$tarifa_precio_min) - $total) / floatval($$tarifa_precio_min), 0); $total = floatval($$tarifa_precio_min);