<% if order.has_step?("address") %>
<%= Spree.t(:billing_address) %> <%= link_to "(#{Spree.t(:edit)})", checkout_state_path(:address) unless @order.completed? %>
<%= render :partial => 'spree/shared/address', :locals => { :address => order.bill_address } %>
<% if order.has_step?("delivery") %>
<%= Spree.t(:shipping_address) %> <%= link_to "(#{Spree.t(:edit)})", checkout_state_path(:address) unless @order.completed? %>
<%= render :partial => 'spree/shared/address', :locals => { :address => order.ship_address } %>
<% end %>
<% if @order.has_step?("delivery") %>
<%= Spree.t(:shipments) %> <%= link_to "(#{Spree.t(:edit)})", checkout_state_path(:delivery) unless @order.completed? %>
<% order.shipments.each do |shipment| %>
<%= Spree.t(:shipment_details, :stock_location => shipment.stock_location.name, :shipping_method => shipment.selected_shipping_rate.name) %>
<% end %>
<%= render(:partial => 'spree/shared/shipment_tracking', :locals => {:order => @order}) if @order.shipped? %>
<% end %>
<% end %>
<%= Spree.t(:payment_information) %> <%= link_to "(#{Spree.t(:edit)})", checkout_state_path(:payment) unless @order.completed? %>
<% order.payments.valid.each do |payment| %>
<%= render payment%>
<% end %>