main: LocationType: add new property defaultFor in the admin

This commit is contained in:
nobohan
2021-11-23 10:57:43 +01:00
parent 32af076986
commit 7eeb2f2a7d
4 changed files with 20 additions and 3 deletions

View File

@@ -71,6 +71,17 @@ final class LocationTypeType extends AbstractType
],
'expanded' => true,
]
);
)
->add(
'defaultFor',
ChoiceType::class,
[
'choices' => [
'none' => null,
'person' => LocationType::DEFAULT_FOR_PERSON,
'thirdparty' => LocationType::DEFAULT_FOR_3PARTY,
],
'expanded' => true
]);
}
}