Fix configuration of workflow signature document kinds

This commit is contained in:
Julie Lenaerts 2024-07-24 11:54:07 +02:00
parent 15f3e474a0
commit bf66af0f25
2 changed files with 3 additions and 3 deletions

View File

@ -193,10 +193,10 @@ class ChillMainExtension extends Extension implements
[]
);
$container->setParameter(
/* $container->setParameter(
'chill_main.workflow_signatures.base_signer.document_kinds',
$config['workflow_signature']['base_signer']['document_kinds']
);
);*/
$loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../config'));
$loader->load('services.yaml');

View File

@ -25,7 +25,7 @@ class WorkflowSignatureMetadataType extends AbstractType
public function buildForm(FormBuilderInterface $builder, array $options): void
{
$documentTypeChoices = $this->parameterBag->get('chill_main.id_document_kinds');
$documentTypeChoices = $this->parameterBag->get('chill_main.workflow_signatures.base_signer.document_kinds');
$choices = [];