@php $i = 0;@endphp @foreach ($items as $key => $item) @if( $i % 3 == 0 ) @endif @if( $i === 2 || $loop->last ) @php $i = 0; @endphp @else @php $i++; @endphp @endif @endforeach
@foreach ($columns as $key => $column) @if(isset($item[$column->name])) @if(is_array($item[$column->name])) @include('documentcreator::reports.templates.json', ['result' => $item[$column->name]]) @else

@php $label = generateTranslationKey($column->label); @endphp {{ __("forms".".".$label) }}: {!! $item[$column->name] !!}

@endif @endif @endforeach