feat: copies from the file name, the proof in the summaries, the grade off the customer's screen (Rodada 5, B3, B6, D6)
Some checks failed
Build and deploy / Validate source (push) Successful in 4s
Build and deploy / Integration suite on a real stack (push) Failing after 1m17s
Build and deploy / Secret scan and release gate (push) Successful in 5s
Build and deploy / Publish images (push) Has been skipped

B6: "12x nome.png" enters with 12 copies, art or ready sheet (up to 200;
"1920x1080.png" is not read as copies). B3: the DPI refusal speaks per
art, the cart and payment summaries list "Prova antes de imprimir" when
chosen, and below 10 m the proof box stays, closed, saying the rule.
D6: the Ajuste Fino refusal no longer shows the grade number (Site and
server); the unused motivoNota helper is gone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Cauê Faleiros
2026-11-30 11:28:24 -03:00
parent f739c9d4e4
commit 857eea3379
11 changed files with 25 additions and 23 deletions

View File

@@ -187,7 +187,7 @@ async function sel(fs){
// On their way at once; a JPG is refused at the order anyway.
fs.filter(f=>!/\.jpe?g$/i.test(f.name)).forEach(f=>window.dtfEnvio?.enviar(f));
if(ehFolha()){
const novas=fs.map(f=>({f, med:null, rep:1, m:0, corte:null, semAnalise:null, analiseInicio:Date.now()}));
const novas=fs.map(f=>({f, med:null, rep:copiasDoNome(f.name), m:0, corte:null, semAnalise:null, analiseInicio:Date.now()}));
folhas=folhas.concat(novas); // soma, não substitui
pintaFolha();
novas.forEach(x=>{
@@ -282,7 +282,7 @@ async function sel(fs){
});
return;
}
const novos=fs.map(f=>({f,px:0,py:0,cm:0,q:1,prop:1,giro:0,esp:false,analiseInicio:Date.now()}));
const novos=fs.map(f=>({f,px:0,py:0,cm:0,q:copiasDoNome(f.name),prop:1,giro:0,esp:false,analiseInicio:Date.now()}));
artes=novos.concat(artes); // a mais recente fica no topo da fila
recemChegada=novos[0];
pintaArtes();