Hello {{ $orderDetails['getuser']['name'] }},

Thanks for your order with {{ config('constants.project_name') }}.

We have started processing your order subject to payment realisation and will send you dispatch details on shipment. Kindly let us know if your address & contact information mentioned below is incorrect. We usually deliver in 4 to 6 working days depending upon your location. You can check the status of your order by logging into your account.

Your order details are as below:

Your Order #{{ $orderDetails['id'] }} placed on {{ date('d F Y h:i:a',strtotime( $orderDetails['created_at'])) }}

Purchasing Information:
E-mail Address: {{ $orderDetails['getuser']['email'] }}
Billing Address:
{{ $orderDetails['order_address']['billing_first_name'] }}
{{ $orderDetails['order_address']['billing_address'] }}
{{ $orderDetails['order_address']['billing_city'] }}
{{ $orderDetails['order_address']['billing_state'] }}
{{ $orderDetails['order_address']['billing_postcode'] }}
{{ $orderDetails['order_address']['billing_country'] }}
Billing Phone:
{{ $orderDetails['order_address']['billing_mobile'] }}
Shipping Address:
{{ $orderDetails['order_address']['shipping_first_name'] }}
{{ $orderDetails['order_address']['shipping_address'] }}
{{ $orderDetails['order_address']['shipping_city'] }}
{{ $orderDetails['order_address']['shipping_state'] }}
{{ $orderDetails['order_address']['shipping_postcode'] }}
{{ $orderDetails['order_address']['shipping_country'] }}
Shipping Phone:
{{ $orderDetails['order_address']['shipping_mobile'] }}
Order Grand Total: INR {{formatAmt($orderDetails['grand_total'])}}
Payment Method: {{CustomFunction::get_payment_method($orderDetails['payment_method'])}}
Order Summary:
Order #: {{ $orderDetails['id'] }}
Order Date: {{ date('d F Y h:i:a',strtotime( $orderDetails['created_at'])) }}

Products on order: 
@foreach($orderDetails['order_products'] as $product) @endforeach @if(!empty($orderDetails['coupon_discount'])) @endif
Product code Product name Category Color Qty Unit Price Price
{{$product['product_code']}} {{$product['product_name']}} {{$product['category_name']}} {{ $product['productdetail']['productcolor']}} {{ $product['product_qty']}} {{formatAmt($product['subtotal']/$product['product_qty'])}} {{formatAmt($product['subtotal']) }}
          Sub Total: {{ number_format($grandtotal) }}
Coupon Discount: {{ $orderDetails['coupon_discount'] }}
Coupon Code: {{ $orderDetails['coupon_code'] }}
Order Status: {{ $orderDetails['order_status'] }}
Shipping Method: Standard delivery
  ------
Grand Total :  (Inclusive of all taxes and shipping charges) :INR {{formatAmt($orderDetails['grand_total'])}}