diff options
author | Jonas Smedegaard <dr@jones.dk> | 2008-12-02 17:04:49 +0100 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2008-12-02 17:11:56 +0100 |
commit | c89d5ee9922cafa39f50b65080995bc51dda0536 (patch) | |
tree | ec92549b6fea41ffefca8bf99de268e1a1266753 /templates/krings/invoice.html | |
parent | 3e8b794284b716e46d5ed59f5ae4425e8b764351 (diff) |
Add custom templates.
Diffstat (limited to 'templates/krings/invoice.html')
-rw-r--r-- | templates/krings/invoice.html | 150 |
1 files changed, 150 insertions, 0 deletions
diff --git a/templates/krings/invoice.html b/templates/krings/invoice.html new file mode 100644 index 00000000..33e2c889 --- /dev/null +++ b/templates/krings/invoice.html @@ -0,0 +1,150 @@ +<html> + +<head> + <title>Faktura</title> +</head> + +<body bgcolor=ffffff leftmargin="40" marginwidth="40"> + <br> + <br> + <br> + <br> + <br> + <table width="100%"> + <tr valign="top"> + <td width="80%" valign="top">Fakturaadresse:<br> + <?lsmb name ?><br> + <?lsmb addr1 ?><br> + <?lsmb addr2 ?><br> + <?lsmb addr3 ?><br> + <?lsmb addr4 ?></td> + <td> + <h2><b>FAKTURA</b></h2> + <p>Fakturanr: <?lsmb invnumber ?><br> + <nobr>Fakturadato: <?lsmb invdate ?></nobr><br> + <nobr>Forfaldsdato: <?lsmb duedate ?></nobr></p> + </td> + <?lsmb end company ?></tr> + </table> + <br> + <br> + <br> + <br> + <br> + <br> + <br> + <br> + <br> + <br> + <table width="100%"> + <tr bgcolor=000000> + <th align=left><font color=ffffff>Produkt</th> + <th align=left><font color=ffffff>Beskrivelse</th> + <th><font color=ffffff>Antal</th> + <th><font color="black">-</font></th> + <th><font color=ffffff>Pris</th> + <th><font color=ffffff>Rabat</th> + <th><font color=ffffff>Beløb</th> + </tr> + +<?lsmb foreach number ?> + <tr valign=top> + <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> +<?lsmb end number ?> + +<!-- +you can also use netprice instead of sellprice if you +don't want to show the discount +netprice = sellprice - discount +--> + + <tr> + <td colspan=7><hr noshade></td> + </tr> + + <tr> + <th colspan=5 align=right>Subtotal</th> + <td colspan=2 align=right><?lsmb subtotal ?></td> + </tr> + +<?lsmb foreach tax ?> + <tr> + <th colspan=5 align=right><?lsmb taxrate ?>% moms udgør</th> + <td colspan=2 align=right><?lsmb tax ?></td> + </tr> +<?lsmb end tax ?> + + +<?lsmb if paid ?> + <tr> + <th colspan=5 align=right>Allerede betalt</th> + <td colspan=2 align=right>- <?lsmb paid ?></td> + </tr> +<?lsmb end paid ?> + + <tr> + <td colspan=3> </td> + <td colspan=4><hr noshade></td> + </tr> + + <tr> + <td colspan=3></td> + <th colspan=2 align=right>At betale</th> + <th colspan=2 align=right><?lsmb total ?></th> + </tr> + + <tr> + <td> + </td> + <td></td> + <td></td> + <td colspan="4"> + <hr noshade> + </td> + </tr> + + </table> + <br> + <br> + <table width="100%"> + <tr valign=top><?lsmb if notes ?> + <td>Bemærkninger</td> + <td> + <p><?lsmb notes ?></p> + </td> + <?lsmb end notes ?> + <td align=right>Alle priser i <b><?lsmb currency ?></b><br> + <?lsmb shippingpoint ?></td> + </tr> + </table> + <br> + <br> + <br> + <table width="100%"> + <tr valign=top> + <td>Beløbet bedes indbetalt i merkur Andelskasse på konto nr. 8401 1034877<br> + <br> + <br> + M.v.h.<br> + <br> + <br> + Astrid Jensen Kring<br> + <br> + <div align="center"> + <hr> + <p><b><?lsmb company ?> - <?lsmb address ?> - SE-nr.:<?lsmb businessnumber ?></b></p> + </div> + </td> + </tr> + </table> + <p></p> + </body> +</html> + |