@foreach($clients as $client)

{{ $client->name }}


{{ $client->Controlboxes->count() . ' ' . __('Box(es) installed') }}
@php $boxesWithRemarks = $client->countControlboxesWithRemarks; @endphp @if($boxesWithRemarks !== 0) @else @endif {{ $boxesWithRemarks . ' ' . __('Box(es) with remarks') }}
@endforeach