feat: an order paid on the Site says how: "pago com Pix" or "pago com cartão" on its paid line
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 8m35s
Build and deploy / Secret scan and release gate (push) Successful in 6s
Build and deploy / Publish images (push) Successful in 1m16s
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 8m35s
Build and deploy / Secret scan and release gate (push) Successful in 6s
Build and deploy / Publish images (push) Successful in 1m16s
The board carries paid_with, the method of the quote's approved payment attempt (the one Tiny is told about). Until now a paid Site order only said "pago em", so a Tiny refusal (DTF-API-C, #196) could not be traced to Pix or card from the Kanban. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -238,6 +238,8 @@ function callout(d,title,text,tone=''){
|
||||
// Faturado is not one of them: an invoiced sale goes through the montador's
|
||||
// Venda (front 7a.3), and the API refuses it here (Sentry DTF-WEB-E).
|
||||
const PAID_OUTSIDE={pix:'Pix',card:'Cartão',cash:'Dinheiro',credit:'Crédito do cliente'};
|
||||
// How a Site order was paid, on the order's paid line (the board's paid_with).
|
||||
const PAID_WITH={pix:'Pix',card:'cartão'};
|
||||
function registerDialog(quote){
|
||||
const group=(name,label,options)=>{
|
||||
const g=node('div',undefined,'fgroup2');g.setAttribute('role','radiogroup');g.setAttribute('aria-label',label);
|
||||
|
||||
Reference in New Issue
Block a user