@extends('supervisor.layouts.master') @section('content')
@if($proposal_details->student_details->nationality) Flag @endif
{{cn($proposal_details,'student_details.first_name','')}} {{cn($proposal_details,'student_details.last_name','')}}
{{\Str::ucfirst(cn($proposal_details,'student_details.gender',''))}} {{age_calculator(cn($proposal_details,'student_details.dob',''))}} {{-- 23 years 3 month --}}
Apply Ref: {{$proposal_details->student_apply_ref ?? "N/A"}} {{-- {{cn($proposal_details,'teacher_details.ref_no','')}} --}}
{{cn($proposal_details,'proposal.title','')}}
Applied On : {{ date("d M Y", strtotime($proposal_details->created_at))}}
Proposal Quality : proposal_quality ==5) checked @endif/> proposal_quality ==4) checked @endif/> proposal_quality ==3) checked @endif/> proposal_quality ==2) checked @endif/> proposal_quality ==1) checked @endif/>
Status :
@if($proposal_details->proposal_status==1) New @endif @if($proposal_details->proposal_status==2) Reviewing @endif @if($proposal_details->proposal_status==3) Pause @endif @if($proposal_details->proposal_status==4) Hold @endif @if($proposal_details->proposal_status==5) Interested @endif @if($proposal_details->proposal_status==6) Rejected @endif @if($proposal_details->proposal_status==7) Terminate @endif
@if(count($education_history) > 0) @foreach($education_history as $row)
{{cn($row,'academic_level_info.name','')}}
{{$row->result}}
  • {{$row->subject}}
  • {{$row->institution}}
  • {{$row->passing_year}}
@endforeach @endif
{{cn($proposal_details,'scores.test_name','')}}
@if(!empty($proposal_details->scores->expiration_date)) {{ date('d M Y', strtotime(cn($proposal_details,'scores.expiration_date','')))}} @else @endif
{{cn($proposal_details,'scores.overall_score','')}}
Speaking: {{cn($proposal_details,'scores.speaking','')}},
Listening: {{cn($proposal_details,'scores.listening','')}},
Writing: {{cn($proposal_details,'scores.writing','')}},
Reading: {{cn($proposal_details,'scores.reading','')}}
Work Experience: @php $work_history_first =$proposal_details->work_experience_date()->whereNotNull('start_date')->oldest()->first(); $work_history_last =$proposal_details->work_experience_date()->latest()->first(); if($work_history_first && $work_history_last && $work_history_last->end_date){ $diff_in_days =diff_in_days($work_history_first->start_date,$work_history_last->end_date); }elseif($work_history_first){ $diff_in_days =diff_in_days($work_history_first->start_date, now()); }else{ $diff_in_days =0; } $years = ($diff_in_days / 365) ; $years = floor($years); $month = ($diff_in_days % 365) / 30.5; $month = floor($month); $days = ($diff_in_days % 365) % 30.5; @endphp @if($proposal_details->student_details->is_work_experience ==1) {{$years}} years ({{ dDate($work_history_first->start_date) }} - {{dDate($work_history_last->end_date, 'd M Y', 'Continue')}}) @else no @endif
Have you ever attended any conferences
to present your papers?
@if($proposal_details->student_details->is_attended_conference ==1) yes @else no @endif
Do you have any Publication? @if($proposal_details->student_details->is_publication ==1) yes @else no @endif
@if($proposal_details->student_details->is_publication ==1)
@foreach($proposal_details->publications as $row)
{{$row->publication }}: @if($row->status==1) Published @endif @if($row->status==2) Under Review @endif @if($row->status==3) Draft stage @endif
@endforeach
@endif
@if($proposal_details->feedback_msg || $proposal_details->feedback_reason)
Feedback : @if($proposal_details->feedback_msg) {{$proposal_details->feedback_msg}} @endif @if($proposal_details->feedback_reason) {{$proposal_details->feedback_reason}} @endif
{{-- --}}
@endif
@if(file_exists( public_path().'/uploads/proposal/'.@$proposal_details->proposal->document_file ) && @$proposal_details->proposal->document_file != null) @else @endif
@if(count($doc_info) > 0)
Send Email
@endif
@endsection @push('js') @endpush