@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, ',', '.') }} | Rp{{ number_format($account->total_debet, 0, ',', '.') }} | Rp{{ number_format($account->total_kredit - $account->total_debet, 0, ',', '.') }} | {{ $account->total_transaction }} | {{ 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. | ||||||