|
@@ -587,7 +587,7 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
<a href="" class="" style="color: black;"><span class="label_badge_work"> {{$row->student_apply_ref ?? "N/A"}} </span></a>
|
|
|
</div>
|
|
|
<div style="font-size: 11px;">
|
|
|
- <span style="color: black;">{{ date("d M, Y", strtotime(cn($row,'student_details.dob','')))}}</span>
|
|
|
+ <span style="color: black;">@if(!empty($row->student_details->dob)){{ date("d M, Y", strtotime(cn($row,'student_details.dob','')))}} @else @endif</span>
|
|
|
</div>
|
|
|
</td>
|
|
|
<td style="font-size: 11px;">
|
|
@@ -595,7 +595,7 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
<span style="color: black;">{{cn($row,'institutes.institution','')}}</span>
|
|
|
</div>
|
|
|
<div style="font-size: 11px;">
|
|
|
- <span style="color: black;">{{date('M Y',strtotime(cn($row,'institutes.start_date','N/A')))}} - {{date('M Y',strtotime(cn($row,'institutes.end_date','N/A')))}}</span>
|
|
|
+ <span style="color: black;">@if(!empty($row->institutes->start_date)) {{date('M Y',strtotime(cn($row,'institutes.start_date','N/A')))}} @else @endif @if(!empty($row->institutes->end_date)) - {{date('M Y',strtotime(cn($row,'institutes.end_date','N/A')))}} @else @endif</span>
|
|
|
</div>
|
|
|
<div class="mt-1" style="font-size: 11px;">
|
|
|
<span class="label_badge_gpa">{{cn($row,'institutes.result','')}} (GPA)</span>
|
|
@@ -644,17 +644,23 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
<div class="inner_right">
|
|
|
<a href="{{ url('teacher/student-proposal-details') }}/{{$row->id}}"><strong style="font-size:11px; color:black;">{{cn($row,'proposal.title','')}}</strong></a></br>
|
|
|
<span style="color:black;">{{cn($row,'proposal.methology','')}}</span>
|
|
|
- <span>.</span>
|
|
|
@php
|
|
|
- $proposal =\DB::table('proposal')->where(
|
|
|
- 'student_id',$row->student_id
|
|
|
- )->first();
|
|
|
-
|
|
|
- $department =\DB::table('departments')->where(
|
|
|
- 'id',$proposal->department
|
|
|
- )->first();
|
|
|
+ $proposal =\DB::table('proposal')->where(
|
|
|
+ 'student_id',$row->student_id
|
|
|
+ )->first();
|
|
|
+
|
|
|
+ if(isset($proposal)){
|
|
|
+ $department =\DB::table('departments')->where(
|
|
|
+ 'id',$proposal->department
|
|
|
+ )->first();
|
|
|
+ }
|
|
|
@endphp
|
|
|
- <span style="color:black;">{{ $department->name ?? ''}}</span>
|
|
|
+ @if(isset($department))
|
|
|
+ <span>.</span>
|
|
|
+ <span style="color:black;">
|
|
|
+ {{ $department->name }}
|
|
|
+ </span>
|
|
|
+ @endif
|
|
|
<span>.</span>
|
|
|
<span style="color:black;">{{cn($row,'proposal.status','')}}</span>
|
|
|
</div>
|