@if($page == 'billing')
@endif @if($id > 0) Add New @elseif($page != 'billing') Add New @endif
@if($page == 'billing')
@endif
@if($page != 'billing' || $page == 'edit') @endif @php $i = 1;$product_price = 0; @endphp @if(isset($data['products']) && count($data['products']) > 0) @foreach($data['products'] as $key => $list) @if($page != 'billing' || $page == 'edit') @else @endif @php $product_price += preg_replace("/[^0-9.]/", "", $list['amount']); @endphp @php $i++; @endphp @endforeach @else @endif
ITEM NAME PRICE DIS.% DIS.AMT. AMOUNTDelete
{{$list['product'] ?? ''}}
@if(isset($list['hsncode']) && $list['hsncode'] != '')Code: {{$list['hsncode'] ?? ''}},@endif @if($list['brand']!='N/A')Brand: {{$list['brand'] ?? ''}}@endif
{{$list['amount'] ?? ($list['product_price'] ?? '')}} {{ convertDecimelPoint($list['product_price']) ?? ''}} {{$list['per_discount'] ?? ''}} {{ convertDecimelPoint($list['flat_discount']) ?? ''}} {{ convertDecimelPoint($list['amount']) ?? (convertDecimelPoint($list['product_price']) ?? '')}}
No Data Found
@if($page == 'billing')
@endif @if( $product_price > 0) @endif