@extends('layouts.collector') @section('title', 'Riwayat Penagihan') @section('content')
Total Terkumpul (Bulan Ini)
Rp {{ number_format($totalCollected ?? 0, 0, ',', '.') }}
Total Komisi (Bulan Ini)
Rp {{ number_format($totalCommission ?? 0, 0, ',', '.') }}
| Waktu | Pelanggan | Invoice | Jumlah | Metode | Komisi |
|---|---|---|---|---|---|
| {{ $payment->created_at->format('d M Y H:i') }} |
{{ $payment->invoice->customer->name ?? 'N/A' }}
|
{{ $payment->invoice->invoice_number ?? '-' }} | Rp {{ number_format($payment->amount, 0, ',', '.') }} | {{ ucfirst($payment->payment_method) }} | +Rp {{ number_format($payment->commission, 0, ',', '.') }} |
|
Belum ada riwayat penagihan |
|||||