Revisados formularios de crear y editar, con su validacion

This commit is contained in:
unknown
2025-04-20 21:35:24 +02:00
parent f93ecda648
commit 14b5f4bf95
12 changed files with 310 additions and 286 deletions

View File

@ -8,8 +8,8 @@ class Catalogo {
this.tirada_no_pod = 100;
this.tirada_pod = 1;
this.cliente = new ClassSelect($("#clienteId"), '/catalogo/libros/clientlist', "Seleccione un cliente");
this.tipo_impresion = $("#tipoImpresion");
this.cliente = new ClassSelect($("#cliente_id"), '/catalogo/libros/clientlist', "Seleccione un cliente");
this.tipo_impresion = $("#tipo_impresion");
this.caras_cubierta = $("#compCarasCubierta");
this.encuadernacion = new ClassSelect($("#encuadernacion"), '/importador/getencuadernacion', "Seleccione una encuadernación");

View File

@ -93,7 +93,7 @@ document.addEventListener('DOMContentLoaded', function () {
},
(error) => {
console.error(error);
Swal.fire('Error', 'No se pudo eliminar el país.', 'error');
Swal.fire('Error', 'No se pudo eliminar el libro.', 'error');
}
).get();
}