mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
faltan las direcciones
This commit is contained in:
@ -185,6 +185,20 @@ class Importador {
|
||||
data.solapas_sobrecubierta = $('#compSolapasSobrecubierta').val();
|
||||
data.acabado_sobrecubierta = this.acabadosSobrecubierta.getVal();
|
||||
|
||||
data.servicios = {
|
||||
marcapaginas: $('#marcapaginas').prop('checked')?1:0,
|
||||
serviciosExtra: []
|
||||
};
|
||||
|
||||
if($('#ferro').prop('checked')){
|
||||
data.servicios.serviciosExtra.push(30);
|
||||
}
|
||||
if($('#ferroDigital').prop('checked')){
|
||||
data.servicios.serviciosExtra.push(29);
|
||||
}
|
||||
if($('#prototipo').prop('checked')){
|
||||
data.servicios.serviciosExtra.push(9);
|
||||
}
|
||||
|
||||
return data;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user