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:
+1
-1
@@ -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';
|
||||
}
|
||||
|
||||
@@ -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';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user