Sha256: a92b9b67e1e86c09aa6e3175508d66ccb4ac6b57dcd9ee52f954733b2298a4dc

Contents?: true

Size: 1.31 KB

Versions: 5

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><%= 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">
        <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">
            <%= link_to_with_icon 'edit', Spree.t('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

5 entries across 5 versions & 1 rubygems

Version Path
solidus_backend-2.4.2 app/views/spree/admin/shared/_refunds.html.erb
solidus_backend-2.4.1 app/views/spree/admin/shared/_refunds.html.erb
solidus_backend-2.4.0 app/views/spree/admin/shared/_refunds.html.erb
solidus_backend-2.4.0.rc1 app/views/spree/admin/shared/_refunds.html.erb
solidus_backend-2.4.0.beta1 app/views/spree/admin/shared/_refunds.html.erb