Sha256: dda9d9a55675df909c30a3ec15433a5d5a0cdcfd00ac1d9eac340feb5c7dcb17

Contents?: true

Size: 1.54 KB

Versions: 27

Compression:

Stored size: 1.54 KB

Contents

<% content_for :page_actions do %>
  <li>
    <% if @return_authorization.can_receive? %>
      <%= button_link_to Spree.t(:receive), fire_admin_order_return_authorization_url(@order, @return_authorization, :e => 'receive'), :method => :put, :data => { :confirm => Spree.t(:are_you_sure) }, :icon => 'download-alt' %>
    <% end %>
  </li>
  <li>
    <% if @return_authorization.can_cancel? %>
      <%= button_link_to Spree.t('actions.cancel'), fire_admin_order_return_authorization_url(@order, @return_authorization, :e => 'cancel'), :method => :put, :data => { :confirm => Spree.t(:are_you_sure) }, :icon => 'remove' %>
    <% end %>
  </li>
<% end %>

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

<% content_for :page_title do %>
  <i class="fa fa-arrow-right"></i> <%= Spree.t(:return_authorization) %> <%= @return_authorization.number %> (<%= Spree.t(@return_authorization.state.downcase) %>)
<% end %>


<%= render :partial => 'spree/shared/error_messages', :locals => { :target => @return_authorization } %>
<%= form_for [:admin, @order, @return_authorization] do |f| %>
  <fieldset class="no-border-top">
    <%= render :partial => 'form', :locals => { :f => f } %>

    <div class="form-buttons filter-actions actions" data-hook="buttons">
      <%= button Spree.t('actions.update'), 'repeat' %>
      <span class="or"><%= Spree.t(:or) %></span>
      <%= button_link_to Spree.t('actions.cancel'), admin_order_return_authorizations_url(@order), :icon => 'remove' %>
    </div>
  </fieldset>
<% end %>

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
spree_backend-2.3.13 app/views/spree/admin/return_authorizations/edit.html.erb
spree_backend-2.2.14 app/views/spree/admin/return_authorizations/edit.html.erb
spree_backend-2.3.12 app/views/spree/admin/return_authorizations/edit.html.erb
spree_backend-2.2.13 app/views/spree/admin/return_authorizations/edit.html.erb
spree_backend-2.3.11 app/views/spree/admin/return_authorizations/edit.html.erb
spree_backend-2.2.12 app/views/spree/admin/return_authorizations/edit.html.erb
spree_backend-2.3.10 app/views/spree/admin/return_authorizations/edit.html.erb
spree_backend-2.3.9 app/views/spree/admin/return_authorizations/edit.html.erb
spree_backend-2.2.11 app/views/spree/admin/return_authorizations/edit.html.erb
spree_backend-2.2.10 app/views/spree/admin/return_authorizations/edit.html.erb
spree_backend-2.3.8 app/views/spree/admin/return_authorizations/edit.html.erb
spree_backend-2.3.7 app/views/spree/admin/return_authorizations/edit.html.erb
spree_backend-2.2.9 app/views/spree/admin/return_authorizations/edit.html.erb
spree_backend-2.3.6 app/views/spree/admin/return_authorizations/edit.html.erb
spree_backend-2.2.8 app/views/spree/admin/return_authorizations/edit.html.erb
spree_backend-2.3.5 app/views/spree/admin/return_authorizations/edit.html.erb
spree_backend-2.2.7 app/views/spree/admin/return_authorizations/edit.html.erb
spree_backend-2.3.4 app/views/spree/admin/return_authorizations/edit.html.erb
spree_backend-2.2.6 app/views/spree/admin/return_authorizations/edit.html.erb
spree_backend-2.3.3 app/views/spree/admin/return_authorizations/edit.html.erb