Sha256: c687a401dd47d2db5c6b517fc04d3624788b6d646454b7726f2f96df9f8f3e2c
Contents?: true
Size: 1.55 KB
Versions: 10
Compression:
Stored size: 1.55 KB
Contents
<div class="table-responsive"> <table class="table table-condensed table-bordered" id='refunds' 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></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><%= link_to refund.payment.number, spree.admin_order_payment_path(refund.payment.order, refund.payment) %></td> <td class="amount"><%= refund.display_amount %></td> <td><%= payment_method_name(refund.payment) %></td> <td><%= refund.transaction_id %></td> <td><%= truncate(refund.reason.name, length: 100) %></td> <% if show_actions %> <td class="actions actions-1"> <%= link_to_with_icon('edit.svg', Spree.t(:edit), edit_admin_order_payment_refund_path(refund.payment.order, refund.payment, refund), no_text: true, class: "btn btn-outline-secondary btn-sm") if can?(:edit, refund) %> </td> <% end %> </tr> <% end %> </tbody> </table> </div>
Version data entries
10 entries across 10 versions & 1 rubygems