anchor.diff:        </li>
       <% end %>
   
  -    <% if can? :update, @order %>
  -        <li<%== ' class="active"' if current == 'Shipments' %> data-hook='admin_order_tabs_order_details'>
  -          <%= link_to_with_icon 'edit', Spree.t(:shipments), edit_admin_order_url(@order) %>
  -        </li>
  -    <% end %>
  +    <li<%== ' class="active"' if current == 'Shipments' %> data-hook='admin_order_tabs_order_details'>
  +      <%= link_to_with_icon 'edit', Spree.t(:shipments), edit_admin_order_url(@order) %>
  +    </li>
   
  -    <% if can? :index, Spree::Adjustment %>
  +    <% if can? :display, Spree::Adjustment %>
         <li<%== ' class="active"' if current == 'Adjustments' %> data-hook='admin_order_tabs_adjustments'>
           <%= link_to_with_icon 'cogs', Spree.t(:adjustments), admin_order_adjustments_url(@order) %>
         </li>
       <% end %>
   
  -    <% if can?(:index, Spree::Payment) %>
  +    <% if can?(:display, Spree::Payment) %>
         <li<%== ' class="active"' if current == 'Payments' %> data-hook='admin_order_tabs_payments'>
           <%= link_to_with_icon 'credit-card', Spree.t(:payments), admin_order_payments_url(@order) %>
         </li>
  
positive.code:       <% end %>
      <% end %>
  
      <% if can? :index, Spree::CustomerReturn %>
        <% if @order.completed? %>
          <li<%== ' class="active"' if current == 'Customer Returns' %>>
            <%= link_to_with_icon 'download', Spree.t(:customer_returns), admin_order_customer_returns_url(@order) %>
  
negative.code: <nav class="menu">
    <ul data-hook="admin_order_tabs">
      <% if (@order.shipments.count == 0 || @order.shipped_shipments.count == 0) %>
        <li<%== ' class="active"' if current == 'Cart' %> data-hook='admin_order_tabs_order_details'>
          <%= link_to_with_icon 'shopping-cart', Spree.t(:cart), cart_admin_order_url(@order) %>
        </li>
  