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

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:
Cauê Faleiros
2026-12-02 10:43:17 -03:00
parent 41126a42fd
commit 1633b995eb
6 changed files with 56 additions and 22 deletions

View File

@@ -372,7 +372,6 @@ section+section{border-top:0}
.provaOp input{margin-top:3px;width:17px;height:17px;flex:none;accent-color:var(--laranja)}
.provaOp b{display:block;color:var(--preto);font-weight:700}
.provaOp:has(input:disabled){cursor:default;opacity:.55}
.provaMin{margin:8px 0 0 27px;font-size:14px;color:var(--fraco)}
.cp input,.cepL input{height:46px;border-radius:var(--raio2)}
.cp input:focus,.cepL input:focus{border-color:var(--laranja2);box-shadow:0 0 0 3px rgba(255,168,26,.18)}
.opE{border-radius:12px}