Skip to content

Commit

Permalink
Merge pull request #2323 from skaut/education-participant-list-units
Browse files Browse the repository at this point in the history
Opraveno parsování jednotek účastníků vzdělávacích akcí
  • Loading branch information
marekdedic authored Oct 7, 2023
2 parents 2eb46cd + 8eb8fe3 commit a43062b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/model/Participant/Factory/ParticipantFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public static function create(stdClass $skautisParticipant, Payment $payment): P
$skautisParticipant->State ?? $skautisParticipant->PersonAddressState ?? '',
isset($skautisParticipant->ID_Unit) ? (int) $skautisParticipant->ID_Unit : null,
$skautisParticipant->Unit ?? '',
$skautisParticipant->UnitRegistrationNumber ?? '',
$skautisParticipant->UnitRegistrationNumber ?? $skautisParticipant->PersonUnitRegistrationNumber ?? '',
(int) ($skautisParticipant->Days ?? 0),
$payment,
$skautisParticipant->Category ?? null,
Expand Down

0 comments on commit a43062b

Please sign in to comment.