@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')

Appointments

Upcoming appointments

@forelse($upcomingAppointments as $upcomingAppointment)

{{$upcomingAppointment->getMeetingTime()->diffForHumans()}}

{{$upcomingAppointment->mentor->getFullName()}}

{{$upcomingAppointment->start}} - {{$upcomingAppointment->end}}

@empty

No upcoming appointments

@endforelse

Recent appointments

@forelse($recentAppointments as $recentAppointment)

{{$recentAppointment->date->toFormattedDateString()}}

{{$recentAppointment->mentor->getFullName()}}

{{$recentAppointment->start}} - {{$recentAppointment->end}}

@empty

No recent appointments yet

@endforelse
@endsection @section('scripts') {!! JsValidator::formRequest('Guildroom\Http\Requests\Mentor\CreateNewAppointment', '#appointment-form') !!} {!! JsValidator::formRequest('Guildroom\Http\Requests\Mentor\EditAppointment', '#appointment-form-edit') !!} @stop