@extends('layouts.frontend') @section('title', 'Order information | '. Config::get('siteSetting.site_name') ) @section('css') @endsection @section('content')
@include('users.inc.sidebar')

Order Details #{{ $order->order_id }}

    @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') @elseif($order->shipping_cost == null && $order->offer_id != null) @else @endif
Order Details Payment Pending Pay Now Order Details Payment Pending Pay Shipping Cost 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
Payment Address Shipping Address
{{$order->billing_name}}
{{$order->billing_email}}
{{$order->billing_phone}}
{{ $order->billing_address }} @if( $order->get_area), {{ $order->get_area->name}} @endif @if($order->get_city), {{$order->get_city->name}}, @endif @if($order->get_state), {{$order->get_state->name}} @endif
{{$order->shipping_name}}
{{$order->shipping_email}}
{{$order->shipping_phone}}
{{ $order->shipping_address. ', '. $order->shipping_area. ', '. $order->shipping_city. ', '. $order->shipping_region }}
@if(count($order->order_details)>0) @foreach($order->order_details as $order_detail) @if($order_detail->product)
Product Name Quantity Price Total Status
{{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($order_detail->product->product_type == 'add-to-download' && $order_detail->shipping_status == 'delivered') @if($order_detail->product->file_link) Download
@endif @if($order_detail->product->file) Download @endif @else {{ str_replace('-', ' ', $order_detail->shipping_status)}} @endif