Sha256: ed58e65c4fe5d771380cd238f1103a137dba51e508f745e4533d3a92a9bf9e4c

Contents?: true

Size: 1.29 KB

Versions: 35

Compression:

Stored size: 1.29 KB

Contents

<table class="index">
  <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 class="actions"></th>
    </tr>
  </thead>
  <tbody>
    <% reimbursements.each do |reimbursement| %>
      <tr id="<%= spree_dom_id(reimbursement) %>" data-hook="reimbursement_row" class="<%= cycle('odd', 'even')%>">
        <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">
          <% if !reimbursement.reimbursed? %>
            <%= link_to_edit_url url_for([:edit, :admin, @order, reimbursement]), title: "admin_edit_#{dom_id(reimbursement)}", no_text: true %>
          <% end %>
        </td>
      </tr>
    <% end %>
  </tbody>
</table>

Version data entries

35 entries across 35 versions & 2 rubygems

Version Path
solidus_backend-1.1.4 app/views/spree/admin/customer_returns/_reimbursements_table.html.erb
solidus_backend-1.0.7 app/views/spree/admin/customer_returns/_reimbursements_table.html.erb
solidus_backend-1.0.6 app/views/spree/admin/customer_returns/_reimbursements_table.html.erb
solidus_backend-1.1.3 app/views/spree/admin/customer_returns/_reimbursements_table.html.erb
solidus_backend-1.0.5 app/views/spree/admin/customer_returns/_reimbursements_table.html.erb
solidus_backend-1.0.4 app/views/spree/admin/customer_returns/_reimbursements_table.html.erb
solidus_backend-1.1.2 app/views/spree/admin/customer_returns/_reimbursements_table.html.erb
solidus_backend-1.0.3 app/views/spree/admin/customer_returns/_reimbursements_table.html.erb
solidus_backend-1.1.1 app/views/spree/admin/customer_returns/_reimbursements_table.html.erb
solidus_backend-1.1.0 app/views/spree/admin/customer_returns/_reimbursements_table.html.erb
solidus_backend-1.1.0.pre2 app/views/spree/admin/customer_returns/_reimbursements_table.html.erb
solidus_backend-1.1.0.pre1 app/views/spree/admin/customer_returns/_reimbursements_table.html.erb
solidus_backend-1.1.0.beta1 app/views/spree/admin/customer_returns/_reimbursements_table.html.erb
solidus_backend-1.0.2 app/views/spree/admin/customer_returns/_reimbursements_table.html.erb
spree_backend-2.4.10 app/views/spree/admin/customer_returns/_reimbursements_table.html.erb
solidus_backend-1.0.1 app/views/spree/admin/customer_returns/_reimbursements_table.html.erb
solidus_backend-1.0.0 app/views/spree/admin/customer_returns/_reimbursements_table.html.erb
solidus_backend-1.0.0.rc2 app/views/spree/admin/customer_returns/_reimbursements_table.html.erb
solidus_backend-1.0.0.rc1 app/views/spree/admin/customer_returns/_reimbursements_table.html.erb
spree_backend-2.4.9 app/views/spree/admin/customer_returns/_reimbursements_table.html.erb