summaryrefslogtreecommitdiff
path: root/templates/Swedish-invoice.html
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-09-24 17:44:51 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-09-24 17:44:51 +0000
commiteedad02e621755aa269a6728364fa2ef07f6bca9 (patch)
treee56cb7ebc28954055603056c514dd3c4c62b02d0 /templates/Swedish-invoice.html
parent1eb75f0d6e9074d96445c810267aebe415b1b2d7 (diff)
Changed all templates to the new syntax
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@142 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'templates/Swedish-invoice.html')
-rwxr-xr-xtemplates/Swedish-invoice.html124
1 files changed, 62 insertions, 62 deletions
diff --git a/templates/Swedish-invoice.html b/templates/Swedish-invoice.html
index fa990662..58cccbe7 100755
--- a/templates/Swedish-invoice.html
+++ b/templates/Swedish-invoice.html
@@ -1,18 +1,18 @@
<body bgcolor=ffffff>
-<table width=100%>
+<table width=100 ?>
<tr>
<td width=10>
</td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr>
<td>
<h4>
- <%company%>
- <br><%address%>
+ <?lsmb company ?>
+ <br><?lsmb address ?>
</h4>
</td>
@@ -33,11 +33,11 @@ tel, fax, signature, username, businessnumber -->
<table>
<tr>
- <th align=right>Fakturanr.:</th><td></td><td><%invnumber%></td></tr>
+ <th align=right>Fakturanr.:</th><td></td><td><?lsmb invnumber ?></td></tr>
</tr>
<tr>
- <th align=right>Fakturadatum:</th><td width=10> </td><td><%invdate%></td>
+ <th align=right>Fakturadatum:</th><td width=10> </td><td><?lsmb invdate ?></td>
</tr>
<tr>
<td>
@@ -49,37 +49,37 @@ tel, fax, signature, username, businessnumber -->
<tr>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr bgcolor=000000>
<th align=left><font color=ffffff>Fakturaadress:</th>
- <%if shiptoname%>
+ <?lsmb if shiptoname ?>
<th align=left><font color=ffffff>Leveringsadress:</th>
- <%end shiptoname%>
+ <?lsmb end shiptoname ?>
</tr>
<tr>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
-<br><%address2%>
-<%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
-<%country%>
-<%end country%>
+ <td><?lsmb name ?>
+ <br><?lsmb address1 ?>
+ <?lsmb if address2 ?>
+<br><?lsmb address2 ?>
+<?lsmb end address2 ?>
+ <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?>
+ <?lsmb if country ?>
+<?lsmb country ?>
+<?lsmb end country ?>
</td>
- <%if shiptoname%>
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
-<br><%shiptoaddress2%>
-<%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
-<%shiptocountry%>
-<%end shiptocountry%>
+ <?lsmb if shiptoname ?>
+ <td><?lsmb shiptoname ?>
+ <br><?lsmb shiptoaddress1 ?>
+ <?lsmb if shiptoaddress2 ?>
+<br><?lsmb shiptoaddress2 ?>
+<?lsmb end shiptoaddress2 ?>
+ <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?>
+ <?lsmb if shiptocountry ?>
+<?lsmb shiptocountry ?>
+<?lsmb end shiptocountry ?>
</td>
- <%end shiptoname%>
+ <?lsmb end shiptoname ?>
</tr>
</table>
</td>
@@ -87,7 +87,7 @@ tel, fax, signature, username, businessnumber -->
<tr>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr bgcolor=000000>
<th align=left><font color=ffffff>Nummer</th>
<th align=left><font color=ffffff>Beskrivning</th>
@@ -98,23 +98,23 @@ tel, fax, signature, username, businessnumber -->
<th><font color=ffffff>Sum</th>
</tr>
-<%foreach number%>
+<?lsmb foreach number ?>
<tr valign=top>
- <td><%number%></td>
- <td><%description%></td>
- <td align=right><%qty%></td>
- <td><%unit%></td>
- <td align=right><%sellprice%></td>
- <td align=right><%discount%></td>
- <td align=right><%linetotal%></td>
+ <td><?lsmb number ?></td>
+ <td><?lsmb description ?></td>
+ <td align=right><?lsmb qty ?></td>
+ <td><?lsmb unit ?></td>
+ <td align=right><?lsmb sellprice ?></td>
+ <td align=right><?lsmb discount ?></td>
+ <td align=right><?lsmb linetotal ?></td>
</tr>
-<%end number%>
+<?lsmb end number ?>
<!--
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%>
+to show the percentage for a discount use <?lsmb discountrate ?>
-->
<tr>
@@ -123,22 +123,22 @@ to show the percentage for a discount use <%discountrate%>
<tr>
<th colspan=5 align=right>Subtotal</th>
- <td colspan=2 align=right><%subtotal%></td>
+ <td colspan=2 align=right><?lsmb subtotal ?></td>
</tr>
-<%foreach tax%>
+<?lsmb foreach tax ?>
<tr>
- <th colspan=5 align=right><%taxdescription%> @ <%taxrate%> %</th>
- <td colspan=2 align=right><%tax%></td>
+ <th colspan=5 align=right><?lsmb taxdescription ?> @ <?lsmb taxrate ?> %</th>
+ <td colspan=2 align=right><?lsmb tax ?></td>
</tr>
-<%end tax%>
+<?lsmb end tax ?>
-<%if paid%>
+<?lsmb if paid ?>
<tr>
<th colspan=5 align=right>Redan betalat</th>
- <td colspan=2 align=right>- <%paid%></td>
+ <td colspan=2 align=right>- <?lsmb paid ?></td>
</tr>
-<%end paid%>
+<?lsmb end paid ?>
<tr>
<td colspan=3> </td>
@@ -146,9 +146,9 @@ to show the percentage for a discount use <%discountrate%>
</tr>
<tr>
- <td colspan=3>Betalningsfrist <b><%terms%></b> dager</td>
+ <td colspan=3>Betalningsfrist <b><?lsmb terms ?></b> dager</td>
<th colspan=2 align=right>Att betala</th>
- <th colspan=2 align=right><%total%></th>
+ <th colspan=2 align=right><?lsmb total ?></th>
</tr>
<tr>
@@ -162,15 +162,15 @@ to show the percentage for a discount use <%discountrate%>
<tr>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr valign=top>
-<%if notes%>
+<?lsmb if notes ?>
<td>Notera</td>
- <td><pre><%notes%></pre></td>
-<%end notes%>
+ <td><pre><?lsmb notes ?></pre></td>
+<?lsmb end notes ?>
<td align=right>
- Alla priser i <b><%currency%></b>
- <br><%shippingpoint%>
+ Alla priser i <b><?lsmb currency ?></b>
+ <br><?lsmb shippingpoint ?>
</td>
</tr>
@@ -185,7 +185,7 @@ to show the percentage for a discount use <%discountrate%>
<!-- 20030814/Marius Kjeldahl: Commented out check statement as checks
are dead in Norway AFAIK -->
-<!-- Utsted vennligst sjekk til <%company%> på norsk bank -->
+<!-- Utsted vennligst sjekk til <?lsmb company ?> på norsk bank -->
<br>
</th>
</tr>
@@ -195,10 +195,10 @@ are dead in Norway AFAIK -->
<tr>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr valign=top>
<td><font size=-3>
- Betalning innan <%terms%> dagar från fakturadatum.
+ Betalning innan <?lsmb terms ?> dagar från fakturadatum.
Efterskuldräntor beräknas med 1% per påbörjad månad.
</font>
@@ -209,11 +209,11 @@ are dead in Norway AFAIK -->
</td>
</tr>
-<%foreach tax%>
+<?lsmb foreach tax ?>
<tr>
- <th colspan=7 align=left><font size=-2><%taxdescription%> Organisasjonsnr.: <%taxnumber%></th>
+ <th colspan=7 align=left><font size=-2><?lsmb taxdescription ?> Organisasjonsnr.: <?lsmb taxnumber ?></th>
</tr>
-<%end tax%>
+<?lsmb end tax ?>
</table>