Add transfer type

This commit is contained in:
James Cole
2025-04-26 17:29:10 +02:00
parent a0e9b05680
commit 50803a2c24
3 changed files with 72 additions and 0 deletions

View File

@@ -89,6 +89,7 @@ class AccountBalanceCalculator
}
$set = $query->get(['transactions.id', 'transactions.balance_dirty', 'transactions.transaction_currency_id', 'transaction_journals.date', 'transactions.account_id', 'transactions.amount']);
Log::debug(sprintf('Counted %d transaction(s)', $set->count()));
// the balance value is an array.
// first entry is the balance, second is the date.