{{ __('messages.bookings') }}

{{ __('messages.add_booking') }}

Total Debit:

Total Outsource Credit:

Total Outsource Purchase:

@forelse ($bookings as $key => $booking) @empty @endforelse
# {{ __('messages.booking_type') }} {{ __('messages.travel_date') }} {{ __('messages.travel_time') }} {{ __('messages.partner') }} {{ __('messages.employee') }} {{ __('messages.vehicle') }} {{ __('messages.passenger_name') }} {{ __('messages.passenger_phone') }} {{ __('messages.airline') }} {{ __('messages.pickup_location') }} {{ __('messages.dropoff_location') }} {{ __('messages.created_at') }} {{ __('messages.debit') }} {{ __('messages.outsource_credit') }} {{ __('messages.outsource_purchase') }} {{ __('messages.status') }} {{ __('messages.payment_status') }} {{ __('messages.action') }}
{{ $booking->id }} {{ $booking->on_road ? __('messages.on_road') : ($booking->outsource ? __('messages.outsource') : __('messages.regular')) }} {{ $booking->travel_date }} {{ $booking->travel_time ?? __('-') }} {{ $booking->partner ? $booking->partner->company : __('messages.no_partner') }} {{ $booking->employee ? $booking->employee->fname . ' ' . $booking->employee->lname : __('messages.no_driver') }} {{ $booking->vehicle ? $booking->vehicle->name : __('messages.no_vehicle_selected') }} {{ $booking->passenger_name ?? __('-') }} {{ $booking->passenger_phone ?? __('-') }} {{ $booking->airline ?? __('-') }} {{ $booking->pickup_location }} {{ $booking->dropoff_location }} {{ $booking->created_at->format('d-m-Y H:i') }} {{ $booking->debit }} {{ $booking->outsource_credit }} {{ $booking->outsource_purchase }}
{{ strtoupper($booking->status) }}
@if ($booking->outsource) @if ($booking->outsourceExpense)
Paid
@else
Unpaid
@endif @else - @endif
@csrf @method('DELETE')
{{ __('messages.no_bookings_found') }}