Islay::Engine.extensions.register do |e|
  e.namespace :islay_shop

  e.admin_styles true
  e.admin_scripts true

  e.navigation do |n|
    n.section('Catalogue', :catalogue, 'gift')
    n.section('Orders', :orders, 'shopping-cart')
  end

  e.reports('Shop', :shop_reports, :class => 'basket')

  e.dashboard(:primary, :top, :order_overview)
  e.dashboard(:secondary, :top, :stock_alerts)
end

Islay::Engine.extensions.register do |e|
  e.namespace :islay_shop

  e.admin_styles true
  e.admin_scripts true

  e.navigation do |n|
    n.section('Catalogue', :catalogue, 'gift')
    n.section('Orders', :orders, 'shopping-cart')
  end

  e.reports('Shop', :shop_reports, :class => 'basket')

  e.dashboard(:primary, :top, :order_overview)
  e.dashboard(:secondary, :top, :stock_alerts)

  e.add_item_entry('Product', :product, 'gift')
  e.add_item_entry('Product Category', :product_category, 'folder-close')
  e.add_item_entry('Product Range', :product_range, 'folder-close')
  e.add_item_entry('Manufacturer', :manufacturer, 'building')
  e.add_item_entry('Promotion', :promotion, 'bullhorn')
end

Add configuration for 'Add Item' dialog.
Add configuration for 'Add Item' dialog.
