feat: restrict access to booking edit and invoice to applicant

This commit is contained in:
Björn Fromme
2025-09-10 15:30:36 +02:00
parent 297becf7a0
commit b197152f12
4 changed files with 58 additions and 54 deletions
@@ -21,6 +21,7 @@ class BookingsParser extends AbstractParser
$booking = new Booking();
$booking->id = $this->getIntOrNullValue($node->filterXPath('//id'));
$booking->applicantId = $this->getIntOrNullValue($node->filterXPath('//idadresse_anmelder'));
$booking->bookingNumber = $this->getIntOrNullValue($node->filterXPath('//vorgangsnummer'));
$booking->status = $this->getStringOrNullValue($node->filterXPath('//status'));
$booking->participantCount = $this->getIntOrNullValue($node->filterXPath('//personen'));