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) */
|
/* 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;
|
max-width: 620px !important;
|
||||||
width: 100% !important;
|
width: 100% !important;
|
||||||
box-sizing: border-box !important;
|
box-sizing: border-box !important;
|
||||||
@@ -379,6 +379,37 @@
|
|||||||
max-width: 100% !important;
|
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 */
|
/* Ocultar botón Volver en escritorio ya que la barra lateral siempre está visible */
|
||||||
.parent-subview-back-btn {
|
.parent-subview-back-btn {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
@@ -525,4 +556,15 @@
|
|||||||
color: #38bdf8 !important;
|
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;
|
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 */
|
/* Filtros de Historial de Movimientos */
|
||||||
.mov-filter-btn {
|
.mov-filter-btn {
|
||||||
padding: 6px 14px;
|
padding: 6px 14px;
|
||||||
|
|||||||
+103
-1
@@ -1140,7 +1140,9 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="parent-card" style="background: #f0fdf4; border: 1.5px solid #86efac;">
|
<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; justify-content: space-between; margin-bottom: 12px;">
|
||||||
<div style="display: flex; align-items: center; gap: 10px;">
|
<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;">
|
<div style="width: 36px; height: 36px; border-radius: 10px; background: #dcfce7; color: #166534; display: flex; align-items: center; justify-content: center; flex-shrink: 0;">
|
||||||
@@ -1226,6 +1228,106 @@
|
|||||||
<div id="parentSinpePendingList" style="display: flex; flex-direction: column; gap: 6px;"></div>
|
<div id="parentSinpePendingList" style="display: flex; flex-direction: column; gap: 6px;"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<!-- 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>
|
||||||
|
|
||||||
|
<!-- 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>
|
||||||
|
|
||||||
|
<!-- 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>
|
||||||
|
|
||||||
|
<!-- 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>
|
</div>
|
||||||
|
|
||||||
<!-- 2. SUB-PANTALLA: ALERGIAS Y SALUD -->
|
<!-- 2. SUB-PANTALLA: ALERGIAS Y SALUD -->
|
||||||
|
|||||||
Reference in New Issue
Block a user