Updated files to produce accounting information.

This commit is contained in:
john
2023-09-04 15:42:32 -04:00
parent cf2748c007
commit d9d62a09b5

View File

@@ -115,7 +115,7 @@
<h3>Loan Accounting</h3> <h3>Loan Accounting</h3>
<textarea border="1px" width="70%" cols="120" rows="25"> <textarea border="1px" width="70%" cols="120" rows="25">
{% for item in model.past_payments %} {% for item in model.past_payments %}
{{item.payment_date }} * "{{item.payee}}" "Payment #{{ item.payment_number}}" {{item.payment_date }} * "{{item.payee}}" "{{item.payee}} Mortgage Payment {{ item.payment_number}}"
{{item.payment_account}} {{ "%.2f"|format(item.payment_amount * -1) }} USD {{item.payment_account}} {{ "%.2f"|format(item.payment_amount * -1) }} USD
{{item.loan_account}} {{ "%.2f"|format(item.principal_payment) }} USD {{item.loan_account}} {{ "%.2f"|format(item.principal_payment) }} USD
{{item.interest_account}} {{ "%.2f"|format(item.interest_payment) }} USD {{item.interest_account}} {{ "%.2f"|format(item.interest_payment) }} USD