mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
Merge branch 'main' into 'feat/soporte'
Main See merge request jjimenez/safekat!551
This commit is contained in:
@ -423,7 +423,7 @@
|
|||||||
decimalCharacter: ",",
|
decimalCharacter: ",",
|
||||||
digitGroupSeparator: ".",
|
digitGroupSeparator: ".",
|
||||||
allowDecimalPadding : 'floats',
|
allowDecimalPadding : 'floats',
|
||||||
decimalPlaces: 2,
|
decimalPlaces: 6,
|
||||||
unformatOnSubmit: true,
|
unformatOnSubmit: true,
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
|
|||||||
@ -15,12 +15,12 @@ class previewFormas {
|
|||||||
let solapaTemp = null;
|
let solapaTemp = null;
|
||||||
let solapaSobrecubiertaTemp = null;
|
let solapaSobrecubiertaTemp = null;
|
||||||
if(typeof this.lomo === 'function') {
|
if(typeof this.lomo === 'function') {
|
||||||
solapaTemp = datos.solapas();
|
solapaTemp = datos.solapas ? datos.solapas() : null;
|
||||||
solapaSobrecubiertaTemp = datos.solapas_sobrecubierta();
|
solapaSobrecubiertaTemp = datos.solapas_sobrecubierta ? datos.solapas_sobrecubierta(): null;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
solapaTemp = datos.solapas;
|
solapaTemp = datos.solapas? datos.solapas : null;
|
||||||
solapaSobrecubiertaTemp = datos.solapas_sobrecubierta;
|
solapaSobrecubiertaTemp = datos.solapas_sobrecubierta? datos.solapas_sobrecubierta : null;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (solapaTemp == undefined || solapaTemp == null || solapaTemp == false) {
|
if (solapaTemp == undefined || solapaTemp == null || solapaTemp == false) {
|
||||||
@ -59,12 +59,12 @@ class previewFormas {
|
|||||||
let solapaTemp = null;
|
let solapaTemp = null;
|
||||||
let solapaSobrecubiertaTemp = null;
|
let solapaSobrecubiertaTemp = null;
|
||||||
if(typeof this.lomo === 'function') {
|
if(typeof this.lomo === 'function') {
|
||||||
solapaTemp = datos.solapas();
|
solapaTemp = datos.solapas ? datos.solapas() : null;
|
||||||
solapaSobrecubiertaTemp = datos.solapas_sobrecubierta();
|
solapaSobrecubiertaTemp = datos.solapas_sobrecubierta ? datos.solapas_sobrecubierta(): null;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
solapaTemp = datos.solapas;
|
solapaTemp = datos.solapas? datos.solapas : null;
|
||||||
solapaSobrecubiertaTemp = datos.solapas_sobrecubierta;
|
solapaSobrecubiertaTemp = datos.solapas_sobrecubierta? datos.solapas_sobrecubierta : null;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (solapaTemp == undefined || solapaTemp == null || solapaTemp == false) {
|
if (solapaTemp == undefined || solapaTemp == null || solapaTemp == false) {
|
||||||
|
|||||||
Reference in New Issue
Block a user