@extends('layouts.master')
@section('title', 'Appointments - Alumnus')
@section('pagetitle', 'Appointments - Alumnus')
@section('styles')
@endsection
@section('content')
@include('layouts.partials.breadcrumbs', ['breadcrumbs' => [
['url' => route('dashboard'), 'title' => __('Home')],
['url' => route('mentor.appointments'), 'title' => __('Appointments')]
]])
@include('layouts.partials.messages')
Upcoming Appointments
@forelse($upcomingAppointments as $upcomingAppointment)
{{$upcomingAppointment->getMeetingTime()->diffForHumans()}}
{{$upcomingAppointment->mentee->getFullName()}}
{{$upcomingAppointment->start}} - {{$upcomingAppointment->end}}
@if(!is_null($upcomingAppointment->appointment_location))
({{$upcomingAppointment->appointment_location}})
@endif
@empty
@endforelse
Recent appointments
@forelse($recentAppointments as $recentAppointment)
{{$recentAppointment->date->toFormattedDateString()}}
{{$recentAppointment->mentee->getFullName()}}
{{$recentAppointment->start}} - {{$recentAppointment->end}}
@empty
No recent appointments yet
@endforelse
Schedule Appointments
close
@endsection
@section('scripts')
{!! JsValidator::formRequest('Guildroom\Http\Requests\Mentor\CreateNewAppointment', '#appointment-form') !!}
{!! JsValidator::formRequest('Guildroom\Http\Requests\Mentor\EditAppointment', '#appointment-form-edit')!!}
@stop