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:
@@ -32,7 +32,7 @@ const TEXTO_MISTA={
|
||||
// avulsa: imprimir assim mesmo (C1), ou trocar o arquivo por dois.
|
||||
function perguntaMista(){
|
||||
const dlg=$('mistaDlg');
|
||||
if(!dlg || dlg.open || $('larguraDlg')?.open || $('tamanhoDlg')?.open) return;
|
||||
if(!dlg || dlg.open || $('larguraDlg')?.open || $('tamanhoDlg')?.open || $('provaDlg')?.open) return;
|
||||
const lista=ehFolha()?folhas:artes;
|
||||
const x=lista.find(y=>!y.mistaVista && mista(tracoDoArquivo(y)));
|
||||
if(!x) return;
|
||||
|
||||
Reference in New Issue
Block a user