mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
DocGeneratorTemplate use StoredObject for storign the template
This commit is contained in:
parent
847e610362
commit
2b01179967
@ -66,6 +66,11 @@ class DocGeneratorTemplate
|
|||||||
*/
|
*/
|
||||||
private array $name = [];
|
private array $name = [];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @ORM\ManyToOne(targetEntity=StoredObject::class, cascade={"persist"}).)
|
||||||
|
*/
|
||||||
|
private ?StoredObject $file = null;
|
||||||
|
|
||||||
public function getContext(): ?string
|
public function getContext(): ?string
|
||||||
{
|
{
|
||||||
return $this->context;
|
return $this->context;
|
||||||
|
@ -19,6 +19,7 @@ use Symfony\Component\Form\FormBuilderInterface;
|
|||||||
use Symfony\Component\OptionsResolver\OptionsResolver;
|
use Symfony\Component\OptionsResolver\OptionsResolver;
|
||||||
use Chill\DocStoreBundle\Form\StoredObjectType;
|
use Chill\DocStoreBundle\Form\StoredObjectType;
|
||||||
use Chill\PersonBundle\Entity\AccompanyingPeriod\AccompanyingPeriodWorkEvaluation;
|
use Chill\PersonBundle\Entity\AccompanyingPeriod\AccompanyingPeriodWorkEvaluation;
|
||||||
|
use Chill\MainBundle\Form\Type\TranslatableStringFormType;
|
||||||
|
|
||||||
class DocGeneratorTemplateType extends AbstractType
|
class DocGeneratorTemplateType extends AbstractType
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user