Restore todo's

This commit is contained in:
James Cole
2022-10-30 11:43:17 +01:00
parent e3181e90df
commit d28326cc89
64 changed files with 102 additions and 104 deletions

View File

@@ -100,9 +100,9 @@ trait AccountServiceTrait
}
/**
* Update meta data for account. Depends on type which fields are valid.
* Update metadata for account. Depends on type which fields are valid.
*
* See reference nr. 97
* TODO this method treats expense accounts and liabilities the same way (tries to save interest)
*
* @param Account $account
* @param array $data
@@ -525,7 +525,7 @@ trait AccountServiceTrait
}
/**
* See reference nr. 99
* TODO refactor to "getfirstjournal"
*
* @param TransactionGroup $group
*
@@ -544,7 +544,7 @@ trait AccountServiceTrait
}
/**
* See reference nr. 98
* TODO Rename to getOpposingTransaction
*
* @param TransactionJournal $journal
* @param Account $account

View File

@@ -148,7 +148,7 @@ trait RecurringTransactionTrait
if (array_key_exists('foreign_amount', $array) && '' === (string) $array['foreign_amount']) {
unset($array['foreign_amount']);
}
// See reference nr. 100
// TODO typeOverrule. The account validator may have a different opinion on the type of the transaction.
$transaction = new RecurrenceTransaction(
[
'recurrence_id' => $recurrence->id,