mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
This commit is contained in:
parent
2907db1380
commit
4a37152aea
@ -459,6 +459,6 @@ class CreditRecalculateService
|
||||
*/
|
||||
private function isTransferOut(string $amount, string $transactionType): bool
|
||||
{
|
||||
return TransactionType::DEPOSIT === $transactionType && -1 === bccomp($amount, '0');
|
||||
return TransactionType::TRANSFER === $transactionType && -1 === bccomp($amount, '0');
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user