@foreach($payments as $payment) @endforeach
Laporan Pemasukan: {{ $start_date }} s/d {{ $end_date }}
Tanggal No. Invoice Nama Pelanggan No. Resi / Ref Jumlah (Rp)
{{ \Carbon\Carbon::parse($payment->paid_date)->format('d-m-Y') }} {{ $payment->invoice->invoice_number ?? '-' }} {{ $payment->customer->name ?? '-' }} {{ $payment->receipt_number ?? '-' }} {{ $payment->amount_paid }}
TOTAL: {{ $total }}