@extends('layout.layout') @php $title = 'Laporan'; $subTitle = 'Ringkasan pembayaran & riwayat transaksi pelanggan'; @endphp @section('content')
Total Lunas
Belum Bayar
Total Transaksi
Pemasukan Bulan Ini
| # | ID Tagihan | Pelanggan | Total | Status | Metode | Tgl Dibuat | Tgl Dibayar |
|---|---|---|---|---|---|---|---|
| {{ $invoices->firstItem() + $index }} | {{ $inv->invoice_number }} | {{ $inv->user->name ?? '-' }} | Rp {{ number_format($inv->total_amount, 0, ',', '.') }} | @if($inv->status == 'paid') Lunas @else Belum Bayar @endif | {{ $inv->payment_method ? str_replace('_', ' ', ucfirst($inv->payment_method)) : '-' }} | {{ $inv->created_at->format('d M Y, H:i') }} | {{ $inv->paid_at ? $inv->paid_at->format('d M Y, H:i') : '-' }} |
|
|
|||||||