Skip to content

Commit

Permalink
Added leaveDate to "All data export"
Browse files Browse the repository at this point in the history
  • Loading branch information
paaton committed Aug 9, 2024
1 parent 9e8e547 commit 3d075a5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Export/ExportService.php
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ public function allRegistrationDataToCSV(Event $event, User $adminUser): array
'registrationApproveDate',
'registrationPayDate', // 35
'entryDate',
'leaveDate',
'patrolOrTroopLeaderId',
'patrolName',
'patrolParticipantCount',
Expand Down Expand Up @@ -286,6 +287,8 @@ public function allRegistrationDataToCSV(Event $event, User $adminUser): array
$participant->registrationApproveDate !== null ? $participant->registrationApproveDate->format('d. m. Y H:i:s') : '', // 35
$participant->registrationPayDate !== null ? $participant->registrationPayDate->format('d. m. Y H:i:s') : '',
$participant->entryDate !== null ? $participant->entryDate->format('d. m. Y H:i:s') : '',
$participant->leaveDate !== null ? $participant->leaveDate->format('d. m. Y H:i:s') : '',

],
$ptPart,
$istPart
Expand Down

0 comments on commit 3d075a5

Please sign in to comment.