[chore]: remove redundant code
This commit was merged in pull request #16.
This commit is contained in:
@@ -31,8 +31,6 @@ class LoanRepaymentSchedule(db.Model):
|
|||||||
"""
|
"""
|
||||||
Add repayment schedules for a given loan.
|
Add repayment schedules for a given loan.
|
||||||
"""
|
"""
|
||||||
if not loan.initial_loan_amount or not loan.installment_amount:
|
|
||||||
raise ValueError("Loan must have amount and installment_amount set.")
|
|
||||||
|
|
||||||
now = datetime.now(timezone.utc)
|
now = datetime.now(timezone.utc)
|
||||||
schedules = []
|
schedules = []
|
||||||
|
|||||||
Reference in New Issue
Block a user