@php
$i=0;
$grandtotal=0;
@endphp
@if($quotation)
@forelse ($quotation->details as $p=>$item)
| {{ ($i+1) }} |
{{$item->product->name_eng}}
|
|
{{--
{{$item->quantity}}
| --}}
|
|
|
@php
$grandtotal+=$subTotal=($item->quantity*$item->rate);
@endphp
|
@php
$i++;
@endphp
@empty
@endforelse
@endif