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

Thank you for shopping at {{Config::get('siteSetting.site_name')}}!

Your Order Tracking Id: {{$order['order_id']}}

We'll email you an order confirmation with details and tracking info.

Order Information

Order Details
Order ID: #{{$order['order_id']}}
Order Date: {{Carbon\Carbon::parse($order['order_date'])->format('M d, Y')}}
Shipping Status:: {{ $order['order_status'] }}
Payment Status: {{$order['payment_status']}}
Payment Method: {{$order['payment_method']}}
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'] }}
@foreach($order['order_details'] as $item) @endforeach @if($order['coupon_discount'] != null) @endif
Product Name Quantity Price Total
{{Str::limit($item['product']['title'], 50)}}
@foreach(json_decode($item['attributes']) as $key=>$value) {{$key}} : {{$value}} @endforeach
{{$item['qty']}} {{$order['currency_sign']. $item['price']}} {{$order['currency_sign']. $item['price']*$item['qty']}}
Sub-Total {{$order['currency_sign'] . $order['total_price']}}
Shipping Cost(+) {{$order['currency_sign'] . $order['shipping_cost']}}
Coupon Discount(-) {{$order['currency_sign'] . $order['coupon_discount']}}
Total {{$order['currency_sign'] . ($order['total_price'] + $order['shipping_cost'] - $order['coupon_discount']) }}
@endsection