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-3.3.4 app/views/spree/admin/orders/_form.html.erb
solidus_backend-3.2.9 app/views/spree/admin/orders/_form.html.erb
solidus_backend-3.2.8 app/views/spree/admin/orders/_form.html.erb
solidus_backend-3.3.3 app/views/spree/admin/orders/_form.html.erb
solidus_backend-3.2.7 app/views/spree/admin/orders/_form.html.erb
solidus_backend-3.3.2 app/views/spree/admin/orders/_form.html.erb
solidus_backend-3.3.1 app/views/spree/admin/orders/_form.html.erb
solidus_backend-3.2.6 app/views/spree/admin/orders/_form.html.erb
solidus_backend-3.1.9 app/views/spree/admin/orders/_form.html.erb
solidus_backend-3.3.0 app/views/spree/admin/orders/_form.html.erb
solidus_backend-3.2.5 app/views/spree/admin/orders/_form.html.erb
solidus_backend-3.2.4 app/views/spree/admin/orders/_form.html.erb
solidus_backend-3.2.3 app/views/spree/admin/orders/_form.html.erb
solidus_backend-3.1.8 app/views/spree/admin/orders/_form.html.erb
solidus_backend-3.0.8 app/views/spree/admin/orders/_form.html.erb
solidus_backend-3.2.2 app/views/spree/admin/orders/_form.html.erb
solidus_backend-3.2.1 app/views/spree/admin/orders/_form.html.erb
solidus_backend-3.2.0 app/views/spree/admin/orders/_form.html.erb
solidus_backend-3.2.0.alpha app/views/spree/admin/orders/_form.html.erb
solidus_backend-3.0.7 app/views/spree/admin/orders/_form.html.erb