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