<%= t(:shipping_address) %> <%= link_to "(#{t(:edit)})", checkout_state_path(:address) unless @order.completed? %>
<%= order.ship_address %>
<%= t(:billing_address) %> <%= link_to "(#{t(:edit)})", checkout_state_path(:address) unless @order.completed? %>
<%= order.bill_address %>
<%= t(:shipping_method) %> <%= link_to "(#{t(:edit)})", checkout_state_path(:delivery) unless @order.completed? %>
<%= order.shipping_method.name %>
<%= t(:payment_information) %> <%= link_to "(#{t(:edit)})", checkout_state_path(:payment) unless @order.completed? %>
<% unless order.creditcards.empty? %> <%= image_tag "creditcards/icons/#{order.creditcards.first.cc_type}.png" %> <%= t(:ending_in)%> <%= order.creditcards.first.last_digits %>
<%= order.creditcards.first.first_name %> <%= order.creditcards.first.last_name %> <% end %>

<% @order.line_items.each do |item| %> <% end %> <% if order.price_adjustment_totals.present? %> <% @order.price_adjustment_totals.keys.each do |key| %> <% end %> <% end %> <% @order.adjustments.eligible.each do |adjustment| %> <% next if (adjustment.originator_type == 'Spree::TaxRate') and (adjustment.amount == 0) %> <% end %>
<%= t(:item) %> <%= t(:price) %> <%= t(:qty) %> <%= t(:total) %>
<% if item.variant.images.length == 0 %> <%= link_to small_image(item.variant.product), item.variant.product %> <% else %> <%= link_to image_tag(item.variant.images.first.attachment.url(:small)), item.variant.product %> <% end %>

<%= item.variant.product.name %>

<%= truncate(item.variant.product.description, :length => 100, :omission => "...") %> <%= "(" + variant_options(item.variant) + ")" unless item.variant .option_values.empty? %>
<%= number_to_currency item.price %> <%= item.quantity %> <%= number_to_currency (item.price * item.quantity) %>
<%= t(:order_total) %>: <%= number_to_currency @order.total %>
<%= key %> <%= number_to_currency @order.price_adjustment_totals[key] %>
<%= t(:subtotal) %>: <%= number_to_currency @order.item_total %>
<%= adjustment.label %> <%= number_to_currency adjustment.amount %>