@foreach($list as $data) @php $pickup_location = $data->pickup_location; $delivery_location = $data->delivery_location; @endphp @endforeach
User Name User Email User Phone Package Type Weight Category Urgency Level Product Name Dimensions Pickup Address Pickup Location Delivery Address Delivery Location Estimated Value Price Platform Fee Insurance Fee Preferred Delivery Date Created At Status
{{ $data->user->name }} ({{ $data->user->user_code }}) {{ $data->user->email }} {{ $data->user->phone ?? 'N/A' }} {{ $data->packageType->name ?? 'N/A' }} {{ $data->weightCategory->name ?? 'N/A' }} ({{ $data->weightCategory->weight_from ?? 0 }} -{{ $data->weightCategory->weight_to ?? 0 }} {{ $data->weightCategory->weight_unit ?? 'kg' }}) {{ $data->urgencyLevel->name ?? 'N/A' }} {{ $data->product_name ?? 'N/A' }} {{ $data->dimensions ?? 'N/A' }} {{ $data->pickup_address ?? 'N/A' }} @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 N/A @endif {{ $data->delivery_address ?? 'N/A' }} @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 N/A @endif {{ $data->estimated_value ? '₹ ' . number_format($data->estimated_value, 2) : 'N/A' }} {{ $data->price ? '₹ ' . number_format($data->price, 2) : 'N/A' }} {{ $data->platform_fee ? '₹ ' . number_format($data->platform_fee, 2) : 'N/A' }} {{ $data->insurance_fee ? '₹ ' . number_format($data->insurance_fee, 2) : 'N/A' }} {{ $data->preferred_delivery_date }} {{ $data->created_at }} {{ $data->status }}