Sha256: 4231c7ba42b324c440e6426d85a2791c957501f2ba8ae37b301217190980c373

Contents?: true

Size: 842 Bytes

Versions: 8

Compression:

Stored size: 842 Bytes

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 == "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>
  </tbody>
</table>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
spree_core-0.70.7 app/views/checkout/_summary.html.erb
spree_core-0.70.6 app/views/checkout/_summary.html.erb
spree_core-0.70.5 app/views/checkout/_summary.html.erb
spree_core-0.70.4 app/views/checkout/_summary.html.erb
spree_core-0.70.3 app/views/checkout/_summary.html.erb
spree_core-0.70.2 app/views/checkout/_summary.html.erb
spree_core-0.70.1 app/views/checkout/_summary.html.erb
spree_core-0.70.0 app/views/checkout/_summary.html.erb