@extends('web.layout.master') @section('content')

Thank you for your Order!

Order Number : {{ $orderid }}

Access your Order at any Order!

@csrf @if(!auth()->check())
@endif

Minimum 8 characters

A lowercase letter

A capital (uppercase) letter

A number Or special character

We've sent an email confirmation to
{{ (auth()->check()) ? auth()->user()->emailaddress : $order->coustomer->emailaddress }}.


   Shipping Address
{{ $order->shipfirstname }} {{ $order->shiplastname }}
@if(!empty($order->shipcompanyname)) {{ $order->shipcompanyname }}
@endif

{{ $order->shipaddress1 }}

@if(!empty($order->shipaddress2))

{{ $order->shipaddress2 }}

@endif

{{ $order->shipcity }} {{ $order->shipstate }} {{ $order->shippostalcode }}

{{ $order->shipcountry }}

@if(!empty($order->shippingmethodname))

{{ $order->shippingmethodname }}

@endif

     Billing Address
{{ $order->billingfirstname }} {{ $order->billinglastname }}
@if(!empty($order->billingcompanyname)) {{ $order->billingcompanyname }}
@endif

{{ $order->billingaddress1 }}

@if(!empty($order->billingaddress2))

{{ $order->billingaddress2 }}

@endif

{{ $order->billingcity }} {{ $order->billingstate }} {{ $order->billingpostalcode }}

{{ $order->billingcountry }}


    Payment Method
@if(empty($paypal_order_id))
@if($cardType == 'mastercard') @else @endif
.... .... {{ substr($card_number, -4) }}

{{ $expiry_month }}/{{ substr($expiry_year, -4) }}

@else @if($order->paymentlog->pay_paymentmethodid == '35')
@elseif($order->paymentlog->pay_paymentmethodid == '36')
@elseif($order->paymentlog->pay_paymentmethodid == '37')
@else
{{ $paypalemail }}
@endif @endif

Item Summary ({{ $quantity }} item)

@foreach ($order->orderdetail as $orderdetail)
Product Image

{{ (!empty($orderdetail->pin->Name))?$orderdetail->pin->Name:$orderdetail->productcode }}

Product Code: {{ !empty($orderdetail->productcode) ? $orderdetail->productcode : "" }}

Qty: {{ $orderdetail->quantity }}

{{ $orderdetail->quantity }} Qty

${{ $orderdetail->totalprice }}


@endforeach

Need help with your order ?

Give us a call at 866-243-2721 or email us at

info@partsvana.com

@php $subtotal = number_format((float)($order->paymentamount - ($order->totalshippingcost + $order->salestax1 )) + $order->coupon_discount , 2, '.', ''); @endphp

Order Summary

Subtotal
${{ $subtotal }}
@if(!empty($order->coupon_discount)) @php $discountPer = (($order->coupon_discount / $subtotal) * 100) @endphp
Discount ({{ $order->coupon_code }} - {{ round($discountPer) .'%' }})
-${{ number_format((float)$order->coupon_discount, 2, '.', '') }}
@endif
Estimated Shipping @if(!empty($order->shippingmethodname)) ({{ $order->shippingmethodname }} @if(!empty($order->shippingsurcharges))inc. surcharges of ${{ number_format((float)$order->shippingsurcharges, 2, '.', '') }}@endif) @endif
${{ number_format((float)$order->totalshippingcost, 2, '.', '') }}
Estimated Tax @if(!empty(request()->isadmin)) ({{ round($order->salestaxrate1 *100,2).'%' }}) @endif
${{ number_format((float)$order->salestax1, 2, '.', '') }}


Order Total
${{ number_format((float)($order->paymentamount), 2, '.', '') }}
@if($order->is_google_order == 0) @endif @endsection