feat: above 10 m the payment asks for the proof in a pop-up, not mandatory (Marcus, 2026-12-02)
All checks were successful
Build and deploy / Validate source (push) Successful in 5s
Build and deploy / Integration suite on a real stack (push) Successful in 8m36s
Build and deploy / Secret scan and release gate (push) Successful in 6s
Build and deploy / Publish images (push) Successful in 1m6s
All checks were successful
Build and deploy / Validate source (push) Successful in 5s
Build and deploy / Integration suite on a real stack (push) Successful in 8m36s
Build and deploy / Secret scan and release gate (push) Successful in 6s
Build and deploy / Publish images (push) Successful in 1m6s
The proof checkbox in the cart becomes a pop-up when the customer presses pay on an order above 10 m: "Quero aprovar uma prova" sends proof=true, "Seguir sem prova", Escape or closing goes on without one. Same text as the old box. Below 10 m nothing is asked. A cart already sent goes straight to its payment without asking again. The dialog sits outside the panels so it shows wherever pay is pressed. The automatic proof above 10 m is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1126,15 +1126,6 @@ h2 em{font-style:normal;color:var(--laranja)}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="cxE">
|
||||
<h4>Prova antes de imprimir</h4>
|
||||
<label class="provaOp"><input type="checkbox" id="fProva">
|
||||
<span><b>Quero aprovar uma prova antes de imprimir</b>
|
||||
Imprimimos uma prova de até 30 cm e mandamos a foto pelo WhatsApp. O resto sai depois
|
||||
que você aprovar. Até 3 provas por pedido, sem custo.</span></label>
|
||||
<p class="provaMin" id="provaMin" hidden>A prova é para pedidos acima de 10 m.</p>
|
||||
</div>
|
||||
|
||||
<div class="cxE" id="tratamentoBox" hidden>
|
||||
<h4>Ajuste Fino</h4>
|
||||
<label class="provaOp"><input type="checkbox" id="fTratamento">
|
||||
@@ -1242,6 +1233,15 @@ h2 em{font-style:normal;color:var(--laranja)}
|
||||
</div>
|
||||
</div></footer>
|
||||
|
||||
<!-- A prova no pagamento (Marcus, 2026-12-02): fora dos painéis, que se escondem. -->
|
||||
<dialog class="ampliaDlg mistaDlg" id="provaDlg" aria-labelledby="provaTit">
|
||||
<div class="ampliaCab"><b id="provaTit">Prova antes de imprimir</b></div>
|
||||
<div class="mistaCorpo">
|
||||
<p>Imprimimos uma prova de até 30 cm e mandamos a foto pelo WhatsApp. O resto sai depois
|
||||
que você aprovar. Até 3 provas por pedido, sem custo.</p>
|
||||
<div class="mistaBot"><button type="button" class="ec-go" id="provaSim">Quero aprovar uma prova</button><button type="button" id="provaNao">Seguir sem prova</button></div>
|
||||
</div>
|
||||
</dialog>
|
||||
<!-- The Site's behaviour, split by responsibility. Classic scripts on purpose:
|
||||
they share one global scope and run in this order, which is exactly how the
|
||||
single inline script this replaces behaved. Order is therefore significant. -->
|
||||
|
||||
Reference in New Issue
Block a user