diff --git a/ci4/app/Views/themes/vuexy/form/clientes/cliente/_clienteFormItems.php b/ci4/app/Views/themes/vuexy/form/clientes/cliente/_clienteFormItems.php index 317bd12d..fd9280ac 100644 --- a/ci4/app/Views/themes/vuexy/form/clientes/cliente/_clienteFormItems.php +++ b/ci4/app/Views/themes/vuexy/form/clientes/cliente/_clienteFormItems.php @@ -591,29 +591,31 @@ +
- - - - - - - - - - - - - - - - - - - - - -
IDplantilla_id
+ + + + + + + + + + + + + + + + + + + + + +
IDplantilla_id
+
@@ -637,10 +639,11 @@
- - - - +
+
+ + + @@ -653,9 +656,10 @@ - - -
+ + + +
diff --git a/ci4/app/Views/themes/vuexy/form/clientes/cliente/viewClienteForm.php b/ci4/app/Views/themes/vuexy/form/clientes/cliente/viewClienteForm.php index 09193e58..5ba23c96 100644 --- a/ci4/app/Views/themes/vuexy/form/clientes/cliente/viewClienteForm.php +++ b/ci4/app/Views/themes/vuexy/form/clientes/cliente/viewClienteForm.php @@ -13,7 +13,7 @@
" method="post" class="card-body" action="">
diff --git a/httpdocs/assets/js/safekat/pages/cliente/clienteFacturacion.js b/httpdocs/assets/js/safekat/pages/cliente/clienteFacturacion.js index 3b0d05ab..d8a48c0a 100644 --- a/httpdocs/assets/js/safekat/pages/cliente/clienteFacturacion.js +++ b/httpdocs/assets/js/safekat/pages/cliente/clienteFacturacion.js @@ -18,7 +18,7 @@ class ClienteFacturacion { $(this).tab('show'); }); - $(document).on('click', '.btn-edit', function (e) { + $('#tableOfFacturasCliente').on('click', '.btn-edit', function (e) { window.location.href = '/facturas/edit/' + $(this).attr('data-id'); }); diff --git a/httpdocs/assets/js/safekat/pages/cliente/clientePedidos.js b/httpdocs/assets/js/safekat/pages/cliente/clientePedidos.js index 0d5d924d..9f0ef800 100644 --- a/httpdocs/assets/js/safekat/pages/cliente/clientePedidos.js +++ b/httpdocs/assets/js/safekat/pages/cliente/clientePedidos.js @@ -18,7 +18,7 @@ class ClientePedidos { $(this).tab('show'); }); - $(document).on('click', '.btn-edit', function (e) { + $('#tableOfPedidosCliente').on('click', '.btn-edit', function (e) { window.location.href = '/pedidos/edit/' + $(this).attr('data-id'); }); diff --git a/httpdocs/assets/js/safekat/pages/cliente/clientePresupuestos.js b/httpdocs/assets/js/safekat/pages/cliente/clientePresupuestos.js index ad558b0a..07540a54 100644 --- a/httpdocs/assets/js/safekat/pages/cliente/clientePresupuestos.js +++ b/httpdocs/assets/js/safekat/pages/cliente/clientePresupuestos.js @@ -17,8 +17,8 @@ class ClientePresupuestos { $(this).tab('show'); }); - $(document).on('click', '.btn-edit', function (e) { - window.location.href = $('#clienteForm').attr('data-url'); + $(this).attr('data-id'); + $('#tableOfPresupuestosCliente').on('click', '.btn-edit', function (e) { + window.location.href = $('#clienteForm').attr('data-url') + $(this).attr('data-id'); }); const lastColNr = $('#tableOfPresupuestosCliente').find("tr:first th").length - 1;