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:49:18 +0100 |
commit | 3673c917e5634db7838b93ac308419ca89b9d709 (patch) | |
tree | f68b7eaf12c4c5ffc2c4ec0c900aa239d9d7230d /templates/jones/invoice.html | |
parent | 534811efaeead497f00cc976861af8512a7e6859 (diff) |
Add custom templates.
Diffstat (limited to 'templates/jones/invoice.html')
-rw-r--r-- | templates/jones/invoice.html | 285 |
1 files changed, 285 insertions, 0 deletions
diff --git a/templates/jones/invoice.html b/templates/jones/invoice.html new file mode 100644 index 00000000..236c2f54 --- /dev/null +++ b/templates/jones/invoice.html @@ -0,0 +1,285 @@ +<body bgcolor="white"> +<table width="100%"> +<tr valign="bottom"> +<td width="10"> </td> +<td> +<table width="100%" cellspacing="0" cellpadding="0"> + +<tr> +<td> +<table width="100%"> +<tr> + <?lsmb if shiptoname ?> +<td colspan="2"> + <?lsmb end shiptoname ?> + <?lsmb if not shiptoname ?> +<td> + <?lsmb end shiptoname ?> +</td> +<td align="right" rowspan="3"> +<table> +<tr valign="bottom"> +<th align="left" colspan="3"> +<h2>FAKTURA</h2> +</th> +</tr> + +<tr> +<th align="right">Fakturanummer:</th> +<td> </td> +<td><?lsmb invnumber ?></td> +</tr> + +<?lsmb if businessnumber ?> +<tr> +<th align="right">CVR-nummer:</th> +<td> </td> +<td><?lsmb businessnumber ?></td> +</tr> +<?lsmb end businessnumber ?> + +<tr> +<th align="right">Fakturadato:</th> +<td width="10"> </td> +<td><?lsmb invdate ?></td> +</tr> + +<tr> +<th align="right">Forfaldsdato:</th> +<td width="10"> </td> +<td><?lsmb duedate ?></td> +</tr> + +<!-- +<tr> +<th align="left">Ekspedient:</th><td> </td><td><?lsmb username ?></td> +</tr> +--> + +<tr> +<td> </td> +</tr> +</table> +</td> +</tr> + +<tr valign="bottom"> +<th align="left">Faktureringsadresse:</th> + <?lsmb if shiptoname ?> +<th align="left">Leveringsadresse:</th> + <?lsmb end shiptoname ?> +</tr> + +<!-- +andre mulige variable: state, contact, customerphone, customerfax, email, shiptostate, shiptocontact, shiptophone, shiptofax, shiptoemail +--> + +<tr valign="top"> +<td><b><?lsmb name ?></b><br> +<?lsmb address1 ?><br> + <?lsmb if address2 ?> +<?lsmb address2 ?><br> + <?lsmb end address2 ?> +<?lsmb zipcode ?> <?lsmb city ?><br> + <?lsmb if country ?> +<?lsmb country ?></td> + <?lsmb end country ?> + <?lsmb if shiptoname ?> +<td><b><?lsmb shiptoname ?></b><br> +<?lsmb shiptoaddress1 ?><br> + <?lsmb if shiptoaddress2 ?> +<?lsmb shiptoaddress2 ?><br> + <?lsmb end shiptoaddress2 ?> +<?lsmb shiptozipcode ?> <?lsmb shiptocity ?><br> + <?lsmb if shiptocountry ?> +<?lsmb shiptocountry ?></td> + <?lsmb end shiptocountry ?> + <?lsmb end shiptoname ?> +</tr> +</table> +</td> +</tr> + +<tr> +<td> </td> +</tr> + +<tr> +<td> +<table width="100%"> +<tr> +<!-- <th align=right>Løbenr.</th> --> +<th align="left">Varenr.</th> +<th align="left">Beskrivelse</th> +<th colspan="2">Antal</th> +<th>Pris</th> +<th>Rabat</th> +<th>Beløb</th> +</tr> + +<?lsmb foreach number ?> +<tr valign="top"> +<!-- +<td align=right><?lsmb runningnumber ?>.</td> +Justér "colspan" hvis du inkluderer løbenummeret, så subtotal flyttes et felt til højre +--> +<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 ?> + +<!-- +Du kan også bruge "netprice" istedet for "sellprice" hvis du ikke +vil vise rabatten: netprice = sellprice - discount +--> +<tr> +<td colspan="7"> +<hr noshade> +</td> +</tr> + +<tr> +<?lsmb if taxincluded ?> +<th colspan="5" align="right">Total:</th> +<td colspan="2" align="right"><?lsmb invtotal ?></td> +<?lsmb end taxincluded ?> +<?lsmb if not taxincluded ?> +<th colspan="5" align="right">Subtotal:</th> +<td colspan="2" align="right"><?lsmb subtotal ?></td> +<?lsmb end taxincluded ?></tr> + +<?lsmb foreach tax ?> +<tr> +<th colspan="5" align="right"><?lsmb taxdescription ?> (<?lsmb taxrate ?>%) af +<?lsmb taxbase ?>:</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="5"> </td> +<td colspan="2"> +<hr noshade> +</td> +</tr> + +<tr> +<td colspan="3">Betalingsfrist <b><?lsmb terms ?></b> dage</td> +<th colspan="2" align="right">At betale:</th> +<th colspan="2" align="right"><?lsmb total ?></th> +</tr> + +<tr> +<td colspan="5"> </td> +<td colspan="2"> +<hr noshade> +</td> +</tr> + +<tr> +<td> </td> +</tr> +</table> +</td> +</tr> + +<tr> +<td> +<table width="100%"> +<tr valign="top"> +<?lsmb if notes ?> +<td>Bemærkninger:</td> +<td><?lsmb notes ?></td> +<?lsmb end notes ?> +<td> +<table width="100%"> + <?lsmb if taxincluded ?> +<tr valign="top"> +<td align="right">Alle beløb er <strong>inklusive moms</strong>.</td> +</tr> + <?lsmb end taxincluded ?> +<!-- afgifts- og momskoder + <?lsmb foreach tax ?> +<tr valign="top"> +<td align="right"><?lsmb taxdescription ?> noteret som <?lsmb taxnumber ?></td> +</tr> + <?lsmb end tax ?> +--> +<tr valign="top"> +</td> +<td align="right">Alle priser i <strong><?lsmb currency ?></strong><br> +<?lsmb shippingpoint ?></td> +</tr> +</table> +</tr> +</table> +</td> +</tr> + +<tr> +<td> </td> +</tr> + +<tr> +<td> +<p> +<b>Tak for handelen!</b> +<p> +<?lsmb company ?><br> +<?lsmb address ?><br> +<?lsmb if tel ?> +Telefon: <?lsmb tel ?><br> +<?lsmb end tel ?> + <?lsmb if fax ?> +Fax: <?lsmb fax ?><br> + <?lsmb end fax ?> +<p align="center"> +Indbetaling bedes ske til Merkur Andelskasse på konto 8401-1036773<br> +(Internationalt: SWIFT/BIC RIBADK22, IBAN: DK1784010001036773) +</td> +</tr> + +<tr> +<td colspan="7"> +<hr noshade> +</td> +</tr> + +<tr> +<td> +<table width="100%"> +<tr valign="top"> +<td><font size="-3">Betalingsfrist <?lsmb terms ?> dage fra fakturadato. +Betaling herefter påregnes 1.5% per påbegyndt måned startende +<?lsmb duedate ?> og indtil det fulde beløb er betalt. Returnerede varer +modregnes 10% i ekspeditionsgebyr. Et returnummer skal tildeles af +<?lsmb company ?> før varer returneres. Returvarer skal forsendes +forudbetalt og forsvarligt forsikret. <?lsmb company ?> kan ikke drages +til ansvar for skade under transport.</font></td> +<!-- Linje til underskrift +<td width=150> +X <hr noshade> +</td> +--> +</tr> +</table> +</td> +</tr> + +</table> +</td> +</tr> +</table> +</body> +</html> |