The tool can now update the payment history.

This commit is contained in:
JohnKent
2019-07-10 22:57:23 -04:00
parent e9fefb1a1a
commit 717210636d
4 changed files with 150 additions and 63 deletions

View File

@@ -12,7 +12,11 @@
<body>
<p id="header" align="center"><font face="Arial" size=+2 >Web Mortgage Manager</font></p>
<table border="1px">
{% for message in messages %}
<tr><td>{{message}}</td></tr>
{% endfor %}
</table>
<a href="/?loan={{filename}}">Return to Main Screen</a>.
</body>
</html>

View File

@@ -151,11 +151,21 @@
</td></tr>
<tr><td><button>Send Statement</button></td></tr>
</table>
<input hidden="loan" name='loan' value="{{filename}}" />
<input type="hidden" name='loan' value="{{filename}}" />
</form>
</div>
<div id="add_payment">
<p>Add Loan Payment Tab</p>
<form name="AddPayment" method="post" action="/update_file">
<input type="hidden" name="loan" value="{{filename}}" />
<table align="center" border="1px" width="75%">
<tr><td align="center" bgcolor="darkgrey">Record a Payment</td></tr>
<tr><td bgcolor="beige">Payment Date:</td></tr>
<tr><td><input type="date" name="date"</td></tr>
<tr><td bgcolor="beige">Payment Amount:</td></tr>
<tr><td><input type="text" name="amount"></td></tr>
<tr><td><button>Record Payment</button></td></tr>
</table>
</form>
</div>
</div>
</body>