Sha256: 45b0a381c0c69aa3f0b228c4e51bc0914950436771951c6e30dfb74bc2ba039e
Contents?: true
Size: 1.23 KB
Versions: 6
Compression:
Stored size: 1.23 KB
Contents
<% content_for :page_title do %> <%= t(:return_authorization) %> <%= @return_authorization.number %> (<%= t(@return_authorization.state.downcase) %>) <% end %> <% content_for :page_actions do %> <li> <% if @return_authorization.can_receive? %> <%= button_link_to t(:receive), fire_admin_order_return_authorization_url(@order, @return_authorization, :e => 'receive'), :method => :put, :data => { :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, :data => { :confirm => t(:are_you_sure) } %> <% end %> </li> <% end %> <%= render :partial => 'spree/admin/shared/order_tabs', :locals => { :current => 'Return Authorizations' } %> <%= render :partial => 'spree/shared/error_messages', :locals => { :target => @return_authorization } %> <%= form_for [:admin, @order, @return_authorization] do |f| %> <%= render :partial => 'form', :locals => { :f => f } %> <div class="form-buttons" data-hook="buttons"> <%= button t(:update) %> <%= t(:or) %> <%= link_to t('actions.cancel'), admin_order_return_authorizations_url(@order) %> </div> <% end %>
Version data entries
6 entries across 6 versions & 2 rubygems