track your product
Now you can track your product easily
@if($order->image)
@endif
@empty
@endforelse
{{-- Item id: | {{ $order->tracking_number }} |
Item Name: | {{ $order->item }} |
Shipping date: | {{ $order->departed_at ? $order->departed_at->format('jS M, Y') : 'Still in origin' }} |
Order status: | {{ replaceAndCapitalize($order->latestShipment->status) }} |
Origin: | {{ $order->origin }} |
Destination: | {{ $order->destination }} |
Current Location: | @if($order->latestShipment->location) {{ $order->latestShipment->address }}, {{ $order->latestShipment->location }} @else Item in Origin @endif |
Quantity: | {{ $order->quantity }} |
Width: | {{ $order->width }}cm |
Height: | {{ $order->height ?? '' }}cm |
Weight: | {{ $order->weight ?? '' }}Kg |
SENDER
Name: | {{ $order->sender_name }} |
Email: | {{ $order->sender_email }} |
RECEIVER
Name: | {{ $order->receiver_name }} |
Email: | {{ $order->receiver_email }} |
Phone: | {{ $order->receiver_phone }} |
Address: | {{$order->receiver_address}} |
Shipment/Payments
Shipment Type: | {{ $order->shipment_type }} |
Payment Mode: | {{ $order->payment_mode ?? ' - ' }} |
Insurance: | {{ $order->insurance_amount ? '$'.$order->insurance_amount : ' - ' }} |
Clearance: | {{ $order->clearance_amount ? '$'.$order->clearance_amount : ' - ' }} |
Shipping Fee: | {{ $order->shipping_amount ? '$'.$order->shipping_amount : ' - ' }} |
Total Freight: | {{ $order->total_freight ? '$'.$order->total_freight : ' - ' }} |
Tracking History
@forelse($order->shipment as $shipment)-
{{ $shipment->status_at->format('Y/m/d') }}
{{ replaceAndCapitalize($shipment->status) }}
{{ $shipment->status_at->format('h:i A') }}
{{ $shipment->address . ', '. $shipment->location }}
@endif{{ $shipment->status_message }}
FROM
{{ $order->origin }}
[ {{ \Carbon\Carbon::parse($order->expected_at)->diffInDays(\Carbon\Carbon::now()) }} days ]
currently in
{{ $order->latestShipment->location }}
to
{{ $order->destination }}
NO SHIPMENT WITH ORDER NUMBER {{ $orderNumber }}
@endif