arreglado el problema de coger el tipo de impresion y tirada

This commit is contained in:
2025-01-29 10:19:25 +01:00
parent 2e1e6d4408
commit 1ef49490bd

View File

@ -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,