%= render partial: 'spree/admin/shared/order_tabs', locals: { current: 'Customer Returns' } %> <% content_for :page_actions do %> <% if can? :create, Spree::CustomerReturn %>
<%= Spree::CustomerReturn.human_attribute_name(:number) %> | <%= Spree::CustomerReturn.human_attribute_name(:total_excluding_vat) %> | <%= Spree::CustomerReturn.human_attribute_name(:total) %> | <%= Spree::CustomerReturn.human_attribute_name(:created_at) %> | <%= Spree::CustomerReturn.human_attribute_name(:reimbursement_status) %> | |
---|---|---|---|---|---|
<%= link_to customer_return.number, edit_admin_order_customer_return_path(@order, customer_return) %> | <%= customer_return.display_total_excluding_vat.to_html %> | <%= customer_return.display_total.to_html %> | <%= pretty_time(customer_return.created_at) %> | <% if customer_return.fully_reimbursed? %> <%= Spree.t(:reimbursed) %> <% else %> <%= Spree.t(:incomplete) %> <% end %> | <%= link_to_edit_url edit_admin_order_customer_return_path(@order, customer_return), title: "admin_edit_#{dom_id(customer_return)}", no_text: true %> |