summaryrefslogtreecommitdiff
path: root/sql-ledger/templates/Estonian-invoice.html
diff options
context:
space:
mode:
Diffstat (limited to 'sql-ledger/templates/Estonian-invoice.html')
-rw-r--r--sql-ledger/templates/Estonian-invoice.html25
1 files changed, 17 insertions, 8 deletions
diff --git a/sql-ledger/templates/Estonian-invoice.html b/sql-ledger/templates/Estonian-invoice.html
index 8660fb866..7522436ce 100644
--- a/sql-ledger/templates/Estonian-invoice.html
+++ b/sql-ledger/templates/Estonian-invoice.html
@@ -56,17 +56,25 @@ tel, fax, signature, username, businessnumber -->
<tr>
<td><%name%>
- <br><%addr1%>
- <br><%addr2%>
- <br><%addr3%>
- <br><%addr4%>
+ <br><%address1%>
+ <%if address2%>
+<br><%address2%>
+<%end address2%>
+ <br><%city%> <%state%> <%zipcode%>
+ <%if country%>
+<%country%>
+<%end country%>
</td>
<td><%shiptoname%>
- <br><%shiptoaddr1%>
- <br><%shiptoaddr2%>
- <br><%shiptoaddr3%>
- <br><%shiptoaddr4%>
+ <br><%shiptoaddress1%>
+ <%if shiptoaddress2%>
+<br><%shiptoaddress2%>
+<%end shiptoaddress2%>
+ <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
+ <%if shiptocountry%>
+<%shiptocountry%>
+<%end shiptocountry%>
</td>
</tr>
</table>
@@ -101,6 +109,7 @@ tel, fax, signature, username, businessnumber -->
you can also use netprice instead of sellprice if you
don't want to show the discount
netprice = sellprice - discount
+to show the percentage for a discount use <%discountrate%>
-->
<tr>