mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
modificado el link a cliente (icono busqueda) desde presupuesto admin
This commit is contained in:
@ -16,9 +16,7 @@ class DatosGenerales{
|
||||
this.numeroEdicion = this.domItem.find('#numeroEdicion');
|
||||
this.isbn = this.domItem.find('#isbn');
|
||||
|
||||
this.openCliente = this.domItem.find('#openCliente');
|
||||
|
||||
|
||||
|
||||
this.cliente = new ClassSelect($('#clienteId'), '/clientes/cliente/getSelect2', 'Seleccione cliente');
|
||||
this.pais = new ClassSelect($('#paisId'), '/paises/menuitems2', 'Seleccione País');
|
||||
this.referenciaCliente = this.domItem.find('#referenciaCliente');
|
||||
@ -34,10 +32,7 @@ class DatosGenerales{
|
||||
allowClear: false,
|
||||
});
|
||||
|
||||
this.openCliente.click(()=>{
|
||||
const urlObj = new URL(window.location.href);
|
||||
window.open(`${urlObj.origin}` + '/clientes/cliente/edit/' + this.cliente.getVal());
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
cargarDatos(datos){
|
||||
|
||||
Reference in New Issue
Block a user