fix total links and line up custom field columns
[freeside.git] / sql-ledger / templates / Service-pos_invoice.txt
1 <%company align=center width=40%>
2 <%address align=center width=40%>
3
4  Till: <%till align=left width=3%>        Phone#: <%tel%>
5 Clerk: <%username%>
6 Sales: <%employee%>
7
8 <%invtime%><%invnumber align=right width=16%>
9
10   Qty Description                 Amount
11 <%foreach number%>
12 <%qty align=right width=5%> <%description align=left width=24 offset=6%> <%linetotal align=right width=9%>
13       <%number%> @ <%sellprice%>/<%unit%>
14 <%end number%>
15
16 Number of items: <%rowcount%>
17 <%if taxincluded%>
18                          ---------------
19                    Amount Due: <%invtotal align=right width=9%>
20 <%end taxincluded%>
21 <%if not taxincluded%>
22                             ------------
23                      Subtotal: <%subtotal align=right width=9%>
24 <%end taxincluded%>
25 <%foreach tax%>
26 <%taxdescription align=right width=23%> @ <%taxrate align=right width=2%>%: <%tax align=right width=9%>
27 <%end tax%>
28                    Amount Due: <%invtotal align=right width=9%>
29 <%foreach payment%>
30 <%paymentaccount align=right width=29%>: <%payment align=right width=9%> <%currency%>
31 <%end payment%>
32 <%if change%>
33                        Change: <%change align=right width=9%>
34 <%end change%>
35 <%if total%>
36                   Balance Due: <%total align=right width=9%>
37 <%end total%>
38 <%if discount%>
39
40 <%discount%> % Discount applied
41 <%end discount%>
42
43    Thank you for your valued business!
44
45 <%if taxincluded%>
46 Taxes are included in price.
47 <%end taxincluded%>
48
49
50
51