modified relation deposit in template return
This commit is contained in:
parent
10f7db866f
commit
13bd9153f6
|
@ -1,4 +1,24 @@
|
|||
<!DOCTYPE html>
|
||||
<head>
|
||||
<style>
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
width: 100%;
|
||||
}
|
||||
tr:hover {background-color: #f5f5f5}
|
||||
th {
|
||||
background-color: #B2DDEE;
|
||||
color: #3E4041;
|
||||
font-style: normal;
|
||||
}
|
||||
table, th, td {
|
||||
border: 1px dotted gray;
|
||||
padding: 15px;
|
||||
text-align: left;
|
||||
border-bottom: 1px solid #ddd
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<html>
|
||||
<body>
|
||||
<p>Hi, {{ record.first_name }}</p>
|
||||
|
@ -10,7 +30,7 @@
|
|||
|
||||
<p>-------------------------<br>
|
||||
|
||||
<p>DEPOSIT PAID: {{ record.deposit_amount }}</p>
|
||||
<b>INITIAL DEPOSIT: $ {{ record.deposit_amount }}</b>
|
||||
<p></p>
|
||||
<table>
|
||||
<TR>
|
||||
|
@ -22,13 +42,13 @@
|
|||
<TR>
|
||||
<TD class="c1">{{ rec.date }}</TD>
|
||||
<TD class="c2">{{ rec.issue }}</TD>
|
||||
<TD class="c2">{{ rec.amount }}</TD>
|
||||
<TD class="c2">$ {{ rec.amount }}</TD>
|
||||
</TR>
|
||||
{% endfor %}
|
||||
</table>
|
||||
<br>
|
||||
<p>TOTAL DISCOUNT: {{ record.deposit_kept }}</p>
|
||||
<p>BALANCE: {{ record.deposit_balance }}</P>
|
||||
<b>TOTAL DISCOUNTS: $ {{ record.deposit_kept }}</b><br>
|
||||
<b>BALANCE: $ {{ record.deposit_balance }}</b>
|
||||
|
||||
<p>-------------------------<br>
|
||||
<b> Renag </b><br>
|
||||
|
|
Loading…
Reference in New Issue