fix: review of round 5 against its contracts: a hand-added stamp never joins a referenced line, an open preview reminds only in Arte recebida, previews in the history, the proof in Minha conta
Found re-reading A1-D6 with the interaction contracts: Adicionar merged into a pasted line and printed its reference; a preview left open after the card moved or was cancelled kept its flag and the 3 h reminder; the reject reason said it stays in the history, which only listed moves; the "com prova" summary (B3) was missing in Minha conta; removing every line kept the pasted list's batch. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1301,6 +1301,11 @@ function historyView(order,rows,view){
|
||||
};
|
||||
for(const r of [...rows].reverse())list.append(entry(r.back?'Voltou para '+stateName(r.to_state):stateName(r.to_state),
|
||||
r.operator+(r.machine?', na '+r.machine:''),r.created_at,r.reason));
|
||||
// The Redesenho previews (D2), newest first, like the moves above.
|
||||
for(const p of [...previewsOf(order)].reverse()){
|
||||
if(p.decided_at)list.append(entry('Prévia '+p.number+(p.result==='approved'?' aprovada':' reprovada'),p.decided_by,p.decided_at,p.reason));
|
||||
list.append(entry('Prévia '+p.number+' enviada',p.sent_by,p.sent_at,''));
|
||||
}
|
||||
for(const item of order.snapshot.items){
|
||||
if(item.residue_accepted_at)list.append(entry('Resíduo aceito','cliente',item.residue_accepted_at,
|
||||
item.residue_accepted+' pontos'));
|
||||
|
||||
Reference in New Issue
Block a user