mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Git add desactivation date for social issue csv export
This commit is contained in:
parent
b6d454691a
commit
6a364705f2
6
.changes/unreleased/Feature-20250520-095628.yaml
Normal file
6
.changes/unreleased/Feature-20250520-095628.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
kind: Feature
|
||||||
|
body: Add desactivation date for social action and issue csv export
|
||||||
|
time: 2025-05-20T09:56:28.108941934+02:00
|
||||||
|
custom:
|
||||||
|
Issue: ""
|
||||||
|
SchemaChange: No schema change
|
@ -44,6 +44,7 @@ readonly class SocialIssueCSVExportService
|
|||||||
'Id',
|
'Id',
|
||||||
'Label',
|
'Label',
|
||||||
'Social issue',
|
'Social issue',
|
||||||
|
'export.social_action_list.desactivation_date',
|
||||||
'socialIssue.isParent?',
|
'socialIssue.isParent?',
|
||||||
'socialIssue.Parent id',
|
'socialIssue.Parent id',
|
||||||
]
|
]
|
||||||
@ -66,6 +67,7 @@ readonly class SocialIssueCSVExportService
|
|||||||
'id' => $issue->getId(),
|
'id' => $issue->getId(),
|
||||||
'label' => $this->stringHelper->localize($issue->getTitle()),
|
'label' => $this->stringHelper->localize($issue->getTitle()),
|
||||||
'title' => $this->socialIssueRender->renderString($issue, []),
|
'title' => $this->socialIssueRender->renderString($issue, []),
|
||||||
|
'export.social_action_list.desactivation_date' => $issue->getDesactivationDate()?->format('Y-m-d'),
|
||||||
'isParent' => $issue->hasChildren() ? 'X' : '',
|
'isParent' => $issue->hasChildren() ? 'X' : '',
|
||||||
'parent_id' => null !== $issue->getParent() ? $issue->getParent()->getId() : '',
|
'parent_id' => null !== $issue->getParent() ? $issue->getParent()->getId() : '',
|
||||||
];
|
];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user