@foreach($accountingVouchers as $accountingVoucher) @foreach ($accountingVoucher->items as $item ) @for($i=0; $i<$item->quantity; $i++)
{{ $company->name }}
{{ $company->address_2 }}
@if($item->stockItem->internal_barcode != null)

{!! DNS1D::getBarcodeHTML($item->stockItem->internal_barcode, 'C39', 1, 15) !!}

@endif

{{ $item->stockItem->name }}

MRP: {{ $item->stockItem->mrp }}

@php $variant = App\Models\Variant::find($item->variant_id); @endphp @if($item->variant_id != null) @foreach ($variant->attributes as $attribute)

{{$attribute->attribute->name }}:{{ $attribute->attributeValue->value }}

@endforeach @endif
@if($i != $item->quantity - 1)
@endif @endfor @if($accountingVoucher->items->last() != $item)
@endif @endforeach @if($accountingVouchers->last() != $accountingVoucher)
@endif @endforeach