Sha256: f2ac74336000f070199ef2f74e0057df89b71af3c78bc489714257c014c469c7

Contents?: true

Size: 1.2 KB

Versions: 27

Compression:

Stored size: 1.2 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>

<%= render "shared/error_messages", :target => @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('update') %>
    <%= t("or") %> <%= link_to t("actions.cancel"), admin_order_return_authorizations_url(@order) %>
  </p>
<% end %>

Version data entries

27 entries across 27 versions & 6 rubygems

Version Path
apispree_core-0.0.0 app/views/admin/return_authorizations/edit.html.erb
My-Commerce_core-1.1.0 app/views/admin/return_authorizations/edit.html.erb
My-Commerce_core-1.0.0 app/views/admin/return_authorizations/edit.html.erb
MyCommerceapi-1.0.0 core/app/views/admin/return_authorizations/edit.html.erb
MyCommerce-0.0.3 core/app/views/admin/return_authorizations/edit.html.erb
rfcommerce_core-0.0.3 app/views/admin/return_authorizations/edit.html.erb
spree_core-0.60.6 app/views/admin/return_authorizations/edit.html.erb
spree_core-0.60.5 app/views/admin/return_authorizations/edit.html.erb
spree_core-0.30.2 app/views/admin/return_authorizations/edit.html.erb
spree_core-0.40.4 app/views/admin/return_authorizations/edit.html.erb
spree_core-0.50.4 app/views/admin/return_authorizations/edit.html.erb
spree_core-0.60.4 app/views/admin/return_authorizations/edit.html.erb
spree_core-0.50.3 app/views/admin/return_authorizations/edit.html.erb
spree_core-0.60.3 app/views/admin/return_authorizations/edit.html.erb
spree_core-0.60.2 app/views/admin/return_authorizations/edit.html.erb
spree_core-0.60.1 app/views/admin/return_authorizations/edit.html.erb
spree_core-0.60.0 app/views/admin/return_authorizations/edit.html.erb
spree_core-0.60.0.RC1 app/views/admin/return_authorizations/edit.html.erb
spree_core-0.50.2 app/views/admin/return_authorizations/edit.html.erb
spree_core-0.50.1 app/views/admin/return_authorizations/edit.html.erb