Sha256: aa5e826a94732c490cfcbdc52e37f562882b5430ee99de119c806534d08b7bd9

Contents?: true

Size: 1.31 KB

Versions: 131

Compression:

Stored size: 1.31 KB

Contents

<table class="index" id='payments' data-order-id='<%= @order.number %>'>
  <thead>
    <tr data-hook="refunds_header">
      <th><%= Spree::Refund.human_attribute_name(:created_at) %></th>
      <th><%= Spree::Payment.human_attribute_name(:number) %></th>
      <th><%= Spree::Refund.human_attribute_name(:amount) %></th>
      <th><%= Spree::PaymentMethod.model_name.human %></th>
      <th><%= Spree::Refund.human_attribute_name(:transaction_id) %></th>
      <th><%= t('spree.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">
        <td><%= pretty_time(refund.created_at) %></td>
        <td><%= refund.payment.number %></td>
        <td class="amount"><%= refund.display_amount %></td>
        <td><%= refund.payment.payment_method.name %></td>
        <td><%= refund.transaction_id %></td>
        <td><%= truncate(refund.reason.name, length: 100) %></td>
        <% if show_actions %>
          <td class="actions">
            <%= link_to_with_icon 'edit', t('spree.actions.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

131 entries across 131 versions & 2 rubygems

Version Path
solidus_backend-3.2.5 app/views/spree/admin/shared/_refunds.html.erb
solidus_backend-3.2.4 app/views/spree/admin/shared/_refunds.html.erb
solidus_backend-3.2.3 app/views/spree/admin/shared/_refunds.html.erb
solidus_backend-3.1.8 app/views/spree/admin/shared/_refunds.html.erb
solidus_backend-3.0.8 app/views/spree/admin/shared/_refunds.html.erb
solidus_backend-3.2.2 app/views/spree/admin/shared/_refunds.html.erb
solidus_backend-3.2.1 app/views/spree/admin/shared/_refunds.html.erb
solidus_backend-3.2.0 app/views/spree/admin/shared/_refunds.html.erb
solidus_backend-3.2.0.alpha app/views/spree/admin/shared/_refunds.html.erb
solidus_backend-3.0.7 app/views/spree/admin/shared/_refunds.html.erb
solidus_backend-2.11.17 app/views/spree/admin/shared/_refunds.html.erb
solidus_backend-3.1.7 app/views/spree/admin/shared/_refunds.html.erb
solidus_backend-2.11.16 app/views/spree/admin/shared/_refunds.html.erb
solidus_backend-3.0.6 app/views/spree/admin/shared/_refunds.html.erb
solidus_backend-3.1.6 app/views/spree/admin/shared/_refunds.html.erb
solidus_backend-2.11.15 app/views/spree/admin/shared/_refunds.html.erb
solidus_backend-2.11.14 app/views/spree/admin/shared/_refunds.html.erb
solidus_backend-3.0.5 app/views/spree/admin/shared/_refunds.html.erb
solidus_backend-3.1.5 app/views/spree/admin/shared/_refunds.html.erb
solidus_backend-2.11.13 app/views/spree/admin/shared/_refunds.html.erb