feat: Prumo tells the card and the customer what it did (front 6)
All checks were successful
Build and deploy / Validate source (push) Successful in 5s
Build and deploy / Integration suite on a real stack (push) Successful in 4m41s
Build and deploy / Secret scan and release gate (push) Successful in 6s
Build and deploy / Publish images (push) Successful in 1m6s
All checks were successful
Build and deploy / Validate source (push) Successful in 5s
Build and deploy / Integration suite on a real stack (push) Successful in 4m41s
Build and deploy / Secret scan and release gate (push) Successful in 6s
Build and deploy / Publish images (push) Successful in 1m6s
Every order now carries a short report of the decisions that happened: original format, conversion, resolution, background, residue, montage, billed length, contraction, thin-stroke warning, parts and generation time. The card shows it above the file; the payment summary shows the customer's version. The upload keeps the original name so a renamed CDR/PDF is told.
This commit is contained in:
@@ -1981,6 +1981,16 @@ function itemCard(order,item,index){
|
||||
notes.append(itemNote(done?'Arquivo final aprovado':'Falta aprovar o arquivo final',done?'ok':'warn'));
|
||||
}
|
||||
if(order.treated?.items.includes(index))notes.append(itemNote('Arte tratada: '+TREATED_NOTE.charAt(0).toLowerCase()+TREATED_NOTE.slice(1)+' Aprovado por '+order.treated.by+'.'));
|
||||
// O que o Prumo fez (front 6): the actions that happened, before the
|
||||
// designer opens the file. Multi-item orders show each item's own lines.
|
||||
const multi=order.snapshot.items.length>1, prefix=multi?'Item '+(index+1)+': ':'';
|
||||
const prumoLines=(order.prumo||[]).filter(line=>!multi||line.startsWith(prefix)||line.startsWith('Prova do'))
|
||||
.map(line=>line.startsWith(prefix)?line.slice(prefix.length):line);
|
||||
if(prumoLines.length){
|
||||
const block=node('details',undefined,'prumo');block.append(node('summary','O que o Prumo fez'));
|
||||
prumoLines.forEach(line=>block.append(node('p',line)));
|
||||
notes.append(block);
|
||||
}
|
||||
if(notes.children.length)info.append(notes);
|
||||
const links=node('div',undefined,'links');
|
||||
const dl_=(text,uid)=>{const b=downloadButton(text,download(uid),'btn');return b;};
|
||||
|
||||
Reference in New Issue
Block a user