瀏覽代碼

Send mail

Mostafijur Rahman 1 年之前
父節點
當前提交
908efb2bbd

+ 1 - 0
app/Http/Controllers/AjaxController.php

@@ -505,6 +505,7 @@ class AjaxController extends Controller
                     $data['name'] = $refer->name;
                     $data['student_id'] = $user->id;
                     $data['teacher'] = $teacher->first_name.' '.$teacher->last_name;
+                    $data['arn'] = $teacher->ref_no;
                     $data['designation'] = $teacher->designation;
                     $data['department'] = $department;
                     $data['university'] = $university;

+ 1 - 0
app/Http/Controllers/ModalController.php

@@ -349,6 +349,7 @@ class ModalController extends Controller{
                 $data['student_id'] = $user_notify->id;
                 $data['std_email'] = $refer->email;
                 $data['teacher'] = $teacher->first_name.' '.$teacher->last_name;
+                $data['arn'] = $teacher->ref_no;
                 $data['designation'] = $teacher->designation;
                 $data['department'] = $teacher->others_department;
                 $data['university'] = $teacher->university_name;

+ 1 - 1
resources/views/email/q_form_email.blade.php

@@ -89,7 +89,7 @@
                                     <p class="mt-2">I appreciate your initiative to contact me regarding your research admission interest. To proceed further, I would request you to please submit your research proposal using the following link</p>
                                     <a href="{{ url('register/'.$hashids->encode($student_id)) }}">click here</a>
                                     <p class="mt-2">The portal will guide you through the submission process and provide you with all the necessary information required for your submission. It will provide you with real-time updates on the status of your proposal as well.</p>
-                                    <p class="mt-2">In case you face any issues during the submission process, please use my Account Reference Number (ARN) and submit your proposal. This will ensure that your proposal reaches to me without any delay or technical difficulty.</p>
+                                    <p class="mt-2">In case you face any issues during the submission process, please use my Account Reference Number ({{$arn}}) and submit your proposal. This will ensure that your proposal reaches to me without any delay or technical difficulty.</p>
                                     <p class="mt-2">I am looking forward to reviewing your research proposal and I hope to hear from you soon. If you have any further questions, please do not hesitate to contact me.</p>
                                     <p class="mt-2" style="margin: 0px;">Best regards,</p>
                                     <h5>{{ $teacher }}</h5>

+ 1 - 1
resources/views/email/wishlist_email.blade.php

@@ -89,7 +89,7 @@
                                     <p class="mt-2">I appreciate your initiative to contact me regarding your research admission interest. To proceed further, I would request you to please submit your research proposal using the following link</p>
                                     <a href="{{ url('register/'.$hashids->encode($student_id)) }}">click here</a>
                                     <p class="mt-2">The portal will guide you through the submission process and provide you with all the necessary information required for your submission. It will provide you with real-time updates on the status of your proposal as well.</p>
-                                    <p class="mt-2">In case you face any issues during the submission process, please use my Account Reference Number (ARN) and submit your proposal. This will ensure that your proposal reaches to me without any delay or technical difficulty.</p>
+                                    <p class="mt-2">In case you face any issues during the submission process, please use my Account Reference Number ({{$arn}}) and submit your proposal. This will ensure that your proposal reaches to me without any delay or technical difficulty.</p>
                                     <p class="mt-2">I am looking forward to reviewing your research proposal and I hope to hear from you soon. If you have any further questions, please do not hesitate to contact me.</p>
                                     <p class="mt-2" style="margin: 0px;">Best regards,</p> 
                                     <h5>{{ $teacher }}</h5>