Sha256: 98f7f68dfe718d919cd894e39256fafcc7819e1a70a841f0e1e46b90c8226055

Contents?: true

Size: 921 Bytes

Versions: 18

Compression:

Stored size: 921 Bytes

Contents

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

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

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

<% if @order.payments.exists? && @order.considered_risky? %>
  <%= render 'spree/admin/orders/risk_analysis', latest_payment: @order.payments.order("created_at DESC").first %>
<% end %>

<%= render 'add_line_item' if 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 'line_items_edit_form', 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/cart.html.erb
spree_backend-3.1.13 app/views/spree/admin/orders/cart.html.erb
spree_backend-3.1.12 app/views/spree/admin/orders/cart.html.erb
spree_backend-3.1.11 app/views/spree/admin/orders/cart.html.erb
spree_backend-3.1.10 app/views/spree/admin/orders/cart.html.erb
spree_backend-3.1.9 app/views/spree/admin/orders/cart.html.erb
spree_backend-3.1.8 app/views/spree/admin/orders/cart.html.erb
spree_backend-3.1.7 app/views/spree/admin/orders/cart.html.erb
spree_backend-3.1.6 app/views/spree/admin/orders/cart.html.erb
spree_backend-3.1.5 app/views/spree/admin/orders/cart.html.erb
spree_backend-3.1.4 app/views/spree/admin/orders/cart.html.erb
spree_backend-3.1.3 app/views/spree/admin/orders/cart.html.erb
spree_backend-3.1.2 app/views/spree/admin/orders/cart.html.erb
spree_backend-3.1.1 app/views/spree/admin/orders/cart.html.erb
spree_backend-3.1.0 app/views/spree/admin/orders/cart.html.erb
spree_backend-3.1.0.rc4 app/views/spree/admin/orders/cart.html.erb
spree_backend-3.1.0.rc3 app/views/spree/admin/orders/cart.html.erb
spree_backend-3.1.0.rc2 app/views/spree/admin/orders/cart.html.erb