view_apply_proposal.blade.php 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. @extends('modal_pages.base')
  2. @section('main')
  3. <div class="container mt-2">
  4. <div class="col-md-12">
  5. <div class="alert p-3" style="background-color:white;">
  6. <div class="d-flex">
  7. @if(cn($std_proposal,'teacher_details.university',''))
  8. <img class="img-responsive listFlag mt-2" style="border-radius: 2px; padding: 0px;height: 45px; width: 45px;" src="{{ asset('/assets/img/flags/4x3').'/'.strtolower(cn($std_proposal,'teacher_details.university.country.iso_3166_2','')).'.svg' }}" alt="Flag" data-toggle="tooltip" title="" data-placement="top">
  9. @endif
  10. <div class="alert" style="background-color:white; padding: 3px 7px; margin-bottom: 0px;">
  11. <span style="margin: 0px;">{{cn($std_proposal,'teacher_details.first_name','')}} {{cn($std_proposal,'teacher_details.last_name','')}}</span></br>
  12. <span style="font-weight: 500;">{{cn($std_proposal,'teacher_details.designation','')}}</span></br>
  13. @if($std_proposal->teacher_details->others_department)
  14. <span style="font-weight: 500; font-size: 10px;">{{cn($std_proposal,'teacher_details.others_department','')}}</span>
  15. @else
  16. <span style="font-weight: 500; font-size: 10px;">{{cn($std_proposal,'teacher_details.department_name.name','')}}</span>
  17. @endif
  18. <span> • </span>
  19. @if($std_proposal->teacher_details->university_name)
  20. <span style="font-weight: 500; font-size: 10px;">{{cn($std_proposal,'teacher_details.university_name','')}} </span>
  21. @else
  22. <span style="font-weight: 500; font-size: 10px;">{{cn($std_proposal,'teacher_details.university.name','')}} </span>
  23. @endif
  24. </div>
  25. </div>
  26. </br>
  27. </div>
  28. </div>
  29. <div class="middle" style="background-color:white; border-radius:6px;">
  30. <!-- <p class="mb-3" style="font-size:14px;">Please select which proposal you want to send</p> -->
  31. <div class="alert mb-3 propose" style="padding: 0px; margin-bottom: 0px !important;">
  32. <div style="width:100%;">
  33. <div class="mt-2 p-2 ms-2">
  34. <div class="custom-control custom-radio custom-control-inline">
  35. <div class="form-check mb-0" style="padding-left: 0 !important;">
  36. <label class="form-check-label" for="flexRadioDefault1" style="font-size: 13px; font-weight: 600;">{{cn($std_proposal,'proposal.title','')}}</label></br>
  37. <div class="pro_title mb-2 mt-3" style="width: 69%;">
  38. <div style="margin-top: -11px; display: block; font-size: 10px;">
  39. <span class="label_badge_radius" style="background-image: linear-gradient(90deg,rgba(46,17,83,.19),#f5f4fd); font-weight: 400 !important; font-size: 10px;">Ref. ({{cn($std_proposal,'proposal.proposal_ref','')}})</span>
  40. <span> • </span>
  41. <span style="font-weight:400;">{{cn($std_proposal,'proposal.methology','')}}</span>
  42. @php
  43. $proposal =\DB::table('proposal')->where(
  44. 'id',$std_proposal->proposal_id
  45. )->first();
  46. $department =\DB::table('departments')->where(
  47. 'id', $proposal->department
  48. )->first();
  49. @endphp
  50. @if($department)
  51. <span> • </span>
  52. <span style="font-weight:400;">{{$department->name}}</span>
  53. @endif
  54. <span> • </span>
  55. <span style="font-weight:400;">{{cn($std_proposal,'proposal.status','')}}</span>
  56. </div>
  57. </div>
  58. </div>
  59. </div>
  60. </div>
  61. </div>
  62. </div>
  63. </div>
  64. </div>
  65. <div class="container mb-2">
  66. <div class="col-md-12 mt-3" style="background-color:white; border-radius:6px;">
  67. <div class="row">
  68. <div class="col-md-5">
  69. <div class="p-2 ms-2">
  70. <div class="form-icon position-relative ms-1" style="font-size: 12px;">
  71. Preferred Start Date : <strong style="font-weight: bolder;">{{date("M", mktime(0, 0, 0, $std_proposal->start_month, 10))}} {{ $std_proposal->start_year}}</strong>
  72. </div>
  73. </div>
  74. </div>
  75. <div class="col-md-6" style="text-align: end; margin-left: 3.5rem;">
  76. <div class="p-2">
  77. <div class="form-icon position-relative ms-1" style="font-size: 12px;">
  78. Application Status :
  79. <span class="label_badge_radius" style="background-color: #d8fdd8; color: green; font-weight: bold;">Applied</span>
  80. </div>
  81. </div>
  82. </div>
  83. {{-- <div class="col-md-6">
  84. <div class="mb-1">
  85. <div class="form-icon position-relative">
  86. Start Month :
  87. </div>
  88. </div>
  89. </div> --}}
  90. </div>
  91. </div>
  92. </div>
  93. <script>
  94. $(function(){
  95. // $('.select2').select2();
  96. $('#modal_page_footer').hide();
  97. });
  98. </script>
  99. @endsection