@foreach ($order->orderdetail as $orderdetail)
|
{{ (!empty($orderdetail->clientmap->pin->Name))?$orderdetail->clientmap->pin->Name:$orderdetail->productcode." Part" }}
|
{{ $orderdetail->quantity }} |
${{ $orderdetail->totalprice }} |
@endforeach
| |
| |
|
Subtotal
|
@php
$subtotal = number_format((float)($order->paymentamount - ($order->totalshippingcost + $order->salestax1 )) + $order->coupon_discount , 2, '.', '');
@endphp
${{ $subtotal }}
|
|
Shipping ({{ $order->shippingmethodname }} @if(!empty($order->shippingsurcharges))inc. surcharges of ${{ number_format((float)$order->shippingsurcharges, 2, '.', '') }}@endif)
|
${{ number_format((float) $order->totalshippingcost, 2, '.', '') }}
|
|
Estimated Tax ({{ round($order->salestaxrate1 * 100,2).'%' }})
|
${{ number_format((float) $order->salestax1, 2, '.', '') }}
|
|
Total
|
${{ number_format((float) ($order->paymentamount), 2, '.', '') }}
|