Hi {{ $order_content->name ?? '' }},

@if(!empty($location))

{{ $location->invoice_description ?? '' }}

@endif

{{ $order->order_no }}

{{ $order->created_at->format('d-F-Y') }}

Payment status : @if($order->payment_status==2) Pending @elseif($order->payment_status==1) Paid @elseif($order->payment_status==0) Fail @elseif($order->payment_status==3) Incomplete @endif

Order Status : {{ ucfirst(str_replace('-',' ',$order->status)) }}

@foreach($order->order_item_with_file as $key=>$orderitem) @endforeach @if($order_content->coupon_discount > 0) @endif @if($order->order_type == 1) @endif

Description

Amount

{{ $orderitem->term->title }} x {{ $orderitem->qty }}
@php $variations=json_decode($orderitem->info); @endphp @foreach ($variations->attribute ?? [] as $item) {{ __('Variation') }} : {{ $item->attribute->name ?? '' }} - {{ $item->variation->name ?? '' }} @endforeach @foreach ($variations->options ?? [] as $option) {{ __('Options') }} : {{ $option->name ?? '' }} @endforeach @if($order->status == 'completed' && $order->payment_status == 1)
@foreach ($orderitem->file ?? [] as $file) Download @endforeach @endif
{{ number_format($orderitem->amount*$orderitem->qty,2) }}

Discount

{{ number_format($order_content->coupon_discount,2) }}

Tax

{{ number_format($order->tax,2) }}

Shippping

{{ number_format($order->shipping,2) }}

Subtotal

{{ number_format($order_content->sub_total) }}

Total

{{ number_format($order->total,2) }}

@if(!empty($location))

Cheers,
{{ $location->company_name }}

@endif

Thank you for your order

@if(!empty($location))

© {{ date('Y') }} {{ $location->company_name }}. All rights reserved.

{{ $location->company_name }} {{ $location->zip_code }}, {{ $location->address }}
{{ $location->city }},

@endif