%= render :partial => 'spree/admin/shared/order_tabs', :locals => { :current => 'Legacy Return Authorizations' } %> <% content_for :page_actions do %> <% if can?(:display, Spree::Order) %>
<%= Spree.t(:legacy_rma_number) %> | <%= Spree.t(:status) %> | <%= Spree.t(:amount) %> | <%= "#{Spree.t('date')}/#{Spree.t('time')}" %> | |
---|---|---|---|---|
<%= legacy_return_authorization.number %> | <%= Spree.t(legacy_return_authorization.state.downcase) %> | <%= legacy_return_authorization.display_amount.to_html %> | <%= pretty_time(legacy_return_authorization.created_at) %> | <% if can?(:update, legacy_return_authorization) %> <%= link_to_edit legacy_return_authorization, :no_text => true, :class => 'edit' %> <% end %> <% if can?(:destroy, legacy_return_authorization) && !legacy_return_authorization.received? %> <%= link_to_delete legacy_return_authorization, :no_text => true %> <% end %> |