Sha256: ec65cb5e6cd65a204f471eef974cb7948dddc0925a2486a3c5d2543f63b8f454

Contents?: true

Size: 1.18 KB

Versions: 9

Compression:

Stored size: 1.18 KB

Contents

<div class='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>

<%=error_messages_for :return_authorization %>
<% form_for(@return_authorization, :url => object_url, :html => { :method => :put}) do |f| %>
  <%= render :partial => "form", :locals => {:f => f} %>

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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
spree-0.11.4 vendor/extensions/theme_default/app/views/admin/return_authorizations/edit.html.erb
spree-0.11.3 vendor/extensions/theme_default/app/views/admin/return_authorizations/edit.html.erb
spree-0.11.2 vendor/extensions/theme_default/app/views/admin/return_authorizations/edit.html.erb
spree-0.11.1 vendor/extensions/theme_default/app/views/admin/return_authorizations/edit.html.erb
spree-0.11.0 vendor/extensions/theme_default/app/views/admin/return_authorizations/edit.html.erb
spree-0.10.2 vendor/extensions/theme_default/app/views/admin/return_authorizations/edit.html.erb
spree-0.10.1 vendor/extensions/theme_default/app/views/admin/return_authorizations/edit.html.erb
spree-0.10.0 vendor/extensions/theme_default/app/views/admin/return_authorizations/edit.html.erb
spree-0.10.0.beta vendor/extensions/theme_default/app/views/admin/return_authorizations/edit.html.erb