{{-- Complaint table of KlagomÄl in Admin (#2957 slice 16, card #3103). Included by complaint/index only. Expects: $data (collection of Complaint). Same columns as the old list: receiver, sendout, registered. --}} @php $pageRows = \App\Support\TablePagination::rows($data); @endphp @if ($data->isEmpty()) {{ __('complaint.nh.emptyText') }} {{ __('complaint.nh.create') }} @else @foreach ($pageRows as $complaint) @endforeach
{{ __('complaint.nh.receiverId') }} {{ __('complaint.nh.sendoutId') }} {{ __('complaint.nh.createdAt') }}
{{ $complaint->receiver_id }} {{ $complaint->sendout_id }} {{ \App\Support\DisplayDate::timestamp($complaint->created_at) }}
{{ __('complaint.nh.count', ['count' => formatNumber($data->count())]) }}
@endif