añadido tick en papeles impresion para papel de tapa dura. añadida funcionalidad presupuesto cliente

This commit is contained in:
2024-11-27 15:33:55 +01:00
parent 8a7a487dc0
commit e70f0a0807
11 changed files with 82 additions and 12 deletions

View File

@ -740,11 +740,13 @@ class DisenioCubierta {
#handleMenuPapel() {
this.divGramajeCubierta.empty();
const tapa_dura = this.tapaBlanda.hasClass("selected") ? 0 : 1;
new Ajax('/papelesgenericos/getpapelcliente',
{
[this.csrf_token]: this.csrf_hash,
tipo: 'colorhq',
cubierta: 1,
tapa_dura: tapa_dura
},
{},
(response) => { this.fillPapeles(response); },
@ -758,6 +760,7 @@ class DisenioCubierta {
const context = this;
this.papelCubierta = this.papelEspecial.getVal();
const tapa_dura = this.tapaBlanda.hasClass("selected") ? 0 : 1;
new Ajax('/papelesgenericos/getpapelcliente',
{
@ -765,6 +768,7 @@ class DisenioCubierta {
papel: this.papelCubierta,
tipo: 'colorhq',
cubierta: 1,
tapa_dura: tapa_dura,
},
{},
this.fillGramajes.bind(context),
@ -884,12 +888,14 @@ class DisenioCubierta {
this.papelEspecial.empty();
$('#papelEspecialCubiertaSel').on("change", this.#handlePapelCubiertaEspecial.bind(this));
this.divGramajeCubierta.empty();
const tapa_dura = this.tapaBlanda.hasClass("selected") ? 0 : 1;
new Ajax('/papelesgenericos/getpapelcliente',
{
[this.csrf_token]: this.csrf_hash,
papel: papel,
tipo: 'colorhq',
cubierta: 1,
tapa_dura: tapa_dura
},
{},
this.fillGramajes.bind(context),