feat: Validacion SINPE con monto y comprobante, modulo de aprobacion en POS y estilo gray-out en transferencias deshabilitadas
This commit is contained in:
@@ -97,6 +97,9 @@
|
||||
<button class="pos-tab-btn" id="tabBtnPreordenes" onclick="switchPosTab('preordenes')">
|
||||
<span>📦</span> Fila Rápida Pre-Órdenes <span id="badgePreordenesCount" style="background: #ef4444; color: white; padding: 2px 7px; border-radius: 10px; font-size: 0.75rem;">0</span>
|
||||
</button>
|
||||
<button class="pos-tab-btn" id="tabBtnSinpe" onclick="switchPosTab('sinpe')">
|
||||
<span>📱</span> Recargas SINPE <span id="badgeSinpeCount" style="background: #10b981; color: white; padding: 2px 7px; border-radius: 10px; font-size: 0.75rem; display: none;">0</span>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<!-- VISTA 1: CATÁLOGO TÁCTIL DE PRODUCTOS (MOSTRADOR) -->
|
||||
@@ -171,6 +174,29 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- VISTA 3: RECARGAS SINPE PENDIENTES DE VERIFICACIÓN -->
|
||||
<div id="viewPosSinpe" style="display: none;">
|
||||
<div style="background: #ffffff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 14px 18px; margin-bottom: 14px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; box-shadow: 0 1px 3px rgba(0,0,0,0.04);">
|
||||
<div>
|
||||
<div style="display: flex; align-items: center; gap: 6px;">
|
||||
<span style="font-size: 1.1rem;">📱</span>
|
||||
<strong style="color: #0f172a; font-size: 0.95rem;">Recargas SINPE por Verificar</strong>
|
||||
</div>
|
||||
<p style="font-size: 0.78rem; color: #64748b; margin: 3px 0 0 0;">Verifica que el dinero ingresó a la cuenta bancaria de la soda antes de aprobar la recarga.</p>
|
||||
</div>
|
||||
<div>
|
||||
<button onclick="loadSinpeRequests()" class="btn-saas btn-saas-outline" style="height: 36px; padding: 0 12px;">
|
||||
<svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8"/><path d="M21 3v5h-5"/><path d="M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16"/><path d="M3 21v-5h5"/></svg>
|
||||
<span>Refrescar</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="sinpeRequestsList" style="display: flex; flex-direction: column; gap: 12px;">
|
||||
<!-- Lista de solicitudes SINPE pendientes -->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- BARRA FLOTANTE DE ACCESO RÁPIDO A CAJA EN MÓVIL -->
|
||||
<div id="posFloatingCheckoutBar" class="pos-floating-checkout-bar" onclick="switchPosMobileView('checkout')" style="display: none;">
|
||||
<div style="display: flex; align-items: center; gap: 10px;">
|
||||
|
||||
Reference in New Issue
Block a user