@foreach ($ledgers as $index => $ledger)
@endforeach
{{ $ledger->name }}
{{ $ledger->financeSubAccount->name }}
{{--
Edit
--}}
Closing Balance
{{ number_format($accountLedger->balance, 2) }}
Description: {{ $accountLedger->description }}
Recent Transactions
| DATE | TRANSACTION DETAILS | TYPE | DEBIT | CREDIT |
|---|---|---|---|---|
| {{ $financeTransaction->created_at?->format('d/m/Y') }} | {{ $financeTransaction->description }} | {{ strtoupper($financeTransaction->payment_type) }} | @if ($financeTransaction->payment_type == 'debit') {{ number_format($financeTransaction->amount, 2) }} @else 0 @endif | @if ($financeTransaction->payment_type == 'credit') {{ number_format($financeTransaction->amount, 2) }} @else 0 @endif |
| No Record | ||||