| {{ optional($expense->date)->format('d/m/Y') ?? '-' }} |
{{ $expense->type ?? '-' }} |
{{ $expense->name ?? '-' }}
{{ $expense->is_active ? 'Aktif' : 'Nonaktif' }}
|
@if($expense->category == 'pengeluaran')
@php
$totalSaldo -= (int) $expense->total;
@endphp
-
@else
@php
$totalSaldo += (int) $expense->total;
@endphp
+
@endif
|
{{ money_format_idr($expense->nominal) ?? 'Rp.0,-' }}
×
{{ $expense->amount ?? '-'}}
|
{{ money_format_idr($expense->total) ?? '-' }} |
@empty