Sha256: 022c37684ba318488b9bcf555666c551af6a13190aa4788344a57f6fe0c9834c

Contents?: true

Size: 1.06 KB

Versions: 2

Compression:

Stored size: 1.06 KB

Contents

<fieldset data-hook="credit_card">
  <legend align="center"><%= Spree::CreditCard.model_name.human %></legend>

  <div class="row">
    <div class="alpha six columns">
      <dl>
        <dt><%= t('spree.identifier') %>:</dt>
        <dd><%= payment.number %></dd>

        <dt><%= t('spree.response_code') %>:</dt>
        <dd><%= braintree_transaction_link(payment.response_code) %></dd>

        <dt><%= t('spree.name_on_card') %>:</dt>
        <dd><%= payment.source.name %></dd>

        <dt><%= Spree::CreditCard.human_attribute_name(:cc_type) %>:</dt>
        <dd><%= payment.source.cc_type %></dd>

        <dt><%= Spree::CreditCard.human_attribute_name(:number) %>:</dt>
        <dd><%= payment.source.display_number %></dd>

        <dt><%= Spree::CreditCard.human_attribute_name(:expiration) %>:</dt>
        <dd><%= payment.source.month %>/<%= payment.source.year %></dd>
      </dl>
      <% if payment.source.address %>
        <%= render partial: 'spree/admin/shared/address', locals: {address: payment.source.address} %>
      <% end %>
    </div>
  </div>
</fieldset>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
solidus_braintree-1.4.0 app/views/spree/admin/payments/source_views/_braintree.html.erb
solidus_braintree-1.3.0 app/views/spree/admin/payments/source_views/_braintree.html.erb