@extends('layouts.app') @section('title', 'Bangladesh Unbound - Bookings') @section('page-title', 'All Bookings') @section('breadcrumb') @endsection @section('content')
| Order ID | Tour Name | Package Details | Tour Date | Active Status | Payment | Tour Guide | Actions | ||
|---|---|---|---|---|---|---|---|---|---|
| {{ $item['booking_no'] }} |
|
|
@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
{{ $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
|
{{ $item['tour_guide_first_name'] }} {{ $item['tour_guide_last_name'] }}
{{ $item['tour_guide_phone'] }}
|
Details |
||
| No bookings found. | |||||||||