@include('components/favicon_Icons') {{-- --}} {{$title}} {{-- werkt niet hier--}} @include('components/favicon_Icons') @include('labels.kix-code')
{{-- --}} @php use App\Models\Family; @endphp @php $nbrOfColumns = 2 @endphp @if ($dataArrayName == 'families') @foreach($families->chunk($nbrOfColumns) as $chunks)
@foreach($chunks as $chunk) {{--
--}}
@if ($loop->first)
@else
@endif @if (isset($chunk))
{{__('families.fields.neighbourhood.label')}}: {{ $chunk->neighbourhood }}

{{ $chunk->prefix }} {{ $chunk->initials }} {{ $chunk->preposition }} {{ $chunk->familyname }}
{{ $chunk->address }} {{ $chunk->house_number }}
{{ $chunk->postal_code }} {{ $chunk->residence }}
@if ((!($chunk->country)) or (strtoupper($chunk->country) == strtoupper("nederland")))
@else
@endif @php echo App\Http\Controllers\LabelsController::makekixcode($chunk->country,$chunk->postal_code,$chunk->house_number); @endphp
@endif
{{--
--}}
@endforeach
@endforeach @else @foreach($members->chunk($nbrOfColumns) as $chunks)
@foreach($chunks as $chunk)
@if ($loop->first)
@else
@endif @if (isset($chunk)) @php $family = Family::where('id', '=', $chunk->family_id )->first(); /* dd($family->familyname); */ @endphp
{{__('families.fields.neighbourhood.label')}}: {{ $family->neighbourhood }}

{{ $chunk->prefix }} {{ $chunk->initials }} {{ $chunk->preposition }} {{ $chunk->familyname }}
{{ $family->address }} {{ $family->house_number }}
{{ $family->postal_code }} {{ $family->residence }}
@if ((!($family->country)) or (strtoupper($family->country) == strtoupper("nederland")))
@else
@endif @php echo App\Http\Controllers\LabelsController::makekixcode($family->country,$family->postal_code,$family->house_number); @endphp
@endif
@endforeach
@endforeach @endif {{--
--}}