Sha256: 36dd60d2c34f72141a8dc8e16636eaf05f4ceaf66569fe5a6caf7fb03fb22aa5

Contents?: true

Size: 884 Bytes

Versions: 123

Compression:

Stored size: 884 Bytes

Contents

 <div data-hook="admin_order_form_fields">
  <% if @line_item.try(:errors).present? %>
    <%= render partial: 'spree/shared/error_messages', locals: { target: @line_item } %>
  <% end %>

  <%= render :partial => "spree/admin/orders/carton", collection: @order.cartons.order(:shipped_at), locals: { order: order } %>
  <%= render :partial => "spree/admin/orders/shipment", collection: @order.shipments.order(:created_at), locals: { order: order } %>

  <%= render "spree/admin/orders/order_details", { order: order } %>

  <%= javascript_tag do -%>
    var order_number = '<%= @order.number %>';
    var shipments = [];

    <% @order.shipments.each do |shipment| %>
            shipments.push(<%== shipment.as_json(root: false, only: [:id, :tracking, :number, :state, :stock_location_id], include: [:inventory_units, :stock_location]).to_json %>);
    <% end %>
  <% end -%>
</div>

Version data entries

123 entries across 123 versions & 2 rubygems

Version Path
solidus_backend-2.10.5 app/views/spree/admin/orders/_form.html.erb
solidus_backend-2.11.10 app/views/spree/admin/orders/_form.html.erb
solidus_backend-3.0.1 app/views/spree/admin/orders/_form.html.erb
solidus_backend-3.0.0 app/views/spree/admin/orders/_form.html.erb
solidus_backend-2.11.9 app/views/spree/admin/orders/_form.html.erb
solidus_backend-2.11.8 app/views/spree/admin/orders/_form.html.erb
solidus_backend-2.11.7 app/views/spree/admin/orders/_form.html.erb
solidus_backend-2.11.6 app/views/spree/admin/orders/_form.html.erb
solidus_backend-3.0.0.rc2 app/views/spree/admin/orders/_form.html.erb
solidus_backend-2.11.5 app/views/spree/admin/orders/_form.html.erb
solidus_backend-2.11.4 app/views/spree/admin/orders/_form.html.erb
solidus_backend-2.11.3 app/views/spree/admin/orders/_form.html.erb
solidus_backend-2.11.2 app/views/spree/admin/orders/_form.html.erb
solidus_backend-2.11.1 app/views/spree/admin/orders/_form.html.erb
solidus_backend-2.10.3 app/views/spree/admin/orders/_form.html.erb
solidus_backend-2.11.0 app/views/spree/admin/orders/_form.html.erb
solidus_backend-2.10.2 app/views/spree/admin/orders/_form.html.erb
solidus_backend-2.9.6 app/views/spree/admin/orders/_form.html.erb
solidus_backend-2.8.6 app/views/spree/admin/orders/_form.html.erb
solidus_backend-2.10.1 app/views/spree/admin/orders/_form.html.erb