From 219c1ada2f3425f935ba7eeee31d99b00e22fdf4 Mon Sep 17 00:00:00 2001 From: JohnKent Date: Tue, 23 Jun 2020 22:00:23 -0400 Subject: [PATCH] Data file updates. --- 9Kloan.json | 96 ++++++++++++++++++++- brendamortgage.json | 143 ++++++++++++++++++++++++++++++- dadmortgage.json | 143 ++++++++++++++++++++++++++++++- greenfield_mortgage.json | 176 ++++++++++++++++++++++++++++++++++++++- testloan.json | 65 ++++----------- 5 files changed, 569 insertions(+), 54 deletions(-) diff --git a/9Kloan.json b/9Kloan.json index d54e2af..a01c4b4 100644 --- a/9Kloan.json +++ b/9Kloan.json @@ -1 +1,95 @@ -{"htmlTemplate": "statement.pdf.jinja", "parameters": {"monthly_payment": 475.0, "interest_rate": 6.5, "start_interest_date": "2019-06-17", "payment_day_of_month": "15", "first_payment_month": "2019-07-15", "account_number": "100002", "periods": 20, "start_date": "2019-06-15", "periods_per_year": 12, "principal": 9000.0}, "format": "html", "email": {"body": "Your loan statement is attached.", "to_address": "grady@gradystreet.com", "from_address": "jkent3rd@gmail.com", "text": "Please see your most recent account statement.", "server": "smtp.gmail.com", "send_text": "true", "template": "./template.txt", "send_pdf": "true", "password": "pvyrbcnzrjoizprn", "subject": "Your loan statement..."}, "lender": {"city": "Washington", "name": "Rivanna Graphite Investments, LLC", "zip": "20011", "phone": "703.343.0782", "state": "DC", "address": "743 Madison St NW"}, "header": {"date": "Today", "title": "Installment Loan Statement"}, "payments": [["2019-07-15", "475.00"], ["2019-08-14", "475.00"], ["2019-09-17", "475"], ["2019-10-15", "0"], ["2019-11-15", "0"], ["2019-12-5", "475"]], "borrower": {"city": "Alexandria", "state": "VA", "name": "Bear Houses, LLC", "zip": "22312", "address": "301 N Beauregard St Apt 203"}, "txtTemplate": "statement.txt.jinja"} \ No newline at end of file +{ + "htmlTemplate": "statement.pdf.jinja", + "parameters": { + "monthly_payment": 475.0, + "interest_rate": 6.5, + "start_interest_date": "2019-06-17", + "payment_day_of_month": "15", + "first_payment_month": "2019-07-15", + "account_number": "100002", + "periods": 20, + "start_date": "2019-06-15", + "periods_per_year": 12, + "principal": 9000.0 + }, + "format": "html", + "email": { + "body": "Your loan statement is attached.", + "to_address": "grady@gradystreet.com", + "from_address": "jkent3rd@gmail.com", + "text": "Please see your most recent account statement.", + "server": "smtp.gmail.com", + "send_text": "true", + "template": "./template.txt", + "send_pdf": "true", + "password": "pvyrbcnzrjoizprn", + "subject": "Your loan statement..." + }, + "lender": { + "city": "Washington", + "name": "Rivanna Graphite Investments, LLC", + "zip": "20008", + "phone": "703.343.0782", + "state": "DC", + "address": "3100 Connecticut Ave NW Apt 144" + }, + "header": { + "date": "Today", + "title": "Installment Loan Statement" + }, + "payments": [ + [ + "2019-07-15", + "475.00" + ], + [ + "2019-08-14", + "475.00" + ], + [ + "2019-09-17", + "475" + ], + [ + "2019-10-15", + "0" + ], + [ + "2019-11-15", + "0" + ], + [ + "2019-12-5", + "475" + ], + [ + "2020-01-15", + "0", + "0" + ], + [ + "2020-02-17", + "0" + ], + [ + "2020-03-03", + "475" + ], + [ + "2020-04-15", + "0" + ], + [ + "2020-05-19", + "475" + ] + ], + "borrower": { + "city": "Alexandria", + "state": "VA", + "name": "Bear Houses, LLC", + "zip": "22312", + "address": "301 N Beauregard St Apt 203" + }, + "txtTemplate": "statement.txt.jinja" +} \ No newline at end of file diff --git a/brendamortgage.json b/brendamortgage.json index 948cec0..12e74ba 100644 --- a/brendamortgage.json +++ b/brendamortgage.json @@ -1 +1,142 @@ -{"htmlTemplate": "statement.pdf.jinja", "parameters": {"monthly_payment": 278.15, "interest_rate": 5.0, "start_interest_date": "2018-07-01", "payment_day_of_month": "01", "first_payment_month": "2018-08-01", "account_number": "100001", "periods": 180, "start_date": "2018-06-25", "periods_per_year": 12, "principal": 35000.0}, "format": "html", "email": {"body": "Your loan statement is attached.", "to_address": "bck@virginia.edu", "from_address": "jkent3rd@gmail.com", "text": "Please see your most recent account statement.", "server": "smtp.gmail.com", "send_text": "true", "template": "./template.txt", "send_pdf": "true", "password": "pvyrbcnzrjoizprn", "subject": "Your loan statement..."}, "lender": {"city": "Scottsville", "name": "Brenda Kelly", "zip": "24590", "phone": "434-286-2110", "state": "VA", "address": "150 Confederate Street"}, "header": {"date": "Today", "title": "Mortgage Loan Statement - 185 James River Rd, Scottsville VA"}, "payments": [["2018-08-01", "278.15"], ["2018-09-01", "278.15"], ["2018-10-01", "278.15"], ["2018-11-01", "278.15"], ["2018-12-01", "278.15"], ["2019-01-01", "278.15"], ["2019-02-01", "278.15"], ["2019-03-01", "278.15"], ["2019-04-01", "278.15"], ["2019-05-01", "278.15"], ["2019-05-31", "278.15"], ["2019-07-01", "278.15"], ["2019-08-01", "278.15"], ["2019-09-02", "278.15"], ["2019-10-01", "278.15"], ["2019-11-01", "278.15"], ["2019-12-02", "278.15"], ["2020-01-02", "278.15"]], "borrower": {"city": "Washington", "state": "DC", "name": "Grandma Tina's Properties, LLC", "zip": "20011", "address": "743 Madison St NW"}, "txtTemplate": "statement.txt.jinja"} \ No newline at end of file +{ + "htmlTemplate": "statement.pdf.jinja", + "parameters": { + "monthly_payment": 278.15, + "interest_rate": 5.0, + "start_interest_date": "2018-07-01", + "payment_day_of_month": "01", + "first_payment_month": "2018-08-01", + "account_number": "100001", + "periods": 180, + "start_date": "2018-06-25", + "periods_per_year": 12, + "principal": 35000.0 + }, + "format": "html", + "email": { + "body": "Your loan statement is attached.", + "to_address": "bck@virginia.edu", + "from_address": "jkent3rd@gmail.com", + "text": "Please see your most recent account statement.", + "server": "smtp.gmail.com", + "send_text": "true", + "template": "./template.txt", + "send_pdf": "true", + "password": "pvyrbcnzrjoizprn", + "subject": "Your loan statement..." + }, + "lender": { + "city": "Scottsville", + "name": "Brenda Kelly", + "zip": "24590", + "phone": "434-286-2110", + "state": "VA", + "address": "150 Confederate Street" + }, + "header": { + "date": "Today", + "title": "Mortgage Loan Statement - 185 James River Rd, Scottsville VA" + }, + "payments": [ + [ + "2018-08-01", + "278.15" + ], + [ + "2018-09-01", + "278.15" + ], + [ + "2018-10-01", + "278.15" + ], + [ + "2018-11-01", + "278.15" + ], + [ + "2018-12-01", + "278.15" + ], + [ + "2019-01-01", + "278.15" + ], + [ + "2019-02-01", + "278.15" + ], + [ + "2019-03-01", + "278.15" + ], + [ + "2019-04-01", + "278.15" + ], + [ + "2019-05-01", + "278.15" + ], + [ + "2019-05-31", + "278.15" + ], + [ + "2019-07-01", + "278.15" + ], + [ + "2019-08-01", + "278.15" + ], + [ + "2019-09-02", + "278.15" + ], + [ + "2019-10-01", + "278.15" + ], + [ + "2019-11-01", + "278.15" + ], + [ + "2019-12-02", + "278.15" + ], + [ + "2020-01-02", + "278.15" + ], + [ + "2020-02-01", + "278.15" + ], + [ + "2020-03-01", + "278.15" + ], + [ + "2020-04-01", + "278.15" + ], + [ + "2020-05-01", + "278.15" + ], + [ + "2020-06-01", + "278.15" + ] + ], + "borrower": { + "city": "Washington", + "state": "DC", + "name": "Grandma Tina's Properties, LLC", + "zip": "20008", + "address": "3100 Connecticut Ave NW Apt 144" + }, + "txtTemplate": "statement.txt.jinja" +} \ No newline at end of file diff --git a/dadmortgage.json b/dadmortgage.json index 933f1ee..919852a 100644 --- a/dadmortgage.json +++ b/dadmortgage.json @@ -1 +1,142 @@ -{"htmlTemplate": "statement.pdf.jinja", "parameters": {"monthly_payment": 278.15, "interest_rate": 5.0, "start_interest_date": "2018-07-01", "payment_day_of_month": "01", "first_payment_month": "2018-08-01", "account_number": "100001", "periods": 180, "start_date": "2018-06-25", "periods_per_year": 12, "principal": 35000.0}, "format": "html", "email": {"body": "Your loan statement is attached.", "to_address": "johnkent49@gmail.com", "from_address": "jkent3rd@gmail.com", "text": "Please see your most recent account statement.", "server": "smtp.gmail.com", "send_text": "true", "template": "./template.txt", "send_pdf": "true", "password": "pvyrbcnzrjoizprn", "subject": "Your loan statement..."}, "lender": {"city": "Palmyra", "name": "John Kent", "zip": "22963", "phone": "434-510-7272", "state": "VA", "address": "109 Shores Rd"}, "header": {"date": "Today", "title": "Mortgage Loan Statement - 185 James River Rd, Scottsville VA"}, "payments": [["2018-08-01", "278.15"], ["2018-09-01", "278.15"], ["2018-10-01", "278.15"], ["2018-11-01", "278.15"], ["2018-12-01", "278.15"], ["2019-01-01", "278.15"], ["2019-02-01", "278.15"], ["2019-03-01", "278.15"], ["2019-04-01", "278.15"], ["2019-05-01", "278.15"], ["2019-05-31", "278.15"], ["2019-07-01", "278.15"], ["2019-08-01", "278.15"], ["2019-09-02", "278.15"], ["2019-10-01", "278.15"], ["2019-11-01", "278.15"], ["2019-12-02", "278.15"], ["2020-01-02", "278.15"]], "borrower": {"city": "Washington", "state": "DC", "name": "Grandma Tina's Properties, LLC", "zip": "20011", "address": "743 Madison St NW"}, "txtTemplate": "statement.txt.jinja"} \ No newline at end of file +{ + "htmlTemplate": "statement.pdf.jinja", + "parameters": { + "monthly_payment": 278.15, + "interest_rate": 5.0, + "start_interest_date": "2018-07-01", + "payment_day_of_month": "01", + "first_payment_month": "2018-08-01", + "account_number": "100001", + "periods": 180, + "start_date": "2018-06-25", + "periods_per_year": 12, + "principal": 35000.0 + }, + "format": "html", + "email": { + "body": "Your loan statement is attached.", + "to_address": "johnkent49@gmail.com", + "from_address": "jkent3rd@gmail.com", + "text": "Please see your most recent account statement.", + "server": "smtp.gmail.com", + "send_text": "true", + "template": "./template.txt", + "send_pdf": "true", + "password": "pvyrbcnzrjoizprn", + "subject": "Your loan statement..." + }, + "lender": { + "city": "Palmyra", + "name": "John Kent", + "zip": "22963", + "phone": "434-510-7272", + "state": "VA", + "address": "109 Shores Rd" + }, + "header": { + "date": "Today", + "title": "Mortgage Loan Statement - 185 James River Rd, Scottsville VA" + }, + "payments": [ + [ + "2018-08-01", + "278.15" + ], + [ + "2018-09-01", + "278.15" + ], + [ + "2018-10-01", + "278.15" + ], + [ + "2018-11-01", + "278.15" + ], + [ + "2018-12-01", + "278.15" + ], + [ + "2019-01-01", + "278.15" + ], + [ + "2019-02-01", + "278.15" + ], + [ + "2019-03-01", + "278.15" + ], + [ + "2019-04-01", + "278.15" + ], + [ + "2019-05-01", + "278.15" + ], + [ + "2019-05-31", + "278.15" + ], + [ + "2019-07-01", + "278.15" + ], + [ + "2019-08-01", + "278.15" + ], + [ + "2019-09-02", + "278.15" + ], + [ + "2019-10-01", + "278.15" + ], + [ + "2019-11-01", + "278.15" + ], + [ + "2019-12-02", + "278.15" + ], + [ + "2020-01-02", + "278.15" + ], + [ + "2020-02-01", + "278.15" + ], + [ + "2020-03-02", + "278.15" + ], + [ + "2020-04-01", + "278.15" + ], + [ + "2020-05-01", + "278.15" + ], + [ + "2020-06-01", + "278.15" + ] + ], + "borrower": { + "city": "Washington", + "state": "DC", + "name": "Grandma Tina's Properties, LLC", + "zip": "20008", + "address": "3100 Connecticut Ave NW Apt 144" + }, + "txtTemplate": "statement.txt.jinja" +} \ No newline at end of file diff --git a/greenfield_mortgage.json b/greenfield_mortgage.json index e278296..1ea4eee 100644 --- a/greenfield_mortgage.json +++ b/greenfield_mortgage.json @@ -1 +1,175 @@ -{"htmlTemplate": "statement.pdf.jinja", "parameters": {"monthly_payment": 803.0, "interest_rate": 5.5, "start_interest_date": "2017-11-11", "payment_day_of_month": "15", "first_payment_month": "2017-12-15", "account_number": "100001", "periods": 185, "start_date": "2017-11-07", "periods_per_year": 12, "principal": 97750.0}, "format": "html", "email": {"body": "Your loan statement is attached.", "to_address": "grady@gradystreet.com", "from_address": "jkent3rd@gmail.com", "text": "Please see your most recent account statement.", "server": "smtp.gmail.com", "send_text": "true", "template": "./template.txt", "send_pdf": "true", "password": "pvyrbcnzrjoizprn", "subject": "Your loan statement..."}, "lender": {"city": "Washington", "name": "Rivanna Graphite Investments, LLC", "zip": "20011", "phone": "703.343.0782", "state": "DC", "address": "743 Madison St NW"}, "header": {"date": "Today", "title": "Mortgage Loan Statement - 195 Greenfield Lane, Pearl MS"}, "payments": [["2017-12-11", "803.00"], ["2018-01-23", "803.00"], ["2018-03-23", "803.00"], ["2018-04-18", "803.00"], ["2018-04-26", "803.00"], ["2018-05-15", "0.00"], ["2018-06-15", "0.00"], ["2018-07-12", "803.00"], ["2018-08-07", "803.00"], ["2018-09-06", "803.00"], ["2018-10-11", "803.00"], ["2018-11-13", "803.00"], ["2018-12-13", "803.00"], ["2019-01-14", "803.00"], ["2019-02-05", "803.00"], ["2019-03-05", "803.00"], ["2019-04-15", "803.00"], ["2019-05-15", "0.00"], ["2019-06-13", "803.00"], ["2019-07-25", "803.00"], ["2019-08-14", "803.00"], ["2019-09-13", "803.00"], ["2019-10-21", "803.00"], ["2019-11-29", "803.00"], ["2019-12-19", "803.00"], ["2020-01-15", "803"]], "borrower": {"city": "Alexandria", "state": "VA", "name": "Bear Houses, LLC", "zip": "22312", "address": "301 N Beauregard St Apt 203"}, "txtTemplate": "statement.txt.jinja"} \ No newline at end of file +{ + "htmlTemplate": "statement.pdf.jinja", + "parameters": { + "monthly_payment": 803.0, + "interest_rate": 5.5, + "start_interest_date": "2017-11-11", + "payment_day_of_month": "15", + "first_payment_month": "2017-12-15", + "account_number": "100001", + "periods": 185, + "start_date": "2017-11-07", + "periods_per_year": 12, + "principal": 97750.0 + }, + "format": "html", + "email": { + "body": "Your loan statement is attached.", + "to_address": "grady@gradystreet.com", + "from_address": "jkent3rd@gmail.com", + "text": "Please see your most recent account statement.", + "server": "smtp.gmail.com", + "send_text": "true", + "template": "./template.txt", + "send_pdf": "true", + "password": "pvyrbcnzrjoizprn", + "subject": "Your loan statement..." + }, + "lender": { + "city": "Washington", + "name": "Rivanna Graphite Investments, LLC", + "zip": "20008", + "phone": "703.343.0782", + "state": "DC", + "address": "3100 Connecticut Ave NW Apt 144" + }, + "header": { + "date": "Today", + "title": "Mortgage Loan Statement - 195 Greenfield Lane, Pearl MS" + }, + "payments": [ + [ + "2017-12-11", + "803.00" + ], + [ + "2018-01-23", + "803.00" + ], + [ + "2018-03-23", + "803.00" + ], + [ + "2018-04-18", + "803.00" + ], + [ + "2018-04-26", + "803.00" + ], + [ + "2018-05-15", + "0.00" + ], + [ + "2018-06-15", + "0.00" + ], + [ + "2018-07-12", + "803.00" + ], + [ + "2018-08-07", + "803.00" + ], + [ + "2018-09-06", + "803.00" + ], + [ + "2018-10-11", + "803.00" + ], + [ + "2018-11-13", + "803.00" + ], + [ + "2018-12-13", + "803.00" + ], + [ + "2019-01-14", + "803.00" + ], + [ + "2019-02-05", + "803.00" + ], + [ + "2019-03-05", + "803.00" + ], + [ + "2019-04-15", + "803.00" + ], + [ + "2019-05-15", + "0.00" + ], + [ + "2019-06-13", + "803.00" + ], + [ + "2019-07-25", + "803.00" + ], + [ + "2019-08-14", + "803.00" + ], + [ + "2019-09-13", + "803.00" + ], + [ + "2019-10-21", + "803.00" + ], + [ + "2019-11-29", + "803.00" + ], + [ + "2019-12-19", + "803.00" + ], + [ + "2020-01-15", + "803" + ], + [ + "2020-03-06", + "803", + "32.12" + ], + [ + "2020-03-13", + "803.00" + ], + [ + "2020-04-15", + "803.00" + ], + [ + "2020-05-13", + "803.00" + ], + [ + "2020-06-16", + "803.00" + ] + ], + "borrower": { + "city": "Alexandria", + "state": "VA", + "name": "Bear Houses, LLC", + "zip": "22312", + "address": "301 N Beauregard St Apt 203" + }, + "txtTemplate": "statement.txt.jinja" +} \ No newline at end of file diff --git a/testloan.json b/testloan.json index 336c69c..0be860b 100644 --- a/testloan.json +++ b/testloan.json @@ -23,70 +23,35 @@ "date": "Today", "title": "Installment Loan Test Statement" }, - "payments": [ + "payments": [ [ - "2018-01-16", - "589.00" + "2019-07-15", + "475.00" ], [ - "2018-03-30", - "589.00" + "2019-08-14", + "475.00" ], [ - "2018-04-06", - "589.00" + "2019-09-17", + "475" ], [ - "2018-04-12", - "589.00" - ], - [ - "2018-05-28", - "589.00" - ], - [ - "2018-06-12", - "589.00" - ], - [ - "2018-07-13", - "589.00" - ], - [ - "2018-08-14", - "589.00" - ], - [ - "2018-09-26", - "589.00" - ], - [ - "2018-10-15", + "2019-10-15", "0" ], [ - "2018-11-29", - "589.00" + "2019-11-15", + "0" ], [ - "2018-12-31", - "589.00" + "2019-12-5", + "475" ], [ - "2019-01-28", - "589.00" - ], - [ - "2019-03-15", - "589.00" - ], - [ - "2019-07-10", - "123.12" - ], - [ - "2019-07-10", - "120" + "2020-01-15", + "0", + "50" ] ], "borrower": {