From 9a2211f3ca46c5d0477b5f198a92a859762f50ff Mon Sep 17 00:00:00 2001 From: ilmedova Date: Mon, 24 Apr 2023 17:37:25 +0500 Subject: [PATCH] ready for launch --- app/Http/Controllers/HomeController.php | 2 +- resources/views/signup.blade.php | 49 +++++++++++++++++-------- resources/views/success.blade.php | 3 +- 3 files changed, 36 insertions(+), 18 deletions(-) diff --git a/app/Http/Controllers/HomeController.php b/app/Http/Controllers/HomeController.php index e7fbae1..c5a37a0 100644 --- a/app/Http/Controllers/HomeController.php +++ b/app/Http/Controllers/HomeController.php @@ -31,7 +31,7 @@ public function submit(Request $request){ $data = $request->only(['name', 'surname', 'email', 'file', 'organization', 'is_attending', 'consent_form']); $data['attended'] = 0; $data['is_attending'] = (bool)$data['is_attending']; - $data['consent_form'] = (bool)$data['consent_form']; + $data['consent_form'] = (bool)$data['consent_form'] ?? false; $attender = Attender::create($data); diff --git a/resources/views/signup.blade.php b/resources/views/signup.blade.php index 866a812..79c7fb4 100644 --- a/resources/views/signup.blade.php +++ b/resources/views/signup.blade.php @@ -22,34 +22,51 @@ *Upon your confirmation of the following, you will receive a QR code to your e-mail which you must present at the registration together with your ID.


- + - +

-

- *Please read EEAS PRIVACY STATEMENT - DATA PROTECTION NOTICE and sign the CONSENT FORM Purpose of the filming/photo shooting -

- - - - consent form -
+
+

+ *Please read EEAS PRIVACY STATEMENT - DATA PROTECTION NOTICE and sign the CONSENT FORM Purpose of the filming/photo shooting +

+ + + + consent form +
- - + + - - + + -

+

+
- + + @endsection diff --git a/resources/views/success.blade.php b/resources/views/success.blade.php index d1a7c4b..75ce596 100644 --- a/resources/views/success.blade.php +++ b/resources/views/success.blade.php @@ -3,7 +3,8 @@ @section('content')
-

Thank you for response!


+

Thank you!


+ We have sent you an email with attached QR code which you should use for this event! Check you email, if you haven't received anything contact us via: delegation-turkmenistan@eeas.europa.eu
@endsection