mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
Merge branch 'bug/guardas' into 'main'
Arreglado bug de guardas tapa dura (forma See merge request jjimenez/safekat!173
This commit is contained in:
@ -650,7 +650,16 @@ function getObjetoLP(lpName, _isCosido, _isTapaDura) {
|
|||||||
case 'bnhq':
|
case 'bnhq':
|
||||||
case 'color':
|
case 'color':
|
||||||
case 'colorhq':
|
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':
|
case 'guardas':
|
||||||
|
pvObj.anchoForma = (_isTapaDura) ? 2 * pvObj.anchoLibro : pvObj.anchoLibro;
|
||||||
// Conditional assignements depending on rotation of the printing shape
|
// Conditional assignements depending on rotation of the printing shape
|
||||||
if (pvObj.orientacionFormas == 'v') {
|
if (pvObj.orientacionFormas == 'v') {
|
||||||
let auxReg = pvObj.altoForma;
|
let auxReg = pvObj.altoForma;
|
||||||
|
|||||||
Reference in New Issue
Block a user