%
store_config = @site.store_config
%>
Confirm Order
<% if @invoice.has_shippable_items? %>
Shipping Address
<% sa = @invoice.shipping_address %>
<%= "#{sa.first_name} #{sa.last_name}" %>
<%= sa.address1 %>
<%= "#{sa.address2}
" if sa.address2 and not sa.address2.empty? %>
<%= "#{sa.city}, #{sa.state} #{sa.zip}" %>
Edit
<% end %>
Billing Address
<% ba = @invoice.billing_address %>
<%= "#{ba.first_name} #{ba.last_name}" %>
<%= ba.address1 %>
<%= "#{ba.address2}
" if ba.address2 and not ba.address2.empty? %>
<%= "#{ba.city}, #{ba.state} #{ba.zip}" %>
Edit
<% if @invoice.has_shippable_items? %>
Shipping
<% @invoice.invoice_packages.all.each do |op| %>
<%= op.shipping_method.service_name %> - <%= number_to_currency(op.total) %>
<% end %>
Edit
<% end %>
Payment Method
Your order does not require payment.
<%= content_for :caboose_js do %>
<%= javascript_include_tag 'caboose/cart' %>
<%= javascript_include_tag 'caboose/checkout_confirm_without_payment' %>
<% end %>
<%= content_for :caboose_css do %>
<%= stylesheet_link_tag 'caboose/cart' %>
<%= stylesheet_link_tag 'caboose/checkout' %>
<% end %>