diff --git a/app/Services/Internal/Support/CreditRecalculateService.php b/app/Services/Internal/Support/CreditRecalculateService.php index 18ea0c415e..b4123a9a10 100644 --- a/app/Services/Internal/Support/CreditRecalculateService.php +++ b/app/Services/Internal/Support/CreditRecalculateService.php @@ -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'); } }