This commit was merged in pull request #9.
This commit is contained in:
Azeez Muibi
2025-04-24 10:50:00 +01:00
parent f4da496e41
commit d80a43cb6f
-1
View File
@@ -33,7 +33,6 @@ class Repayment(db.Model):
# Check that the loan is active
if loan.status != LoanStatus.ACTIVE:
raise ValueError(f"Repayment cannot be processed. Loan status: ({loan.status})")
repayment = cls(
customer_id=customer_id,