Prevent exception when order has no payments
Enterprise user can access all OFN reports
WIP: Test for enterprise user access in reports
Enterprise user can only view their own distributors in reports (and remove redundant feature test)
Ensure Supplier enterprise users can only view their own products in reports
Generalise ModelClassFromControllerName
Merge branch 'enterprise-reports'

Conflicts:
	app/models/spree/ability_decorator.rb
Comments