daily stats in timesheet (#552)
This commit is contained in:
@@ -75,6 +75,7 @@ class TimesheetController extends AbstractController
|
||||
'query' => $query,
|
||||
'showFilter' => $form->isSubmitted(),
|
||||
'toolbarForm' => $form->createView(),
|
||||
'showSummary' => $this->getUser()->getPreferenceValue('timesheet.daily_stats', false),
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
@@ -254,7 +254,7 @@ trait TimesheetControllerTrait
|
||||
/**
|
||||
* Get a user from the Security Token Storage.
|
||||
*
|
||||
* @return mixed
|
||||
* @return User
|
||||
* @throws \LogicException If SecurityBundle is not available
|
||||
*/
|
||||
abstract protected function getUser();
|
||||
|
||||
Reference in New Issue
Block a user