@extends('layouts.store') @section('content')

Track Your Order

@if($query !== '' && ! $order)
No order found for "{{ $query }}".
@endif @if($order)

Order #: {{ $order->order_number }}

Status: {{ ucfirst($order->status) }}

Tracking Number: {{ $order->tracking_number ?? 'Not assigned yet' }}

Courier: {{ $order->courier_name ?? 'Not assigned yet' }}

Notes: {{ $order->tracking_notes ?? 'No notes yet' }}

@if($order->shipped_at)

Shipped At: {{ $order->shipped_at->format('d M Y, h:i A') }}

@endif @if($order->delivered_at)

Delivered At: {{ $order->delivered_at->format('d M Y, h:i A') }}

@endif
@endif
@endsection