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