mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
corregido error en presupuestosencuadernaciones para saber si es pod
This commit is contained in:
@ -73,7 +73,7 @@ class PresupuestoEncuadernacionesModel extends \App\Models\BaseModel
|
|||||||
$result_array = [];
|
$result_array = [];
|
||||||
foreach($tarifa_value as $tarifa_proveedor){
|
foreach($tarifa_value as $tarifa_proveedor){
|
||||||
$precio_total = floatval(1.0* $tarifa_proveedor->precio_hora* $tiempo) * (1+$tarifa_value[0]->margen/100.0);
|
$precio_total = floatval(1.0* $tarifa_proveedor->precio_hora* $tiempo) * (1+$tarifa_value[0]->margen/100.0);
|
||||||
if (!$POD){
|
if ($tirada>=$POD){
|
||||||
$precio_total += floatval($tarifa_proveedor->tarifa_importe_fijo);
|
$precio_total += floatval($tarifa_proveedor->tarifa_importe_fijo);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -265,7 +265,7 @@ class PresupuestoEncuadernacionesModel extends \App\Models\BaseModel
|
|||||||
$ret_array = [];
|
$ret_array = [];
|
||||||
foreach($tarifa_value as $tarifa_proveedor){
|
foreach($tarifa_value as $tarifa_proveedor){
|
||||||
$precio_total = floatval(1.0* $tarifa_proveedor->precio_hora* $tiempo) * (1+$tarifa_value[0]->margen/100.0);
|
$precio_total = floatval(1.0* $tarifa_proveedor->precio_hora* $tiempo) * (1+$tarifa_value[0]->margen/100.0);
|
||||||
if (!$POD){
|
if ($tirada>=$POD){
|
||||||
$precio_total += floatval($tarifa_proveedor->tarifa_importe_fijo);
|
$precio_total += floatval($tarifa_proveedor->tarifa_importe_fijo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -258,6 +258,7 @@ class PresupuestoCliente {
|
|||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
$('html, body').animate({ scrollTop: 0 }, 'slow');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -534,6 +535,7 @@ class PresupuestoCliente {
|
|||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
$('html, body').animate({ scrollTop: 0 }, 'slow');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -541,6 +543,7 @@ class PresupuestoCliente {
|
|||||||
if (this.validationStepper._currentIndex >= 1 && this.validationStepper._currentIndex <= 4) {
|
if (this.validationStepper._currentIndex >= 1 && this.validationStepper._currentIndex <= 4) {
|
||||||
this.validationStepper.previous();
|
this.validationStepper.previous();
|
||||||
}
|
}
|
||||||
|
$('html, body').animate({ scrollTop: 0 }, 'slow');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user