@forelse ($bookings as $booking) @php $image = $booking->user_profile_image; $productImage = $booking->product?->image_url; @endphp {{ $booking->order_id ?? 'N/A' }} {{ $booking->created_date }}
service
{{-- CORRECTED: Access source_name through the product relationship --}}
{{ $booking->product->source_name ?? 'N/A' }}
{{ $currency }}{{ number_format($booking->service_amount, 2) }} {{ $booking->payment_type_label ?? '-' }} @if ($booking->user)
customer
{{ $booking->user->name ?? $booking->first_name }}
@else {{ $booking->first_name }} (Guest) @endif {{ $booking->booking_date ?? '-' }} {{-- Action buttons remain the same --}}
@if ($currentStatusKey == 'new') @elseif ($currentStatusKey == 'ongoing') @elseif ($currentStatusKey == 'completed') @elseif ($currentStatusKey == 'cancelled') @endif
@empty {{ __('no_bookings_found_for_this_status') }} @endforelse @if ($bookings->hasPages())
{{ $bookings->links('pagination::bootstrap-5') }}
@endif