Add PayPal icon + details to order_details partial
This commit is contained in:
parent
ea2084ec04
commit
e6801863a6
|
@ -1,4 +1,5 @@
|
|||
*.swp
|
||||
.DS_store
|
||||
spec/test_app
|
||||
spec/dummy
|
||||
.rvmrc
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
|
@ -0,0 +1,16 @@
|
|||
<!--
|
||||
insert_bottom '.payment-info'
|
||||
original '9d4ef160bd508a47f906d7419c33cfc7eefc501d'
|
||||
-->
|
||||
<% 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 %>
|
||||
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 1.4 KiB |
Loading…
Reference in New Issue