@php $i=1; @endphp @foreach($bills as $name=>$bill) @php $i++; @endphp @endforeach
S.No Service Unit Quantity Unit Price Type
{{ $i }} {!! $name !!} {!! $bill->unit !!} {{$bill->quantity}} {{$bill->unit_price}} @if($bill->bill_type) {{$bill->billtype->name}} @else New @endif