-
-
-
-
-
-
-
-
-
-
+
+
diff --git a/resources/views/emails/student-signup-notification.blade.php b/resources/views/emails/student-signup-notification.blade.php
index 9b6e6da..a892290 100755
--- a/resources/views/emails/student-signup-notification.blade.php
+++ b/resources/views/emails/student-signup-notification.blade.php
@@ -28,18 +28,62 @@
-
+
A new student has signed up with the following details:
|
- @foreach ($params as $label => $param)
-
- {{ $label }} |
- {{ $param }} |
-
- @endforeach
+
+
+ Full Name |
+ {{ $params['name'] }} |
+
+
+
+ E-Mail |
+ {{ $params['email'] }} |
+
+
+
+ Contact Number |
+ {{ $params['number'] }} |
+
+
+
+ Location |
+ {{ $params['location'] }} |
+
+
+
+ Additional Information |
+ {{ $params['extraInfo'] }} |
+
+
+
+ Subject |
+ Level |
+
+
+
+ {{ $params['subject1'] }} |
+ {{ $params['level1'] }} |
+
+
+ @if (isset($params['subject2']))
+
+ {{ $params['subject2'] }} |
+ {{ $params['level2'] }} |
+
+ @endif
+
+ @if (isset($params['subject3']))
+
+ {{ $params['subject3'] }} |
+ {{ $params['level3'] }} |
+
+ @endif
+
diff --git a/resources/views/emails/student-signup.blade.php b/resources/views/emails/student-signup.blade.php
index 5e0c12c..86e1a2d 100755
--- a/resources/views/emails/student-signup.blade.php
+++ b/resources/views/emails/student-signup.blade.php
@@ -28,7 +28,7 @@
-
+
Thank you for expressing interest in finding a tutor with Merlin Tuition. We will
@@ -37,12 +37,55 @@
If it's not, please phone me on 07123456789. Or E-mail me at test@test.com
|
- @foreach ($params as $label => $param)
-
- {{ $label }} |
- {{ $param }} |
-
- @endforeach
+
+
+ Full Name |
+ {{ $params['name'] }} |
+
+
+
+ E-Mail |
+ {{ $params['email'] }} |
+
+
+
+ Contact Number |
+ {{ $params['number'] }} |
+
+
+
+ Location |
+ {{ $params['location'] }} |
+
+
+
+ Additional Information |
+ {{ $params['extraInfo'] }} |
+
+
+
+ Subject |
+ Level |
+
+
+
+ {{ $params['subject1'] }} |
+ {{ $params['level1'] }} |
+
+
+ @if (isset($params['subject2']))
+
+ {{ $params['subject2'] }} |
+ {{ $params['level2'] }} |
+
+ @endif
+
+ @if (isset($params['subject3']))
+
+ {{ $params['subject3'] }} |
+ {{ $params['level3'] }} |
+
+ @endif
diff --git a/resources/views/emails/tutor-signup-notification.blade.php b/resources/views/emails/tutor-signup-notification.blade.php
index f6f1a87..eed58cc 100755
--- a/resources/views/emails/tutor-signup-notification.blade.php
+++ b/resources/views/emails/tutor-signup-notification.blade.php
@@ -28,7 +28,7 @@
-
+
A new tutor has signed up and enquired with the following details:
diff --git a/resources/views/emails/tutor-signup.blade.php b/resources/views/emails/tutor-signup.blade.php
index 5c17fdc..c3ced1c 100755
--- a/resources/views/emails/tutor-signup.blade.php
+++ b/resources/views/emails/tutor-signup.blade.php
@@ -28,7 +28,7 @@
|
-
+
Thank you for expressing interest in becoming a tutor with Merlin Tuition. We will
diff --git a/routes/web.php b/routes/web.php
index fc81886..8106209 100755
--- a/routes/web.php
+++ b/routes/web.php
@@ -31,5 +31,5 @@
Route::post('contact/submit', 'ContactController@submitContactForm')->name('submit-contact-form');
-Route::get('subjects/get-levels', 'SubjectController@getSubjectLevelsAsJson')->name('get-subject-levels');
+Route::get('subjects/get-levels/{subjectName}', 'SubjectController@getSubjectLevelsAsJson')->name('get-subject-levels');
Route::get('subjects/get-subjects', 'SubjectController@getSubjectsJson')->name('get-subjects');
| | | | |