<% if @order.line_item_adjustments.exists? %> <% @order.line_item_adjustments.promotion.eligible.group_by(&:label).each do |label, adjustments| %> <%= render "spree/orders/adjustment_row", label: label, adjustments: adjustments, type: t('spree.promotion') %> <% end %> <% end %> <% @order.all_adjustments.tax.eligible.group_by(&:label).each do |label, adjustments| %> <%= render "spree/orders/adjustment_row", label: label, adjustments: adjustments, type: t('spree.tax') %> <% end %> <% @order.shipments.each do |shipment| %>
<%= t('spree.shipping') %>: <%= shipment.shipping_method.name %>
<%= shipment.display_total_before_tax %>
<% end %> <% @order.adjustments.eligible.group_by(&:label).each do |label, adjustments| %> <%= render "spree/orders/adjustment_row", label: label, adjustments: adjustments, type: t('spree.adjustment') %> <% end %>