@extends('storefront.layout') @section('title', 'Parcel Order Details - '.config('app.name', 'FreshMart')) @section('body_class', 'sf-no-bottom-nav') @section('content') @include('services.parcel._flow-style') @php $parcel = $order->parcelOrder; $pricing = $parcel?->pricing_breakdown ?? []; @endphp
Order Details

#{{ $order->order_number ?? $order->id }}

{{ \Illuminate\Support\Str::headline($order->status) }} - {{ \Illuminate\Support\Str::headline($order->payment_status ?? 'pending') }}

Route

Pickup{{ data_get($parcel, 'pickup_address.address', '-') }}
Drop{{ data_get($parcel, 'drop_address.address', '-') }}
Receiver{{ $parcel->receiver_name ?? '-' }}
Phone{{ $parcel->receiver_phone ?? '-' }}

Parcel

Category{{ $parcel->package_type ?? '-' }}
Weight{{ $parcel->weight_kg ?? 0 }} kg
Delivery{{ \Illuminate\Support\Str::headline($parcel->delivery_option ?? 'standard') }}
Fragile{{ $parcel?->is_fragile ? 'Yes' : 'No' }}

Fare

@include('services.parcel.components.fare-summary', ['pricing' => $pricing ?: ['total' => $order->total]])
@endsection