feat(preordenes): registrar y mostrar horario de recreo de entrega en comanda de soda y POS

This commit is contained in:
unknown
2026-10-07 12:59:07 -06:00
parent 8c1d3f43fe
commit 322e4cc983
7 changed files with 546 additions and 88 deletions
+81
View File
@@ -1682,6 +1682,87 @@ body.dark-mode .floating-cart-bar {
}
}
/* Filtros de Pre-órdenes por Horario / Recreo */
.pos-preorder-filter-bar {
display: flex;
gap: 8px;
overflow-x: auto;
padding-bottom: 8px;
margin-bottom: 12px;
scrollbar-width: none;
}
.pos-preorder-filter-bar::-webkit-scrollbar {
display: none;
}
.pos-filter-pill {
padding: 8px 14px;
border-radius: 10px;
border: 1.5px solid #cbd5e1;
background: #ffffff;
color: #334155;
font-weight: 700;
font-size: 0.82rem;
cursor: pointer;
display: inline-flex;
align-items: center;
gap: 6px;
white-space: nowrap;
transition: all 0.15s ease;
}
.pos-filter-pill:hover {
background: #f8fafc;
border-color: #94a3b8;
}
.pos-filter-pill.active {
background: #0284c7;
color: #ffffff;
border-color: #0284c7;
box-shadow: 0 2px 6px rgba(2, 132, 199, 0.25);
}
.pos-filter-pill.active .pos-pill-count {
background: rgba(255, 255, 255, 0.25);
color: #ffffff;
}
.pos-pill-count {
background: #e2e8f0;
color: #475569;
padding: 2px 7px;
border-radius: 999px;
font-size: 0.74rem;
font-weight: 800;
}
.pos-preorder-badge-banner {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
padding: 8px 12px;
border-radius: 10px;
font-size: 0.84rem;
font-weight: 800;
}
.pos-incoming-preorder-toast {
position: fixed;
top: 20px;
right: 20px;
z-index: 99999;
max-width: 440px;
width: calc(100% - 40px);
background: #ffffff;
border-radius: 14px;
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.18), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
border: 1.5px solid #0284c7;
padding: 12px 16px;
display: flex;
align-items: center;
gap: 12px;
animation: slideInRightToast 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes slideInRightToast {
from { transform: translateX(100%); opacity: 0; }
to { transform: translateX(0); opacity: 1; }
}
/* Panel Checkout Derecho */
.pos-checkout-pane {
background: #ffffff;