Sha256: 7342c1e0229294e09bf5d6ee4c12bd1bba12ff66831096cb55835c84c501f915

Contents?: true

Size: 1.17 KB

Versions: 99

Compression:

Stored size: 1.17 KB

Contents

<% content_for :page_actions do %>
  <% if @return_authorization.can_cancel? %>
    <%= button_link_to Spree.t('actions.cancel'), fire_admin_order_return_authorization_url(@order, @return_authorization, e: 'cancel'), method: :put, data: { confirm: Spree.t(:are_you_sure) }, icon: "delete" %>
  <% end %>
<% end %>

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

<% content_for :page_title do %>
  / <%= link_to Spree.t(:return_authorizations), spree.admin_order_return_authorizations_url %>
  / <%= @return_authorization.number %> (<%= Spree.t(@return_authorization.state.downcase) %>)
<% end %>

<%= render partial: 'spree/admin/shared/error_messages', locals: { target: @return_authorization } %>

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

    <div class="form-actions" data-hook="buttons">
      <%= button Spree.t('actions.update'), 'repeat' %>
      <span class="or"><%= Spree.t(:or) %></span>
      <%= button_link_to Spree.t('actions.cancel'), spree.admin_order_return_authorizations_url(@order), icon: 'delete' %>
    </div>
  </fieldset>
<% end %>

Version data entries

99 entries across 99 versions & 1 rubygems

Version Path
spree_backend-4.0.9 app/views/spree/admin/return_authorizations/edit.html.erb
spree_backend-4.0.8 app/views/spree/admin/return_authorizations/edit.html.erb
spree_backend-3.7.14.1 app/views/spree/admin/return_authorizations/edit.html.erb
spree_backend-4.0.7.1 app/views/spree/admin/return_authorizations/edit.html.erb
spree_backend-4.0.7 app/views/spree/admin/return_authorizations/edit.html.erb
spree_backend-3.7.14 app/views/spree/admin/return_authorizations/edit.html.erb
spree_backend-4.0.6 app/views/spree/admin/return_authorizations/edit.html.erb
spree_backend-3.7.13 app/views/spree/admin/return_authorizations/edit.html.erb
spree_backend-4.0.5 app/views/spree/admin/return_authorizations/edit.html.erb
spree_backend-3.7.12 app/views/spree/admin/return_authorizations/edit.html.erb
spree_backend-4.0.4 app/views/spree/admin/return_authorizations/edit.html.erb
spree_backend-3.7.11 app/views/spree/admin/return_authorizations/edit.html.erb
spree_backend-4.1.0.rc3 app/views/spree/admin/return_authorizations/edit.html.erb
spree_backend-4.1.0.rc2 app/views/spree/admin/return_authorizations/edit.html.erb
spree_backend-4.1.0.rc1 app/views/spree/admin/return_authorizations/edit.html.erb
spree_backend-3.4.6 app/views/spree/admin/return_authorizations/edit.html.erb
spree_backend-3.7.10 app/views/spree/admin/return_authorizations/edit.html.erb
spree_backend-4.0.3 app/views/spree/admin/return_authorizations/edit.html.erb
spree_backend-3.7.9 app/views/spree/admin/return_authorizations/edit.html.erb
spree_backend-4.0.2 app/views/spree/admin/return_authorizations/edit.html.erb