@extends('lodge.admin-layout') @section('title','Bookings & overview') @section('section-label',request('section') === 'photos' ? 'Photographs' : (request('section') === 'bookings' ? 'Bookings' : 'Overview')) @section('content') @php $section = request('section', 'overview'); $items = $bookings->getCollection(); $allCount = $bookings->total(); $pendingOnPage = $items->where('status','pending')->count(); $confirmedOnPage = $items->where('status','confirmed')->count(); $revenueOnPage = $items->where('status','confirmed')->sum('total_pence') / 100; @endphp @if($section === 'photos')
Manage the photographs displayed on your lodge website.
Add new images to your lodge gallery.
{{ $section === 'bookings' ? 'Review reservations and update booking statuses.' : 'Here’s what’s happening with your lodge bookings.' }}
Manage guest reservations and their current status.
| Reference | Guest | Stay dates | Guests | Amount | Status | Update |
|---|---|---|---|---|---|---|
| {{ $b->reference }} | {{ $b->guest_name }}{{ $b->guest_email }}@if($b->guest_phone){{ $b->guest_phone }}@endif | {{ $b->check_in?->format('d M Y') }} to {{ $b->check_out?->format('d M Y') }} | {{ $b->guests }} | £{{ number_format($b->total_pence/100,2) }} | {{ ucfirst($b->status) }} | |
| No bookings yet. New reservations will appear here. | ||||||