mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
Cambiadas rutas de maquinas, papel generico, papel impresion, perfil y paises
This commit is contained in:
@ -17,7 +17,7 @@ $(() => {
|
||||
$("#btn-new-maquina-duplicate").off();
|
||||
$("#duplicated_name").addClass("is-valid").removeClass('d-none');
|
||||
$("#duplicated_name").val("")
|
||||
window.open('/maquinas/edit/' + response.data.id)
|
||||
window.open('/configuracion/maquinas/edit/' + response.data.id)
|
||||
|
||||
},
|
||||
(error) => {
|
||||
|
||||
@ -35,7 +35,7 @@ class MaquinasList {
|
||||
e.preventDefault(); // Previene cualquier comportamiento por defecto del enlace
|
||||
|
||||
const dataId = $(this).closest('tr').find('[data-id]').data('id'); // Obtén el ID dinámico
|
||||
const dynamicUrl = '/maquinas/edit/' + dataId;
|
||||
const dynamicUrl = '/configuracion/maquinas/edit/' + dataId;
|
||||
|
||||
if (!Number.isNaN(Number(dataId))) {
|
||||
if (e.ctrlKey || e.metaKey) {
|
||||
@ -102,7 +102,7 @@ class MaquinasList {
|
||||
this.tableMaquinas = new Table(
|
||||
$('#tableOfMaquinas'),
|
||||
'maquinasList',
|
||||
'/maquinas/datatable',
|
||||
'/configuracion/maquinas/datatable',
|
||||
columns,
|
||||
[]
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user