Sha256: 7924f922960980d3f75d42f54a086ef83c9e4da722d41b67ec8ce02dbb14be07
Contents?: true
Size: 851 Bytes
Versions: 19
Compression:
Stored size: 851 Bytes
Contents
<table class="index"> <tr> <th><%= "#{t('spree.date')}/#{t('spree.time')}" %></th> <th><%= t("amount") %></th> <th><%= t("payment_method") %></th> <th><%= t("payment_state") %></th> <th><%= t("payment_actions") %></th> </tr> <% payments.each do |payment| %> <tr> <td><%= payment.created_at.to_s(:date_time24) %></td> <td><%= number_to_currency(payment.amount) %></td> <td><%= link_to payment_method_name(payment), admin_order_payment_path(@order, payment) %></td> <td><%= t(payment.state, :scope => :payment_states, :default => payment.state.capitalize) %></td> <td> <% payment.actions.each do |action| %> <%= button_to t(action), fire_admin_order_payment_path(@order, payment, :e => action), :method => :put %> <% end %> </td> </tr> <% end %> </table>
Version data entries
19 entries across 19 versions & 6 rubygems