@php $prediscount=0; @endphp @if (isset($order->order_detailss) && count($order->order_detailss) > 0) @foreach ($order->order_detailss as $key=> $order_detail) @php $prediscount+=$order_detail->discount_amount*$order_detail->quantity; @endphp @endforeach @endif @if($order->shipping_type_price) @endif
Invoice

Company Name - {{ $gstsetting->company_name }}

Address - {{ $gstsetting->invoice_address }}, {{ $gstsetting->cities->name }}, {{ $gstsetting->states->name }}, {{ $gstsetting->countries->name }}, {{ $gstsetting->pincode }}

Tax Number - {{ $gstsetting->gst_number }}

Invoice To

Name : {{ $order->name ?? 'None' }}

Address : {{ $order->address }}, {{ $order->cities->name }}, {{ $order->states->name }}, {{ $order->countries->name }}, {{ $order->pincode }}

Phone Number : {{ $order->mobile_number }}

Email Id : {{ $order->email }}

Payment Details

Invoice Number : {{ $gstsetting->invoice_prefix."-".$gstsetting->financial_year."/".$gstsetting->invoice_number }}

Order Date : {{ $order->created_at }}

Payment Status : {{ $order->payment_status }}

# Product Image Product Name MRP (Per QTY) Quantity (Per QTY) Pre-Discount Product Cost
{{++$key}} @if(isset($order_detail->product)) @else @endif {{ $order_detail->product_name }} ({{ $order_detail->product->categories->name }} / @if(isset($order_detail->product->subcategories)) {{ $order_detail->product->subcategories->name }} @else NA @endif / {{ $order_detail->brand_name }}) {{ $order_detail->mrp }}{{ $order_detail->quantity }} {{ $order_detail->discount_amount }} {{ $order_detail->total_price }}
Product Mrp Rs {{ $order->order_amount }}
Pre Discount Rs {{number_format( (float) $prediscount, 2, '.', '')}}
Coupon Discount Rs {{ $order->discount_amount }}
Sub Total Rs {{ $order->order_amount_after_discount }}
Shipping Fee Rs {{ $order->shipping_type_price }}
Grand Total Rs {{ $order->order_amount_with_shipping }}

Note:- All prices are including applicable taxes

Terms Conditions

{!! $terms_and_condition->content !!}