Files
openfoodnetwork/app/views/spree/orders/_adjustments.html.haml
2014-03-19 10:45:40 +11:00

12 lines
327 B
Plaintext

%thead
%tr{"data-hook" => "cart_adjustments_headers"}
%th.cart-adjustment-header{colspan: "6"}
Distribution Fees
%tbody#cart_adjustments{"data-hook" => ""}
- @order.adjustments.eligible.each do |adjustment|
%tr
%td{colspan: "4"}= adjustment.label
%td= adjustment.display_amount.to_html
%td