Removed some logic from report view and extracted report collection in a partial