@extends('layouts.master')
@section('title', 'Appointments - User')
@section('pagetitle', 'Appointments - User')
@section('content')
@include('layouts.partials.breadcrumbs', ['breadcrumbs' => [
['url' => route('user.dashboard'), 'title' => __('Home')],
['url' => route('user.appointments'), 'title' => __('Appointments')]
]])
@include('layouts.partials.messages')
Upcoming appointments
@forelse($upcomingAppointments as $upcomingAppointment)
{{$upcomingAppointment->getMeetingTime()->diffForHumans()}}
{{$upcomingAppointment->mentor->getFullName()}}
{{$upcomingAppointment->start}} - {{$upcomingAppointment->end}}
@empty
@endforelse
Recent appointments
@forelse($recentAppointments as $recentAppointment)
{{$recentAppointment->date->toFormattedDateString()}}
{{$recentAppointment->mentor->getFullName()}}
{{$recentAppointment->start}} - {{$recentAppointment->end}}
@empty
No recent appointments yet
@endforelse