mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
arreglado vista del mensaje de lomo máximo
This commit is contained in:
@ -20,6 +20,8 @@
|
||||
<?php endif; ?>
|
||||
<?= csrf_field() ?>
|
||||
<?= view("themes/_commonPartialsBs/_alertBoxes") ?>
|
||||
<div id="sk-alert-lomo">
|
||||
</div>
|
||||
<div id="alert-cubierta-sin-acabado" class="alert alert-warning d-flex align-items-baseline d-none" role="alert">
|
||||
<span class="alert-icon alert-icon-lg text-primary me-2">
|
||||
<i class="ti ti-bell ti-sm"></i>
|
||||
@ -28,6 +30,7 @@
|
||||
<h5 class="alert-heading mb-2"><?= lang('Presupuestos.cubiertaSinAcabadoText') ?></h5>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?= !empty($validation->getErrors()) ? $validation->listErrors("bootstrap_style") : "" ?>
|
||||
|
||||
<input hidden id="lc" value=""></input>
|
||||
|
||||
@ -636,7 +636,7 @@ class DatosGenerales {
|
||||
}
|
||||
|
||||
// Para recalcular el presupuesto
|
||||
element.trigger('change');
|
||||
$('#paginas').trigger('change');
|
||||
}
|
||||
|
||||
#handlePaginas() {
|
||||
@ -693,6 +693,7 @@ class DatosGenerales {
|
||||
$('#divPapelInterior').empty();
|
||||
$('#divGramajeInterior').empty();
|
||||
$('#negroEstandar').trigger('click');
|
||||
$(".divTiradasPrecio").empty();
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
||||
@ -171,10 +171,10 @@ class PresupuestoCliente {
|
||||
return;
|
||||
}
|
||||
if (response.errors.status == 1) {
|
||||
popErrorAlert('' + response.errors.value, "sk-alert", false);
|
||||
popErrorAlert('' + response.errors.value, "sk-alert-lomo", false);
|
||||
}
|
||||
else {
|
||||
popAlert2Hide('sk-alert');
|
||||
popAlert2Hide('sk-alert-lomo');
|
||||
}
|
||||
},
|
||||
() => { }
|
||||
@ -492,12 +492,14 @@ class PresupuestoCliente {
|
||||
if (response === null || response === undefined || response === "") {
|
||||
popErrorAlert("No se ha podido calcular el presupuesto para los datos proporcionados. Por favor, póngase en contacto con el departamento comercial."
|
||||
, "sk-alert-2", false);
|
||||
this.divTiradasPrecios.empty();
|
||||
return;
|
||||
}
|
||||
if (Object.values(response.errors).some((value) => value !== "")) {
|
||||
if (response.errors.status == 1) {
|
||||
popErrorAlert("No se ha podido calcular el presupuesto para los datos proporcionados. Por favor, póngase en contacto con el departamento comercial."
|
||||
, "sk-alert-2", false);
|
||||
this.divTiradasPrecios.empty();
|
||||
return;
|
||||
}
|
||||
}
|
||||
@ -512,7 +514,7 @@ class PresupuestoCliente {
|
||||
this.direcciones.divTiradas.empty();
|
||||
}
|
||||
|
||||
popAlert2Hide();
|
||||
popAlert2Hide("sk-alert-2");
|
||||
|
||||
this.divTiradasPrecios.empty();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user