feat: Gestão moves a printing order to another machine with a reason; the new one resumes from the part being ripped (Rodada 5, D4)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -430,6 +430,10 @@ function cardFlags(order){
|
||||
if(redo.length)out.push(['bad','Retrabalho',redo.map(r=>'Retrabalho · '+REWORK_CAUSES[r.cause]+' · '+metres(r.metres)+(r.authorized?'':' · aguardando autorização')).join(' · ')]);
|
||||
if(live&&s.items.some(mirroredItem))out.push(['warn','Espelhada',MIRROR_NOTE]);
|
||||
if(waitingContact(order))out.push(['warn','Contato','Aguardando contato: '+order.contact_note+' · '+contactWho(order)]);
|
||||
const transfers=order.transfers||[];
|
||||
if(live&&transfers.length){const t=transfers[transfers.length-1];
|
||||
out.push(['warn','Transferido · '+t.from_name+' → '+t.to_name,
|
||||
'Motivo: '+t.reason+' · '+t.created_by+' em '+when(t.created_at)+(t.resumed_from>1?' · recomeçou da parte '+t.resumed_from:'')+'. Confira a emenda de tom.']);}
|
||||
if(order.snapshot.treatment){
|
||||
const n=Number(order.snapshot.treatment.arts)||1;
|
||||
out.push(['warn','Ajuste Fino · '+n+(n===1?' arte':' artes'),
|
||||
|
||||
Reference in New Issue
Block a user