|
@@ -11,9 +11,12 @@
|
|
|
<input type="hidden" name="teacher_id" value="{{$teacher->id}}">
|
|
|
<input type="hidden" name="student_id" value="{{$student->id}}">
|
|
|
<div class="d-flex">
|
|
|
- <img class="img-responsive listFlag" style="border: 1px solid black;border-radius: 20px; padding: 6px;height: 37px;width: 37px;" src="{{ asset('/assets/img/flags/4x3').'/'.strtolower(cn($teacher,'university.country.iso_3166_2','')).'.svg' }}" alt="Flag" data-toggle="tooltip" title="" data-placement="top">
|
|
|
- <span style="margin: 0px;">{{$teacher->first_name}} {{$teacher->last_name}}</span></br>
|
|
|
+ @if($teacher->university)
|
|
|
+ <img class="img-responsive listFlag" style="border-radius: 20px; padding: 0px;height: 37px;width: 37px;" src="{{ asset('/assets/img/flags/4x3').'/'.strtolower(cn($teacher,'university.country.iso_3166_2','')).'.svg' }}" alt="Flag" data-toggle="tooltip" title="" data-placement="top">
|
|
|
+ @endif
|
|
|
</div>
|
|
|
+ <span style="margin: 0px;">{{$teacher->first_name}} {{$teacher->last_name}}</span></br>
|
|
|
+
|
|
|
<span class="text-muted" style="font-weight: 500;">{{$teacher->designation}}</span></br>
|
|
|
@if(isset($teacher->department_name))
|
|
|
<span class="text-muted" style="font-weight: 500;">{{cn($teacher,'department_name.name','')}}</span>
|
|
@@ -57,8 +60,8 @@
|
|
|
<select name="startdate" id="start date" class="form-control frm" required="" style="font-size: 13px;">
|
|
|
<option disabled="" selected="" value="">Year</option>
|
|
|
@php
|
|
|
- $firstYear = (int)date('Y') - 20;
|
|
|
- $lastYear = $firstYear + 20;
|
|
|
+ $firstYear = (int)date('Y');
|
|
|
+ $lastYear = $firstYear + 1;
|
|
|
for($i=$firstYear;$i<=$lastYear;$i++){
|
|
|
@endphp
|
|
|
<option value="{{$i}}">{{$i}}</option>
|