-
Notifications
You must be signed in to change notification settings - Fork 0
/
singleinvoice.html
executable file
·72 lines (59 loc) · 1.29 KB
/
singleinvoice.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<html>
<head>
<title>SOS Farms Invoice Printable</title>
<style type="text/css">
.print-table
{
padding: 5;
margin: 1;
border-collapse: collapse;
border: 2px solid #333;
font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
font-size: 1.0em;
color: #000000;
}
.print-table th, .print-table td
{
border: 1px dotted #666;
padding: 0.5em;
text-align: left;
color: #000000;
}
-->
</style>
</head>
<body>
<h3>{{ firstname }} {{ lastname }}</h3>
<table border="1" class="print-table">
<tr>
<th>Item</th>
<th>Quantity</th>
<th>Cost</th>
<th>Charge</th>
{% for uc in choices %}
<tr>
{% if uc.item %}
<td>{{uc.item.name}}</td>
<td>{{uc.quantity}}</td>
<td>{{uc.item.cost}}</td>
<td>{{uc.charge}}</td>
{%else%}
<td>DELETED ITEM</td>
<td>0</td>
<td>0.00</td>
<td>0.00</td>
{%endif%}
</tr>
{% endfor %}
<tr>
<td>Subtotal</td><td></td><td></td><td>{{sub_total_charge_str}}</td>
</tr>
<tr>
<td>Tax</td><td></td><td></td><td>{{tax_str}}</td>
</tr>
<tr>
<td>Total</td><td></td><td></td><td>{{total_charge_str}}</td>
</tr>
</table>
</body>
</html>