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 authored and tomtomklima committed Nov 23, 2024
1 parent 1d71e15 commit f4fd091
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 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,7 @@ 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 f4fd091

Please sign in to comment.