feat: include bank account in booking data
This commit is contained in:
1 parent
3d9177f979
commit
e4cea1e47d
4 files changed
+32
No files matched your search
@@ -132,6 +132,15 @@ class BookingDataProcessor
|
||||
],
|
||||
];
|
||||
|
||||
if (null !== $bookingData->bankAccount) {
|
||||
$payload['zahlung']['bankverbindung'] = [
|
||||
'@kreditinstitut' => $bookingData->bankAccount->bankName,
|
||||
'@iban' => $bookingData->bankAccount->iban,
|
||||
'@bic' => $bookingData->bankAccount->bic,
|
||||
'@kontoinhaber' => $bookingData->bankAccount->holder,
|
||||
];
|
||||
}
|
||||
|
||||
foreach ($bookingData->participants as $index => $participant) {
|
||||
$payload['teilnehmerliste']['teilnehmer'][] = [
|
||||
'@id' => $index,
|
||||
|
||||
Reference in new issue
Block a user