@foreach($accountingVouchers as $accountingVoucher) @foreach ($accountingVoucher->items as $key => $item ) @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 {{-- @if($i != $item->quantity - 1)
@endif --}} @endfor
{{ $company->name }}
{{ $item->stockItem->name }}
@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

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

(Inclusive of all taxes)

Mfg & Mktd By

{{ $company->name }}

Tel: {{ $company->phone }}

{{--

{{ $company->email }}

{{ $company->website }}

--}}
{{ $company->name }}
{{ $item->stockItem->name }}
@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

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

(Inclusive of all taxes)

Mfg & Mktd By

{{ $company->name }}

Tel: {{ $company->phone }}

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