Sha256: f73d26dfdfb9a1ff41021e228f2027eefe4171f693575abab70a8876b1de549c

Contents?: true

Size: 1.06 KB

Versions: 3

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><%= Spree.t(:identifier) %>:</dt>
        <dd><%= payment.number %></dd>

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

        <dt><%= Spree.t(: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

3 entries across 3 versions & 1 rubygems

Version Path
solidus_braintree-1.2.0 app/views/spree/admin/payments/source_views/_braintree.html.erb
solidus_braintree-1.1.0 app/views/spree/admin/payments/source_views/_braintree.html.erb
solidus_braintree-1.0.0 app/views/spree/admin/payments/source_views/_braintree.html.erb