{{--
--}} {{--

Order Details

--}} {{--

Order Details Print

--}}

Order Summary

ORDER DATE: {{ date('n/d/Y g:i A', strtotime($order->orderdate)) }}
ORDER #:{{ $order->orderid }}
PAYMENT METHOD : @if(!empty($order->paymentlog->pay_details)) @if(!empty($order->paymentlog->pay_paymentmethodid) && $order->paymentlog->pay_paymentmethodid == '13') {{ 'Purchase order # '.$order->paymentlog->pay_details }} @else {{ !empty($order->paymentlog->pay_details) ? $order->paymentlog->pay_details : "Credit Card" }} @endif @else @if($order->paymentlog->pay_paymentmethodid == '35') Affirm @else Paypal @endif @endif
TOTAL${{ number_format((float)($order->paymentamount), 2, '.', '') }}
@if(empty(request()->isSuccess))
TRACKING # @if(!empty($order->trackingnumber)) @foreach ($order->trackingnumber as $ot) {{ $ot }}
@endforeach @else - @endif
@endif
{{--
SHIPPING METHOD NAME: {{ !empty($order->shippingmethodname) ? $order->shippingmethodname :"-" }}
--}}

Ship to

{{ $order->shipfirstname }} {{ $order->shiplastname }}

{{ $order->shipaddress1 }}

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

{{ $order->shipaddress2 }}

@endif

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

{{ $order->shipcountry }}

{{ $order->billingphonenumber }}

Bill to

{{ $order->billingfirstname }} {{ $order->billinglastname }}

{{ $order->billingaddress1 }}

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

{{ $order->billingaddress2 }}

@endif

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

{{ $order->billingcountry }}

{{ $order->billingphonenumber }}

{{ $order->coustomer->emailaddress }}
Product
Qty
Price
@foreach ($order->orderdetail as $orderdetail)

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

{{--

Model: {{ $orderdetail->productcode }}

--}} {{--
Standard Return Policy
--}}
{{ $orderdetail->quantity }}
${{ $orderdetail->totalprice }}
@endforeach @php $subtotal = number_format((float)($order->paymentamount - ($order->totalshippingcost + $order->salestax1 )) + $order->coupon_discount , 2, '.', ''); @endphp
Subtotal
${{ $subtotal }}
@if(!empty($order->coupon_discount))
Discount ({{ $order->coupon_code }})
- ${{ number_format((float)$order->coupon_discount, 2, '.', '') }}
@endif
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, '.', '') }}
@if(!empty($order->shippingsurcharges)) {{--
Shipping Surcharges
${{ number_format((float)$order->shippingsurcharges, 2, '.', '') }}
--}} @endif
Estimated Tax @if(!empty(request()->isadmin)) ({{ round($order->salestaxrate1 *100,2).'%' }}) @endif
${{ number_format((float)$order->salestax1, 2, '.', '') }}
Total
${{ number_format((float)($order->paymentamount), 2, '.', '') }}