Sha256: 37073230f8d4663566fe98a6cb62a3ad2a282b660950a99929eebc03555abe8a

Contents?: true

Size: 1.41 KB

Versions: 6

Compression:

Stored size: 1.41 KB

Contents

<h3><%= t(:order_summary) %></h3>                                                                                    
<table>
  <tbody>
    <tr>
      <td><strong><%= t('item_total') %>:</strong></td>
      <td><strong><%= number_to_currency @order.item_total %></strong></td>
    </tr> 
    <tbody id="summary-order-charges">
      <% @order.non_zero_charges.each do |charge| %>
        <tr>
          <td><%= charge.description %>: </td>
          <td><%= number_to_currency charge.amount -%></td>
        </tr>
      <% end %>  
    </tbody>
    <tbody id="summary-order-credits">
      <% @order.credits.each do |credit| %>
        <tr>
          <td><%= credit.description %>: </td>
          <td>(<%= number_to_currency credit.amount %>)</td>
        </tr>
      <% end %>  
    </tbody>
    <tr>
      <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>
<% form_for @checkout, :url => object_url, :html => { :id => 'checkout-summary-form'} do |summary_form| %>  
  <label><%= t(:coupon_code) %></label>
  <%= summary_form.text_field :coupon_code, :id => 'coupon-code', :size => 14 %>
  <input id="post-summary" type="submit" style="display:none"/>
  <%= image_tag "spinner.gif", :plugin=>"spree", :style => "display:none", :id => 'coupon_busy_indicator' %>
<% end %> 
<div id="coupon-error"></div>

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
spree-enriquez-0.9.4 app/views/checkouts/_summary.html.erb
spree-0.9.4 app/views/checkouts/_summary.html.erb
spree-0.9.3 app/views/checkouts/_summary.html.erb
spree-0.9.2 app/views/checkouts/_summary.html.erb
spree-0.9.1 app/views/checkouts/_summary.html.erb
spree-0.9.0 app/views/checkouts/_summary.html.erb