update
This commit was merged in pull request #9.
This commit is contained in:
@@ -34,7 +34,6 @@ class Repayment(db.Model):
|
|||||||
if loan.status != LoanStatus.ACTIVE:
|
if loan.status != LoanStatus.ACTIVE:
|
||||||
raise ValueError(f"Repayment cannot be processed. Loan status: ({loan.status})")
|
raise ValueError(f"Repayment cannot be processed. Loan status: ({loan.status})")
|
||||||
|
|
||||||
|
|
||||||
repayment = cls(
|
repayment = cls(
|
||||||
customer_id=customer_id,
|
customer_id=customer_id,
|
||||||
loan_id=loan_id,
|
loan_id=loan_id,
|
||||||
|
|||||||
Reference in New Issue
Block a user