@extends('layouts.admin') @section('title', 'Subscribers') @section('admin')
{{ number_format($stats['total']) }} total · {{ number_format($stats['active']) }} active
| Name | Tags | Status | Subscribed | |||
|---|---|---|---|---|---|---|
| {{ $s->email }} | {{ trim($s->first_name.' '.$s->last_name) ?: '—' }} | @foreach($s->tags->take(4) as $tag) {{ $tag->name }} @endforeach | @php $color = ['active' => 'emerald', 'pending' => 'amber', 'unsubscribed' => 'gray', 'bounced' => 'red', 'complained' => 'red'][$s->status] ?? 'gray'; @endphp {{ $s->status }} | {{ optional($s->created_at)->diffForHumans() }} | ||
| No subscribers match your filters. | ||||||