Merge branch 'fix/papeles_especiales_interior' into 'main'

arreglado el problema de coger el tipo de impresion y tirada

See merge request jjimenez/safekat!500
This commit is contained in:
2025-01-29 09:19:53 +00:00

View File

@ -56,7 +56,7 @@ class DisenioInterior {
false, false,
{ {
[this.csrf_token]: this.csrf_hash, [this.csrf_token]: this.csrf_hash,
tipo: this.getTipoImpresion(), tipo: () => {return this.getTipoImpresion()},
tirada: () => {{return this.presupuestoCliente.datosGenerales.getTiradas()[0]}}, tirada: () => {{return this.presupuestoCliente.datosGenerales.getTiradas()[0]}},
ancho: () => {return this.presupuestoCliente.datosGenerales.getDimensionLibro().ancho}, ancho: () => {return this.presupuestoCliente.datosGenerales.getDimensionLibro().ancho},
alto: () => {return this.presupuestoCliente.datosGenerales.getDimensionLibro().alto}, alto: () => {return this.presupuestoCliente.datosGenerales.getDimensionLibro().alto},
@ -71,8 +71,8 @@ class DisenioInterior {
false, false,
{ {
[this.csrf_token]: this.csrf_hash, [this.csrf_token]: this.csrf_hash,
tipo: this.getTipoImpresionColor(), tipo: () => {return this.getTipoImpresion()},
tirada: () => {return $('#tirada').val()}, tirada: () => {{return this.presupuestoCliente.datosGenerales.getTiradas()[0]}},
ancho: () => {return this.presupuestoCliente.datosGenerales.getDimensionLibro().ancho}, ancho: () => {return this.presupuestoCliente.datosGenerales.getDimensionLibro().ancho},
alto: () => {return this.presupuestoCliente.datosGenerales.getDimensionLibro().alto}, alto: () => {return this.presupuestoCliente.datosGenerales.getDimensionLibro().alto},
solapas: 0, solapas: 0,