Sha256: 24a4e1cee4bba4530c282ff5ba40494abd02c658489302a87a03d8d77f2aea3a

Contents?: true

Size: 1.02 KB

Versions: 18

Compression:

Stored size: 1.02 KB

Contents

<%= render 'order_actions', order: @order, events: @order_events %>

<%= render 'spree/admin/shared/order_tabs', current: :shipments %>

<% content_for :page_title do %>
  / <%= plural_resource_name(Spree::Shipment) %>
<% end %>

<div data-hook="admin_order_edit_header">
  <%= render 'spree/admin/shared/error_messages', target: @order %>
</div>

<% if @order.payments.valid.any? && @order.considered_risky? %>
  <%= render 'spree/admin/orders/risk_analysis', latest_payment: @order.payments.valid.last %>
<% end %>

<%= render 'add_product' if @order.shipment_state != 'shipped' && can?(:update, @order) %>

<% if @order.line_items.empty? %>
  <div class="alert alert-warning">
    <%= Spree.t(:your_order_is_empty_add_product)%>
  </div>
<% end %>

<div data-hook="admin_order_edit_form">
  <div id="order-form-wrapper">
    <%= render partial: 'form', locals: { order: @order } %>
  </div>
</div>

<% content_for :head do %>
  <%= javascript_tag 'var expand_variants = true;' %>
<% end %>

<%= render 'spree/admin/shared/order_summary' %>

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
spree_backend-3.1.14 app/views/spree/admin/orders/edit.html.erb
spree_backend-3.1.13 app/views/spree/admin/orders/edit.html.erb
spree_backend-3.1.12 app/views/spree/admin/orders/edit.html.erb
spree_backend-3.1.11 app/views/spree/admin/orders/edit.html.erb
spree_backend-3.1.10 app/views/spree/admin/orders/edit.html.erb
spree_backend-3.1.9 app/views/spree/admin/orders/edit.html.erb
spree_backend-3.1.8 app/views/spree/admin/orders/edit.html.erb
spree_backend-3.1.7 app/views/spree/admin/orders/edit.html.erb
spree_backend-3.1.6 app/views/spree/admin/orders/edit.html.erb
spree_backend-3.1.5 app/views/spree/admin/orders/edit.html.erb
spree_backend-3.1.4 app/views/spree/admin/orders/edit.html.erb
spree_backend-3.1.3 app/views/spree/admin/orders/edit.html.erb
spree_backend-3.1.2 app/views/spree/admin/orders/edit.html.erb
spree_backend-3.1.1 app/views/spree/admin/orders/edit.html.erb
spree_backend-3.1.0 app/views/spree/admin/orders/edit.html.erb
spree_backend-3.1.0.rc4 app/views/spree/admin/orders/edit.html.erb
spree_backend-3.1.0.rc3 app/views/spree/admin/orders/edit.html.erb
spree_backend-3.1.0.rc2 app/views/spree/admin/orders/edit.html.erb