@if($order)

{{env('APP_NAME')}}

{{env('APP_ADDRESS')}}

Phone: {{env('APP_PHONE')}}

Email: {{env('APP_EMAIL')}}

Invoice to

{{$order->first_name}} {{$order->last_name}}

Country: {{$order->country}}

Address: {{ $order->address1 }} OR {{ $order->address2}}

Phone: {{ $order->phone }}

Email: {{ $order->email }}

Invoice #{{$order->cart_id}}

{{ $order->created_at->format('D d m Y') }}

{{-- --}}
Order Details
@foreach($order->cart_info as $cart) @php $product=DB::table('products')->select('title')->where('id',$cart->product_id)->get(); @endphp @endforeach {{-- @if(!empty($order->coupon)) @endif --}}
Product Quantity Total
@foreach($product as $pro) {{$pro->title}} @endforeach x{{$cart->quantity}} ${{number_format($cart->price,2)}}
Subtotal: ${{number_format($order->sub_total,2)}}
Discount: -{{$order->coupon->discount(Helper::orderPrice($order->id, $order->user->id))}}{{Helper::base_currency()}}
Shipping: ${{number_format($order->delivery_charge,2)}}
Total: ${{number_format($order->total_amount,2)}}

Thank you for your business !!

-----------------------------------

Authority Signature:
@else
Invalid
@endif