@include(App\Models\General::first()->theme.'.alerts')
Print
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)
| {{ $item->product_name }} |
{{$item->quantity}} |
{{ priceFormat($item->price) }} |
{{ priceFormat($item->final_price) }} |
@endforeach
| 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