.card %div{id: "heading-#{transaction.id}", class: "card-header"} %h5.mb-0 %button.btn.btn-link{"aria-controls" => "collapse-#{transaction.id}", "aria-expanded" => "false", "data-target" => "#collapse-#{transaction.id}", "data-toggle" => "collapse"} Transação - Data de criação: #{transaction.created_at.to_date} %div{"aria-labelledby" => "heading-#{transaction.id}", :class => "collapse col-12", "data-parent" => "#accordion2", :id => "collapse-#{transaction.id}"} .card-body.row .col-3 %dt %span.label.user-info-tit.name_field.string_type ID %dd.well.user-info = transaction.id .col-3 %dt %span.label.user-info-tit.name_field.string_type Data de criação %dd.well.user-info = transaction.created_at.to_date .col-3 %dt %span.label.user-info-tit.name_field.string_type Código %dd.well.user-info #{transaction.code} .col-3 %dt %span.label.user-info-tit.name_field.string_type paymentLink %dd.well.user-info #{transaction.paymentLink} .col-3 %dt %span.label.user-info-tit.name_field.string_type Tipo %dd.well.user-info #{transaction.typeId} .col-3 %dt %span.label.user-info-tit.name_field.string_type status %dd.well.user-info #{transaction.statusId} .col-3 %dt %span.label.user-info-tit.name_field.string_type paymentMethodTypeId %dd.well.user-info = transaction.paymentMethodTypeId .col-3 %dt %span.label.user-info-tit.name_field.string_type paymentMethodCode %dd.well.user-info #{transaction.paymentMethodCode} .col-3 %dt %span.label.user-info-tit.name_field.string_type grossamount %dd.well.user-info = transaction.grossamount .col-3 %dt %span.label.user-info-tit.name_field.string_type discountAmount %dd.well.user-info = transaction.discountAmount .col-3 %dt %span.label.user-info-tit.name_field.string_type netAmount %dd.well.user-info = transaction.netAmount .col-3 %dt %span.label.user-info-tit.name_field.string_type extraAmount %dd.well.user-info = transaction.extraAmount .col-3 %dt %span.label.user-info-tit.name_field.string_type installments %dd.well.user-info = transaction.installments .col-3 %dt %span.label.user-info-tit.name_field.string_type escrowEndDate %dd.well.user-info - if transaction.escrowEndDate.blank? - -else = transaction.escrowEndDate.to_date .col-3 %dt %span.label.user-info-tit.name_field.string_type creditor_fees %dd.well.user-info = transaction.creditor_fees .col-3 %dt %span.label.user-info-tit.name_field.string_type items %dd.well.user-info = transaction.items .col-3 %dt %span.label.user-info-tit.name_field.string_type sender %dd.well.user-info = transaction.sender .col-3 %dt %span.label.user-info-tit.name_field.string_type shipping %dd.well.user-info = transaction.shipping