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