@extends('layouts.collector') @section('title', 'Dashboard') @section('content')
Area: {{ $collector->area ?? 'Semua Area' }}
Target Hari Ini
{{ $todayTarget ?? 0 }}
Terkumpul Hari Ini
Rp {{ number_format($todayCollected ?? 0, 0, ',', '.') }}
Komisi Bulan Ini
Rp {{ number_format($monthCommission ?? 0, 0, ',', '.') }}
Belum Bayar
{{ $unpaidCount ?? 0 }}
{{ $invoice->customer->name ?? 'N/A' }}
{{ $invoice->invoice_number }} • {{ $invoice->customer->address ?? '' }}
Rp {{ number_format($invoice->total, 0, ',', '.') }}
{{ $invoice->isOverdue() ? 'Jatuh Tempo' : 'Belum Bayar' }}Semua tagihan sudah terbayar!
{{ $collection->invoice->customer->name ?? 'N/A' }}
{{ $collection->created_at->format('H:i') }}
Rp {{ number_format($collection->amount, 0, ',', '.') }}
Belum ada penagihan hari ini