mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Add UserRender option to SignatureRequestController
Integrated a new UserRender option 'SPLIT_LINE_BEFORE_CHARACTER' with a value of 30 in the SignatureRequestController. This enhances the rendering format for user details.
This commit is contained in:
parent
5ad11041e0
commit
94f9ebd726
@ -19,6 +19,7 @@ use Chill\MainBundle\Entity\Workflow\EntityWorkflowSignatureStateEnum;
|
|||||||
use Chill\MainBundle\Entity\Workflow\EntityWorkflowStepSignature;
|
use Chill\MainBundle\Entity\Workflow\EntityWorkflowStepSignature;
|
||||||
use Chill\MainBundle\Templating\Entity\ChillEntityRenderManagerInterface;
|
use Chill\MainBundle\Templating\Entity\ChillEntityRenderManagerInterface;
|
||||||
use Chill\MainBundle\Security\Authorization\EntityWorkflowStepSignatureVoter;
|
use Chill\MainBundle\Security\Authorization\EntityWorkflowStepSignatureVoter;
|
||||||
|
use Chill\MainBundle\Templating\Entity\UserRender;
|
||||||
use Chill\MainBundle\Workflow\EntityWorkflowManager;
|
use Chill\MainBundle\Workflow\EntityWorkflowManager;
|
||||||
use Symfony\Component\HttpFoundation\JsonResponse;
|
use Symfony\Component\HttpFoundation\JsonResponse;
|
||||||
use Symfony\Component\HttpFoundation\Request;
|
use Symfony\Component\HttpFoundation\Request;
|
||||||
@ -75,6 +76,7 @@ class SignatureRequestController
|
|||||||
// options for user render
|
// options for user render
|
||||||
'absence' => false,
|
'absence' => false,
|
||||||
'main_scope' => false,
|
'main_scope' => false,
|
||||||
|
UserRender::SPLIT_LINE_BEFORE_CHARACTER => 30,
|
||||||
// options for person render
|
// options for person render
|
||||||
'addAge' => false,
|
'addAge' => false,
|
||||||
]),
|
]),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user