Sha256: 500d827e92a320af5bec11f2025b18f9ceabfd333b45b0facaddc6217059e114

Contents?: true

Size: 1.3 KB

Versions: 6

Compression:

Stored size: 1.3 KB

Contents

<%= render :partial => 'spree/admin/shared/order_tabs', :locals => { :current => 'Reimbursements' } %>

<% content_for :page_title do %>
  <i class="fa fa-arrow-right"></i> <%= Spree::Reimbursement.model_name.human(count: :other) %>
<% end %>

<% content_for :page_actions do %>
  <li><%= button_link_to Spree.t(:back_to_customer_return_list), spree.admin_order_customer_returns_url(@order), :icon => 'arrow-left' %></li>
<% end %>

<%= render :partial => 'spree/shared/error_messages', :locals => { :target => @customer_return } %>

<table class="index">
  <thead data-hook="customer_return_header">
    <tr>
      <th><%= Spree.t(:id) %></th>
      <th><%= Spree::Reimbursement.human_attribute_name(:total) %></th>
      <th><%= Spree::Reimbursement.human_attribute_name(:reimbursement_status) %></th>
      <th><%= Spree::Reimbursement.human_attribute_name(:created_at) %></th>
    </tr>
  </thead>
  <tbody>
    <% @reimbursements.each do |reimbursement| %>
      <tr id="<%= spree_dom_id(reimbursement) %>" data-hook="reimbursement_row" class="<%= cycle('odd', 'even')%>">
        <td><%= reimbursement.id %></td>
        <td><%= reimbursement.total %></td>
        <td><%= reimbursement.reimbursement_status %></td>
        <td><%= pretty_time(reimbursement.created_at) %></td>
      </tr>
    <% end %>
  </tbody>
</table>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
solidus_backend-1.3.2 app/views/spree/admin/reimbursements/index.html.erb
solidus_backend-1.3.1 app/views/spree/admin/reimbursements/index.html.erb
solidus_backend-1.3.0 app/views/spree/admin/reimbursements/index.html.erb
solidus_backend-1.3.0.rc2 app/views/spree/admin/reimbursements/index.html.erb
solidus_backend-1.3.0.rc1 app/views/spree/admin/reimbursements/index.html.erb
solidus_backend-1.3.0.beta1 app/views/spree/admin/reimbursements/index.html.erb