% content_for :page_title do %> <%= Spree.t(:customer_returns) %> <% end %> <% content_for :table_filter do %>
<%= Spree.t(:created_at) %> | <%= Spree.t(:number) %> | <%= Spree.t(:order) %> | <%= Spree.t(:reimbursement_status) %> | <%= Spree.t(:pre_tax_total) %> | |
---|---|---|---|---|---|
<%= customer_return.created_at.strftime('%F %T %Z') %> | <%= link_to customer_return.number, spree.edit_admin_order_customer_return_path(customer_return.order, customer_return) %> | <%= link_to customer_return.order.number, spree.edit_admin_order_path(customer_return.order) %> | <% if customer_return.fully_reimbursed? %> <%= Spree.t(:reimbursed) %> <% else %> <%= Spree.t(:incomplete) %> <% end %> | <%= customer_return.display_pre_tax_total.to_html %> | <%= link_to_edit_url spree.edit_admin_order_customer_return_path(customer_return.order, customer_return), no_text: true if can?(:edit, customer_return) %> |