@extends('layouts.app', ['title' => 'Admin Order Detail | Print Cards']) @section('content')

{{ $order->order_number }}

{{ $order->user?->name }} | {{ $order->user?->email }}

Back
@foreach($order->items as $item)
{{ $item->item_name }}
{{ $item->page_size }} | {{ strtoupper($item->print_mode) }} | {{ ucfirst($item->sides) }} sided | {{ $item->copies }} copies
Binding: {{ ucfirst($item->binding_type) }} | Lamination: {{ ucfirst($item->lamination_type) }} | PVC: {{ $item->pvc_printing ? 'Yes' : 'No' }}
@endforeach

Delivery Address

{{ $order->address?->recipient_name }}
{{ $order->address?->line1 }}
{{ $order->address?->city }}, {{ $order->address?->state }} - {{ $order->address?->postal_code }}

Tracking Timeline

@forelse($order->trackingUpdates as $update)
{{ $update->title }}
{{ ucfirst($update->status) }} | {{ $update->created_at->format('d M Y h:i A') }}
@if($update->location)
Location: {{ $update->location }}
@endif @if($update->description)
{{ $update->description }}
@endif
@empty

No tracking updates recorded yet.

@endforelse

Update Status

@csrf @method('PATCH')
@endsection