INVOICE

Premium Foam Mattress
V-ID, NGEF Ancillary, Industrial Estate
Mahadevpura, Banglore - 560048
Landmark - Bhoruka Gasses
080 4557 0701
contact@hypnosindia.com
@php $PI_no = 1000 + $order->id; $invoice_date = Carbon\Carbon::parse($order->created_at)->format('d-m-Y'); @endphp
Invoice Number: {{$PI_no}}
Invoice Date: {{$invoice_date}}
bank_ref_num: {{$order->bank_ref_num}}
mihpayid: {{$order->mihpayid}}

ORDER ID : {{$order->order_id}}
@php $user_info = App\User::where('id',$order->user_id)->first(); $shipping_address_array = json_decode($order->shipping_address); $delivery_address_array = json_decode($order->billing_address); $shipping_address = ''; $delivery_address = ''; if(!empty($shipping_address_array)){ foreach ($shipping_address_array as $key => $shipping_address_value) { $shipping_address = $shipping_address. ' ' .$shipping_address_value.','; } }else{ $shipping_address = ''; } if(!empty($shipping_address_array)){ foreach ($delivery_address_array as $key => $delivery_address_value) { $delivery_address = $delivery_address. ' ' .$delivery_address_value.','; } }else{ $delivery_address= ''; } @endphp
NAME : {{!empty($user_info) ? $user_info->name : ""}}
EMAIL {{!empty($user_info) ? $user_info->email : ""}}
DATE {{$invoice_date}}


@if( count($productsInOrders) != 0 ) @php $sr = 1; @endphp @foreach( $productsInOrders as $productsInOrder ) {{-- --}} @php $sr++; @endphp @endforeach
SR.NO. PRODUCT NAME PRODUCT SKU COLOR/SIZE DIMENSION THICKNESS QTY MRP PRICE DISCOUNT PRICE TOTAL
{{$sr}} @if($productsInOrder->getProductInfo) {{$productsInOrder->getProductInfo->title}} @endif {{$productsInOrder->sku}} @if($productsInOrder->getColorInfo) {{$productsInOrder->getColorInfo->color}} @endif
@if($productsInOrder->getSizeInfo) {{$productsInOrder->getSizeInfo->size}} @else {{$productsInOrder->size}} @endif
{{$productsInOrder->dimension}} {{$productsInOrder->thickness}} {{$productsInOrder->quantity}} ₹{{$productsInOrder->mrp_price}} ₹{{$productsInOrder->discount_price}} ₹{{$productsInOrder->sub_total * $productsInOrder->quantity }}
SUBTOTAL ₹{{$order->without_discount_amount}}
COUPON DISCOUNT ₹{{$order->discount_amount}}
GRAND TOTAL ₹{{$order->total}}
@endif
ADDRESS :

{{$shipping_address}}

DELIVERY ADDRESS :

{{$delivery_address}}

Instructions :

{{$order->ordernote}}