@foreach ($purchase->items as $purchaseKey => $purchaseItems) @endforeach
S.No. Product Qty. Rate Discount Tax Total
{{ $purchaseKey+1 }}. {{ $purchaseItems->product->product_name }} {{ round($purchaseItems->quantity,2) }} {{ number_format($purchaseItems->price,2) }} {{ round($purchaseItems->discount,2) }} % ({{ number_format($purchaseItems->discount_amt,2) }}) {{ round($purchaseItems->tax,2) }} % ({{ number_format($purchaseItems->tax_amt,2) }}) {{ number_format($purchaseItems->row_total,2) }}
Sub Total {{ number_format($purchase->sub_total,2) }}
Round Off {{ number_format($purchase->round_off,2) }}
Grand Total

{{ number_format($purchase->grand_total,2) }}