@extends(App\Models\General::first()->theme.'.layouts.app') @section('title') invoice | {{App\Models\General::first()->title}} | {{App\Models\General::first()->subtitle}} @endsection @section('SEO') @endsection @push('css') @endpush @section('contents')
@include(App\Models\General::first()->theme.'.customer.includes.sidebar')
@include(App\Models\General::first()->theme.'.alerts')

Print

CONTACT INFORMATION:

{{general()->address_one}}

{{general()->mobile}}

{{general()->email}}

{{general()->website}}


INVOICE

Order From:

@if($order->name) {{$order->name}} @else {{$order->user?$order->user->name:''}} @endif

@if($order->mobile) {{$order->mobile}} @else {{$order->user?$order->user->mobile:''}} @endif

@if($order->email) {{$order->email}} @else {{$order->user?$order->user->email:''}} @endif

{{$order->fullAddress()}}

Invoice Number : {{ $order->invoice }}
Invoice Date : {{ $order->created_at->format('d-m-Y h:i A') }}
Order Status : {{ ucfirst($order->order_status)}}
Order Date : {{ $order->created_at->format('d-m-Y h:i A') }}
Method : {{ ucfirst($order->payment_method)}}
Payment : {{ ucfirst($order->payment_status)}}
@foreach($order->items as $i=>$item) @endforeach
Product Name & Description Quantity Unit Price Total Price ({{general()->currency}})
{{ $item->product_name }} {{$item->quantity}} {{ priceFormat($item->price) }} {{ priceFormat($item->final_price) }}
Product Qty {{$order->items->sum('quantity')}} Subtotal {{ priceFormat($order->total_price) }}
Tax {{ priceFormat($order->tax) }}
Shipping @if($order->shipping_charge>0) {{priceFormat($order->shipping_charge)}} @else Free Shipping @endif
Grand Total {{ priceFormat($order->grand_total) }}
@if($order->payment_status=='paid')
@endif
@if($order->note)
Order Note

{!!$order->note!!}

@endif

Thank you for shopping from {{general()->title}}

------------------------

Authorised Sign

@endsection @push('js') @endpush