feat(padres): agregar panel lateral de terminos y condiciones de recarga SINPE en desktop
This commit is contained in:
+43
-1
@@ -369,7 +369,7 @@
|
||||
}
|
||||
|
||||
/* Contención ergonómica de formularios y ajustes en desktop (máx 620px) */
|
||||
.parent-subview:not(#parentSubViewMenu) .parent-card {
|
||||
.parent-subview:not(#parentSubViewMenu):not(#parentSubViewSinpe) .parent-card {
|
||||
max-width: 620px !important;
|
||||
width: 100% !important;
|
||||
box-sizing: border-box !important;
|
||||
@@ -379,6 +379,37 @@
|
||||
max-width: 100% !important;
|
||||
}
|
||||
|
||||
/* Sección Recarga SINPE Móvil en Desktop (Grid de Formulario + Términos) */
|
||||
#parentSubViewSinpe {
|
||||
max-width: 1150px !important;
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
#parentSubViewSinpe .parent-sinpe-desktop-grid {
|
||||
display: grid !important;
|
||||
grid-template-columns: minmax(350px, 1.15fr) minmax(320px, 0.85fr) !important;
|
||||
gap: 22px !important;
|
||||
align-items: start !important;
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
#parentSubViewSinpe .parent-card {
|
||||
max-width: 100% !important;
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
.parent-sinpe-form-card {
|
||||
background: #f0fdf4 !important;
|
||||
border: 1.5px solid #86efac !important;
|
||||
box-shadow: 0 4px 14px rgba(22, 163, 74, 0.08) !important;
|
||||
}
|
||||
|
||||
.parent-sinpe-terms-card {
|
||||
background: var(--card-bg, #ffffff) !important;
|
||||
border: 1.5px solid var(--border, #e2e8f0) !important;
|
||||
box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03) !important;
|
||||
}
|
||||
|
||||
/* Ocultar botón Volver en escritorio ya que la barra lateral siempre está visible */
|
||||
.parent-subview-back-btn {
|
||||
display: none !important;
|
||||
@@ -525,4 +556,15 @@
|
||||
color: #38bdf8 !important;
|
||||
}
|
||||
|
||||
body.dark-mode .parent-sinpe-form-card {
|
||||
background: rgba(6, 78, 59, 0.22) !important;
|
||||
border-color: #059669 !important;
|
||||
}
|
||||
|
||||
body.dark-mode .parent-sinpe-terms-card {
|
||||
background: #1e293b !important;
|
||||
border-color: #334155 !important;
|
||||
color: #f1f5f9 !important;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -5206,6 +5206,25 @@ body.dark-mode .sinpe-card-receipt {
|
||||
border-color: #059669;
|
||||
}
|
||||
|
||||
/* Layout Responsivo para Recarga SINPE */
|
||||
.parent-sinpe-desktop-grid {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 16px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
body.dark-mode .parent-sinpe-form-card {
|
||||
background: rgba(6, 78, 59, 0.22) !important;
|
||||
border-color: #059669 !important;
|
||||
}
|
||||
|
||||
body.dark-mode .parent-sinpe-terms-card {
|
||||
background: #1e293b !important;
|
||||
border-color: #334155 !important;
|
||||
color: #f1f5f9;
|
||||
}
|
||||
|
||||
/* Filtros de Historial de Movimientos */
|
||||
.mov-filter-btn {
|
||||
padding: 6px 14px;
|
||||
|
||||
+174
-72
@@ -1140,90 +1140,192 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="parent-card" style="background: #f0fdf4; border: 1.5px solid #86efac;">
|
||||
<div style="display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px;">
|
||||
<div style="display: flex; align-items: center; gap: 10px;">
|
||||
<div style="width: 36px; height: 36px; border-radius: 10px; background: #dcfce7; color: #166534; display: flex; align-items: center; justify-content: center; flex-shrink: 0;">
|
||||
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect width="14" height="20" x="5" y="2" rx="2" ry="2"/><line x1="12" x2="12.01" y1="18" y2="18"/></svg>
|
||||
<div class="parent-sinpe-desktop-grid">
|
||||
<!-- Columna 1: Formulario de Recarga SINPE -->
|
||||
<div class="parent-card parent-sinpe-form-card" style="background: #f0fdf4; border: 1.5px solid #86efac; margin-bottom: 0;">
|
||||
<div style="display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px;">
|
||||
<div style="display: flex; align-items: center; gap: 10px;">
|
||||
<div style="width: 36px; height: 36px; border-radius: 10px; background: #dcfce7; color: #166534; display: flex; align-items: center; justify-content: center; flex-shrink: 0;">
|
||||
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect width="14" height="20" x="5" y="2" rx="2" ry="2"/><line x1="12" x2="12.01" y1="18" y2="18"/></svg>
|
||||
</div>
|
||||
<div>
|
||||
<strong style="color: #166534; font-size: 1rem; display: block;">Recarga por SINPE Móvil</strong>
|
||||
<p style="font-size: 0.74rem; color: #15803d; margin: 0;">
|
||||
<span id="parentSinpeEscuelaNombre" style="font-weight: 800;">Soda Escolar</span> · Tel: <strong id="parentSinpeNumero">8888-8888</strong>
|
||||
</p>
|
||||
<p style="font-size: 0.70rem; color: #166534; margin: 2px 0 0 0;">
|
||||
Titular: <span id="parentSinpeTitular" style="font-weight: 700;">Soda Central</span>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<strong style="color: #166534; font-size: 1rem; display: block;">Recarga por SINPE Móvil</strong>
|
||||
<p style="font-size: 0.74rem; color: #15803d; margin: 0;">
|
||||
<span id="parentSinpeEscuelaNombre" style="font-weight: 800;">Soda Escolar</span> · Tel: <strong id="parentSinpeNumero">8888-8888</strong>
|
||||
</p>
|
||||
<p style="font-size: 0.70rem; color: #166534; margin: 2px 0 0 0;">
|
||||
Titular: <span id="parentSinpeTitular" style="font-weight: 700;">Soda Central</span>
|
||||
</p>
|
||||
<span style="font-size: 0.7rem; color: #166534; background: #dcfce7; font-weight: 800; padding: 3px 8px; border-radius: 6px;">Inmediato</span>
|
||||
</div>
|
||||
|
||||
<!-- 1. Monto a Recargar -->
|
||||
<div style="margin-bottom: 12px;">
|
||||
<label for="inputParentSinpeMonto" style="display: block; font-size: 0.80rem; font-weight: 800; color: #166534; margin-bottom: 4px;">
|
||||
1. Monto a recargar (₡):
|
||||
</label>
|
||||
<div style="position: relative;">
|
||||
<span style="position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-weight: 900; color: #166534; font-size: 1.1rem;">₡</span>
|
||||
<input type="tel" inputmode="numeric" pattern="[0-9]*" id="inputParentSinpeMonto" placeholder="Ej: 3000" style="width: 100%; padding: 10px 12px 10px 30px; border-radius: 10px; border: 1.8px solid #86efac; font-size: 1.1rem; font-weight: 800; color: #166534; background: white; box-sizing: border-box; outline: none;">
|
||||
</div>
|
||||
<!-- Montos sugeridos rápidos -->
|
||||
<div style="display: flex; gap: 6px; margin-top: 7px; flex-wrap: wrap;">
|
||||
<button type="button" onclick="setParentSinpeMonto(1000)" style="background: white; border: 1px solid #86efac; color: #166534; font-size: 0.74rem; font-weight: 700; padding: 4px 9px; border-radius: 8px; cursor: pointer;">₡1.000</button>
|
||||
<button type="button" onclick="setParentSinpeMonto(2000)" style="background: white; border: 1px solid #86efac; color: #166534; font-size: 0.74rem; font-weight: 700; padding: 4px 9px; border-radius: 8px; cursor: pointer;">₡2.000</button>
|
||||
<button type="button" onclick="setParentSinpeMonto(3000)" style="background: white; border: 1px solid #86efac; color: #166534; font-size: 0.74rem; font-weight: 700; padding: 4px 9px; border-radius: 8px; cursor: pointer;">₡3.000</button>
|
||||
<button type="button" onclick="setParentSinpeMonto(5000)" style="background: white; border: 1px solid #86efac; color: #166534; font-size: 0.74rem; font-weight: 700; padding: 4px 9px; border-radius: 8px; cursor: pointer;">₡5.000</button>
|
||||
<button type="button" onclick="setParentSinpeMonto(10000)" style="background: white; border: 1px solid #86efac; color: #166534; font-size: 0.74rem; font-weight: 700; padding: 4px 9px; border-radius: 8px; cursor: pointer;">₡10.000</button>
|
||||
</div>
|
||||
</div>
|
||||
<span style="font-size: 0.7rem; color: #166534; background: #dcfce7; font-weight: 800; padding: 3px 8px; border-radius: 6px;">Inmediato</span>
|
||||
</div>
|
||||
|
||||
<!-- 1. Monto a Recargar -->
|
||||
<div style="margin-bottom: 12px;">
|
||||
<label for="inputParentSinpeMonto" style="display: block; font-size: 0.80rem; font-weight: 800; color: #166534; margin-bottom: 4px;">
|
||||
1. Monto a recargar (₡):
|
||||
</label>
|
||||
<div style="position: relative;">
|
||||
<span style="position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-weight: 900; color: #166534; font-size: 1.1rem;">₡</span>
|
||||
<input type="tel" inputmode="numeric" pattern="[0-9]*" id="inputParentSinpeMonto" placeholder="Ej: 3000" style="width: 100%; padding: 10px 12px 10px 30px; border-radius: 10px; border: 1.8px solid #86efac; font-size: 1.1rem; font-weight: 800; color: #166534; background: white; box-sizing: border-box; outline: none;">
|
||||
<!-- 2. Caja de Código de Detalle Obligatorio -->
|
||||
<div style="background: #ffffff; border: 2px dashed #16a34a; border-radius: 12px; padding: 12px; margin-bottom: 12px; text-align: center; box-shadow: 0 2px 6px rgba(22, 163, 74, 0.06);">
|
||||
<div style="font-size: 0.74rem; font-weight: 800; color: #15803d; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 3px;">
|
||||
2. Código Obligatorio en el Detalle
|
||||
</div>
|
||||
<p style="font-size: 0.72rem; color: #475569; margin: 0 0 8px 0; line-height: 1.3;">
|
||||
En la app de tu banco, coloca este código en el campo <strong>"Detalle"</strong> o <strong>"Motivo"</strong>:
|
||||
</p>
|
||||
|
||||
<div style="display: flex; align-items: center; justify-content: center; gap: 8px; background: #f0fdf4; border: 1.5px solid #86efac; border-radius: 10px; padding: 8px 12px; margin-bottom: 6px;">
|
||||
<span id="parentSinpeCodigoDisplay" style="font-family: 'Courier New', Courier, monospace; font-size: 1.45rem; font-weight: 900; color: #166534; letter-spacing: 1.5px; user-select: all;">SIBO-CARGANDO</span>
|
||||
<button type="button" id="btnCopiarCodigoSinpe" onclick="copiarCodigoSinpe()" style="background: #16a34a; color: white; border: none; padding: 7px 12px; border-radius: 8px; font-weight: 800; font-size: 0.80rem; cursor: pointer; display: flex; align-items: center; gap: 4px; box-shadow: 0 2px 5px rgba(22, 163, 74, 0.25);">
|
||||
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"><rect width="14" height="14" x="8" y="8" rx="2" ry="2"/><path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"/></svg>
|
||||
<span id="lblCopiarCodigoSinpe">Copiar código</span>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div style="display: flex; justify-content: space-between; align-items: center; font-size: 0.68rem; color: #64748b; padding: 0 2px;">
|
||||
<span>Válido pegado, con guión o minúsculas.</span>
|
||||
<button type="button" onclick="obtenerNuevoCodigoSinpe()" style="background: none; border: none; color: #0284c7; font-weight: 700; cursor: pointer; text-decoration: underline; font-size: 0.68rem; padding: 0;">
|
||||
🔄 Cambiar código
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Montos sugeridos rápidos -->
|
||||
<div style="display: flex; gap: 6px; margin-top: 7px; flex-wrap: wrap;">
|
||||
<button type="button" onclick="setParentSinpeMonto(1000)" style="background: white; border: 1px solid #86efac; color: #166534; font-size: 0.74rem; font-weight: 700; padding: 4px 9px; border-radius: 8px; cursor: pointer;">₡1.000</button>
|
||||
<button type="button" onclick="setParentSinpeMonto(2000)" style="background: white; border: 1px solid #86efac; color: #166534; font-size: 0.74rem; font-weight: 700; padding: 4px 9px; border-radius: 8px; cursor: pointer;">₡2.000</button>
|
||||
<button type="button" onclick="setParentSinpeMonto(3000)" style="background: white; border: 1px solid #86efac; color: #166534; font-size: 0.74rem; font-weight: 700; padding: 4px 9px; border-radius: 8px; cursor: pointer;">₡3.000</button>
|
||||
<button type="button" onclick="setParentSinpeMonto(5000)" style="background: white; border: 1px solid #86efac; color: #166534; font-size: 0.74rem; font-weight: 700; padding: 4px 9px; border-radius: 8px; cursor: pointer;">₡5.000</button>
|
||||
<button type="button" onclick="setParentSinpeMonto(10000)" style="background: white; border: 1px solid #86efac; color: #166534; font-size: 0.74rem; font-weight: 700; padding: 4px 9px; border-radius: 8px; cursor: pointer;">₡10.000</button>
|
||||
|
||||
<!-- 3. Comprobante Opcional -->
|
||||
<div style="margin-bottom: 12px;">
|
||||
<label for="inputParentSinpeComprobante" style="display: block; font-size: 0.76rem; font-weight: 800; color: #166534; margin-bottom: 3px;">
|
||||
3. N° de Comprobante bancario <span style="font-size: 0.68rem; font-weight: 600; color: #64748b;">(Opcional)</span>:
|
||||
</label>
|
||||
<input type="text" id="inputParentSinpeComprobante" placeholder="Ej: 894321 (Opcional si pusiste el código en el detalle)" style="width: 100%; padding: 9px 11px; border-radius: 10px; border: 1.5px solid #86efac; font-size: 0.95rem; font-weight: 700; color: #166534; background: white; box-sizing: border-box;">
|
||||
</div>
|
||||
|
||||
<!-- Botón de Validar SINPE -->
|
||||
<button type="button" id="btnParentValidarSinpe" onclick="executeParentSinpeRecharge()" style="width: 100%; padding: 13px; background: linear-gradient(135deg, #16a34a, #15803d); color: white; border: none; border-radius: 12px; font-weight: 900; font-size: 0.98rem; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; box-shadow: 0 4px 10px rgba(22, 163, 74, 0.3);">
|
||||
<svg width="17" height="17" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.3" stroke-linecap="round" stroke-linejoin="round"><path d="M22 11.08V12a10 10 0 1 1-5.93-9.14"/><polyline points="22 4 12 14.01 9 11.01"/></svg>
|
||||
<span id="btnParentValidarSinpeText">Validar SINPE</span>
|
||||
</button>
|
||||
|
||||
<!-- Banner de estado dinámico -->
|
||||
<div id="parentSinpeStatusMsg" style="display: none; margin-top: 10px; padding: 10px 12px; border-radius: 10px; font-size: 0.80rem; line-height: 1.4;"></div>
|
||||
|
||||
<!-- LISTA DE SOLICITUDES SINPE PENDIENTES DEL HIJO -->
|
||||
<div id="parentSinpePendingBox" style="margin-top: 14px; border-top: 1px dashed #86efac; padding-top: 10px; display: none;">
|
||||
<div style="font-size: 0.76rem; font-weight: 800; color: #166534; margin-bottom: 6px;">Estado de Recargas Recientes:</div>
|
||||
<div id="parentSinpePendingList" style="display: flex; flex-direction: column; gap: 6px;"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 2. Caja de Código de Detalle Obligatorio -->
|
||||
<div style="background: #ffffff; border: 2px dashed #16a34a; border-radius: 12px; padding: 12px; margin-bottom: 12px; text-align: center; box-shadow: 0 2px 6px rgba(22, 163, 74, 0.06);">
|
||||
<div style="font-size: 0.74rem; font-weight: 800; color: #15803d; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 3px;">
|
||||
2. Código Obligatorio en el Detalle
|
||||
<!-- Columna 2: Términos, Condiciones y Guía de Seguridad SINPE -->
|
||||
<div class="parent-card parent-sinpe-terms-card" style="background: #ffffff; border: 1.5px solid var(--border, #cbd5e1); border-radius: 18px; padding: 22px; box-shadow: 0 2px 8px rgba(0,0,0,0.03); margin-bottom: 0;">
|
||||
<!-- Encabezado de la Guía -->
|
||||
<div style="display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border, #f1f5f9); padding-bottom: 12px; margin-bottom: 14px;">
|
||||
<div style="display: flex; align-items: center; gap: 10px;">
|
||||
<div style="width: 36px; height: 36px; border-radius: 10px; background: #e0f2fe; color: #0284c7; display: flex; align-items: center; justify-content: center; font-size: 1.15rem; flex-shrink: 0;">
|
||||
🛡️
|
||||
</div>
|
||||
<div>
|
||||
<strong style="color: var(--text-main, #0f172a); font-size: 0.96rem; display: block;">Términos y Guía SINPE Móvil</strong>
|
||||
<span style="font-size: 0.73rem; color: var(--text-muted, #64748b);">Reglas para acreditación automática</span>
|
||||
</div>
|
||||
</div>
|
||||
<span style="font-size: 0.68rem; font-weight: 800; background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; padding: 3px 8px; border-radius: 6px;">
|
||||
Oficial
|
||||
</span>
|
||||
</div>
|
||||
<p style="font-size: 0.72rem; color: #475569; margin: 0 0 8px 0; line-height: 1.3;">
|
||||
En la app de tu banco, coloca este código en el campo <strong>"Detalle"</strong> o <strong>"Motivo"</strong>:
|
||||
</p>
|
||||
|
||||
<div style="display: flex; align-items: center; justify-content: center; gap: 8px; background: #f0fdf4; border: 1.5px solid #86efac; border-radius: 10px; padding: 8px 12px; margin-bottom: 6px;">
|
||||
<span id="parentSinpeCodigoDisplay" style="font-family: 'Courier New', Courier, monospace; font-size: 1.45rem; font-weight: 900; color: #166534; letter-spacing: 1.5px; user-select: all;">SIBO-CARGANDO</span>
|
||||
<button type="button" id="btnCopiarCodigoSinpe" onclick="copiarCodigoSinpe()" style="background: #16a34a; color: white; border: none; padding: 7px 12px; border-radius: 8px; font-weight: 800; font-size: 0.80rem; cursor: pointer; display: flex; align-items: center; gap: 4px; box-shadow: 0 2px 5px rgba(22, 163, 74, 0.25);">
|
||||
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"><rect width="14" height="14" x="8" y="8" rx="2" ry="2"/><path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"/></svg>
|
||||
<span id="lblCopiarCodigoSinpe">Copiar código</span>
|
||||
</button>
|
||||
|
||||
<!-- Alerta Dorada: Coincidencia Exacta -->
|
||||
<div style="background: #fffbeb; border: 1.5px solid #fde68a; border-radius: 12px; padding: 12px; margin-bottom: 14px;">
|
||||
<div style="display: flex; align-items: flex-start; gap: 8px;">
|
||||
<span style="font-size: 1.15rem; line-height: 1;">⚠️</span>
|
||||
<div style="font-size: 0.77rem; color: #92400e; line-height: 1.45;">
|
||||
<strong style="display: block; font-size: 0.82rem; margin-bottom: 2px;">Atención a dos datos obligatorios:</strong>
|
||||
El <strong>monto</strong> y el <strong>código SIBO</strong> deben coincidir con total precisión para que el sistema de la soda apruebe el saldo en segundos.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style="display: flex; justify-content: space-between; align-items: center; font-size: 0.68rem; color: #64748b; padding: 0 2px;">
|
||||
<span>Válido pegado, con guión o minúsculas.</span>
|
||||
<button type="button" onclick="obtenerNuevoCodigoSinpe()" style="background: none; border: none; color: #0284c7; font-weight: 700; cursor: pointer; text-decoration: underline; font-size: 0.68rem; padding: 0;">
|
||||
🔄 Cambiar código
|
||||
</button>
|
||||
|
||||
<!-- Lista de Términos Numerados -->
|
||||
<div style="display: flex; flex-direction: column; gap: 13px; font-size: 0.78rem; color: var(--text-main, #334155); line-height: 1.45;">
|
||||
|
||||
<!-- 1. Monto Exacto -->
|
||||
<div style="display: flex; gap: 10px; align-items: flex-start;">
|
||||
<div style="width: 22px; height: 22px; border-radius: 50%; background: #dcfce7; color: #166534; font-weight: 900; font-size: 0.72rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px;">
|
||||
1
|
||||
</div>
|
||||
<div>
|
||||
<strong style="color: var(--text-main, #0f172a); display: block; font-size: 0.82rem;">Monto idéntico al transferido:</strong>
|
||||
<span>El monto elegido en esta pantalla debe ser <strong>exactamente igual</strong> al transferido desde su banco (ej: si transfirió ₡3.000, digite ₡3.000). Diferencias en el importe impiden la conciliación automática.</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 2. Código Obligatorio -->
|
||||
<div style="display: flex; gap: 10px; align-items: flex-start;">
|
||||
<div style="width: 22px; height: 22px; border-radius: 50%; background: #dcfce7; color: #166534; font-weight: 900; font-size: 0.72rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px;">
|
||||
2
|
||||
</div>
|
||||
<div>
|
||||
<strong style="color: var(--text-main, #0f172a); display: block; font-size: 0.82rem;">Copiar y pegar el código en el Detalle:</strong>
|
||||
<span>Es <strong>estrictamente obligatorio</strong> colocar el código que empieza con <code style="background: rgba(2, 132, 199, 0.08); color: #0284c7; padding: 1px 6px; border-radius: 4px; font-weight: 800; font-family: monospace;">SIBO-XXXXXX</code> en la casilla de <em>Detalle</em>, <em>Motivo</em> o <em>Concepto</em> del SINPE Móvil bancario.</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 3. Destinatario Oficial -->
|
||||
<div style="display: flex; gap: 10px; align-items: flex-start;">
|
||||
<div style="width: 22px; height: 22px; border-radius: 50%; background: #dcfce7; color: #166534; font-weight: 900; font-size: 0.72rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px;">
|
||||
3
|
||||
</div>
|
||||
<div>
|
||||
<strong style="color: var(--text-main, #0f172a); display: block; font-size: 0.82rem;">Verificación del Destinatario:</strong>
|
||||
<span>Transfiera únicamente al número telefónico y titular oficial registrados de la soda escolar. SiboPay nunca le solicitará fondos a cuentas particulares.</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 4. Comprobante de Respaldo -->
|
||||
<div style="display: flex; gap: 10px; align-items: flex-start;">
|
||||
<div style="width: 22px; height: 22px; border-radius: 50%; background: #dcfce7; color: #166534; font-weight: 900; font-size: 0.72rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px;">
|
||||
4
|
||||
</div>
|
||||
<div>
|
||||
<strong style="color: var(--text-main, #0f172a); display: block; font-size: 0.82rem;">Comprobante de Respaldo:</strong>
|
||||
<span>Conserve la captura o número de comprobante emitido por su banco. En caso de requerir aclaración, este servirá como comprobante ante la administración de la soda.</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 5. Disponibilidad del Saldo -->
|
||||
<div style="display: flex; gap: 10px; align-items: flex-start;">
|
||||
<div style="width: 22px; height: 22px; border-radius: 50%; background: #dcfce7; color: #166534; font-weight: 900; font-size: 0.72rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px;">
|
||||
5
|
||||
</div>
|
||||
<div>
|
||||
<strong style="color: var(--text-main, #0f172a); display: block; font-size: 0.82rem;">Disponibilidad Inmediata:</strong>
|
||||
<span>Una vez validado el pago, los fondos quedan disponibles de inmediato para compras con carné QR o pre-órdenes. El saldo no vence durante el curso lectivo.</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 3. Comprobante Opcional -->
|
||||
<div style="margin-bottom: 12px;">
|
||||
<label for="inputParentSinpeComprobante" style="display: block; font-size: 0.76rem; font-weight: 800; color: #166534; margin-bottom: 3px;">
|
||||
3. N° de Comprobante bancario <span style="font-size: 0.68rem; font-weight: 600; color: #64748b;">(Opcional)</span>:
|
||||
</label>
|
||||
<input type="text" id="inputParentSinpeComprobante" placeholder="Ej: 894321 (Opcional si pusiste el código en el detalle)" style="width: 100%; padding: 9px 11px; border-radius: 10px; border: 1.5px solid #86efac; font-size: 0.95rem; font-weight: 700; color: #166534; background: white; box-sizing: border-box;">
|
||||
</div>
|
||||
|
||||
<!-- Botón de Validar SINPE -->
|
||||
<button type="button" id="btnParentValidarSinpe" onclick="executeParentSinpeRecharge()" style="width: 100%; padding: 13px; background: linear-gradient(135deg, #16a34a, #15803d); color: white; border: none; border-radius: 12px; font-weight: 900; font-size: 0.98rem; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; box-shadow: 0 4px 10px rgba(22, 163, 74, 0.3);">
|
||||
<svg width="17" height="17" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.3" stroke-linecap="round" stroke-linejoin="round"><path d="M22 11.08V12a10 10 0 1 1-5.93-9.14"/><polyline points="22 4 12 14.01 9 11.01"/></svg>
|
||||
<span id="btnParentValidarSinpeText">Validar SINPE</span>
|
||||
</button>
|
||||
|
||||
<!-- Banner de estado dinámico -->
|
||||
<div id="parentSinpeStatusMsg" style="display: none; margin-top: 10px; padding: 10px 12px; border-radius: 10px; font-size: 0.80rem; line-height: 1.4;"></div>
|
||||
|
||||
<!-- LISTA DE SOLICITUDES SINPE PENDIENTES DEL HIJO -->
|
||||
<div id="parentSinpePendingBox" style="margin-top: 14px; border-top: 1px dashed #86efac; padding-top: 10px; display: none;">
|
||||
<div style="font-size: 0.76rem; font-weight: 800; color: #166534; margin-bottom: 6px;">Estado de Recargas Recientes:</div>
|
||||
<div id="parentSinpePendingList" style="display: flex; flex-direction: column; gap: 6px;"></div>
|
||||
<!-- Pie de Seguridad -->
|
||||
<div style="margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--border, #f1f5f9); display: flex; align-items: center; justify-content: space-between; font-size: 0.72rem; color: var(--text-muted, #64748b);">
|
||||
<span style="display: flex; align-items: center; gap: 6px;">
|
||||
<span style="width: 7px; height: 7px; border-radius: 50%; background: #10b981; display: inline-block;"></span>
|
||||
<span>Conciliación automática activa 24/7</span>
|
||||
</span>
|
||||
<span style="font-weight: 800; color: #0284c7;">SiboPay Protegido</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user