mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-04 03:43:07 +00:00
This commit is contained in:
@@ -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');
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user