{{ __('Dashboard') }}

Total Revenue

{{ $currencySymbol }} {{ number_format(array_sum($totalRevenue), 2) }}

Last 12 months
Total Users

{{ number_format($total_users) }}

Registered users
Total Hotels

{{ number_format($total_hotels) }}

Active listings
Total Tours

{{ number_format($total_tours) }}

Active packages

Revenue Overview

Daily Bookings

Revenue Distribution

Latest Flight Orders

View All →
@forelse($flight_orders as $order) @php $passengerDetails = is_string($order->passenger_details) ? json_decode($order->passenger_details, true) : $order->passenger_details; $passengers = array_values($passengerDetails ?? []); $fullNames = collect($passengers)->map(function($p) { return trim(($p['given_name'] ?? '') . ' ' . ($p['family_name'] ?? '')); })->unique()->implode(', '); $adultsCount = collect($passengers)->where('type', 'adults')->count(); $nextDeparture = $order->departure_date ? \Carbon\Carbon::parse($order->departure_date)->format('d/m/Y H:i') : '-'; @endphp @empty @endforelse
# Airline Status Passenger(s) Flight From Flight To Adults Departure Total Booked On Actions
{{ $loop->iteration }} @if($order->airline_code ?? false) {{ $order->airline_code }} @else - @endif {{ ucfirst($order->booking_status) }} {{ $fullNames }} {{ $order->origin_code ?? '-' }} {{ $order->destination_code ?? '-' }} {{ $order->adults ?? 0 }} {{ $nextDeparture }} {{ $order->currency }} {{ number_format($order->total_amount, 2) }} {{ $order->created_at ? \Carbon\Carbon::parse($order->created_at)->format('d/m/Y') : '-' }} View
No flight orders found.

Latest Tour Bookings

View All →
@forelse($tour_bookings as $booking) @empty @endforelse
Booking Ref Customer Tour Title Passengers Departure Date Total Amount Status Action
{{ $booking->booking_reference }}
{{ $booking->user->name ?? 'N/A' }}
{{ $booking->user->email ?? 'N/A' }}
{{ $booking->tour->title ?? 'N/A' }}
@if($booking->adults > 0) {{ $booking->adults }} Adults @endif @if($booking->children > 0) {{ $booking->children }} Children @endif
@if($booking->departure_date)
{{ date('d M Y', strtotime($booking->departure_date)) }}
{{ date('D', strtotime($booking->departure_date)) }}
@else N/A @endif
{{ $currencySymbol }} {{ number_format($booking->total_amount) }}
{{ ucfirst($booking->status) }} View Details
No tour bookings found.

Latest Hotel Bookings

View All →
@foreach($hotel_bookings as $booking) @php $user = App\Models\User::find($booking->user_id); $hotel = App\Models\ModulesData::find($booking->hotel_id); @endphp @endforeach
User Name Hotel Name Travelling From Check-in Date Price Status Payment Via Action
{{ $user->name }} {{ $hotel->title }} {{ $booking->travelling_from }} {{ date('d M Y l', strtotime($booking->check_in)) }}
{{ $currencySymbol }} {{ number_format($booking->price, 2) }}
{{ ucfirst($booking->status) }} {{ $booking->payment_via }} View Details