@if($page == 'billing')
@endif @if ($id > 0) Add New @elseif($page != 'billing') Add New @endif
@if($page == 'billing')
@endif
{{-- --}} @if($page != 'billing') @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') {{-- @dd($list); --}} @else @endif @php $product_price += preg_replace("/[^0-9.]/", "", $list['amount']); @endphp @php $i++; @endphp @endforeach @else @endif
ITEM NAME Details PACK QTY LOOSE QTY BASIC PRICE DIS.% DIS.AMT. TAX TAX AMOUNTAMOUNTDelete
{{ $list['product'] ?? '' }}
{{ $list['batch'] ?? '' }}, @if(isset($list['expiry_date'])) {{ $list['expiry_date'] ?? '' }} @endif
{{ $list['tax_per'] ?? '' }}%
{{ convertDecimelPoint($list['tax_flat'] ?? '') }} {{-- --}}
{{ convertDecimelPoint($list['amount'] ?? ($list['amount'] ?? '')) }}
Rate: {!! convertDecimelPoint($list['product_mrp']) ?? '' !!}
{{ $list['product_detail'] ?? '' }} {{ convertDecimelPoint($list['main_qty'] ?? '') }} {{ $list['loose_qty'] ?? '' }} {{ convertDecimelPoint($list['product_price']) ?? '' }} {{ convertDecimelPoint($list['per_discount'] ?? '') }} {{ convertDecimelPoint ($list['flat_discount'] ?? '') }} {{ $list['tax_per'] ?? '' }}%
{{ convertDecimelPoint($list['tax_flat'] ?? '') }}
{{ convertDecimelPoint($list['amount'] ?? ($list['amount'] ?? '')) }}
Rate: {!! convertDecimelPoint($list['product_mrp']) ?? '' !!}
No Data Found
@if($page == 'billing')
@endif @if ($product_price > 0) @endif