@extends('frontend.partials.master') @section('title') invoice @endsection @push('css') @endpush php $item = Cache::get('site_status'); $ecom_setting = $item ? json_decode($item) : null; @endphp @section('content')
@include('customer.includes.sidebar')

Print

CONTACT INFORMATION:

{{$ecom_setting->address}}

{{$ecom_setting->mobile}}

{{$ecom_setting->email}}

{{$ecom_setting->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->customer->address??''}}

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
{{ $item->product_name }}
@for($i=0;$iattributes());$i++) {{$i==0?'':','}} {{$item->attributes()[$i][0]}} : {{$item->attributes()[$i][1]}} @endfor
{{$item->quantity}} {{ priceFormat($item->price) }} {{ priceFormat($item->final_price) }}
Product Qty {{$order->items->sum('quantity')}} Subtotal {{ priceFormat($order->total_price) }}
Shipping @if($order->shipping_charge>0) @if($order->free_delivery) {{priceFormat($order->shipping_charge)}} FREE @else {{priceFormat($order->shipping_charge)}} @endif @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 {{$ecom_setting->title}}

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

Authorised Sign

@endsection @push('js') @endpush