List duplicate persons

Signed-off-by: Mathieu Jaumotte <mathieu.jaumotte@champs-libres.coop>

Signed-off-by: Mathieu Jaumotte <mathieu.jaumotte@champs-libres.coop>
This commit is contained in:
2021-03-21 13:58:19 +01:00
parent 0cc951b296
commit 728ea73bdf
12 changed files with 469 additions and 22 deletions

View File

@@ -98,6 +98,10 @@ chill_person_admin_redirect_to_admin_index:
order: 0
label: Main admin menu
chill_person_duplicate_view:
path: /{_locale}/person/{person_id}/duplicate/view
controller: Chill\PersonBundle\Controller\PersonDuplicateController::viewAction
chill_person_closingmotive_admin:
path: /{_locale}/admin/closing-motive
controller: cscrud_closing_motive_controller:index
@@ -107,6 +111,10 @@ chill_person_closingmotive_admin:
order: 90
label: 'person_admin.closing motives'
chill_person_duplicate_confirm:
path: /{_locale}/person/{person_id}/duplicate/{person2_id}/confirm
controller: Chill\PersonBundle\Controller\PersonDuplicateController::confirmAction
chill_person_maritalstatus_admin:
path: /{_locale}/admin/marital-status
controller: cscrud_marital_status_controller:index
@@ -114,4 +122,8 @@ chill_person_maritalstatus_admin:
menus:
admin_person:
order: 120
label: 'person_admin.marital status'
label: 'person_admin.marital status'
chill_person_duplicate_not_duplicate:
path: /{_locale}/person/{person_id}/duplicate/{person2_id}/not-duplicate
controller: Chill\PersonBundle\Controller\PersonDuplicateController::notDuplicateAction

View File

@@ -20,5 +20,12 @@ services:
arguments:
$eventDispatcher: '@Symfony\Component\EventDispatcher\EventDispatcherInterface'
tags: ['controller.service_arguments']
Chill\PersonBundle\Controller\AdminController: ~
Chill\PersonBundle\Controller\PersonDuplicateController:
arguments:
$similarPersonMatcher: '@Chill\PersonBundle\Search\SimilarPersonMatcher'
$translator: '@Symfony\Component\Translation\TranslatorInterface'
$personRepository: '@Chill\PersonBundle\Repository\PersonRepository'
tags: ['controller.service_arguments']