Handle duplicate repayment attempts

This commit is contained in:
CHIEFSOFT\ameye
2025-11-03 12:47:17 -05:00
parent 5b1d867d49
commit 798d264748
2 changed files with 18 additions and 12 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ class RepaymentService(BaseService):
return ResponseHelper.error(result_description="Failed to save repayment details.")
#Update Loan status
Loan.update_status(loan_id = loan_id, status = LoanStatus.START_REPAY) # repay started bu user
Loan.update_status(loan_id = loan_id, status = LoanStatus.START_REPAY) # repay started by user
transaction = RepaymentService.log_transaction(validated_data = validated_data)
if not transaction: