Sha256: 1fa8238c6dbc3d6683088f262e43fc8ea83d21b7d7570eba53bd6e423a11f050
Contents?: true
Size: 1.27 KB
Versions: 2
Compression:
Stored size: 1.27 KB
Contents
<h3><%= t(:order_summary) %></h3> <table data-hook="order_summary"> <tbody> <tr data-hook="item_total"> <td><strong><%= t(:item_total) %>:</strong></td> <td><strong><%= number_to_currency order.item_total %></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><%= number_to_currency adjustment.amount %></td> </tr> <% end %> </tbody> <tr data-hook="order_total"> <td><strong><%= t(:order_total) %>:</strong></td> <td><strong><span id='summary-order-total'><%= number_to_currency @order.total %></span></strong></td> </tr> <% if order.price_adjustment_totals.present? %> <tbody id="price-adjustments" data-hook="order_details_price_adjustments"> <% @order.price_adjustment_totals.keys.each do |key| %> <tr class="total"> <td><strong><%= key %></strong></td> <td><strong><span><%= number_to_currency @order.price_adjustment_totals[key] %></span></strong></td> </tr> <% end %> </tbody> <% end %> </tbody> </table>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
spree_core-1.0.0.rc2 | app/views/spree/checkout/_summary.html.erb |
spree_core-1.0.0.rc1 | app/views/spree/checkout/_summary.html.erb |