Riwayat mutasi per akun dengan saldo berjalan.
Akun
{{ $selectedAccount['code'] }} — {{ $selectedAccount['name'] }}
Saldo Akhir
Rp {{ number_format(collect($ledgerLines)->last()['running_balance'] ?? 0, 0, ',', '.') }}
| Tanggal | No. Jurnal | Keterangan | Debit | Kredit | Saldo |
|---|---|---|---|---|---|
| {{ \Carbon\Carbon::parse($line['journal_entry']['journal_date'] ?? null)?->format('d M Y') }} | {{ $line['journal_entry']['journal_number'] ?? '-' }} | {{ $line['description'] ?: ($line['journal_entry']['description'] ?? '-') }} | {{ $line['debit'] > 0 ? 'Rp '.number_format($line['debit'], 0, ',', '.') : '-' }} | {{ $line['credit'] > 0 ? 'Rp '.number_format($line['credit'], 0, ',', '.') : '-' }} | Rp {{ number_format(abs($line['running_balance']), 0, ',', '.') }} {{ $line['running_balance'] < 0 ? '(K)' : '' }} |
| Tidak ada mutasi pada akun ini. | |||||
| TOTAL | Rp {{ number_format($totalDebit, 0, ',', '.') }} | Rp {{ number_format($totalCredit, 0, ',', '.') }} | Rp {{ number_format(abs($totalDebit - $totalCredit), 0, ',', '.') }} | ||
Pilih akun di atas untuk melihat buku besar