@extends('layouts.admin') @section('title', 'Dashboard') @section('content')

Dashboard

Welcome back, {{ auth()->user()->name }}.

@if($canBookings)
{{ $newBookings }}New enquiries {{ $openQuotes }}Waiting on a quote reply {{ $confirmed }}Confirmed bookings {{ $monthBookings }}Requests this month
@endif
{{ $properties }}Live properties {{ $safaris }}Live safari packages {{ $destinations }}Destinations {{ $posts }}Published articles
@if($canBookings)

Latest requests

@if($latest->isEmpty())

No requests yet. They appear here when someone uses a form on the website.

@else @foreach($latest as $b) @endforeach
{{ $b->name }}
{{ $b->reference }} ยท {{ $b->typeLabel() }}
{{ $b->statusLabel() }} {{ $b->created_at->diffForHumans() }}
@endif

Arrivals in the next 14 days

@if($arrivals->isEmpty())

No confirmed arrivals coming up.

@else @foreach($arrivals as $b) @endforeach
{{ $b->name }}
{{ $b->property->name ?? $b->safariPackage->name ?? $b->destination ?? $b->typeLabel() }}
{{ $b->arrival->format('D j M') }} {{ $b->adults + $b->children }} guests
@endif
@endif @endsection