Pagamento Inter Pix
<%= label_tag :txid, "TXID" %> <%= text_field_tag :txid, payment.source.txid, class:"fullwidth", disabled: true %>
<%= label_tag :payer_name, "Nome" %> <%= text_field_tag :payer_name, payment.source.payer_name, class:"fullwidth", disabled: true %>
<%= label_tag :expiration, "Criação" %> <%= text_field_tag :expiration, payment.source.created_at.in_time_zone('America/Sao_Paulo').strftime("%d/%m/%Y às %H:%M"), class:"fullwidth", disabled: true %>
<%= label_tag :amount, "Valor" %> <%= text_field_tag :amount, number_to_currency(payment.source.amount), class:"fullwidth", disabled: true %>
<%= label_tag :status, "Status" %> <%= text_field_tag :status, payment.source.status, class:"fullwidth", disabled: true %>
<%= label_tag :payer_tax_id, "Documento" %> <%= text_field_tag :payer_tax_id, payment.source.payer_tax_id, class:"fullwidth", disabled: true %>
<%= label_tag :expiration, "Expiração" %> <%= text_field_tag :expiration, payment.source.expiration.in_time_zone('America/Sao_Paulo').strftime("%d/%m/%Y às %H:%M"), class:"fullwidth", disabled: true %>
<%= label_tag :e2e_id, "ID da Transação" %> <%= text_field_tag :e2e_id, payment.source.e2e_id, class:"fullwidth", disabled: true %>
<%= label_tag :copia_cola, "Copia e Cola" %> <%= text_field_tag :copia_cola, payment.source.pix_code, class:"fullwidth", disabled: true %>
<%= payment.source.qr_code_svg.html_safe %>