summaryrefslogtreecommitdiff
path: root/templates/spiff-en/invoice.html
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2008-12-02 17:04:49 +0100
committerJonas Smedegaard <dr@jones.dk>2008-12-02 17:04:49 +0100
commit542c76516135a98fb8ed4b302d7ad7cb7478d637 (patch)
tree93a46feb165217015fa092532a50e2ad12515c97 /templates/spiff-en/invoice.html
parentc75d09238be5584e336ab31594cecf016e0da9b6 (diff)
Add custom templates.
Diffstat (limited to 'templates/spiff-en/invoice.html')
-rw-r--r--templates/spiff-en/invoice.html282
1 files changed, 282 insertions, 0 deletions
diff --git a/templates/spiff-en/invoice.html b/templates/spiff-en/invoice.html
new file mode 100644
index 00000000..8def14a6
--- /dev/null
+++ b/templates/spiff-en/invoice.html
@@ -0,0 +1,282 @@
+<body bgcolor="white">
+<table width="100%">
+<tr valign="bottom">
+<td width="10">&nbsp;</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>INVOICE</h2>
+</th>
+</tr>
+
+<tr>
+<th align="right">Invoice Number:</th>
+<td>&nbsp;</td>
+<td><?lsmb invnumber ?></td>
+</tr>
+
+<?lsmb if businessnumber ?>
+<tr>
+<th align="right">Business Numberr:</th>
+<td>&nbsp;</td>
+<td><?lsmb businessnumber ?></td>
+</tr>
+<?lsmb end businessnumber ?>
+
+<tr>
+<th align="right">Invoice Date:</th>
+<td width="10">&nbsp;</td>
+<td><?lsmb invdate ?></td>
+</tr>
+
+<tr>
+<th align="right">Due Date:</th>
+<td width="10">&nbsp;</td>
+<td><?lsmb duedate ?></td>
+</tr>
+
+<!--
+<tr>
+<th align="left">Clerk:</th><td>&nbsp;</td><td><?lsmb username ?></td>
+</tr>
+-->
+
+<tr>
+<td>&nbsp;</td>
+</tr>
+</table>
+</td>
+</tr>
+
+<tr valign="bottom">
+<th align="left">Bill To:</th>
+ <?lsmb if shiptoname ?>
+<th align="left">Ship To:</th>
+ <?lsmb end shiptoname ?>
+</tr>
+
+<!--
+other possible variables: contact, shiptocontact, shiptophone, shiptofax
+-->
+
+<tr valign="top">
+<td><b><?lsmb name ?></b><br>
+<?lsmb addr1 ?><br>
+<?lsmb addr2 ?><br>
+<?lsmb addr3 ?><br>
+<?lsmb addr4 ?></td>
+ <?lsmb if shiptoname ?>
+<td><b><?lsmb shiptoname ?></b><br>
+<?lsmb shiptoaddr1 ?><br>
+<?lsmb shiptoaddr2 ?><br>
+<?lsmb shiptoaddr3 ?><br>
+<?lsmb shiptoaddr4 ?></td>
+ <?lsmb end shiptoname ?>
+</tr>
+</table>
+</td>
+</tr>
+
+<tr>
+<td>&nbsp;</td>
+</tr>
+
+<tr>
+<td>
+<table width="100%">
+<tr>
+<!-- <th align=right>No.</th> -->
+<th align="left">Number</th>
+<th align="left">Description</th>
+<th colspan="2">Q'ty</th>
+<th>Price</th>
+<th>Disc</th>
+<th>Amount</th>
+</tr>
+
+<?lsmb foreach number ?>
+<tr valign="top">
+<!--
+<td align=right><?lsmb runningnumber ?>.</td>
+adjust the colspan if you include this to shift subtotal one to the right
+-->
+<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>
+<?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 ?>%) of
+<?lsmb taxbase ?>:</th>
+<td colspan="2" align="right"><?lsmb tax ?></td>
+</tr>
+<?lsmb end tax ?>
+<?lsmb if paid ?>
+<tr>
+<th colspan="5" align="right">Paid:</th>
+<td colspan="2" align="right">- <?lsmb paid ?></td>
+</tr>
+<?lsmb end paid ?>
+
+<tr>
+<td colspan="5">&nbsp;</td>
+<td colspan="2">
+<hr noshade>
+</td>
+</tr>
+
+<tr>
+<td colspan="3">Terms Net <b><?lsmb terms ?></b> days</td>
+<th colspan="2" align="right">Outstanding:</th>
+<th colspan="2" align="right"><?lsmb total ?></th>
+</tr>
+
+<tr>
+<td colspan="5">&nbsp;</td>
+<td colspan="2">
+<hr noshade>
+</td>
+</tr>
+
+<tr>
+<td>&nbsp;</td>
+</tr>
+</table>
+</td>
+</tr>
+
+<tr>
+<td>
+<table width="100%">
+<tr valign="top">
+<?lsmb if notes ?>
+<td>Notes:</td>
+<td><?lsmb notes ?></td>
+<?lsmb end notes ?>
+<td>
+<table width="100%">
+ <?lsmb if taxincluded ?>
+<tr valign="top">
+<td align="right">Taxes shown are <strong>included</strong> in price.</td>
+</tr>
+ <?lsmb end taxincluded ?>
+<!-- tax codes
+ <?lsmb foreach tax ?>
+<tr valign="top">
+<td align="right"><?lsmb taxdescription ?> Registration <?lsmb taxnumber ?></td>
+</tr>
+ <?lsmb end tax ?>
+-->
+<tr valign="top">
+</td>
+<td align="right">All prices in <strong><?lsmb currency ?></strong> Funds<br>
+<?lsmb shippingpoint ?></td>
+</tr>
+</table>
+</tr>
+</table>
+</td>
+</tr>
+
+<tr>
+<td>&nbsp;</td>
+</tr>
+
+<tr>
+<td>
+<p>
+<b>Thank you for your valued business!</b>
+<p>
+<?lsmb company ?><br>
+<?lsmb address ?><br>
+<?lsmb if tel ?>
+Tel: <?lsmb tel ?><br>
+<?lsmb end tel ?>
+ <?lsmb if fax ?>
+Fax: <?lsmb fax ?><br>
+ <?lsmb end fax ?>
+<p align="center">
+<strong>Payments within Denmark</strong><br>
+Please transfer directly to Merkur Andelskasse, bank account 8401-1028192<br>
+<strong>International payments</strong><br>
+Please transfer directly to Ringkjøbing Bank, Torvet 2, 6959 Ringkøbing<br>
+SWIFT code: RIBADK22, account: 076600784011<br>
+Add "To Spiff ApS (8401-1028192) from <?lsmb name ?>" as text.
+</td>
+</tr>
+
+<tr>
+<td colspan="7">
+<hr noshade>
+</td>
+</tr>
+
+<tr>
+<td>
+<table width="100%">
+<tr valign="top">
+<td><font size="-3">Payment due NET <?lsmb terms ?> Days from date of Invoice.
+Interest on overdue amounts will acrue at the rate of 1.5% per month
+from due date until paid in full. Items returned are subject to
+a 10% restocking charge. A return authorization must be obtained
+from <?lsmb company ?> before goods are returned. Returns must be shipped
+prepaid and properly insured. <?lsmb company ?> will not be responsible
+for damages during transit.</font></td>
+<!-- Signature
+<td width=150>
+X <hr noshade>
+</td>
+-->
+</tr>
+</table>
+</td>
+</tr>
+
+</table>
+</td>
+</tr>
+</table>
+</body>
+</html>