Sha256: 02e19cd5d1a8e5e52fbd74f1e787a8fa2717e128eb0b7e1cff08d51884ae42f0
Contents?: true
Size: 1.38 KB
Versions: 42
Compression:
Stored size: 1.38 KB
Contents
<table class="index" id='payments' data-order-id='<%= @order.number %>'> <thead> <tr data-hook="refunds_header"> <th><%= "#{Spree.t('date')}/#{Spree.t('time')}" %></th> <th><%= Spree.t(:payment_identifier) %></th> <th><%= Spree.t(:amount) %></th> <th><%= Spree.t(:payment_method) %></th> <th><%= Spree.t(:transaction_id) %></th> <th><%= Spree.t(:reason) %></th> <% if show_actions %> <th class="actions"></th> <% end %> </tr> </thead> <tbody> <% refunds.each do |refund| %> <tr id="<%= dom_id(refund) %>" data-hook="refunds_row" class="<%= cycle('odd', 'even', name: 'refund_table_cycle')%>"> <td><%= pretty_time(refund.created_at) %></td> <td class="align-center"><%= refund.payment.identifier %></td> <td class="align-center amount"><%= refund.display_amount %></td> <td class="align-center"><%= payment_method_name(refund.payment) %></td> <td class="align-center"><%= refund.transaction_id %></td> <td class="align-center"><%= truncate(refund.reason.name, length: 100) %></td> <% if show_actions %> <td class="actions"> <%= link_to_with_icon 'edit', Spree.t(:edit), edit_admin_order_payment_refund_path(refund.payment.order, refund.payment, refund), no_text: true %> </td> <% end %> </tr> <% end %> </tbody> </table>
Version data entries
42 entries across 42 versions & 2 rubygems
Version | Path |
---|---|
spree_backend-2.4.0.rc2 | app/views/spree/admin/shared/_refunds.html.erb |
spree_backend-2.4.0.rc1 | app/views/spree/admin/shared/_refunds.html.erb |