{{ $company['name'] }}
{{ $company['address'] }}
Telp: {{ $company['phone'] }} | Email: {{ $company['email'] }}
LAPORAN PELANGGAN
Tanggal Generate: {{ $generated_at->format('d F Y H:i') }}
Total Data: {{ $customers->count() }} pelanggan
@if(isset($filters['status']) && $filters['status'])
Filter Status: {{ $filters['status'] }}
@endif @if(isset($filters['area']) && $filters['area'])
Filter Area: {{ $filters['area'] }}
@endif
@foreach($customers as $index => $customer) @endforeach
No Nama Alamat Telepon Email Paket Status Tanggal Aktif
{{ $index + 1 }} {{ $customer->nama }} {{ Str::limit($customer->alamat, 30) }} {{ $customer->nomor_telepon }} {{ $customer->email ?? '-' }} {{ $customer->paket->nama_paket ?? '-' }} {{ $customer->status_layanan }} {{ $customer->tanggal_aktif?->format('d/m/Y') ?? '-' }}
Ringkasan Data
Total Pelanggan: {{ $customers->count() }}
Status Aktif: {{ $customers->where('status_layanan', 'Aktif')->count() }}
Status Nonaktif: {{ $customers->where('status_layanan', 'Nonaktif')->count() }}
Status Suspend: {{ $customers->where('status_layanan', 'Suspend')->count() }}