mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-17 09:51:40 +00:00
API works for multi-account piggies, the rest throws an exception
This commit is contained in:
@@ -45,6 +45,7 @@ trait ModifiesPiggyBanks
|
||||
|
||||
public function addAmountToRepetition(PiggyBankRepetition $repetition, string $amount, TransactionJournal $journal): void
|
||||
{
|
||||
throw new FireflyException('[a] Piggy bank repetitions are EOL.');
|
||||
app('log')->debug(sprintf('addAmountToRepetition: %s', $amount));
|
||||
if (-1 === bccomp($amount, '0')) {
|
||||
app('log')->debug('Remove amount.');
|
||||
|
Reference in New Issue
Block a user