@extends('layouts.master') @section('content')

Total Packages

{{ $totalPackages ?? 0 }}

Active Bookings

{{ $totalBookings ?? 0 }}

Total Inquiries

{{ $totalInquiries ?? 0 }}

Newsletter Subscribers

{{ $totalSubscribers ?? 0 }}

Recent Bookings

@forelse($recentBookings ?? [] as $booking) @empty @endforelse
Customer Package People Date
{{ $booking->name }}

{{ $booking->email }}

{{ $booking->package->title ?? 'N/A' }} {{ $booking->no_of_people }} {{ $booking->departure_date ? \Carbon\Carbon::parse($booking->departure_date)->format('M d, Y') : 'N/A' }}
No recent bookings found

Quick Stats

Featured Packages

{{ $featuredPackages ?? 0 }}

Package Reviews

{{ $totalReviews ?? 0 }}

Team Members

{{ $totalTeamMembers ?? 0 }}

Blog Posts

{{ $totalBlogs ?? 0 }}

Recent Inquiries

@forelse($recentInquiries ?? [] as $inquiry) @empty @endforelse
{{ "$inquiry->first_name $inquiry->last_name" }}

{{ Str::limit($inquiry->subject ?? $inquiry->message, 50) }}

{{ $inquiry->created_at ? $inquiry->created_at->diffForHumans() : 'N/A' }} @if($inquiry->seen) Read @else Unread @endif
No recent inquiries found

Top Packages

@forelse($topPackages ?? [] as $package) @empty @endforelse
{{ Str::limit($package->title, 30) }}

{{ $package->country }} • {{ $package->days }} days

{{ $package->view ?? 0 }} views @if($package->is_featured) Featured @endif @if($package->status) Active @else Inactive @endif
No packages found
@endsection @push('scripts') @endpush