mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Fix configuration of workflow signature document kinds
This commit is contained in:
parent
15f3e474a0
commit
bf66af0f25
@ -193,10 +193,10 @@ class ChillMainExtension extends Extension implements
|
|||||||
[]
|
[]
|
||||||
);
|
);
|
||||||
|
|
||||||
$container->setParameter(
|
/* $container->setParameter(
|
||||||
'chill_main.workflow_signatures.base_signer.document_kinds',
|
'chill_main.workflow_signatures.base_signer.document_kinds',
|
||||||
$config['workflow_signature']['base_signer']['document_kinds']
|
$config['workflow_signature']['base_signer']['document_kinds']
|
||||||
);
|
);*/
|
||||||
|
|
||||||
$loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../config'));
|
$loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../config'));
|
||||||
$loader->load('services.yaml');
|
$loader->load('services.yaml');
|
||||||
|
@ -25,7 +25,7 @@ class WorkflowSignatureMetadataType extends AbstractType
|
|||||||
|
|
||||||
public function buildForm(FormBuilderInterface $builder, array $options): void
|
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 = [];
|
$choices = [];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user