%= render :partial => 'spree/admin/shared/order_tabs', :locals => { :current => 'Return Authorizations' } %> <% content_for :page_actions do %> <% if @order.shipments.any? &:shipped? %>
<%= Spree.t(:rma_number) %> | <%= Spree.t(:status) %> | <%= Spree.t(:amount) %> | <%= "#{Spree.t('date')}/#{Spree.t('time')}" %> | |
---|---|---|---|---|
<%= return_authorization.number %> | <%= Spree.t(return_authorization.state.downcase) %> | <%= return_authorization.display_amount.to_html %> | <%= pretty_time(return_authorization.created_at) %> | <%= link_to_edit return_authorization, :no_text => true, :class => 'edit' %> <% unless return_authorization.received? %> <%= link_to_delete return_authorization, :no_text => true %> <% end %> |