Use correct methods.

This commit is contained in:
James Cole
2020-03-31 07:41:48 +02:00
parent 8d3fc18ca6
commit ae2b28fdee
2 changed files with 6 additions and 0 deletions

View File

@@ -106,6 +106,8 @@ trait RecurringTransactionTrait
throw new FireflyException(sprintf('Destination invalid: %s', $validator->destError)); // @codeCoverageIgnore
}
// TODO typeOverrule: the account validator may have another opinion on the transaction type.
$transaction = new RecurrenceTransaction(
[
'recurrence_id' => $recurrence->id,