se añade el calculo del alto y ancho para tapa dura y así asegurar que entra en el pliego

This commit is contained in:
2024-02-08 14:44:51 +01:00
parent 6f86f369cf
commit 2bf9e271a7
4 changed files with 42 additions and 12 deletions

View File

@ -350,7 +350,7 @@ class Cosidotapablanda extends \App\Controllers\GoBaseResourceController
'ferro' => 24,
'prototipo' => 9,
'fajaColor' => 16,
];
];
$this->viewData['tipo_impresion_id'] = $presupuestoEntity->tipo_impresion_id; // Cosido tapa blanda JJO
@ -538,7 +538,8 @@ class Cosidotapablanda extends \App\Controllers\GoBaseResourceController
if($type=='sobrecubierta')
$datosPedido->lomo_cubierta = $reqData['lomo_cubierta'];
$datosPedido->anchoExteriores = PresupuestoService::getAnchoTotalExteriores($datosPedido);
$datosPedido->anchoExteriores = PresupuestoService::getAnchoTotalExteriores($tipo_impresion_id, $datosPedido);
$datosPedido->altoExteriores = PresupuestoService::getAltoTotalExteriores($tipo_impresion_id, $datosPedido);
// Cubierta y sobrecubierta siempre color HQ
$resourceData = $this->getCompIntData($type, $datosPedido, $papel_generico, $gramaje, $isColor, 1, $cliente_id);