Keuangan & Kas

Saldo Kas Saat Ini

Rp {{ number_format($balance, 0, ',', '.') }}

Total Masuk + Rp {{ number_format($totalIncome, 0, ',', '.') }}
Total Keluar - Rp {{ number_format($totalExpense, 0, ',', '.') }}

Jatah Gaji Owner (50% Profit)

Akumulasi

Bisa Diambil Saat Ini

Rp {{ number_format($availableSalary, 0, ',', '.') }}

Sudah Diambil

Rp {{ number_format($totalSalaryTaken, 0, ',', '.') }}

@if($availableSalary > 0)
@endif

Riwayat Transaksi

@forelse($transactions as $trx)
{{ $trx->date->format('d M Y') }}
{{ str_replace('_', ' ', $trx->category) }}
{{ $trx->description ?? '-' }}
{{ $trx->type == 'income' ? '+' : '-' }} Rp {{ number_format($trx->amount, 0, ',', '.') }}
@if(!$trx->reference_id) @else Otomatis @endif
@empty
Belum ada data transaksi.
@endforelse
{{ $transactions->links() }}