Sha256: fa55188355192d80ff8b9365c156b048841b59c66d0053076adaf86d4488a740

Contents?: true

Size: 1.2 KB

Versions: 8

Compression:

Stored size: 1.2 KB

Contents

<div class="toolbar" data-hook="toolbar">
  <ul class="actions">
    <li>
      <% if @return_authorization.can_receive? %>
        <%= button_link_to t(:receive), fire_admin_order_return_authorization_url(@order, @return_authorization, :e => 'receive'), :method => :put, :confirm => t(:are_you_sure) %>
      <% end %>
      <% if @return_authorization.can_cancel? %>
        <%= button_link_to t(:cancel), fire_admin_order_return_authorization_url(@order, @return_authorization, :e => 'cancel'), :method => :put, :confirm => t(:are_you_sure) %>
      <% end %>
    </li>
  </ul>
  <br class="clear" />
</div>

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

<h2><%= t(:return_authorization) %> <%= @return_authorization.number %> (<%= t(@return_authorization.state.downcase) %>)</h2>

<%= render 'shared/error_messages', :target => @return_authorization %>
<%= form_for [:admin, @order, @return_authorization] do |f| %>
  <%= render :partial => 'form', :locals => {:f => f} %>

  <p class="form-buttons" data-hook="buttons">
    <%= button t(:update) %>
    <%= t(:or) %> <%= link_to t('actions.cancel'), admin_order_return_authorizations_url(@order) %>
  </p>
<% end %>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
spree_core-0.70.7 app/views/admin/return_authorizations/edit.html.erb
spree_core-0.70.6 app/views/admin/return_authorizations/edit.html.erb
spree_core-0.70.5 app/views/admin/return_authorizations/edit.html.erb
spree_core-0.70.4 app/views/admin/return_authorizations/edit.html.erb
spree_core-0.70.3 app/views/admin/return_authorizations/edit.html.erb
spree_core-0.70.2 app/views/admin/return_authorizations/edit.html.erb
spree_core-0.70.1 app/views/admin/return_authorizations/edit.html.erb
spree_core-0.70.0 app/views/admin/return_authorizations/edit.html.erb