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
+1 -1
View File
@@ -5171,7 +5171,7 @@ function setMovFilter(filter) {
if (activeBtn) {
activeBtn.classList.add('active');
activeBtn.style.background = '#ffffff';
activeBtn.style.color = isRechazadosTab ? '#e11d48' : '#0284c7';
activeBtn.style.color = '#0284c7';
activeBtn.style.boxShadow = '0 1px 3px rgba(0,0,0,0.08)';
activeBtn.style.fontWeight = '800';
}
+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';
}