Prototipo: quita la tarjeta "Otra cotización del cliente" (paso 1 del wizard)
Mostraba COT-2026-0448 (mismo cliente, proyecto de Arq. Jorge Salinas) como alternativa seleccionable, sin indicar que pertenece a otro ticket (FAC-0868, ya facturado) — confuso, riesgo de elegir la cotización equivocada. El paso 1 ahora solo confirma la cotización vinculada al ticket; se quita pickQuote() por quedar sin uso.
This commit is contained in:
@@ -879,11 +879,11 @@
|
|||||||
<!-- Paso 1 -->
|
<!-- Paso 1 -->
|
||||||
<div class="wiz-pane active" id="wp-1">
|
<div class="wiz-pane active" id="wp-1">
|
||||||
<div class="card card-pad">
|
<div class="card card-pad">
|
||||||
<h3 class="card-title">Paso 1 · Selecciona la cotización de BIND</h3>
|
<h3 class="card-title">Paso 1 · Confirma la cotización de BIND</h3>
|
||||||
<p class="card-sub"><b>Toda factura parte de una cotización BIND.</b></p>
|
<p class="card-sub"><b>Toda factura parte de una cotización BIND.</b></p>
|
||||||
|
|
||||||
<div class="grid2 mt12">
|
<div class="mt12" style="max-width:420px">
|
||||||
<div class="quote-card sel" onclick="pickQuote(this)">
|
<div class="quote-card sel">
|
||||||
<span class="radio"></span>
|
<span class="radio"></span>
|
||||||
<div class="chip chip-ok mb8">Vinculada al ticket</div>
|
<div class="chip chip-ok mb8">Vinculada al ticket</div>
|
||||||
<div style="font-weight:600;font-size:14px">COT-2026-0455</div>
|
<div style="font-weight:600;font-size:14px">COT-2026-0455</div>
|
||||||
@@ -893,16 +893,6 @@
|
|||||||
<span class="chip chip-neutral">Vigente · 28 jun 2026</span>
|
<span class="chip chip-neutral">Vigente · 28 jun 2026</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="quote-card" onclick="pickQuote(this)">
|
|
||||||
<span class="radio"></span>
|
|
||||||
<div class="chip chip-neutral mb8">Otra cotización del cliente</div>
|
|
||||||
<div style="font-weight:600;font-size:14px">COT-2026-0448</div>
|
|
||||||
<div style="font-size:12px;color:var(--muted);margin:3px 0 9px">CEMEX · Staff augmentation · Arq. Jorge Salinas · julio 2026</div>
|
|
||||||
<div class="spread" style="font-size:12.5px">
|
|
||||||
<span>Subtotal <b>$71,920.00 MXN</b></span>
|
|
||||||
<span class="chip chip-neutral">Vigente · 26 jun 2026</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="alert alert-warn mt16">
|
<div class="alert alert-warn mt16">
|
||||||
@@ -1675,12 +1665,6 @@ function emitOk(){
|
|||||||
window.scrollTo({top:0, behavior:'instant'});
|
window.scrollTo({top:0, behavior:'instant'});
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Paso 1: selección de cotización */
|
|
||||||
function pickQuote(el){
|
|
||||||
document.querySelectorAll('.quote-card').forEach(q => q.classList.remove('sel'));
|
|
||||||
el.classList.add('sel');
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Paso 2: PPD/PUE con advertencia SAT */
|
/* Paso 2: PPD/PUE con advertencia SAT */
|
||||||
function pickPay(which){
|
function pickPay(which){
|
||||||
const ppd = document.getElementById('pay-ppd'), pue = document.getElementById('pay-pue');
|
const ppd = document.getElementById('pay-ppd'), pue = document.getElementById('pay-pue');
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 172 KiB After Width: | Height: | Size: 160 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 292 KiB After Width: | Height: | Size: 292 KiB |
Reference in New Issue
Block a user