mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-25 20:46:48 +00:00
23 lines
1.0 KiB
Plaintext
23 lines
1.0 KiB
Plaintext
= render :partial => 'spree/shared/error_messages', :locals => { :target => @order }
|
|
|
|
%table#cart-detail{"data-hook" => ""}
|
|
%col{halign: "center", valign: "middle", width: "30%"}/
|
|
%col{valign: "middle", width: "25%"}/
|
|
%col{halign: "center", valign: "middle", width: "15%"}/
|
|
%col{halign: "center", valign: "middle", width: "15%"}/
|
|
%col{halign: "center", valign: "middle", width: "10%"}/
|
|
%col{halign: "center", valign: "middle", width: "5%"}/
|
|
%thead
|
|
%tr{"data-hook" => "cart_items_headers"}
|
|
%th.cart-item-description-header{colspan: "2"}= t(:item)
|
|
%th.cart-item-price-header= t(:price)
|
|
%th.cart-item-quantity-header= t(:qty)
|
|
%th.cart-item-total-header= t(:total)
|
|
%th.cart-item-delete-header
|
|
|
|
%tbody#line_items{"data-hook" => ""}
|
|
= order_form.fields_for :line_items do |item_form|
|
|
= render :partial => 'line_item', :locals => { :variant => item_form.object.variant, :line_item => item_form.object, :item_form => item_form }
|
|
|
|
= render "spree/orders/adjustments" unless @order.adjustments.eligible.blank?
|