Sha256: 78d299d1f38a255ad871d834c7e66442d776b7d1dcc2325e58b3c63405c769a5
Contents?: true
Size: 766 Bytes
Versions: 8
Compression:
Stored size: 766 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("state") %></th> <th>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><%= 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
8 entries across 8 versions & 1 rubygems