fix: drop the repeated total from the PIX instructions
All checks were successful
Build and deploy / Validate source (push) Successful in 7s
Build and deploy / Integration suite on a real stack (push) Successful in 2m19s
Build and deploy / Secret scan and release gate (push) Successful in 5s
Build and deploy / Publish images (push) Successful in 50s
All checks were successful
Build and deploy / Validate source (push) Successful in 7s
Build and deploy / Integration suite on a real stack (push) Successful in 2m19s
Build and deploy / Secret scan and release gate (push) Successful in 5s
Build and deploy / Publish images (push) Successful in 50s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -332,7 +332,7 @@
|
|||||||
if (!intent.pix_qr_code) { message('Não foi possível gerar o PIX. Tente de novo em instantes.'); return; }
|
if (!intent.pix_qr_code) { message('Não foi possível gerar o PIX. Tente de novo em instantes.'); return; }
|
||||||
const box=node('div',null,'pixBox');
|
const box=node('div',null,'pixBox');
|
||||||
box.append(node('h4','Pague com PIX'),
|
box.append(node('h4','Pague com PIX'),
|
||||||
node('p','Abra o app do seu banco, escolha pagar com PIX e leia o QR code ou cole o código abaixo. Valor: '+rs(intent.total_cents/100)+'.','pagNota'));
|
node('p','Abra o app do seu banco, escolha pagar com PIX e leia o QR code ou cole o código abaixo.','pagNota'));
|
||||||
if (intent.pix_qr_code_base64) {
|
if (intent.pix_qr_code_base64) {
|
||||||
const img=document.createElement('img');
|
const img=document.createElement('img');
|
||||||
img.src='data:image/png;base64,'+intent.pix_qr_code_base64;
|
img.src='data:image/png;base64,'+intent.pix_qr_code_base64;
|
||||||
|
|||||||
Reference in New Issue
Block a user