Sha256: de5948d9dcf367220d3e9bbffcdd65186c91c9639f45de929193cf22cd373a30
Contents?: true
Size: 1.18 KB
Versions: 124
Compression:
Stored size: 1.18 KB
Contents
<thead> <tr data-hook="cart_adjustments_headers"> <th class="cart-adjustment-header" colspan="6"><%= Spree.t(:order_adjustments) %></th> </tr> </thead> <tbody id="cart_adjustments" data-hook> <% 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: Spree.t(: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: Spree.t(:tax) %> <% end %> <% @order.shipments.each do |shipment| %> <tr> <td colspan="4" align='right'><h5><%= Spree.t(:shipping) %>: <%= shipment.shipping_method.name %></h5></td> <td colspan='2'> <h5><%= shipment.display_discounted_cost %></h5> </td> </tr> <% end %> <% @order.adjustments.eligible.group_by(&:label).each do |label, adjustments| %> <%= render "spree/orders/adjustment_row", label: label, adjustments: adjustments, type: Spree.t(:adjustment) %> <% end %> </tbody>
Version data entries
124 entries across 124 versions & 1 rubygems