@if (session()->has('message'))
{!! session('message') !!}
@endif

Your Product Order History


@foreach ($orders->sortDesc() as $order) @if ($order->shipping) @if ($order->shipping) @else @endif @endif @endforeach
Image Product Name tracking ID Quantity Total Amount Status Action
@foreach (json_decode($order->product->images) as $image) @if ($loop->first) {{$order->product->name}} @endif @endforeach {{$order->product->name}}{{$order->shipping->tracking_code}}Null{{$order->quantity}} ${{number_format(($order->quantity * $order->amount), 2, '.', ',')}} @switch($order->status) @case(0) Pending @break @case(1) Approved @break @case(2) Shipped @break @case(-1) Declined @break @default Delivered @break @endswitch View