mirror of
https://git.imnavajas.es/jjimenez/erp-imprimelibros.git
synced 2026-01-24 09:40:21 +00:00
arreglados problemas varios
This commit is contained in:
@ -39,3 +39,12 @@ body {
|
||||
float: none; /* por si acaso */
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.form-switch-presupuesto .form-check-input:checked {
|
||||
border-color: #92b2a7;
|
||||
background-color: #cbcecd;
|
||||
}
|
||||
|
||||
.form-switch-custom.form-switch-presupuesto .form-check-input:checked::before {
|
||||
color: #92b2a7;
|
||||
}
|
||||
@ -423,14 +423,6 @@
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.form-switch-presupuesto .form-check-input:checked {
|
||||
border-color: #92b2a7;
|
||||
background-color: #cbcecd;
|
||||
}
|
||||
|
||||
.form-switch-custom.form-switch-presupuesto .form-check-input:checked::before {
|
||||
color: #92b2a7;
|
||||
}
|
||||
|
||||
/* ==== Paso al resumen ==== */
|
||||
/* ---- Ajustes rápidos ---- */
|
||||
|
||||
@ -30,6 +30,7 @@ $(() => {
|
||||
}
|
||||
}).always(() => {
|
||||
hideLoader();
|
||||
checkAddressesForItems();
|
||||
});
|
||||
|
||||
checkAddressesForItems();
|
||||
@ -79,7 +80,7 @@ $(() => {
|
||||
|
||||
if (item.find(".shipping-addresses-sample")) {
|
||||
const container = item.find(".shipping-addresses-sample");
|
||||
if (container.find('.direccion-card').toArray().length === 0) {
|
||||
if (container && container.length && container.find('.direccion-card').toArray().length === 0) {
|
||||
errorFoundItem = true;
|
||||
}
|
||||
}
|
||||
|
||||
@ -218,7 +218,7 @@ $(() => {
|
||||
$('#direccionFormModalBody').html(html);
|
||||
const title = $('#direccionFormModalBody #direccionForm').data('add');
|
||||
$('#direccionFormModal .modal-title').text(title);
|
||||
modal.removeClass('d-none');
|
||||
modal.show();
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@ -168,7 +168,7 @@
|
||||
confirmButton: 'btn btn-secondary w-xs mt-2',
|
||||
},
|
||||
});
|
||||
$('#direccion-datatable').DataTable().ajax.reload(null, false);
|
||||
table.ajax.reload(null, false);
|
||||
},
|
||||
error: function (xhr) {
|
||||
// usa el mensaje del backend; fallback genérico por si no llega JSON
|
||||
|
||||
@ -51,8 +51,8 @@ export default class PresupuestoWizard {
|
||||
gramajeGuardas: 170,
|
||||
guardasImpresas: 0,
|
||||
cabezada: 'WHI',
|
||||
papelCubiertaId: 3,
|
||||
gramajeCubierta: 170,
|
||||
papelCubiertaId: 2,
|
||||
gramajeCubierta: 300,
|
||||
acabado: 1,
|
||||
sobrecubierta: {
|
||||
activo: false,
|
||||
|
||||
Reference in New Issue
Block a user