Sha256: 8b793d69a5274d6a145bb23f2ee2c0261c77ef05cc33a05df07969b31d7c5b1f

Contents?: true

Size: 1.13 KB

Versions: 2

Compression:

Stored size: 1.13 KB

Contents

<table class="index">
  <tr>
    <th><%= "#{t('spree.date')}/#{t('spree.time')}" %></th>
    <th><%= t("amount") %></th>
    <th><%= t("payment_method") %></th>
    <th> Name </th>
    <th> TransactionId </th>
    <th> PaymentId </th>
    <th> </th>
  </tr>
    <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.first_name+" "+payment.source.last_name %></td>
      <td><%= payment.source.TransactionId %></td>
      <td><%= payment.source.PaymentId %></td>
      <td>
				<% unless payment_method_name(payment) == 'Alipay' %>
        	<% 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>
</table>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spree_alipay-1.2 app/views/admin/payments/source_views/_alipay.html.erb
spree_alipay-1.0 app/views/admin/payments/source_views/_alipay.html.erb