fix missing meta fields in duplicate timesheet action (#2845)
This commit is contained in:
@@ -215,6 +215,9 @@ abstract class TimesheetAbstractController extends AbstractController
|
|||||||
{
|
{
|
||||||
$copyTimesheet = clone $timesheet;
|
$copyTimesheet = clone $timesheet;
|
||||||
|
|
||||||
|
$event = new TimesheetMetaDefinitionEvent($copyTimesheet);
|
||||||
|
$this->dispatcher->dispatch($event);
|
||||||
|
|
||||||
$form = $this->getDuplicateForm($copyTimesheet, $timesheet);
|
$form = $this->getDuplicateForm($copyTimesheet, $timesheet);
|
||||||
$form->handleRequest($request);
|
$form->handleRequest($request);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user