@if (session()->has('success'))

{{ session('success') }}

@endif @if (session()->has('error'))

{{ session('error') }}

@endif

Import Bookings

Import booking data from Excel files

Total Bookings

{{ \App\Models\Booking::count() }}

Recent Imports

{{ \App\Models\Booking::whereDate('created_at', today())->count() }}

Active Channels

{{ \App\Models\BookingChannel::where('is_active', true)->count() }}

Upload Excel File

Upload Excel File

Excel files (.xlsx, .xls, .csv) up to 10MB

@if($file)
{{ $file->getClientOriginalName() }}
@endif @error('file')
{{ $message }}
@enderror
Processing file...
@if($file)
@endif

Excel Format Requirements

Your Excel file must have these columns in order:

  • booking_reference - Unique booking ID
  • pnr - Passenger Name Record
  • flight_number - Must match existing flight
  • channel_code - Must match existing channel code (e.g., GDS, TAMAIR)
  • booking_date - Format: YYYY-MM-DD or DD/MM/YYYY
  • total_amount - Numeric value
  • num_passengers - Number of passengers (optional, defaults to 1)

Recent Activity

@php $recentBookings = \App\Models\Booking::with(['bookingChannel', 'flight']) ->latest() ->take(5) ->get(); @endphp @forelse($recentBookings as $booking)

{{ $booking->booking_reference }}

{{ $booking->bookingChannel->name }} • {{ $booking->flight->flight_number }}

${{ number_format($booking->total_amount, 2) }}

{{ $booking->created_at->diffForHumans() }}

@empty

No recent bookings

@endforelse