@extends('layouts.landing') @section('title', 'Mentor') @section('content')
{{$mentor_profile->bio}}
{{$qualification->school_degree}}
{{$qualification->school_name}}
{{\Carbon\Carbon::parse($qualification->school_start_date)->toFormattedDateString()}} - @if($qualification->school_end_date == null) Present @else {{\Carbon\Carbon::parse($qualification->school_end_date)->toFormattedDateString()}} @endif
{{$case}}
@endforeach @endif{{$certification->name}}
{{$certification->year}}
{{$user->area_of_specialization}}
@if($review->rating) {{getRating($review->rating)}} @endif{{$review->review}}
@php $requested_at = $requested_user->created_at->diffForHumans(); @endphp View request
with {{$user->first_name}} {{$user->last_name}}
@if($mentor_booking->status == 'pending'){{\Carbon\Carbon::parse($mentor_booking->mentee_session_time)->toFormattedDateString()}}
{{substr($mentor_booking->mentee_session_time, 11)}}
@elseif($mentor_booking->status == 'rescheduled') @php $mentor_session_times = json_decode($mentor_booking->mentor_session_time); @endphp @foreach($mentor_session_times as $mentor_session_time) {{\Carbon\Carbon::parse($mentor_session_time)->toFormattedDateString()}} {{substr($mentor_session_time, 11)}} @endforeach @elseif($mentor_booking->status == 'accepted'){{\Carbon\Carbon::parse($mentor_booking->mentee_session_time)->toFormattedDateString()}}
@if(substr($mentor_booking->mentee_session_time, 11) > 11.59) {{substr($mentor_booking->mentee_session_time, 11)}} PM @else {{substr($mentor_booking->mentee_session_time, 11)}} AM @endif
@if($mentor_booking->mentee_session_time < now()) Ended @else Scheduled @endif @endif @if($mentor_booking->status == 'pending') @elseif($mentor_booking->status == 'rescheduled') Rescheduled @elseif($mentor_booking->status == 'accepted') @if($mentor_booking->mentee_session_time > now()) Start Session @elseif($mentor_booking->mentee_session_time < now()) Session closed @elseif($mentor_booking->mentee_session_time == now()) Start Session @endif @endifHold conversations in your mentorship group with your mentees
@elseYou've been added to this mentor's group
@endif View group @else @if($mentor->user_id == Auth::user()->id)To create a group for your mentees, you need to have a mentee
@elseNo group has been created yet
@endif @endif