Sha256: 6c3fea0db06396da3bca4bae5cb278c5e4c527973a897d5859d7f74919678792
Contents?: true
Size: 1.25 KB
Versions: 15
Compression:
Stored size: 1.25 KB
Contents
<h3><%= Spree.t(:order_summary) %></h3> <table data-hook="order_summary"> <tbody> <tr data-hook="item_total"> <td><strong><%= Spree.t(:item_total) %>:</strong></td> <td><strong><%= order.display_item_total.to_html %></strong></td> </tr> <tbody id="summary-order-charges" data-hook> <% order.adjustments.eligible.each do |adjustment| %> <% next if (adjustment.originator_type == 'Spree::TaxRate') and (adjustment.amount == 0) %> <tr> <td><%= adjustment.label %>: </td> <td><%= adjustment.display_amount.to_html %></td> </tr> <% end %> </tbody> <tr data-hook="order_total"> <td><strong><%= Spree.t(:order_total) %>:</strong></td> <td><strong><span id='summary-order-total'><%= order.display_total.to_html %></span></strong></td> </tr> <% if order.line_item_adjustment_totals.present? %> <tbody id="price-adjustments" data-hook="order_details_price_adjustments"> <% order.line_item_adjustment_totals.each do |label, total| %> <tr class="total"> <td><strong><%= label %></strong></td> <td><strong><span><%= total.to_html %></span></strong></td> </tr> <% end %> </tbody> <% end %> </tbody> </table>
Version data entries
15 entries across 15 versions & 1 rubygems