Updated the template to print the correct interest information. Fixed logic in script to send correct interest information to the template. Added ability to do a test run to a different email address with a real data file (the debug flag replaces the email address with a hard coded one). Added an aborting checking that the payments are listed in order.

This commit is contained in:
JohnKent
2019-03-05 00:09:56 -05:00
parent f5c78ca7dc
commit 4dae3256c5
3 changed files with 25 additions and 8 deletions

View File

@@ -4,7 +4,7 @@
"format": "html",
"email": {
"from_address": "jkent3rd@gmail.com",
"to_address": "jkent3rd@yahoo.com",
"to_address": "jkent3rd@gmail.com",
"server": "smtp.gmail.com",
"password": "pvyrbcnzrjoizprn",
"template": "./template.txt",
@@ -38,7 +38,9 @@
["2018-09-26", "589.00"],
["2018-10-15", "0"],
["2018-11-29", "589.00"],
["2018-12-31", "589.00"]
["2018-12-31", "589.00"],
["2019-01-28", "589.00"],
["2019-03-15", "589.00"]
],
"borrower": {
"name": "Bear Houses, LLC",