rdv: adapt calendar entities: drop useless field and change field type

This commit is contained in:
nobohan
2021-07-23 09:59:20 +02:00
parent de6df983a0
commit c54290a265
5 changed files with 53 additions and 43 deletions

View File

@@ -69,7 +69,7 @@ class CalendarType extends AbstractType
'required' => false,
'class' => CancelReason::class,
'choice_label' => function (CancelReason $entity) {
return $this->translatableStringHelper->localize($entity->getCanceledBy());
return $entity->getCanceledBy();
},
))
->add('sendSMS', ChoiceType::class, array(