Sha256: 4f8c8936ba341ca47053640c28cbe2e9d3229b84927bf63f67508d17d14a834e

Contents?: true

Size: 1.31 KB

Versions: 131

Compression:

Stored size: 1.31 KB

Contents

<table class="table table-condensed table-bordered">
  <thead data-hook="customer_return_header">
    <tr>
      <th><%= Spree.t(:number) %></th>
      <th><%= Spree.t(:total) %></th>
      <th><%= Spree.t(:status) %></th>
      <th><%= "#{Spree.t('date')}/#{Spree.t('time')}" %></th>
      <th></th>
    </tr>
  </thead>
  <tbody>
    <% reimbursements.each do |reimbursement| %>
      <tr id="<%= spree_dom_id(reimbursement) %>" data-hook="reimbursement_row">
        <td>
          <% if reimbursement.reimbursed? %>
            <%= link_to reimbursement.number, url_for([:admin, @order, reimbursement]) %>
          <% else %>
            <%= reimbursement.number %>
          <% end %>
        </td>
        <td><%= reimbursement.display_total %></td>
        <td>
          <span class="state <%= reimbursement_status_color(reimbursement) %>">
            <%= reimbursement.reimbursement_status %>
          </span>
        </td>
        <td><%= pretty_time(reimbursement.created_at) %></td>
        <td class="actions actions-1">
          <% if !reimbursement.reimbursed? %>
            <%= link_to_edit_url(url_for([:edit, :admin, @order, reimbursement]), title: "admin_edit_#{dom_id(reimbursement)}", no_text: true) if can?(:edit, reimbursement) %>
          <% end %>
        </td>
      </tr>
    <% end %>
  </tbody>
</table>

Version data entries

131 entries across 131 versions & 1 rubygems

Version Path
spree_backend-4.0.9 app/views/spree/admin/customer_returns/_reimbursements_table.html.erb
spree_backend-4.1.15 app/views/spree/admin/customer_returns/_reimbursements_table.html.erb
spree_backend-4.1.14 app/views/spree/admin/customer_returns/_reimbursements_table.html.erb
spree_backend-4.0.8 app/views/spree/admin/customer_returns/_reimbursements_table.html.erb
spree_backend-3.7.14.1 app/views/spree/admin/customer_returns/_reimbursements_table.html.erb
spree_backend-4.1.13.1 app/views/spree/admin/customer_returns/_reimbursements_table.html.erb
spree_backend-4.0.7.1 app/views/spree/admin/customer_returns/_reimbursements_table.html.erb
spree_backend-4.0.7 app/views/spree/admin/customer_returns/_reimbursements_table.html.erb
spree_backend-3.7.14 app/views/spree/admin/customer_returns/_reimbursements_table.html.erb
spree_backend-4.1.13 app/views/spree/admin/customer_returns/_reimbursements_table.html.erb
spree_backend-4.0.6 app/views/spree/admin/customer_returns/_reimbursements_table.html.erb
spree_backend-3.7.13 app/views/spree/admin/customer_returns/_reimbursements_table.html.erb
spree_backend-4.0.5 app/views/spree/admin/customer_returns/_reimbursements_table.html.erb
spree_backend-4.1.12 app/views/spree/admin/customer_returns/_reimbursements_table.html.erb
spree_backend-3.7.12 app/views/spree/admin/customer_returns/_reimbursements_table.html.erb
spree_backend-4.0.4 app/views/spree/admin/customer_returns/_reimbursements_table.html.erb
spree_backend-3.7.11 app/views/spree/admin/customer_returns/_reimbursements_table.html.erb
spree_backend-4.1.11 app/views/spree/admin/customer_returns/_reimbursements_table.html.erb
spree_backend-4.1.10 app/views/spree/admin/customer_returns/_reimbursements_table.html.erb
spree_backend-4.1.9 app/views/spree/admin/customer_returns/_reimbursements_table.html.erb