añadido que si no es pod busca papel rotativa para color y negro

This commit is contained in:
2024-12-02 19:01:21 +01:00
parent 53ed8299df
commit 310b4e7a43
4 changed files with 41 additions and 13 deletions

View File

@ -727,6 +727,8 @@ class DatosGenerales {
}
// Para recalcular el presupuesto
$('#divGramajeInterior').empty();
$('#divGramajeInteriorColor').empty();
element.trigger('change');
}

View File

@ -42,15 +42,6 @@ class DisenioInterior {
this.colorPremium_color = this.domItem.find("#colorPremiumColor");
this.gramaje_color = this.domItem.find(".check-interior-color-gramaje");
this.gramaje70_color = this.domItem.find("#interiorGramaje70Color");
this.gramaje80_color = this.domItem.find("#interiorGramaje80Color");
this.gramaje90_color = this.domItem.find("#interiorGramaje90Color");
this.gramaje100_color = this.domItem.find("#interiorGramaje100Color");
this.gramaje115_color = this.domItem.find("#interiorGramaje115Color");
this.gramaje120_color = this.domItem.find("#interiorGramaje120Color");
this.gramaje135_color = this.domItem.find("#interiorGramaje135Color");
this.gramaje150_color = this.domItem.find("#interiorGramaje150Color");
this.gramaje170_color = this.domItem.find("#interiorGramaje170Color");
this.checksGramaje = $('.gramaje-interior');
@ -121,6 +112,7 @@ class DisenioInterior {
new Ajax('/papelesgenericos/getpapelcliente',
{
[this.csrf_token]: this.csrf_hash,
tirada: $('#tirada').val(),
tipo: this.getTipoImpresion(),
cubierta: 0,
},
@ -135,6 +127,7 @@ class DisenioInterior {
new Ajax('/papelesgenericos/getpapelcliente',
{
[this.csrf_token]: this.csrf_hash,
tirada: $('#tirada').val(),
tipo: this.getTipoImpresion(),
cubierta: 0,
},
@ -859,6 +852,7 @@ class DisenioInterior {
new Ajax('/papelesgenericos/getpapelcliente',
{
[this.csrf_token]: this.csrf_hash,
tirada: $('#tirada').val(),
papel: papel,
tipo: tipo,
cubierta: 0,
@ -886,6 +880,7 @@ class DisenioInterior {
new Ajax('/papelesgenericos/getpapelcliente',
{
[this.csrf_token]: this.csrf_hash,
tirada: $('#tirada').val(),
papel: this.papelInterior,
tipo: tipo,
cubierta: 0,
@ -931,6 +926,7 @@ class DisenioInterior {
new Ajax('/papelesgenericos/getpapelcliente',
{
[this.csrf_token]: this.csrf_hash,
tirada: $('#tirada').val(),
papel: papel,
tipo: tipo,
cubierta: 0,
@ -954,6 +950,7 @@ class DisenioInterior {
new Ajax('/papelesgenericos/getpapelcliente',
{
[this.csrf_token]: this.csrf_hash,
tirada: $('#tirada').val(),
papel: this.papelInterior,
tipo: tipo,
cubierta: 0,