@extends('user.usermaster2') @section('title', 'Orders') @section('stylesheet') @endsection {{-- @section('breadcrumb') Orders @endsection --}} @section('body')

Quick Tracking Order

{{--

--}}
@if(session("alert")) @endif @if(isset($order))
ORDER DETAIL
{{ $order['order_no'] }}
{{ date('d M Y H:i A',$order->created_at->timestamp) }}
{{ $order->status }}

Customer Information:
{{ $order->name }}
{{ $order->last_name }}
{{ $order->email }}
{{ $order->phone }}
{{ $order->country }}
{{ $order->state }}
{{ $order->street }}
{{ $order->postal_code }}

Delivery Details:
{{ $order->tracking_number }}
{{ $order->delivery_through }}

Order Products :
@foreach($order->getProducts as $product) @endforeach
Product Pack Size Quantity Price
{{ $product->name }} {{ $product->pivot->size }} {{ $product->pivot->color }}
{{ $product->unit }} {{ $product->pivot->quantity }} {{ $product->pivot->total_amount }}
Total: ${{ $order->total_price }} USD


@else {{--
No Result
--}} @endif


@endsection