ui(cobranza): 'Bitácora de movimientos' primero en la pestaña Mensaje

La config de movimientos visibles pasa arriba de cuentas SPEI y
plantilla. Solo reordena HTML; sin cambios de lógica.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Jorem JuárezandClaude Opus 4.8 committed 2026-08-04 17:36:16 -06:00
1 parent 7559034ffc
commit 746c6ff167
1 file changed
+11 -11
+11 -11
View File
@@ -450,7 +450,17 @@
</div>
<div class="view" id="view-mensaje">
<div class="section-label"><svg class="ic" width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round"><path d="M3 21h18M4 10h16M5 6l7-3 7 3M5 10v11M19 10v11M9 14v3M15 14v3"/></svg> Cuentas para transferencia SPEI</div>
<div class="section-label"><svg class="ic" width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><path d="M12 6v6l4 2"/></svg> Bitácora de movimientos</div>
<div class="form-group">
<label class="form-label">Movimientos visibles en el historial</label>
<div style="display:flex;gap:10px;align-items:center">
<input type="number" class="form-input" id="mov-visibles" min="1" max="500" style="max-width:110px">
<button class="btn-save" style="margin:0;width:auto;padding-left:18px;padding-right:18px" onclick="guardarMovVisibles()">Guardar</button>
</div>
<div class="form-hint">Cuántos movimientos se muestran por subcuenta (abonos, saldados). El registro completo se conserva siempre.</div>
</div>
<div class="section-label" style="margin-top:24px"><svg class="ic" width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round"><path d="M3 21h18M4 10h16M5 6l7-3 7 3M5 10v11M19 10v11M9 14v3M15 14v3"/></svg> Cuentas para transferencia SPEI</div>
<div id="cuentas-lista"></div>
<button class="btn-wide" style="margin:0 0 22px" onclick="abrirNuevaCuenta()"><svg class="ic" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 5v14M5 12h14"/></svg> Agregar otra cuenta</button>
@@ -505,16 +515,6 @@
<button class="btn-save" onclick="guardarPlantilla()">Guardar plantilla</button>
<div class="section-label" style="margin-top:24px"><svg class="ic" width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><path d="M12 6v6l4 2"/></svg> Bitácora de movimientos</div>
<div class="form-group">
<label class="form-label">Movimientos visibles en el historial</label>
<div style="display:flex;gap:10px;align-items:center">
<input type="number" class="form-input" id="mov-visibles" min="1" max="500" style="max-width:110px">
<button class="btn-save" style="margin:0;width:auto;padding-left:18px;padding-right:18px" onclick="guardarMovVisibles()">Guardar</button>
</div>
<div class="form-hint">Cuántos movimientos se muestran por subcuenta (abonos, saldados). El registro completo se conserva siempre.</div>
</div>
<div class="section-label" style="margin-top:24px"><svg class="ic" width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round"><path d="M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7-10-7-10-7z"/><circle cx="12" cy="12" r="3"/></svg> Vista previa</div>
<div class="preview-msg" id="preview-msg"></div>
</div>