This commit is contained in:
Cloud User
2024-03-06 18:16:15 -06:00
parent 0e123fe70f
commit 4b8ca02a2a
14 changed files with 7 additions and 496 deletions

View File

@@ -99,13 +99,8 @@ const store = reactive({
},
printEstados() {
if (store.filters.estados.length > 0)
<<<<<<< HEAD
document.querySelector('#estados').innerHTML = store.filters.estados.map((estado) => `<span class="mx-2 badge badge-${store.estados.getEstado(estado).estado_color}">
<i class="${store.estados.getEstado(estado).estado_icon}"></i> ${store.estados.getEstado(estado).nombre}
=======
document.querySelector('#estados').innerHTML = store.filters.estados.map((estado) => `<span class="mx-2 badge badge-${store.estados.getEstado(estado).estado_color}">
<i class="${store.estados.getEstado(estado).estado_icon}"></i> ${store.estados.getEstado(estado).nombre}
>>>>>>> 7688f1aac1824c234bc5f19b154e9ad1f4808d4f
</span>`).join('');
else
document.querySelector('#estados').innerHTML = `Todos los registros`;
@@ -213,10 +208,7 @@ const store = reactive({
params['fecha_inicio'] = fecha_inicio;
if (fecha_fin)
params['fecha_fin'] = fecha_fin;
<<<<<<< HEAD
params['periodo_id'] = store.filters.todos_los_periodos ? 1 : 0;
=======
>>>>>>> 7688f1aac1824c234bc5f19b154e9ad1f4808d4f
const paramsUrl = new URLSearchParams(params).toString();
try {
const res = await fetch(`action/action_auditoria.php?${paramsUrl}`, {