fix(kiosko): salida admin cierra Chrome con window.close()

Navegar al ERP dentro del kiosk no sirve porque --kiosk es un flag
del proceso. window.close() cierra Chrome y devuelve el escritorio
Windows táctil, desde donde pueden abrir el ERP normalmente.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Lizandro Guarnizo
2026-07-23 11:03:21 -05:00
co-authored by Claude Sonnet 4.6
parent e84c16f875
commit 43f14c2571
+2 -2
View File
@@ -419,10 +419,10 @@ unset($p);
box-shadow:0 8px 40px rgba(0,0,0,.4);min-width:280px">
<div style="font-size:1.4rem;font-weight:700;margin-bottom:.5rem">Salir del kiosko</div>
<div style="color:#64748b;font-size:.95rem;margin-bottom:1.5rem">¿Qué desea hacer?</div>
<button onclick="window.location.href='<?= BASE_URL ?>erp.php'"
<button onclick="window.close()"
style="width:100%;padding:.9rem;background:#2563eb;color:#fff;border:none;
border-radius:12px;font-size:1.1rem;font-weight:700;cursor:pointer;margin-bottom:.7rem">
<i class="fas fa-sign-in-alt me-2"></i>Ir al ERP
<i class="fas fa-times-circle me-2"></i>Cerrar kiosko
</button>
<button onclick="location.reload()"
style="width:100%;padding:.9rem;background:#f1f5f9;color:#334155;border:none;