Other social entities became editable via admin

This commit is contained in:
Marc Ducobu
2021-05-19 14:48:26 +02:00
committed by Julien Fastré
parent d8ee42b0a5
commit cc84c067c5
19 changed files with 759 additions and 8 deletions

View File

@@ -137,7 +137,7 @@ chill_person_maritalstatus_admin:
label: 'person_admin.marital status'
chill_person_socialissue_admin:
path: /{_locale}/admin/social-issue
path: /{_locale}/admin/social-work/social-issue
controller: cscrud_social_issue_controller:index
options:
menus:
@@ -145,6 +145,44 @@ chill_person_socialissue_admin:
order: 150
label: 'person_admin.social_issue'
chill_person_socialaction_admin:
path: /{_locale}/admin/social-work/social-action
controller: cscrud_social_action_controller:index
options:
menus:
admin_person:
order: 160
label: 'person_admin.social_action'
chill_person_social_evaluation_admin:
path: /{_locale}/admin/social-work/evaluation
controller: cscrud_social_evaluation_controller:index
options:
menus:
admin_person:
order: 170
label: 'person_admin.social_evaluation'
chill_person_social_goal_admin:
path: /{_locale}/admin/social-work/goal
controller: cscrud_social_goal_controller:index
options:
menus:
admin_person:
order: 180
label: 'person_admin.social_goal'
chill_person_social_result_admin:
path: /{_locale}/admin/social-work/result
controller: cscrud_social_result_controller:index
options:
menus:
admin_person:
order: 190
label: 'person_admin.social_result'
chill_person_controllers:
resource: "@ChillPersonBundle/Controller"

View File

@@ -59,3 +59,29 @@ services:
$translatableStringHelper: '@chill.main.helper.translatable_string'
tags:
- { name: form.type }
Chill\PersonBundle\Form\SocialWork\SocialActionType:
arguments:
$translatableStringHelper: '@chill.main.helper.translatable_string'
tags:
- { name: form.type }
Chill\PersonBundle\Form\SocialWork\EvaluationType:
arguments:
$translatableStringHelper: '@chill.main.helper.translatable_string'
tags:
- { name: form.type }
Chill\PersonBundle\Form\SocialWork\GoalType:
arguments:
$translatableStringHelper: '@chill.main.helper.translatable_string'
tags:
- { name: form.type }
Chill\PersonBundle\Form\SocialWork\ResultType:
arguments:
$translatableStringHelper: '@chill.main.helper.translatable_string'
tags:
- { name: form.type }