Skip to content

Commit af13874

Browse files
authored
eft-payment-compare-fix (#1910)
1 parent f040a2c commit af13874

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pay-api/src/pay_api/services/eft_service.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ def process_owing_statements(short_name_id: int, auth_account_id: str, is_new_li
498498

499499
credit_balance = EFTCreditModel.get_eft_credit_balance(short_name_id)
500500
summary_dict: dict = StatementService.get_summary(auth_account_id)
501-
total_due = summary_dict["total_due"]
501+
total_due = Decimal(str(summary_dict["total_due"]))
502502

503503
if credit_balance < total_due:
504504
if not is_new_link:

0 commit comments

Comments
 (0)