fixes for adding evaluation document

This commit is contained in:
2022-02-25 16:13:31 +01:00
parent c1f5730c4d
commit af0d7765ff
3 changed files with 33 additions and 34 deletions

View File

@@ -83,12 +83,12 @@ class AccompanyingPeriodWorkEvaluationDocument implements \Chill\MainBundle\Doct
private ?DocGeneratorTemplate $template = null;
/**
* @ORM\Column(type="text", nullable=true)
* @ORM\Column(type="text", nullable=false, options={"default": ""})
* @Serializer\Groups({"read"})
* @Serializer\Groups({"write"})
* @Serializer\Groups({"accompanying_period_work_evaluation:create"})
*/
private ?string $title = null;
private ?string $title = '';
/**
* @ORM\Column(type="date_immutable", nullable=true, options={"default": null})