mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
Añadida a vista de presupuesto admin iskn. Asignacion automatica al confirmar presupuesto
This commit is contained in:
@ -234,6 +234,7 @@ class PresupuestoAdminEdit {
|
||||
titulo: this.datosGenerales.titulo.val(),
|
||||
autor: this.datosGenerales.autor.val(),
|
||||
isbn: this.datosGenerales.isbn.val(),
|
||||
iskn: this.datosGenerales.iskn.val(),
|
||||
pais_id: this.datosGenerales.pais.getVal(),
|
||||
coleccion: this.datosGenerales.coleccion.val(),
|
||||
numero_edicion: this.datosGenerales.numeroEdicion.val(),
|
||||
|
||||
@ -15,6 +15,7 @@ class DatosGenerales{
|
||||
this.coleccion = this.domItem.find('#coleccion');
|
||||
this.numeroEdicion = this.domItem.find('#numeroEdicion');
|
||||
this.isbn = this.domItem.find('#isbn');
|
||||
this.iskn = this.domItem.find('#iskn');
|
||||
|
||||
|
||||
this.cliente = new ClassSelect($('#clienteId'), '/clientes/cliente/getSelect2', 'Seleccione cliente');
|
||||
@ -46,6 +47,7 @@ class DatosGenerales{
|
||||
this.coleccion.val(datos.coleccion);
|
||||
this.numeroEdicion.val(datos.numero_edicion);
|
||||
this.isbn.val(datos.isbn);
|
||||
this.iskn.val(datos.iskn);
|
||||
|
||||
|
||||
this.cliente.setOption(datos.cliente.id, datos.cliente.nombre);
|
||||
|
||||
Reference in New Issue
Block a user