@extends('layouts.app') @section('title', 'Bangladesh Unbound - Bookings') @section('page-title', 'All Bookings') @section('breadcrumb') @endsection @section('content')

Bookings All Bookings

Showing 1-5 of 5 results
@forelse ($bookings['data'] as $item) @empty @endforelse
Order ID Tour Name Package Details Tour Date Active Status Payment Tour Guide Actions
{{ $item['booking_no'] }} Tour {{ $item['tour_package_name'] }} Package {{ $item['tour_package_duration'] }} @php $fromDate = $item['tour_package_from_date'] ?? null; $toDate = $item['tour_package_to_date'] ?? null; $fromFormatted = $fromDate ? \Carbon\Carbon::parse($fromDate)->format('d M Y') : null; $toFormatted = $toDate ? \Carbon\Carbon::parse($toDate)->format('d M Y') : null; @endphp
Date @if ($fromFormatted && $toFormatted) {{ $fromFormatted }} -
{{ $toFormatted }} @else N/A @endif
@switch($item['booking_status_name']) @case('Ongoing') Ongoing @break @case('Upcoming') Upcoming @break @case('Completed') Completed @break @case('Booked') Booked @break @case('Cancelled') Cancelled @break @default Unknown @endswitch
৳ {{ number_format($item['paid_amount'], 2) }} Paid
@if ($item['due_amount'] > 0)
৳ {{ number_format($item['due_amount'], 2) }} Due
@endif @if ($item['coupon_amount'])
Coupon ৳{{number_format($item['coupon_amount'], 2)}} Used
@endif @if ($item['due_amount'] > 0) @endif
Guide
{{ $item['tour_guide_first_name'] }} {{ $item['tour_guide_last_name'] }}
{{ $item['tour_guide_phone'] }}
Details Details-Icon
No bookings found.
{{-- Showing {{ $bookings['from'] }} to {{ $bookings['to'] }} of {{ $bookings['total'] }} entries --}}
@endsection @include('customer.booking.partials.pay-due') @push('scripts') @endpush