<% if can? :admin, Spree::Order %> <%= tab :orders, :payments, :creditcard_payments, :shipments, :credit_cards, :return_authorizations, :icon => 'icon-shopping-cart' %> <% end %> <% if can? :admin, Spree::Product %> <%= tab :products, :option_types, :properties, :prototypes, :variants, :product_properties, :taxonomies, :icon => 'icon-th-large' %> <% end %> <% if can? :admin, Spree::Admin::ReportsController %> <%= tab :reports, :icon => 'icon-file' %> <% end %> <%= tab :configurations, :general_settings, :mail_methods, :tax_categories, :tax_rates, :tax_settings, :zones, :countries, :states, :payment_methods, :shipping_methods, :shipping_categories, :stock_transfers, :stock_locations, :trackers, :label => 'configuration', :icon => 'icon-wrench', :url => spree.edit_admin_general_settings_path %> <% if can? :admin, Spree::Promotion %> <%= tab(:promotions, :url => spree.admin_promotions_path, :icon => 'icon-bullhorn') %> <% end %>