Sha256: d95074e0235471971b7b8da97f28cd8b3390af82c8cc84eebe957185f2a4f8fd
Contents?: true
Size: 630 Bytes
Versions: 104
Compression:
Stored size: 630 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 %> <%= t('spree.ending_in') %> <%= source.last_digits %> <% end %> </span> <br /> <span class="full-name"><%= source.name %></span> <% elsif source.is_a?(Spree::StoreCredit) %> <%= content_tag(:span, payment.payment_method.name) %>: <%= content_tag(:span, payment.display_amount) %> <% else %> <%= content_tag(:span, payment.payment_method.name) %> <% end %>
Version data entries
104 entries across 104 versions & 2 rubygems