Historial de impresión
Qué se imprimiu, cando e se algo fallou.
Para que serve
O rexistro de todos os tickets. É onde mirar cando alguén di «ese pedido non se imprimiu»: aquí ves se se intentou, cando e se deu erro.
Se está baleiro, é que aínda non configuraches ningunha impresora coa impresión automática.
Ver todos os botóns e campos desta pantalla
Qué é
☰ Pizzería Exemplo Modo function elpTogglePanelMode() { const btn = document.querySelector('.mode-toggle'); if (btn) { btn.disabled = true; btn.style.opacity = '.5'; } fetch("\/api\/toggle-panel-mode.php", { method: 'POST', headers: {'Content-Type': 'application/json'}, body: JSON.stringify({}) }).then(r => r.json()).then(d => { if (d.ok) location.reload(); else { if (btn) { btn.disabled = false; btn.style.opacity = '1'; } alert(d.error || "Error"); } }).catch(()=>{ if (btn) { btn.disabled = false; btn.style.opacity = '1'; } alert("Error de conexión"); }); } (function(){ var ham = document.getElementById('elp-ham'); var sb = document.querySelector('.sb'); var bd = document.getElementById('elp-sb-backdrop'); if (!ham || !sb || !bd) return; function open() { sb.classList.add('show'); bd.classList.add('show'); } function close() { sb.classList.remove('show'); bd.classList.remove('show'