mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 14:43:49 +00:00
bug fix in form and controller
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user