Sha256: b45df8bcc227ea4b721d2730ea9c77f56c94ada8a2914c6355505e58657a2453

Contents?: true

Size: 1.21 KB

Versions: 2

Compression:

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

2 entries across 2 versions & 1 rubygems

Version Path
spree_core-0.70.0.rc2 app/views/admin/return_authorizations/edit.html.erb
spree_core-0.70.RC1 app/views/admin/return_authorizations/edit.html.erb