mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Withdrawal directly from Piggy Bank - Fixes #6631
This commit is contained in:
committed by
ChrisWin22
parent
6d0906c37b
commit
74992e95f2
@@ -65,12 +65,6 @@ class UpdatePiggybank implements ActionInterface
|
||||
$type = TransactionType::find((int)$journalObj->transaction_type_id);
|
||||
$journal['transaction_type_type'] = $type->type;
|
||||
|
||||
if (TransactionType::TRANSFER !== $journal['transaction_type_type']) {
|
||||
Log::info(sprintf('Journal #%d is a "%s" so skip this action.', $journal['transaction_journal_id'], $journal['transaction_type_type']));
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
$piggyBank = $this->findPiggyBank($user);
|
||||
if (null === $piggyBank) {
|
||||
Log::info(
|
||||
|
Reference in New Issue
Block a user