Commit bb30d314 authored by Johannes's avatar Johannes Committed by Johannes

Added id structure of parent ids in the email as a list as requested by the admin team

parent fa843f39
......@@ -127,7 +127,9 @@ final class RegionXhr extends Control
if ($wasAdminForThisGroup && count($this->foodsaverGateway->getBotschafter($groupId)) < 1) {
$recipient = ['[email protected]', '[email protected]'];
$groupName = $this->regionGateway->getRegionName($groupId);
$messageText = $this->translationHelper->sv('message_text_to_group_admin_workgroup', ['groupId' => $groupId, 'groupName' => $groupName]);
$idStructure = $this->regionGateway->listRegionsIncludingParents([$groupId]);
$idStructure = implode('<br>', $idStructure);
$messageText = $this->translationHelper->sv('message_text_to_group_admin_workgroup', ['groupId' => $groupId, 'idStructure' => $idStructure, 'groupName' => $groupName]);
$this->emailHelper->tplMail('general/workgroup_contact', $recipient, [
'gruppenname' => $groupName,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment