| Product Code |
Product Name |
Qty |
Price |
Total Price |
@php $totalPrice=NULL; $totalqty=NULL; $totalVAt=NULL; @endphp
@foreach($data->orderItems as $order)
| {{@$order->product->sku}} |
{{@$order->product->title}} |
{{$order->qty}} |
£ {{number_format($order->price ,2)}} |
£ {{number_format(($order->price*$order->qty),2)}} |
@php $totalPrice +=$order->price*$order->qty; $totalqty +=$order->qty; $totalVAt +=$vat; @endphp
@endforeach
| {{$totalqty}} | Total |
£ {{number_format($totalPrice,2)}} |
| VAT ({{@$setting->tax}}%) |
£ {{number_format($totalVAt,2)}} |
| Delivery Charge |
£ {{number_format($data->shippingCharge,2)}} |
@if($data->discount)
| Discount |
£ {{number_format($data->discount,2)}} |
@endif
| Total Amount |
£ {{number_format(($data->totalAmt-$data->discount),2)}} |