Improved mobile view #151 (#150)

- fixed group by for mysql mode
- only user can edit own prefs
- updated installation README
- pagerfanta shows less links
- improved manual tab
- moved user profile link to pref tabs
- added menu links to top navbar
- moved page actions to breadcrumb position
- integrated daterangepicker and improved toolbar forms
- bugfix for time rounding
This commit is contained in:
Kevin Papst
2018-06-05 21:28:25 +02:00
committed by GitHub
parent db5b6f8e2e
commit 7206d064a5
41 changed files with 1027 additions and 897 deletions

View File

@@ -36,8 +36,9 @@ class TimesheetRepository extends AbstractRepository
*/
public function stopRecording(Timesheet $entry)
{
// seems to be necessary so Doctrine will recognize a changed timestamp
$entry->setBegin(clone $entry->getBegin());
$entry->setEnd(new DateTime());
$entityManager = $this->getEntityManager();
$entityManager->persist($entry);
$entityManager->flush();