Saldo Awal
Rp
{{ number_format($startCash, 0, ',', '.') }}
(-) Pengeluaran
{{ $dailyExpense ? 'Rp ' . $dailyExpense : '-' }}
(=) Saldo Seharusnya
Rp
{{ number_format($startCash - (float) str_replace('.', '', $dailyExpense ?? 0), 0, ',', '.') }}
Uang Fisik (Laci)
{{ $dailyCashOnHand ? 'Rp ' . $dailyCashOnHand : '-' }}
@php
$calcIncome = $this->calculatedIncome;
@endphp
Hasil Perhitungan Sistem:
@if($calcIncome > 0)
Omset / Pemasukan: Rp
{{ number_format($calcIncome, 0, ',', '.') }}
@elseif($calcIncome < 0)
Selisih Kurang (Minus): Rp
{{ number_format(abs($calcIncome), 0, ',', '.') }}
@else
Balance (0)
@endif