@php $i = 0;@endphp @foreach ($items as $key => $item) @if( $i % 4 == 0 ) @endif @if( $i === 3 || $loop->last ) @php $i = 0; @endphp @else @php $i++; @endphp @endif @endforeach
@if( isset( $fileColumns['photograph'] ) ) {!! $item['photograph'] !!} @endif @foreach ($columns as $key => $column) @php if($column->name == "photograph") { continue; }@endphp @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