fix(pos,ui): corregir color celeste en boton rechazados, eliminar acceso PWA en POS y agregar boton Salir con confirmacion

This commit is contained in:
unknown
2026-10-07 01:34:55 -06:00
parent 77bd580615
commit 33a32413f0
5 changed files with 26 additions and 12 deletions
+12
View File
@@ -1871,3 +1871,15 @@ async function procesarSinpePos(solicitudId, accion) {
}
}
function posLogout() {
if (!confirm('¿Deseas cerrar sesión en la terminal POS?')) return;
try {
localStorage.removeItem('sibopay_token');
localStorage.removeItem('sibopay_user');
localStorage.removeItem('recreopay_token');
localStorage.removeItem('recreopay_user');
sessionStorage.clear();
} catch (e) {}
window.location.href = '/index.html?logout=true';
}