@section('title', (isset($page_title) ? $page_title . ' | ' : '') . config('app.name')) @section('breadcrumb', isset($page_title) ? $page_title : '')
@forelse ($list as $key => $data) @empty @endforelse
# User Product Info Location Price Info Date Info Status Actions
{{ $list->firstItem() + $loop->index }} @if($data->user)
Name:
{{ $data->user->name }} ({{ $data->user->user_code }})
Email:
{{ $data->user->email }}
Phone:
{{ $data->user->phone ?? 'N/A' }}
@else No user data available @endif
Package Type:
{{ $data->packageType->name ?? 'N/A' }}
Weight Category:
{{ $data->weightCategory->name ?? 'N/A' }} ({{ $data->weightCategory->weight_from ?? 0 }}-{{ $data->weightCategory->weight_to ?? 0 }} {{ $data->weightCategory->weight_unit ?? 'kg' }})
Urgency Level:
{{ $data->urgencyLevel->name ?? 'N/A' }}
Product Name:
@if ($data->product_url) {{ $data->product_name ?? 'N/A' }} @else {{ $data->product_name ?? 'N/A' }} @endif
@if (count($data->pick_product_photo) > 0)
Product Images:
@foreach ($data->pick_product_photo as $image) Product Image @endforeach
@endif
Dimensions:
{{ $data->dimensions ?? 'N/A' }}
Description:
{{ $data->description ?? 'N/A' }}
@php $pickup_location = $data->pickup_location; $delivery_location = $data->delivery_location; @endphp
Pickup Location:
@if($pickup_location && is_array($pickup_location)) @foreach($pickup_location as $cityKey => $value) @if(!in_array($cityKey, ['placeId', 'formattedAddress', 'latitude', 'longitude', 'postalCode']) && $value) {{ ucfirst($cityKey) }}: {{ $value }}
@endif @endforeach @else No data available @endif Address: {{ $data->pickup_address ?? 'N/A' }}
Delivery Location:
@if($delivery_location && is_array($delivery_location)) @foreach($delivery_location as $cityKey => $value) @if(!in_array($cityKey, ['placeId', 'formattedAddress', 'latitude', 'longitude', 'postalCode']) && $value) {{ ucfirst($cityKey) }}: {{ $value }}
@endif @endforeach @else No data available @endif Address: {{ $data->delivery_address ?? 'N/A' }}
Estimated Value:
{{ $data->estimated_value ? '₹ ' . number_format($data->estimated_value, 2) : 'N/A' }}
Price:
{{ $data->price ? '₹ ' . number_format($data->price, 2) : 'N/A' }}
Platform Fee:
{{ $data->platform_fee ? '₹ ' . number_format($data->platform_fee, 2) : 'N/A' }}
Insurance Fee:
{{ $data->insurance_fee ? '₹ ' . number_format($data->insurance_fee, 2) : 'N/A' }}
Preferred Delivery Date:
{{ $data->preferred_delivery_date }}
Created At:
{{ $data->created_at }}
{{ $data->status ?? 'Pending' }} View