Git add desactivation date for social issue csv export

This commit is contained in:
2025-05-20 09:55:58 +02:00
parent b6d454691a
commit 6a364705f2
2 changed files with 8 additions and 0 deletions

View File

@@ -44,6 +44,7 @@ readonly class SocialIssueCSVExportService
'Id',
'Label',
'Social issue',
'export.social_action_list.desactivation_date',
'socialIssue.isParent?',
'socialIssue.Parent id',
]
@@ -66,6 +67,7 @@ readonly class SocialIssueCSVExportService
'id' => $issue->getId(),
'label' => $this->stringHelper->localize($issue->getTitle()),
'title' => $this->socialIssueRender->renderString($issue, []),
'export.social_action_list.desactivation_date' => $issue->getDesactivationDate()?->format('Y-m-d'),
'isParent' => $issue->hasChildren() ? 'X' : '',
'parent_id' => null !== $issue->getParent() ? $issue->getParent()->getId() : '',
];