You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
71 lines
1.6 KiB
71 lines
1.6 KiB
<!doctype html> |
|
<html> |
|
<head> |
|
<title>Accounts Receivable Aging</title> |
|
<style> |
|
table { |
|
border-collapse: collapse; |
|
width: 100%; |
|
max-width: 1200px; |
|
} |
|
th, td { |
|
border: 1px solid #999; |
|
padding: 8px; |
|
text-align: left; |
|
} |
|
th { |
|
background: #f2f2f2; |
|
} |
|
.money { |
|
text-align: right; |
|
white-space: nowrap; |
|
} |
|
.total-row { |
|
font-weight: bold; |
|
background: #f8f8f8; |
|
} |
|
</style> |
|
</head> |
|
<body> |
|
|
|
<h1>Accounts Receivable Aging</h1> |
|
|
|
<p><a href="/">Home</a></p> |
|
|
|
<table> |
|
<tr> |
|
<th>Client</th> |
|
<th>Current</th> |
|
<th>1–30</th> |
|
<th>31–60</th> |
|
<th>61–90</th> |
|
<th>90+</th> |
|
<th>Total</th> |
|
</tr> |
|
|
|
{% for row in aging_rows %} |
|
<tr> |
|
<td>{{ row.client }}</td> |
|
<td class="money">{{ row.current|money('CAD') }}</td> |
|
<td class="money">{{ row.d30|money('CAD') }}</td> |
|
<td class="money">{{ row.d60|money('CAD') }}</td> |
|
<td class="money">{{ row.d90|money('CAD') }}</td> |
|
<td class="money">{{ row.d90p|money('CAD') }}</td> |
|
<td class="money"><strong>{{ row.total|money('CAD') }}</strong></td> |
|
</tr> |
|
{% endfor %} |
|
|
|
<tr class="total-row"> |
|
<td>TOTAL</td> |
|
<td class="money">{{ totals.current|money('CAD') }}</td> |
|
<td class="money">{{ totals.d30|money('CAD') }}</td> |
|
<td class="money">{{ totals.d60|money('CAD') }}</td> |
|
<td class="money">{{ totals.d90|money('CAD') }}</td> |
|
<td class="money">{{ totals.d90p|money('CAD') }}</td> |
|
<td class="money">{{ totals.total|money('CAD') }}</td> |
|
</tr> |
|
</table> |
|
|
|
{% include "footer.html" %} |
|
</body> |
|
</html>
|
|
|