mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
bug fix in form and controller
This commit is contained in:
parent
6d382f93e8
commit
3656825d20
@ -86,7 +86,6 @@ final class AsideActivityFormType extends AbstractType
|
||||
// ]
|
||||
// )
|
||||
->add('agent', PickUserDynamicType::class, [
|
||||
'multiple' => true,
|
||||
'label' => 'For agent',
|
||||
'required' => true,
|
||||
])
|
||||
|
@ -150,6 +150,8 @@ final class PersonResourceController extends AbstractController
|
||||
$comment = $form['comment']->getData();
|
||||
$kind = $form['kind']->getData();
|
||||
|
||||
dump($person);
|
||||
|
||||
$personResource->setKind($kind);
|
||||
$personResource->setPerson($person);
|
||||
$personResource->setThirdParty($thirdparty);
|
||||
|
Loading…
x
Reference in New Issue
Block a user