diff --git a/app/Http/Controllers/Public/EventRegistrationController.php b/app/Http/Controllers/Public/EventRegistrationController.php index 1ae613e..2241583 100644 --- a/app/Http/Controllers/Public/EventRegistrationController.php +++ b/app/Http/Controllers/Public/EventRegistrationController.php @@ -29,8 +29,8 @@ class EventRegistrationController extends Controller 'tier' => ['required', 'string', 'max:80'], 'amount' => ['nullable', 'numeric', 'min:1', 'max:1000000'], 'attendee_name' => ['required', 'string', 'max:120'], - 'attendee_email' => ['required', 'email', 'max:200'], - 'attendee_phone' => ['nullable', 'string', 'max:30'], + 'attendee_email' => ['nullable', 'email', 'max:200'], + 'attendee_phone' => ['required', 'string', 'max:30'], 'badge_fields' => ['nullable', 'array'], ]); diff --git a/resources/views/public/qr/event-confirmed.blade.php b/resources/views/public/qr/event-confirmed.blade.php index 222b28b..51242e5 100644 --- a/resources/views/public/qr/event-confirmed.blade.php +++ b/resources/views/public/qr/event-confirmed.blade.php @@ -44,7 +44,9 @@ @endif + @if($registration->attendee_email)
A receipt was sent to {{ $registration->attendee_email }}.
+ @endif @elseHi {{ $registration->attendee_name }}, your spot is confirmed.
@@ -64,7 +66,11 @@ @endforeach + @if($registration->attendee_email)Show this badge code at check-in. A confirmation was sent to {{ $registration->attendee_email }}.
+ @else +Show this badge code at check-in.
+ @endif @endif diff --git a/resources/views/public/qr/landing.blade.php b/resources/views/public/qr/landing.blade.php index a7a9d74..493ae11 100644 --- a/resources/views/public/qr/landing.blade.php +++ b/resources/views/public/qr/landing.blade.php @@ -3,8 +3,8 @@ - @include('partials.favicon')