@include('admin.layouts.include.header')
Invoice
Invoice No :   {{isset($data) ? $data->order_number : ''}}
Date:  {{isset($data) ? \Carbon\Carbon::parse($data->created_at)->format('d M, Y') : ''}}

Invoice
Customer Name:
{{isset($data->user) ? $data->user->name : ''}}
Customer Mobile No:
{{isset($data->user) ? $data->user->phone_number : ''}}
Shipping Method:
{{ $data->shipping_method }}
Payment Method:
{{isset($data) && $data->is_cash_on_delivery ? 'COD' : $data->shipping_method }}
@if(isset($data->shipping))

Shipping Address

@if($data->shipping)

Name : {{ $data->shipping->name }}
City : {{ $data->shipping->city }}
State : {{ $data->shipping->state }}
Country :{{ $data->shipping->country }}
Zip Code : {{ $data->shipping->zip_code }}
Address :{{$data->shipping->address }}
Mobile No :{{ $data->shipping->phone_number }}

@endif

Billing Address

@if($data->shipping)

Name : {{ $data->shipping->name }}
City : {{ $data->shipping->city }}
State : {{ $data->shipping->state }}
Country :{{ $data->shipping->country }}
Zip Code : {{ $data->shipping->zip_code }}
Address :{{$data->shipping->address }}
Mobile No :{{ $data->shipping->phone_number }}

@endif
@endif
@if(isset($data->order_details) && count($data->order_details) > 0) @foreach($data->order_details as $item) @endforeach @endif
Item Description Unit Price Quantity Total
{{$item->name}} {{ allSettings('currency_symbol').' '.$item->product_price}} {{$item->quantity}} {{allSettings('currency_symbol').' '.$item->total_amount}}
Sub Total : {{isset($data) ? allSettings('currency_symbol').' '.$data->total_order_amount : 0 }}
Coupon Discount : {{isset($data) ?allSettings('currency_symbol').' '.$data->coupon_discount : 0 }}
Delivery Fee : {{isset($data) ? allSettings('currency_symbol').' '.$data->delivery_charge : 0 }}
Grand Total : {{isset($data) ? allSettings('currency_symbol').' '.$data->total_amount : 0 }}
@include('admin.layouts.include.footer') @include('admin.layouts.include.script')