@endif
@foreach([['Assets',$equipment,'assets','name','assets'],['Fleet',$fleet,'assets','plate','vehicles'],['Vacancies',$vacancies,'recruitment','title','vacancies']] as [$label,$matches,$path,$field,$listKey])
{{ $label }}
{{ $matches->count() }} matches
@php($matchRows=\App\Support\ListView::rows($matches,$listKey))@forelse($matchRows as $match){{ $match->$field }}@empty