@section('title', 'Reports')
@section('top-menu-items')
| Transaction Date | Customer Company | Order # | Wp Order Id | Product Name | Quantity | Subtotal |
|---|---|---|---|---|---|---|
| {{ $order->bookings->min('booking_date') ? \Carbon\Carbon::parse($order->bookings->min('booking_date'))->format('Y-m-d') : '--' }} | {{ $order->orderable?->partner?->organization_name ?? 'Cash Customer' }} | {{ $order->id }} | {{ $order->wp_order_id }} | @if($detail['tour_id']) {{ $detail['tour_name'] }} @else {{ 'N/A'}} @endif | {{ $detail['passenger_count'] }} | {{ number_format($detail['total_price'], 2) }} |
| No Bookings found. | ||||||