Sha256: c88f44685ee596462f2a88bef1e7ac4f29e0ea1c36ad352116ca1fab8d0ad3a7

Contents?: true

Size: 1.37 KB

Versions: 35

Compression:

Stored size: 1.37 KB

Contents

<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><%= refund.payment.number %></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', 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>

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
spree_backend-4.0.9 app/views/spree/admin/shared/_refunds.html.erb
spree_backend-4.1.15 app/views/spree/admin/shared/_refunds.html.erb
spree_backend-4.1.14 app/views/spree/admin/shared/_refunds.html.erb
spree_backend-4.0.8 app/views/spree/admin/shared/_refunds.html.erb
spree_backend-4.1.13.1 app/views/spree/admin/shared/_refunds.html.erb
spree_backend-4.0.7.1 app/views/spree/admin/shared/_refunds.html.erb
spree_backend-4.0.7 app/views/spree/admin/shared/_refunds.html.erb
spree_backend-4.1.13 app/views/spree/admin/shared/_refunds.html.erb
spree_backend-4.0.6 app/views/spree/admin/shared/_refunds.html.erb
spree_backend-4.0.5 app/views/spree/admin/shared/_refunds.html.erb
spree_backend-4.1.12 app/views/spree/admin/shared/_refunds.html.erb
spree_backend-4.0.4 app/views/spree/admin/shared/_refunds.html.erb
spree_backend-4.1.11 app/views/spree/admin/shared/_refunds.html.erb
spree_backend-4.1.10 app/views/spree/admin/shared/_refunds.html.erb
spree_backend-4.1.9 app/views/spree/admin/shared/_refunds.html.erb
spree_backend-4.1.8 app/views/spree/admin/shared/_refunds.html.erb
spree_backend-4.1.7 app/views/spree/admin/shared/_refunds.html.erb
spree_backend-4.1.6 app/views/spree/admin/shared/_refunds.html.erb
spree_backend-4.1.5 app/views/spree/admin/shared/_refunds.html.erb
spree_backend-4.1.4 app/views/spree/admin/shared/_refunds.html.erb