@section('title', 'Item Details') @section('breadcrumbs') {{ Breadcrumbs::render('items.show', $item) }} @endsection
@if(session('success'))
@endif
Tracking: {{ $item->tracking_number }}
Item ID: {{ $item->id }}
Customer:{{ optional($item->user)->name ?? 'N/A' }}
Category:{{ $item->category->name ?? 'N/A' }}
Quantity:{{ $item->quantity ?? '0' }}
Weight:{{ $item->weight ? $item->weight . ' kg' : 'N/A' }}
Status: {{ ucfirst($item->status) }}
Shipping From:{{ $item->shipping_from ?? 'N/A' }}
Shipping To:{{ $item->shipping_to ?? 'N/A' }}
Assigned Package: @if($item->package) {{ $item->package->tracking_number }} @else Not Assigned @endif
Created At:{{ $item->created_at->format('d M, Y h:i A') }}
Item Image
@if($item->image) Item Image @else

No Image Available

@endif
Back to Items @if(Auth::user()->hasRole('administrator')) Edit Item
@csrf
@endif