mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-04 13:54:59 +00:00
[closing motive] add an hierarchy + admin section for closing motives
This commit is contained in:
@@ -14,8 +14,7 @@ use Symfony\Component\Form\Extension\Core\Type\DateType;
|
||||
use Chill\PersonBundle\Security\Authorization\PersonVoter;
|
||||
use Chill\MainBundle\Form\Type\UserPickerType;
|
||||
use Symfony\Component\Security\Core\Role\Role;
|
||||
|
||||
use Chill\PersonBundle\Form\Type\ClosingMotiveType;
|
||||
use Chill\PersonBundle\Form\Type\ClosingMotivePickerType;
|
||||
|
||||
class AccompanyingPeriodType extends AbstractType
|
||||
{
|
||||
@@ -72,7 +71,7 @@ class AccompanyingPeriodType extends AbstractType
|
||||
) {
|
||||
$form->add('closingDate', DateType::class, array('required' => true,
|
||||
'widget' => 'single_text', 'format' => 'dd-MM-yyyy'));
|
||||
$form->add('closingMotive', ClosingMotiveType::class);
|
||||
$form->add('closingMotive', ClosingMotivePickerType::class);
|
||||
}
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user