@foreach ($accountingVouchers as $accountingVoucher) @foreach ($accountingVoucher->items as $key => $item) @if ($from != null && $to != null && $loop->iteration >= $from && $loop->iteration <= $to) @php $flag = true; @endphp @for ($i = 1; $i <= $item->quantity; $i++) @if ($flag == true) @endif @php $i = $i + 1; @endphp {{-- @endif --}} @php if ($i % 2 == 1 && $i == $item->quantity) { $flag = false; } @endphp @endfor
@if ($item->stockItem->internal_barcode != null)

{{ $item->stockItem->internal_barcode }}

@endif
{{ $company->name }}
{{ $item->stockItem->name }}
MRP:{{ $item->stockItem->mrp }}
{{ $loop->iteration }}/{{ $item->quantity }}
 

{!! DNS1D::getBarcodeHTML($item->stockItem->internal_barcode, 'C128', 1.6, 35) !!}

@if ($item->stockItem->internal_barcode != null)

{{ $item->stockItem->internal_barcode }}

@endif
{{ $company->name }}
{{ $item->stockItem->name }}
MRP:{{ $item->stockItem->mrp }}
{{ $loop->iteration }}/{{ $item->quantity }}
 

{!! DNS1D::getBarcodeHTML($item->stockItem->internal_barcode, 'C128', 1.6, 35) !!}

@endif @endforeach @if ($accountingVouchers->last() != $accountingVoucher)
@endif @endforeach