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
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:
@@ -223,3 +223,7 @@ const dpiDe=a=>a.cm>0? (a.giro?a.py:a.px)/(a.cm/2.54) : 0;
|
||||
// girar 90° inverte a proporção · espelhar não muda medida, só o desenho
|
||||
const propDe=a=>{ const p=a.prop||1; return a.giro? 1/p : p; };
|
||||
const TAMANHOS={57:[10,15,20,25,28.2], 27:[5,8,10,13,26.7]};
|
||||
// "12x nome.png" já entra com 12 cópias (Rodada 5, B6; a BinnFlow faz assim):
|
||||
// até 3 dígitos, um x e um separador, para "1920x1080.png" não virar cópias.
|
||||
const copiasDoNome=nome=>{ const m=/^(\d{1,3})\s*[xX×][\s_-]+\S/.exec(nome||'');
|
||||
return m? Math.max(1,Math.min(200,+m[1]||1)) : 1; };
|
||||
|
||||
Reference in New Issue
Block a user