mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
Arreglado bug de guardas tapa dura (forma
This commit is contained in:
@ -650,7 +650,16 @@ function getObjetoLP(lpName, _isCosido, _isTapaDura) {
|
||||
case 'bnhq':
|
||||
case 'color':
|
||||
case 'colorhq':
|
||||
// Conditional assignements depending on rotation of the printing shape
|
||||
if (pvObj.orientacionFormas == 'v') {
|
||||
let auxReg = pvObj.altoForma;
|
||||
pvObj.altoForma = pvObj.anchoForma;
|
||||
pvObj.anchoForma = auxReg;
|
||||
}
|
||||
$(pvName + '_forma').text(pvObj.anchoForma + "x" + pvObj.altoForma);
|
||||
break;
|
||||
case 'guardas':
|
||||
pvObj.anchoForma = (_isTapaDura) ? 2 * pvObj.anchoLibro : pvObj.anchoLibro;
|
||||
// Conditional assignements depending on rotation of the printing shape
|
||||
if (pvObj.orientacionFormas == 'v') {
|
||||
let auxReg = pvObj.altoForma;
|
||||
|
||||
Reference in New Issue
Block a user