Skip to content
Snippets Groups Projects
Verified Commit 2350bf4a authored by Damien's avatar Damien
Browse files

FEAT #13271 TIME 0:50 Migrate sender department

parent 7afa0ca1
No related branches found
No related tags found
No related merge requests found
...@@ -161,6 +161,13 @@ foreach ($customs as $custom) { ...@@ -161,6 +161,13 @@ foreach ($customs as $custom) {
} }
} }
$query[] = ['identifier' => 'doctype', 'values' => $types]; $query[] = ['identifier' => 'doctype', 'values' => $types];
} elseif ($key == 'department_number_mu') {
$departments = [];
foreach ($value['fields']['department_number_chosen'] as $department) {
$label = \Resource\controllers\DepartmentController::FRENCH_DEPARTMENTS[$department];
$departments[] = ['id' => $department, 'label' => "{$department} - {$label}"];
}
$query[] = ['identifier' => 'senderDepartment', 'values' => $departments];
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment