Merge branch 'main' into 'mod/autoroute'

terminado añadir usuarios y fechas a pedidos. añadido inaplazable. color en...

See merge request jjimenez/safekat!695
This commit is contained in:
Ignacio Martinez Navajas
2025-04-12 20:18:05 +00:00
46 changed files with 965 additions and 1134 deletions

View File

@ -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');
});

View File

@ -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');
});

View File

@ -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;