diff --git a/testloan.json b/testloan.json new file mode 100644 index 0000000..f0cc95c --- /dev/null +++ b/testloan.json @@ -0,0 +1,63 @@ +{ +"htmlTemplate": "statement.pdf.jinja", +"txtTemplate": "statement.txt.jinja", +"format": "html", +"email": { + "from_address": "jkent3rd@gmail.com", + "to_address": "jkent3rd@yahoo.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": "100100", + "principal": 10020.00, + "interest_rate": 6.5, + "periods_per_year": 12, + "periods": 18, + "start_date": "2017-12-05", + "start_interest_date": "2017-12-05", + "first_payment_month": "2018-01-15", + "monthly_payment": 589.00, + "payment_day_of_month": "15" + }, +"payments": [ + ["2018-01-16", "589.00"], + ["2018-03-30", "589.00"], + ["2018-04-06", "589.00"], + ["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", "0"], + ["2018-11-29", "589.00"], + ["2018-12-31", "589.00"] + ], +"borrower": { + "name": "Bear Houses, LLC", + "address": "301 N Beauregard St Apt 203", + "city": "Alexandria", + "state": "VA", + "zip": "22312" + }, +"lender": { + "name": "John Kent", + "phone": "703.343.0782", + "address": "743 Madison St NW", + "city": "Washington", + "state": "DC", + "zip": "20011" + }, +"header": { + "title": "Installment Loan Statement", + "date": "Today" + } +} +