@extends('layouts.frontend') @section('title', 'Tracking Details | '. Config::get('siteSetting.site_name') ) @section('metatag') @if($order->order_details[0]->product) @endif @endsection @section('css') @endsection @section('content')

Tracking Details

    @if($order->payment_method == 'pending')
  • Payment @if('cod' == 'cod') Pending @endif
  • @endif
  • order_status == 'pending' && $order->payment_method != 'pending') class="orderprocess" @endif @if($order->order_status != 'pending' && $order->payment_method != 'pending') class="active" @endif >Order placed
  • @if($order->order_status != 'cancel')
  • order_status == 'accepted') class="orderprocess" @endif @if($order->order_status == 'on-delivery' || $order->order_status == 'ready-to-ship' || $order->order_status == 'accepted' || $order->order_status == 'delivered') class="active" @endif>Processing
  • order_status == 'ready-to-ship') class="orderprocess" @endif @if($order->order_status == 'on-delivery' || $order->order_status == 'ready-to-ship' || $order->order_status == 'delivered') class="active" @endif>Ready to ship
  • order_status == 'on-delivery') class="orderprocess" @endif @if($order->order_status == 'delivered') class="active" @endif>On Delivery
  • order_status == 'delivered') class="active" @endif >Delivered
  • @else
  • Cancel
  • @endif
@if($order->payment_method == 'pending') @else @endif
Order Details Payment Pending Pay Now Order Details
Order ID: #{{$order->order_id}}
Order Date: {{Carbon\Carbon::parse($order->order_date)->format(Config::get('siteSetting.date_format'))}}
Shipping Status:: {{ $order['order_status'] }}
Payment Status: {{$order->payment_status}}
Payment Method: {{$order->payment_method}} @if($order->shipping_method)
Shipping Method:{{ $order->shipping_method->name }} @endif
@foreach($order->order_details as $order_detail) @endforeach
Product Quantity Price Total
{{Str::limit($order_detail->product->title, 50)}}
@if($order_detail->attributes) @foreach(json_decode($order_detail->attributes) as $key=>$value) {{$key}} : {{$value}} @endforeach @endif
{{$order_detail->qty}} {{$order->currency_sign. $order_detail->price}} {{$order->currency_sign. $order_detail->price*$order_detail->qty}}
@if(count($order->voucherTimelines)>0)

Voucher Delivery Timeline

@if(count($order->voucherTimelines)>0) @foreach($order->voucherTimelines as $index => $voucherTimeline) @endforeach @else @endif
# Invoice Customer Shipping Address Status
{{$index+1}} {{$voucherTimeline->invoice_id}}
{{\Carbon\Carbon::parse($voucherTimeline->invoice_date)->format(Config::get('siteSetting.date_format'))}}
{{ $voucherTimeline->shipping_name }}

{{ $voucherTimeline->shipping_phone }}

{{ $voucherTimeline->shipping_address }}, {{ $voucherTimeline->shipping_area }}, {{ $voucherTimeline->shipping_city }}, {{ $voucherTimeline->shipping_region }} {{ str_replace('-', ' ', $voucherTimeline->status)}}
There was no delivery @if($order->order_status != 'closed' && $order->order_status != 'cancel') @endif
@endif
@if(count($related_products)>0)
Related products @foreach($related_products as $product)
{{\App\Http\Controllers\HelperController::ratting(round($product->reviews->avg('ratting'), 1))}}