Merge Abrir e conferir fix for paid Ajuste Fino (DTF-WEB-A)
All checks were successful
Build and deploy / Validate source (push) Successful in 1m4s
Build and deploy / Integration suite on a real stack (push) Successful in 7m11s
Build and deploy / Secret scan and release gate (push) Successful in 10s
Build and deploy / Publish images (push) Successful in 1m54s
All checks were successful
Build and deploy / Validate source (push) Successful in 1m4s
Build and deploy / Integration suite on a real stack (push) Successful in 7m11s
Build and deploy / Secret scan and release gate (push) Successful in 10s
Build and deploy / Publish images (push) Successful in 1m54s
This commit is contained in:
@@ -2153,6 +2153,15 @@ async function openCheck(order){
|
|||||||
// the measure, and the art either goes on to Arte conferida, its final
|
// the measure, and the art either goes on to Arte conferida, its final
|
||||||
// approved and its class kept, or is treated (item 8).
|
// approved and its class kept, or is treated (item 8).
|
||||||
function isOk(order){
|
function isOk(order){
|
||||||
|
// Ajuste Fino or Redesenho paid: only the treated PNG goes to the queue, so
|
||||||
|
// nothing is approved here; the designer goes to "Tratar a arte" (DTF-WEB-A).
|
||||||
|
if(designerPaid(order)&&!treatmentDone(order)){
|
||||||
|
const service=order.snapshot.redesign?'O Ajuste Fino Redesenho':'O Ajuste Fino';
|
||||||
|
const m=formDialog('Falta a arte tratada',{host:$('drawer'),label:'Tratar a arte',
|
||||||
|
text:service+' foi pago. Envie o PNG ajustado de cada item antes de colocar o pedido na fila.',
|
||||||
|
onsave:async()=>{m.close();treatDialog(order);return false;}});
|
||||||
|
return;
|
||||||
|
}
|
||||||
const items=order.snapshot.items, ready=readyFinals(order);
|
const items=order.snapshot.items, ready=readyFinals(order);
|
||||||
const selects=items.map((item,index)=>{
|
const selects=items.map((item,index)=>{
|
||||||
const select=node('select');select.required=true;
|
const select=node('select');select.required=true;
|
||||||
|
|||||||
Reference in New Issue
Block a user