<%= render :partial => 'admin/shared/order_tabs', :locals => {:current => "Customer Details"} %>

<%= t("customer_details") %>

<%= t('account') %>
<%= @checkout.email %> <%= @checkout.order.user.nil? ? "Yes" : "No" %>

<%= Address.human_name(:count => 2) %>

<% if @checkout.bill_address %> <% end %>
<%= t("billing_address") %>
<%= @checkout.bill_address.firstname %> <%= @checkout.bill_address.lastname %>
<%= @checkout.bill_address.address1 %> <%= @checkout.bill_address.address2 %>
<%= @checkout.bill_address.city %> <%= @checkout.bill_address.zipcode %>
<%= @checkout.bill_address.state.nil? ? @checkout.bill_address.state_name : @checkout.bill_address.state.name %> <%= @checkout.bill_address.country %>
<%= @checkout.bill_address.phone %>
<% if @checkout.ship_address %> <% end %>
<%= t("shipping_address") %>
<%= @checkout.ship_address.firstname %> <%= @checkout.ship_address.lastname %>
<%= @checkout.ship_address.address1 %> <%= @checkout.ship_address.address2 %>
<%= @checkout.ship_address.city %> <%= @checkout.ship_address.zipcode %>
<%= @checkout.ship_address.state.nil? ? @checkout.ship_address.state_name : @checkout.ship_address.state.name %> <%= @checkout.ship_address.country %>
<%= @checkout.ship_address.phone %>