@extends('layout.main') @section('title', 'Daftar Akun') @section('prev-page') Home @endsection @section('content')
| Akun | Nilai Kredit | Nilai Debet | Sisa Saldo | Jumlah Transaksi | Transaksi Terakhir | Status |
|---|---|---|---|---|---|---|
| {{ $account->name }} | Rp{{ number_format($account->total_kredit ?? 0, 0, ',', '.') }} | Rp{{ number_format($account->total_debet ?? 0, 0, ',', '.') }} | Rp{{ number_format(($account->total_kredit ?? 0) - ($account->total_debet ?? 0), 0, ',', '.') }} | {{ $account->total_transaction ?? 0 }} | {{ $account->latest ? date_format(date_create($account->latest), 'd M Y') : '-' }} | @php $statusList = \App\Models\TransactionAccount::STATUS; $statusObj = collect($statusList)->firstWhere('id', $account->status) ?? ['name' => '-', 'color' => '#ccc']; @endphp {{ $statusObj['name'] }} |
| Belum ada data. | ||||||