Sha256: 77e3044654168f1beaedb6a283c3275e06b3d87781416f3ff96cb200db233db1

Contents?: true

Size: 475 Bytes

Versions: 14

Compression:

Stored size: 475 Bytes

Contents

<% source = payment.source %>

<% if source.is_a?(Spree::CreditCard) %>
  <span class="cc-type">
    <% unless (cc_type = source.cc_type).blank? %>
      <%= image_tag "credit_cards/icons/#{cc_type}.png" %>
    <% end %>
    <% if source.last_digits %>
      <%= Spree.t(:ending_in) %> <%= source.last_digits %>
    <% end %>
  </span>
  <br />
  <span class="full-name"><%= source.name %></span>
<% else %>
  <%= content_tag(:span, payment.payment_method.name) %>
<% end %>

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
spree_frontend-3.0.10 app/views/spree/payments/_payment.html.erb
spree_frontend-3.0.9 app/views/spree/payments/_payment.html.erb
spree_frontend-3.0.8 app/views/spree/payments/_payment.html.erb
spree_frontend-3.0.7 app/views/spree/payments/_payment.html.erb
spree_frontend-3.0.6.1 app/views/spree/payments/_payment.html.erb
spree_frontend-3.0.6 app/views/spree/payments/_payment.html.erb
spree_frontend-3.0.5 app/views/spree/payments/_payment.html.erb
spree_frontend-3.0.4 app/views/spree/payments/_payment.html.erb
spree_frontend-3.0.3 app/views/spree/payments/_payment.html.erb
spree_frontend-3.0.2 app/views/spree/payments/_payment.html.erb
spree_frontend-3.0.1 app/views/spree/payments/_payment.html.erb
spree_frontend-3.0.0 app/views/spree/payments/_payment.html.erb
spree_frontend-3.0.0.rc4 app/views/spree/payments/_payment.html.erb
spree_frontend-3.0.0.rc3 app/views/spree/payments/_payment.html.erb