Pass on the journal and update rules.

This commit is contained in:
James Cole
2022-12-11 07:29:06 +01:00
parent 44af5473a8
commit 344cbe4fb7
5 changed files with 67 additions and 52 deletions

View File

@@ -74,8 +74,7 @@ class PiggyBankEventFactory
return;
}
// amount can be negative.
$piggyRepos->addAmountToRepetition($repetition, $amount);
// amount can be negative here
$piggyRepos->addAmountToRepetition($repetition, $amount, $journal);
}
}