Sha256: 694c4a2325776d30ac2a663b2740e0118d50c22d3a3feaf463a63e7baf0713ea
Contents?: true
Size: 1.09 KB
Versions: 2
Compression:
Stored size: 1.09 KB
Contents
<table class="index"> <tr> <th><%= "#{t('spree.date')}/#{t('spree.time')}" %></th> <th><%= t("amount") %></th> <th><%= t("payment_method") %></th> <th> Transaction ID </th> <th></th> </tr> <% payments.each do |payment| %> <tr> <td><%= payment.created_at.to_s(:date_time24) %></td> <td><%= number_to_currency(payment.amount) %></td> <td><%= payment_method_name payment %></td> <td><%= payment.source.TransactionId %></td> <td> <% unless payment_method_name(payment) == 'Alipay' %> <%= link_to t('show'), admin_order_payment_path(@order, payment) %> <% payment.actions.each do |action| %> <%= link_to t(action), fire_admin_order_payment_path(@order, payment, :e => action), :method => :put, :confirm => t('are_you_sure') %> <% end %> <%# if payment.actions.empty? and !payment.finalized? %> <%#= link_to t(:finalize), finalize_admin_order_payment_path(@order, payment), :method => :put, :confirm => t('are_you_sure') %> <%# end %> <% end %> </td> </tr> <% end %> </table>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
spree_alipay-1.2 | app/views/admin/payments/_list.html.erb |
spree_alipay-1.0 | app/views/admin/payments/_list.html.erb |