Sha256: a76c885077dc46f6dd3502415782732cf3ec919b8c2c14168e49c74be9d6ab94
Contents?: true
Size: 938 Bytes
Versions: 5
Compression:
Stored size: 938 Bytes
Contents
<table class="index"> <tr data-hook="payments_header"> <th><%= "#{t('spree.date')}/#{t('spree.time')}" %></th> <th><%= t(:amount, :scope => 'activerecord.attributes.spree/payment') %></th> <th><%= t(:payment_method) %></th> <th><%= t(:payment_state) %></th> <th><%= t(:payment_actions) %></th> </tr> <% payments.each do |payment| %> <tr data-hook="payments_row"> <td><%= payment.created_at.to_s(:date_time24) %></td> <td><%= money(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
5 entries across 5 versions & 1 rubygems