fix: a cancelled order takes its open proof card, a renamed machine keeps its hot folder, a film is approved with all its parts
All checks were successful
Build and deploy / Validate source (push) Successful in 6s
Build and deploy / Integration suite on a real stack (push) Successful in 8m8s
Build and deploy / Secret scan and release gate (push) Successful in 6s
Build and deploy / Publish images (push) Successful in 1m11s
All checks were successful
Build and deploy / Validate source (push) Successful in 6s
Build and deploy / Integration suite on a real stack (push) Successful in 8m8s
Build and deploy / Secret scan and release gate (push) Successful in 6s
Build and deploy / Publish images (push) Successful in 1m11s
- Cancelling an order left its proof card not yet answered on the board, where it could still be pulled and printed. It is cancelled with it. - The hot folder path was the machine's current name, so renaming a machine sent its next files to a folder FlexiPRINT does not watch. Each machine now keeps the folder it was created with (migration fills it with today's names); no other machine may take that name, and the machine form shows the folder. - A final set with only some parts of a film was accepted, the #130 failure through the manual path. The server now refuses it and names the parts missing. - The proof card note says up to 30 cm. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -330,7 +330,7 @@ function nextBox(order){
|
||||
const manual=(order.print_files||[]).some(r=>r.status==='manual');
|
||||
note(finalDone(order)?'Abra o PNG gerado pelo Prumo e confirme a contração.':manual
|
||||
?'O original exige preparo manual. Abra o pedido pai, envie o PNG completo e depois gere a prova de novo.'
|
||||
:'O Prumo prepara até 15 cm por classe e aprova o PNG final automaticamente.');
|
||||
:'O Prumo prepara até 30 cm por classe e aprova o PNG final automaticamente.');
|
||||
if(manual&&may('produce'))more.push(button('Abrir pedido pai',()=>openPanel(order.proof_parent.id),'btn lg'));
|
||||
if(finalDone(order)&&may('produce'))main.push(checkButton(order,'btn pri lg'));
|
||||
if((order.print_files||[]).some(r=>r.status==='failed'||r.status==='manual'||r.timed_out)&&may('produce'))
|
||||
|
||||
Reference in New Issue
Block a user