added punch-in punch-out / time-clock mode (#812)
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
namespace App\Controller;
|
||||
|
||||
use App\Entity\Timesheet;
|
||||
use App\Form\TimesheetAdminEditForm;
|
||||
use App\Repository\ActivityRepository;
|
||||
use App\Repository\ProjectRepository;
|
||||
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Security;
|
||||
@@ -74,6 +75,16 @@ class TimesheetTeamController extends TimesheetAbstractController
|
||||
return $this->create($request, 'timesheet-team/edit.html.twig', $projectRepository, $activityRepository);
|
||||
}
|
||||
|
||||
protected function getCreateFormClassName()
|
||||
{
|
||||
return TimesheetAdminEditForm::class;
|
||||
}
|
||||
|
||||
protected function getEditFormClassName()
|
||||
{
|
||||
return TimesheetAdminEditForm::class;
|
||||
}
|
||||
|
||||
protected function includeUserInForms(): bool
|
||||
{
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user