From 1ef49490bd0346c5aec57514967a736e1774043d Mon Sep 17 00:00:00 2001 From: Jaime Jimenez Date: Wed, 29 Jan 2025 10:19:25 +0100 Subject: [PATCH] arreglado el problema de coger el tipo de impresion y tirada --- .../js/safekat/pages/presupuestoCliente/disenioInterior.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/httpdocs/assets/js/safekat/pages/presupuestoCliente/disenioInterior.js b/httpdocs/assets/js/safekat/pages/presupuestoCliente/disenioInterior.js index 0dad4b2a..f0e25efd 100644 --- a/httpdocs/assets/js/safekat/pages/presupuestoCliente/disenioInterior.js +++ b/httpdocs/assets/js/safekat/pages/presupuestoCliente/disenioInterior.js @@ -56,7 +56,7 @@ class DisenioInterior { false, { [this.csrf_token]: this.csrf_hash, - tipo: this.getTipoImpresion(), + tipo: () => {return this.getTipoImpresion()}, tirada: () => {{return this.presupuestoCliente.datosGenerales.getTiradas()[0]}}, ancho: () => {return this.presupuestoCliente.datosGenerales.getDimensionLibro().ancho}, alto: () => {return this.presupuestoCliente.datosGenerales.getDimensionLibro().alto}, @@ -71,8 +71,8 @@ class DisenioInterior { false, { [this.csrf_token]: this.csrf_hash, - tipo: this.getTipoImpresionColor(), - tirada: () => {return $('#tirada').val()}, + tipo: () => {return this.getTipoImpresion()}, + tirada: () => {{return this.presupuestoCliente.datosGenerales.getTiradas()[0]}}, ancho: () => {return this.presupuestoCliente.datosGenerales.getDimensionLibro().ancho}, alto: () => {return this.presupuestoCliente.datosGenerales.getDimensionLibro().alto}, solapas: 0,