spree_paypal_express/app/overrides/spree/shared/_order_details/add_paypal_details.html.erb...

15 lines
404 B
Plaintext

<!--
insert_bottom '.payment-info'
original 'cd012ef486088f2543371329dde5d4f8f3d4191b'
-->
<% if order.payment && order.payment.source.class.to_s == 'Spree::PaypalAccount' %>
<span class="cc-type">
<%= image_tag "paypal.png" %>
<%= order.payment.source.payer_status.to_s.capitalize %>
</span>
<br />
<span class="full-name">
<%= order.payment.source.email %>
</span>
<% end %>