mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
Merge branch 'mod/td_vuelo' into 'main'
hecho cambio pedido por jmoe See merge request jjimenez/safekat!162
This commit is contained in:
@ -568,17 +568,17 @@ class PresupuestoService extends BaseService
|
||||
$ancho_total += (2*self::SANGRE_FORMAS);
|
||||
}
|
||||
// Tapa dura cosido y fresado
|
||||
else if($tipo_impresion_id == 1 || $tipo_impresion_id == 3){
|
||||
else if($tipo_impresion_id == 1 || $tipo_impresion_id == 3){
|
||||
$ancho_total = floatval($datosPedido->ancho)*2 + floatval($datosPedido->lomo);
|
||||
// si es cubierta
|
||||
// Se añaden 20mm de sangre por cada lado + 2 * 6mm de vuelo portada y contraportada -> total 52
|
||||
// Se añaden 20mm de sangre por cada lado + 2 * 7mm de vuelo portada y contraportada -> total 52
|
||||
// por último se añaden 7mm para tener en cuenta el ancho del carton
|
||||
if($uso=="cubierta")
|
||||
$ancho_total += (12 + 2*self::SANGRE_FORMAS_CUBIERTA + 7);
|
||||
$ancho_total += (2*7 + 2*self::SANGRE_FORMAS_CUBIERTA + 7);
|
||||
// si es sobrecubierta
|
||||
// Se añaden 5mm de sangre por cada lado + 2 * 6mm de vuelo portada y contraportada -> total 52
|
||||
// Se añaden 5mm de sangre por cada lado + 2 * 7mm de vuelo portada y contraportada -> total 52
|
||||
else
|
||||
$ancho_total += (12+2*self::SANGRE_FORMAS) + 7;
|
||||
$ancho_total += (2*7 + 2*self::SANGRE_FORMAS) + 7;
|
||||
}
|
||||
else{
|
||||
// En cualquier otro caso se le suma 5mm de sangre por cada lado
|
||||
|
||||
Reference in New Issue
Block a user