%= render :partial => 'spree/admin/shared/order_tabs', :locals => { :current => 'Adjustments' } %>
<% content_for :page_title do %>
<%= Spree.t(:adjustments) %>
<% end %>
<% content_for :page_actions do %>
<%= button_link_to Spree.t(:new_adjustment), new_admin_order_adjustment_url(@order), :icon => 'plus' %>
<%= button_link_to Spree.t(:back_to_orders_list), admin_orders_path, :icon => 'arrow-left' %>
<% end %>
<%= render :partial => 'adjustments_table' %>
<% if @order.can_add_coupon? %>
<%= text_field_tag "coupon_code", "", :placeholder => Spree.t(:coupon_code) %>
<%= button Spree.t(:add_coupon_code), 'plus', 'submit', :id => "add_coupon_code" %>
<% end %>
<%= javascript_tag do -%>
var order_number = '<%= @order.number %>';
<% end -%>