@php $colors = ['facebook' => '#1877f2', 'instagram' => '#d62976', 'tiktok' => '#22d3ee', 'youtube' => '#ef4444', 'linkedin' => '#0a66c2', 'threads' => '#a855f7']; @endphp
| Customer | Connected platforms | Total | Last reported | |
|---|---|---|---|---|
|
{{ strtoupper(substr($r->name ?: $r->email, 0, 1)) }}
{{ $r->name }} {{ $r->email }} |
@forelse ($acc as $p => $n)
@if ($n > 0)
{{ ucfirst($p) }} · {{ $n }}
@endif
@empty
none
@endforelse
|
{{ array_sum($acc) }} | {{ $r->reported_at ? \Carbon\Carbon::parse($r->reported_at)->diffForHumans() : '—' }} | |
| No connected accounts reported yet. | ||||
{{ $viewingUser->email }} · {{ $viewingUser->socialAccounts->count() }} synced {{ \Illuminate\Support\Str::plural('account', $viewingUser->socialAccounts->count()) }}