Registration for {{$registration->page->name}}
|
getTable()), function($value) {
return !in_array($value, ['id', 'created_at', 'updated_at']);
});
@endphp
@foreach($properties as $property)
@if ($property !== 'extra')
{{ucfirst(str_replace('_', ' ', str_replace('_id', '', $property)))}} |
@if (str_ends_with($property, '_id'))
{{ $registration->{str_replace('_id', '', $property)}->name }}
@else
@if (in_array($property, ['paid', 'newsletter', 'reception', 'sponsorship']))
{{ $registration->{$property} ? 'Yes' : 'No' }}
@else
{{ $registration->{$property} }}
@endif
@endif
|
@endif
@endforeach
@if ($registration->extra)
@foreach($registration->extra as $key => $value)
{{ucfirst(str_replace('_', ' ', $key))}} |
{{$value}} |
@endforeach
@endif
|
Attendees
|
Title |
First Name |
Last Name |
Email |
Job Role |
Company |
@foreach($registration->attendees as $attendee)
{{$attendee->title}} |
{{$attendee->forename}} |
{{$attendee->surname}} |
{{$attendee->email}} |
{{$attendee->job_role}} |
{{$attendee->company}} |
@endforeach
|
|
Payments
|
Reference |
Gateway |
Amount |
@foreach($registration->transactions as $transaction)
{{$transaction->reference}} |
{{ucfirst($transaction->gateway)}} |
{{ $page->currency_symbol }}{{number_format($transaction->amount,2)}} |
@endforeach
|
@if ($registration->promo)
@php
$promo = \App\Models\PromoCode::where('code', $registration->promo)->first();
@endphp
|
Processing Note
|
@if ($promo)
The registrant has used a promo code ({{ $registration->promo}}) for this registration.
|
@else
The registrant tried to use an invalid promo code ({{ $registration->promo}}) for this registration.
|
@endif
@endif
|