send_email_document_information.blade.php 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  1. @extends('modal_pages.base')
  2. @section('main')
  3. <style>
  4. .list-text{
  5. font-size: 12px;
  6. font-weight: 700;
  7. }
  8. .form-label{
  9. font-size: 12px;
  10. color: #9b9b9b !important;
  11. }
  12. .social-links li{
  13. margin: 0 8px;
  14. }
  15. .box-typical.box-typical-padding-update {
  16. padding: 6px 15px;
  17. }
  18. .alert_msg{
  19. color: #f44336 !important;
  20. padding: 10px;
  21. background-color: #d8e2e7;
  22. font-size: small;
  23. border-radius: 5px;
  24. }
  25. .badge-sams{
  26. font-size: 12px !important;
  27. border: 1px solid #e9f0f3;
  28. padding: 4px 10px !important;
  29. color: currentColor;
  30. background: #f5f4fd;
  31. font-weight: 600;
  32. }
  33. .cancel_button{
  34. background-color: #ffbd59 !important;
  35. border-width: 1px!important;
  36. border-color: #ffbd59!important;
  37. color: #fff!important;
  38. border-radius: 30px!important;
  39. padding: 6px 11px!important;
  40. height: 28px!important;
  41. font-size: 14px!important;
  42. line-height: 1!important;
  43. font-weight: 600!important;
  44. }
  45. #email_holder .whole_body, #email_holder .whole_body div{
  46. max-width: 100% !important;
  47. }
  48. </style>
  49. <form class="modal-form" action="{{ url()->current() }}" method="POST" enctype="multipart/form-data">
  50. {{ csrf_field() }}
  51. <div class="form-row mb-0">
  52. <input type="hidden" name="teacher_id" value="{{ $std_proposal->teacher_id }}">
  53. <input type="hidden" name="student_id" value="{{ $std_proposal->student_id }}">
  54. <input type="hidden" name="id" value="{{ $std_proposal->id }}">
  55. <div class="col-md-3 d-none">
  56. <ul class="list-group">
  57. <li class="list-group-item list-text hand email-list-item" data-related-div="outstanding_emails">
  58. Outstanding Emails
  59. </li>
  60. </ul>
  61. </div>
  62. <div class="card rounded p-4" style="background-color: white;">
  63. <div class="box-typical box-typical-padding">
  64. <div class="row">
  65. <div class="col">
  66. <p class="mb-3">
  67. <span>To:</span>
  68. <span class="badge badge-pill badge-sams">
  69. {{cn($std_proposal,'student_details.email','')}}
  70. </span>
  71. </p>
  72. </div>
  73. </div>
  74. {{-- <div class="row">
  75. <div class="col">
  76. <p style="margin-bottom: 6px;">
  77. <span>CC:</span>
  78. <span class="badge badge-pill badge-sams">
  79. office
  80. </span>
  81. <span class="badge badge-pill badge-sams">
  82. user
  83. </span>
  84. <span class="badge badge-pill badge-sams">
  85. email
  86. </span>
  87. </p>
  88. </div>
  89. </div> --}}
  90. </div>
  91. <div class="box-typical box-typical-padding mb-0" id="email_holder"></div>
  92. </div>
  93. <div class="col-md-12 mt-4">
  94. <div class="card rounded border-0 shadow" style="background-color:white;">
  95. <div class="p-3">
  96. <div class="p-3" style="border: 1px solid #eee; border-radius: 6px;">
  97. <h3 style="text-align: center; font-family:Ubuntu !important; color: #3c4858 !important; font-size: 30px !important;">Research Admission</h3>
  98. <h4 class="mb-4" style="text-align: center; font-family:Ubuntu !important; color: #3c4858 !important;">Further Information Required</h4>
  99. <div style="border-bottom: 1px solid #eee;"></div>
  100. <div class="col-md-12">
  101. <div class="row">
  102. <div class="col-md-8 mt-3 mb-3">
  103. <h5 style="margin: 0px;"> {{cn($std_proposal,'student_details.first_name','')}} {{cn($std_proposal,'student_details.last_name','')}} </h5>
  104. {{-- <span style="margin: 0px;">
  105. @if($std_proposal->student_details->university_name)
  106. {{cn($std_proposal,'student_details.university_name','')}}
  107. @else
  108. {{cn($std_proposal,'student_details.universit.name','')}}
  109. @endif
  110. </span>
  111. <span> • </span> --}}
  112. {{-- <span> Masters </span> --}}
  113. <p style="margin: 0px;">Apply Ref : {{ $std_proposal->student_apply_ref ?? "N/A"}}</p>
  114. </div>
  115. <div class="col-md-4 mt-3 mb-3" style="text-align: end;">
  116. <p style="margin: 0px;">{{ Carbon\Carbon::now()->format('d M, Y')}}</p>
  117. {{-- <p style="margin: 0px;">Our Reference : {{ $std_proposal->student_apply_ref ?? "N/A"}}</p> --}}
  118. </div>
  119. </div>
  120. <div style="border-bottom: 1px solid #eee;"></div>
  121. </div>
  122. <p class="mt-3">Dear {{cn($std_proposal,'student_details.first_name','')}} {{cn($std_proposal,'student_details.last_name','')}},</p>
  123. <p class="mt-3" style="margin: 0px;">Thank you for submitting your research proposal. </p>
  124. <p class="mt-3" style="margin: 0px;">To further evaluate your application, the following documents/information are required: </p>
  125. <ul>
  126. @if(count($doc_requirement_list) > 0)
  127. @foreach($doc_requirement_list as $row)
  128. <li>
  129. <div class="input-group mt-2">
  130. <div class="input-group-addon">
  131. <div class="checkbox-bird green" style="margin: 0px;">
  132. {{ $row->requirement_title}}
  133. </div>
  134. </div>
  135. </div>
  136. </li>
  137. @endforeach
  138. @endif
  139. </ul>
  140. <p class="mt-3" style="margin: 0px;">I highly recommend that you provide the required documents/information as soon as possible to avoid any delays in the review process. </p>
  141. <p class="mt-3" style="margin: 0px;">Looking forward to hearing from you. </p>
  142. <p class="mt-3" style="margin: 0px;">Thanking you</p>
  143. <p> {{cn($std_proposal,'teacher_details.first_name','')}} {{cn($std_proposal,'teacher_details.last_name','')}} </p>
  144. </div>
  145. </div>
  146. </div>
  147. </div>
  148. </div>
  149. <div id="div_send_mail" class="row mt-3">
  150. <div class="col" style="text-align: end;">
  151. {{-- <button type="button" class="btn btn-inline cancel_button" data-dismiss="modal">
  152. Cancel
  153. </button> --}}
  154. <button type="submit" class="btn btn-inline submit_button btn-submit mr-0 btn-send">
  155. Send
  156. </button>
  157. </div>
  158. </div>
  159. </form>
  160. <script>
  161. $(function(){
  162. // $('.select2').select2();
  163. $('#modal_page_footer').hide();
  164. });
  165. </script>
  166. @endsection