@extends('layouts.frontend') @section('title', 'Invoice #'. $order->order_id) @section('css') @endsection @section('content')
@include('users.inc.sidebar')

{{$order->payment_status}}

INVOICE NO: #{{$order->order_id}}


Logo
{{Config::get('siteSetting.address')}}
Phone: {{Config::get('siteSetting.phone')}}
Email: {{Config::get('siteSetting.email')}}

{{$order->shipping_name}} @if($order->shipping_email)
{{$order->shipping_email}}@endif
{{$order->shipping_phone}}
{!! $order->shipping_address. ', '. $order->shipping_area. ', '. $order->shipping_city. ', '. $order->shipping_region !!} @if($order->order_notes)
Notes: {{$order->order_notes}}@endif
Order ID: #{{$order->order_id}}
Order Date: {{Carbon\Carbon::parse($order->order_date)->format('M d, Y')}}
Order Status: {{ str_replace( '-', ' ', $order['order_status']) }}
Payment Method: {{str_replace( '-', ' ', $order->payment_method) }}
@if($order->shipping_method)Shipping Method: {{ $order->shipping_method->name }}
@endif
@foreach($order->order_details as $item) @endforeach @if($order['coupon_discount'] != null) @endif
Product Quantity Price Sub Total
{{ $item->product->title }}
@if($item->attributes) @foreach(json_decode($item->attributes) as $key=>$value) @if($key) {{$key}} : @endif {{$value}} @endforeach @endif
{{$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) ? $order->shipping_cost : 0}}
Coupon Discount(-) {{$order->currency_sign . $order->coupon_discount}}

Total

{{$order->currency_sign . ($order->total_price + $order->shipping_cost - $order->coupon_discount) }}

@endsection @section('js') @endsection