Fix bug in end date of generating statistics
Fix bug accees store management page if manager does not have access