Anschrift für Veranstaltungsort
This commit is contained in:
@@ -109,6 +109,7 @@ class EventParticipantResource extends JsonResource
|
||||
default => 'Nicht geprüft',
|
||||
},
|
||||
'eventName' => $this->resource->event()->first()->name,
|
||||
'eventAddress' => $event->getFullAddress(),
|
||||
'arrivalDateReadable' => $this->resource->arrival_date->format('d.m.Y'),
|
||||
'departureDateReadable' => $this->resource->departure_date->format('d.m.Y'),
|
||||
'participationOptions' => $this->resource->selectedOptions()->get()->map(
|
||||
|
||||
@@ -30,7 +30,12 @@ class EventResource extends JsonResource{
|
||||
'url' => 'https://' . currentTenant()->url . '/event/' . $this->event->identifier . '/signup',
|
||||
'urlShort' => 'https://' . currentTenant()->url . '/event/' . $this->event->identifier,
|
||||
'location' => $this->event->location,
|
||||
'street' => $this->event->street,
|
||||
'houseNumber' => $this->event->house_number,
|
||||
'postalCode' => $this->event->postal_code,
|
||||
// Fertig formatierte Anschrift für alle Anzeigen -- die Einzelfelder brauchen nur die
|
||||
// Bearbeitungsformulare.
|
||||
'fullAddress' => $this->event->getFullAddress(),
|
||||
'email' => $this->event->email,
|
||||
'accountOwner' => $this->event->account_owner,
|
||||
'accountIban' => $this->event->account_iban,
|
||||
|
||||
Reference in New Issue
Block a user