<%= button_link_to t("edit"), edit_admin_order_checkout_url(@order.number), :icon => 'edit' %>
<%= render :partial => 'admin/shared/order_tabs', :locals => {:current => "Customer Details"} %>
<%= t("billing_address") %> |
<% if @checkout.bill_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 %> |
<% end %>
<%= t("shipping_address") %> |
<% if @checkout.ship_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 %> |
<% end %>