mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 13:24:25 +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, [
|
->add('agent', PickUserDynamicType::class, [
|
||||||
'multiple' => true,
|
|
||||||
'label' => 'For agent',
|
'label' => 'For agent',
|
||||||
'required' => true,
|
'required' => true,
|
||||||
])
|
])
|
||||||
|
@ -150,6 +150,8 @@ final class PersonResourceController extends AbstractController
|
|||||||
$comment = $form['comment']->getData();
|
$comment = $form['comment']->getData();
|
||||||
$kind = $form['kind']->getData();
|
$kind = $form['kind']->getData();
|
||||||
|
|
||||||
|
dump($person);
|
||||||
|
|
||||||
$personResource->setKind($kind);
|
$personResource->setKind($kind);
|
||||||
$personResource->setPerson($person);
|
$personResource->setPerson($person);
|
||||||
$personResource->setThirdParty($thirdparty);
|
$personResource->setThirdParty($thirdparty);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user