diff --git a/10Kloan.json b/10Kloan.json index a731fea..e7bb2f1 100644 --- a/10Kloan.json +++ b/10Kloan.json @@ -40,7 +40,8 @@ ["2018-11-29", "589.00"], ["2018-12-31", "589.00"], ["2019-01-15", "0.00"], - ["2019-02-13", "589.00"] + ["2019-02-13", "589.00"], + ["2019-03-15", "0"] ], "borrower": { "name": "Bear Houses, LLC", diff --git a/brendamortgage.json b/brendamortgage.json index b119644..8176c6c 100644 --- a/brendamortgage.json +++ b/brendamortgage.json @@ -53,6 +53,7 @@ ["2018-12-01", "278.15"], ["2019-01-01", "278.15"], ["2019-02-01", "278.15"], - ["2019-03-01", "278.15"] + ["2019-03-01", "278.15"], + ["2019-04-01", "278.15"] ] } diff --git a/dadmortgage.json b/dadmortgage.json index 60d3f41..c4c35f0 100644 --- a/dadmortgage.json +++ b/dadmortgage.json @@ -53,6 +53,7 @@ ["2018-12-01", "278.15"], ["2019-01-01", "278.15"], ["2019-02-01", "278.15"], - ["2019-03-01", "278.15"] + ["2019-03-01", "278.15"], + ["2019-04-01", "278.15"] ] } diff --git a/greenfield_mortgage.json b/greenfield_mortgage.json index e2147da..d835dcd 100644 --- a/greenfield_mortgage.json +++ b/greenfield_mortgage.json @@ -41,7 +41,8 @@ ["2018-11-13", "803.00"], ["2018-12-13", "803.00"], ["2019-01-14", "803.00"], - ["2019-02-05", "803.00"] + ["2019-02-05", "803.00"], + ["2019-03-05", "803.00"] ], "borrower": { "name": "Bear Houses, LLC", diff --git a/mortgage_template.py b/mortgage_template.py index 8565c46..6d6d81f 100644 --- a/mortgage_template.py +++ b/mortgage_template.py @@ -279,6 +279,7 @@ def selectTemplate(loan): return template def main(): + test_flag = True # this program reads the json file describing a mortgage and calculate the actual and projected amortization # the first payment in the file should be the interest paid at closing # the interest at closing covers interest that would be incurred from the date of closing until the first day @@ -287,14 +288,13 @@ def main(): # at closing. The first payment will incur interest from one month before the bill is due. # read in the file - test_flag = True - #test_flag = False + test_flag = False test_address = 'jkent3rd@yahoo.com' - filename = "./testloan.json" + #filename = "./testloan.json" #filename = "./10Kloan.json" #filename = "./dadmortgage.json" - #filename = "./brendamortgage.json" + filename = "./brendamortgage.json" #filename = "./greenfield_mortgage.json" template_filename = "statement.pdf.jinja"