Updated all of the payment files to reflect new format. Updated the PDF generation template. Updated the email sending code. Fixed a few off by one errors when the last payment also is the last payment of the year.
This commit is contained in:
63
greenfield_mortgage.json
Normal file
63
greenfield_mortgage.json
Normal file
@@ -0,0 +1,63 @@
|
||||
{
|
||||
"htmlTemplate": "statement.pdf.jinja",
|
||||
"txtTemplate": "statement.txt.jinja",
|
||||
"format": "html",
|
||||
"email": {
|
||||
"from_address": "jkent3rd@gmail.com",
|
||||
"to_address": "grady@gradystreet.com",
|
||||
"server": "smtp.gmail.com",
|
||||
"password": "pvyrbcnzrjoizprn",
|
||||
"template": "./template.txt",
|
||||
"send_pdf": "true",
|
||||
"send_text": "true",
|
||||
"subject": "Your loan statement...",
|
||||
"body": "Your loan statement is attached.",
|
||||
"text": "Please see your most recent account statement."
|
||||
},
|
||||
"parameters": {
|
||||
"account_number": "100001",
|
||||
"principal": 97750.00,
|
||||
"interest_rate": 5.5,
|
||||
"periods_per_year": 12,
|
||||
"periods": 182,
|
||||
"start_date": "2017-11-07",
|
||||
"start_interest_date": "2017-11-11",
|
||||
"first_payment_month": "2017-12-15",
|
||||
"monthly_payment": 803.00,
|
||||
"payment_day_of_month": "15"
|
||||
},
|
||||
"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"]
|
||||
],
|
||||
"borrower": {
|
||||
"name": "Bear Houses, LLC",
|
||||
"address": "301 N Beauregard St Apt 203",
|
||||
"city": "Alexandria",
|
||||
"state": "VA",
|
||||
"zip": "22312"
|
||||
},
|
||||
"lender": {
|
||||
"name": "Rivanna Graphite Investments, LLC",
|
||||
"phone": "703.343.0782",
|
||||
"address": "743 Madison St NW",
|
||||
"city": "Washington",
|
||||
"state": "DC",
|
||||
"zip": "20011"
|
||||
},
|
||||
"header": {
|
||||
"title": "Mortgage Loan Statement - 195 Greenfield Lane, Pearl MS",
|
||||
"date": "Today"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user