<%= hook :admin_order_show_buttons do %>
<%= button_link_to t("cancel"), fire_admin_order_url(@order.number, {:e => "cancel"}), :icon => 'delete', :confirm => 'are you sure?' if @order.can_cancel? %>
<%= button_link_to t("edit"), edit_admin_order_url(@order.number), :icon => 'edit' %>
<% end %>
<%= render :partial => 'admin/shared/order_tabs', :locals => {:current => "Order Details"} %>
<%= hook :admin_order_show_addresses do %>
<% if @order.bill_address %>
<%= t("bill_address") %>
<%= render :partial => 'admin/shared/address', :locals => {:address => @order.bill_address} %>
<% end %>
<% if @order.ship_address %>
<%= t("ship_address") %>
<%= render :partial => 'admin/shared/address', :locals => {:address => @order.ship_address} %>
<% end %>
<% end %>
<%= hook :admin_order_show_details do %>
<%= render :partial => 'admin/shared/order_details', :locals => {:order => @order} %>
<% end %>