start copy dates

This commit is contained in:
2022-05-11 21:27:47 +02:00
parent f8a9cafacb
commit 5ceddc747d
5 changed files with 158 additions and 190 deletions

View File

@@ -374,7 +374,7 @@ class CalendarController extends AbstractController
'professionalsId' => $professionalsId,
'date' => $entity->getStartDate()->format('Y-m-d'),
'durationTime' => $durationTimeInMinutes,
'location' => $entity->getLocation()->getId(),
'location' => $entity->getLocation() ? $entity->getLocation()->getId() : null,
'comment' => $entity->getComment()->getComment(),
];