@forelse ($bookingProducts as $productOrder) @php $image = $productOrder->user_profile_image; $productImage = $productOrder->product?->image_url; @endphp {{ $productOrder->booking->order_id ?? 'N/A' }} {{ $productOrder->booking->booking_date }}
{{-- ADD THE IMAGE ELEMENT HERE --}} product
{{ $productOrder->product_name }}
{{ $currency }}{{ $productOrder->gross_total }} {{ $productOrder->payment_type_label ?? '-' }} @if ($productOrder->user)
customer
{{ ucfirst($productOrder->user->name ?? $productOrder->booking->first_name) }}
@else Guest User @endif {{ $productOrder->quantity }} @if ($currentStatusKey == 'cancelled') By You @endif @if ($currentStatusKey == 'new')
@endif @if ($currentStatusKey == 'confirmed')
@endif @if ($currentStatusKey == 'shipped')
@endif @if ($currentStatusKey == 'delivered')
@endif @if ($currentStatusKey == 'cancelled')
@endif @empty {{ __('no_order_found') }} @endforelse @if ($bookingProducts->hasPages())
{{ $bookingProducts->links('pagination::bootstrap-5') }}
@endif