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.
43 lines
858 B
43 lines
858 B
<!doctype html> |
|
<html> |
|
<head> |
|
<title>Payments</title> |
|
</head> |
|
<body> |
|
|
|
<h1>Payments</h1> |
|
|
|
<p><a href="/">Home</a></p> |
|
<p><a href="/payments/new">Record Payment</a></p> |
|
|
|
<table border="1" cellpadding="6"> |
|
<tr> |
|
<th>ID</th> |
|
<th>Invoice</th> |
|
<th>Client</th> |
|
<th>Method</th> |
|
<th>Currency</th> |
|
<th>Amount</th> |
|
<th>CAD Value</th> |
|
<th>Reference</th> |
|
<th>Received</th> |
|
</tr> |
|
|
|
{% for p in payments %} |
|
<tr> |
|
<td>{{ p.id }}</td> |
|
<td>{{ p.invoice_number }}</td> |
|
<td>{{ p.client_code }} - {{ p.company_name }}</td> |
|
<td>{{ p.payment_method }}</td> |
|
<td>{{ p.payment_currency }}</td> |
|
<td>{{ p.payment_amount|money(p.payment_currency) }}</td> |
|
<td>{{ p.cad_value_at_payment|money('CAD') }}</td> |
|
<td>{{ p.reference }}</td> |
|
<td>{{ p.received_at|localtime }}</td> |
|
</tr> |
|
{% endfor %} |
|
|
|
</table> |
|
|
|
</body> |
|
</html>
|
|
|