mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
añadido tick en papeles impresion para papel de tapa dura. añadida funcionalidad presupuesto cliente
This commit is contained in:
@ -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),
|
||||
|
||||
Reference in New Issue
Block a user