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
solidus_backend-1.2.3 app/views/spree/admin/shared/_refunds.html.erb
solidus_backend-1.1.4 app/views/spree/admin/shared/_refunds.html.erb
solidus_backend-1.0.7 app/views/spree/admin/shared/_refunds.html.erb
solidus_backend-1.0.6 app/views/spree/admin/shared/_refunds.html.erb
solidus_backend-1.2.2 app/views/spree/admin/shared/_refunds.html.erb
solidus_backend-1.2.1 app/views/spree/admin/shared/_refunds.html.erb
solidus_backend-1.1.3 app/views/spree/admin/shared/_refunds.html.erb
solidus_backend-1.0.5 app/views/spree/admin/shared/_refunds.html.erb
solidus_backend-1.2.0 app/views/spree/admin/shared/_refunds.html.erb
solidus_backend-1.2.0.rc2 app/views/spree/admin/shared/_refunds.html.erb
solidus_backend-1.0.4 app/views/spree/admin/shared/_refunds.html.erb
solidus_backend-1.1.2 app/views/spree/admin/shared/_refunds.html.erb
solidus_backend-1.2.0.rc1 app/views/spree/admin/shared/_refunds.html.erb
solidus_backend-1.2.0.beta1 app/views/spree/admin/shared/_refunds.html.erb
solidus_backend-1.0.3 app/views/spree/admin/shared/_refunds.html.erb
solidus_backend-1.1.1 app/views/spree/admin/shared/_refunds.html.erb
solidus_backend-1.1.0 app/views/spree/admin/shared/_refunds.html.erb
solidus_backend-1.1.0.pre2 app/views/spree/admin/shared/_refunds.html.erb
solidus_backend-1.1.0.pre1 app/views/spree/admin/shared/_refunds.html.erb
solidus_backend-1.1.0.beta1 app/views/spree/admin/shared/_refunds.html.erb