@php $loop_count = 0; @endphp @foreach($product_details as $details) @while($details['qty'] > 0) @php $loop_count += 1; $is_new_row = true; @endphp {{-- Paper Internal --}}
Name:{{$details['details']->product_name}} {{-- Price --}} {{-- @if(!empty($print['price'])) Price: @if($print['price_type'] == 'inclusive') {{$details['details']->sell_price_inc_tax}} @else {{$details['details']->default_sell_price}} @endif @endif --}} Price: {{$details['details']->default_sell_price}} {{-- Barcode --}} {{-- --}}
@php $details['qty'] = $details['qty'] - 1; @endphp @endwhile @endforeach