summaryrefslogtreecommitdiff
path: root/templates/demo/invoice.html
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-09-24 17:41:49 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-09-24 17:41:49 +0000
commit1eb75f0d6e9074d96445c810267aebe415b1b2d7 (patch)
treebc272b00a8c996cb1ac9a2b1584ec02c2b35306c /templates/demo/invoice.html
parent09f5d597213bde1837554d1b8c853aed24abccbf (diff)
Changes templates from <% %> to <?lsmb ?>
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@141 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'templates/demo/invoice.html')
-rw-r--r--templates/demo/invoice.html232
1 files changed, 116 insertions, 116 deletions
diff --git a/templates/demo/invoice.html b/templates/demo/invoice.html
index 3356aed6..3b15e0ee 100644
--- a/templates/demo/invoice.html
+++ b/templates/demo/invoice.html
@@ -1,9 +1,9 @@
<body bgcolor=ffffff>
-<table width=100%>
+<table width=100 ?>
- <%include letterhead.html%>
+ <?lsmb include letterhead.html ?>
<tr>
<td width=10>&nbsp;</td>
@@ -19,75 +19,75 @@
<td>
<table width=100% callspacing=0 cellpadding=0>
<tr bgcolor=000000>
- <th align=left width=50%><font color=ffffff>To</th>
- <th align=left width=50%><font color=ffffff>Ship To</th>
+ <th align=left width=50 ?><font color=ffffff>To</th>
+ <th align=left width=50 ?><font color=ffffff>Ship To</th>
</tr>
<tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%>
- <%if state%>
- , <%state%>
- <%end state%>
- <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
+ <td><?lsmb name ?>
+ <br><?lsmb address1 ?>
+ <?lsmb if address2 ?>
+ <br><?lsmb address2 ?>
+ <?lsmb end address2 ?>
+ <br><?lsmb city ?>
+ <?lsmb if state ?>
+ , <?lsmb state ?>
+ <?lsmb end state ?>
+ <?lsmb zipcode ?>
+ <?lsmb if country ?>
+ <br><?lsmb country ?>
+ <?lsmb end country ?>
<br>
- <%if contact%>
- <br><%contact%>
+ <?lsmb if contact ?>
+ <br><?lsmb contact ?>
<br>
- <%end contact%>
+ <?lsmb end contact ?>
- <%if customerphone%>
- <br>Tel: <%customerphone%>
- <%end customerphone%>
+ <?lsmb if customerphone ?>
+ <br>Tel: <?lsmb customerphone ?>
+ <?lsmb end customerphone ?>
- <%if customerfax%>
- <br>Fax: <%customerfax%>
- <%end customerfax%>
+ <?lsmb if customerfax ?>
+ <br>Fax: <?lsmb customerfax ?>
+ <?lsmb end customerfax ?>
- <%if email%>
- <br><%email%>
- <%end email%>
+ <?lsmb if email ?>
+ <br><?lsmb email ?>
+ <?lsmb end email ?>
</td>
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddress2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%>
- <%if shiptostate%>
- , <%shiptostate%>
- <%end shiptostate%>
- <%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
+ <td><?lsmb shiptoname ?>
+ <br><?lsmb shiptoaddress1 ?>
+ <?lsmb if shiptoaddress2 ?>
+ <br><?lsmb shiptoaddress2 ?>
+ <?lsmb end shiptoaddress2 ?>
+ <br><?lsmb shiptocity ?>
+ <?lsmb if shiptostate ?>
+ , <?lsmb shiptostate ?>
+ <?lsmb end shiptostate ?>
+ <?lsmb shiptozipcode ?>
+ <?lsmb if shiptocountry ?>
+ <br><?lsmb shiptocountry ?>
+ <?lsmb end shiptocountry ?>
<br>
- <%if shiptocontact%>
- <br><%shiptocontact%>
+ <?lsmb if shiptocontact ?>
+ <br><?lsmb shiptocontact ?>
<br>
- <%end shiptocontact%>
+ <?lsmb end shiptocontact ?>
- <%if shiptophone%>
- <br>Tel: <%shiptophone%>
- <%end shiptophone%>
+ <?lsmb if shiptophone ?>
+ <br>Tel: <?lsmb shiptophone ?>
+ <?lsmb end shiptophone ?>
- <%if shiptofax%>
- <br>Fax: <%shiptofax%>
- <%end shiptofax%>
+ <?lsmb if shiptofax ?>
+ <br>Fax: <?lsmb shiptofax ?>
+ <?lsmb end shiptofax ?>
- <%if shiptoemail%>
- <br><%shiptoemail%>
- <%end shiptoemail%>
+ <?lsmb if shiptoemail ?>
+ <br><?lsmb shiptoemail ?>
+ <?lsmb end shiptoemail ?>
</td>
</tr>
</table>
@@ -112,13 +112,13 @@
</tr>
<tr>
- <td><%invnumber%></td>
- <td><%invdate%></td>
- <td><%duedate%></td>
- <td><%ordnumber%>&nbsp;</td>
- <td><%employee%>&nbsp;</td>
- <td><%shippingpoint%>&nbsp;</td>
- <td><%shipvia%>&nbsp;</td>
+ <td><?lsmb invnumber ?></td>
+ <td><?lsmb invdate ?></td>
+ <td><?lsmb duedate ?></td>
+ <td><?lsmb ordnumber ?>&nbsp;</td>
+ <td><?lsmb employee ?>&nbsp;</td>
+ <td><?lsmb shippingpoint ?>&nbsp;</td>
+ <td><?lsmb shipvia ?>&nbsp;</td>
</tr>
</table>
</td>
@@ -128,7 +128,7 @@
<td>&nbsp;</td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr bgcolor=000000>
<th align=right><font color=ffffff>Item</th>
<th align=left><font color=ffffff>Number</th>
@@ -141,62 +141,62 @@
<th align=right><font color=ffffff>Extended</th>
</tr>
- <%foreach number%>
+ <?lsmb foreach number ?>
<tr valign=top>
- <td align=right><%runningnumber%>.</td>
- <td><%number%></td>
- <td><%description%></td>
- <td><%deliverydate%></td>
- <td align=right><%qty%></td>
- <td><%unit%></td>
- <td align=right><%sellprice%></td>
- <td align=right><%discountrate%></td>
- <td align=right><%linetotal%></td>
+ <td align=right><?lsmb runningnumber ?>.</td>
+ <td><?lsmb number ?></td>
+ <td><?lsmb description ?></td>
+ <td><?lsmb deliverydate ?></td>
+ <td align=right><?lsmb qty ?></td>
+ <td><?lsmb unit ?></td>
+ <td align=right><?lsmb sellprice ?></td>
+ <td align=right><?lsmb discountrate ?></td>
+ <td align=right><?lsmb linetotal ?></td>
</tr>
- <%end number%>
+ <?lsmb end number ?>
<tr>
<td colspan=9><hr noshade></td>
</tr>
<tr>
- <%if taxincluded%>
+ <?lsmb if taxincluded ?>
<th colspan=7 align=right>Total</th>
- <td colspan=2 align=right><%invtotal%></td>
- <%end taxincluded%>
+ <td colspan=2 align=right><?lsmb invtotal ?></td>
+ <?lsmb end taxincluded ?>
- <%if not taxincluded%>
+ <?lsmb if not taxincluded ?>
<th colspan=7 align=right>Subtotal</th>
- <td colspan=2 align=right><%subtotal%></td>
- <%end taxincluded%>
+ <td colspan=2 align=right><?lsmb subtotal ?></td>
+ <?lsmb end taxincluded ?>
</tr>
- <%foreach tax%>
+ <?lsmb foreach tax ?>
<tr>
- <th colspan=7 align=right><%taxdescription%> on <%taxbase%> @ <%taxrate%> %</th>
- <td colspan=2 align=right><%tax%></td>
+ <th colspan=7 align=right><?lsmb taxdescription ?> on <?lsmb taxbase ?> @ <?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=7 align=right>Paid</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=5>&nbsp;</td>
<td colspan=4><hr noshade></td>
</tr>
- <%if total%>
+ <?lsmb if total ?>
<tr>
<td colspan=5>&nbsp;</td>
<th colspan=2 align=right nowrap>Balance Due</th>
- <th colspan=2 align=right><%total%></th>
+ <th colspan=2 align=right><?lsmb total ?></th>
</tr>
- <%end total%>
+ <?lsmb end total ?>
<tr>
</table>
@@ -207,28 +207,28 @@
<td>&nbsp;</td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr valign=top>
- <%if notes%>
- <td><%notes%></td>
- <%end notes%>
+ <?lsmb if notes ?>
+ <td><?lsmb notes ?></td>
+ <?lsmb end notes ?>
- <td><%text_amount%> ***** <%decimal%>/100</td>
+ <td><?lsmb text_amount ?> ***** <?lsmb decimal ?>/100</td>
<td align=right nowrap>
- All prices in <b><%currency%></b>
+ All prices in <b><?lsmb currency ?></b>
</td>
</tr>
</table>
</td>
</tr>
- <%if paid_1%>
+ <?lsmb if paid_1 ?>
<tr>
<td>&nbsp;</td>
<td colspan=9>
- <table width=60%>
+ <table width=60 ?>
<tr>
<th align=left>Payments</th>
@@ -246,22 +246,22 @@
<th align=left>Source</th>
<th align=left>Amount</th>
</tr>
- <%end paid_1%>
+ <?lsmb end paid_1 ?>
- <%foreach payment%>
+ <?lsmb foreach payment ?>
<tr>
- <td><%paymentdate%></td>
- <td><%paymentaccount%></td>
- <td><%paymentsource%></td>
- <td><%payment%></td>
+ <td><?lsmb paymentdate ?></td>
+ <td><?lsmb paymentaccount ?></td>
+ <td><?lsmb paymentsource ?></td>
+ <td><?lsmb payment ?></td>
</tr>
- <%end payment%>
+ <?lsmb end payment ?>
- <%if paid_1%>
+ <?lsmb if paid_1 ?>
</table>
</td>
</tr>
- <%end paid_1%>
+ <?lsmb end paid_1 ?>
<tr height=10></tr>
@@ -277,15 +277,15 @@
<td>&nbsp;</td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr valign=top>
- <td width=60%><font size=-3>
- Payment due by <%duedate%>.
- Items returned are subject to a 10% restocking charge. A return authorization must be obtained from <%company%> before goods are returned. Returns must be shipped prepaid and properly insured. <%company%> will not be responsible for damages during transit.
+ <td width=60 ?><font size=-3>
+ Payment due by <?lsmb duedate ?>.
+ 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>
- <td width=40%>
+ <td width=40 ?>
X <hr noshade>
</td>
</tr>
@@ -293,15 +293,15 @@
</td>
</tr>
- <%foreach tax%>
+ <?lsmb foreach tax ?>
<tr>
<td>&nbsp;</td>
- <th colspan=9 align=left><font size=-2><%taxdescription%> Registration <%taxnumber%></th>
+ <th colspan=9 align=left><font size=-2><?lsmb taxdescription ?> Registration <?lsmb taxnumber ?></th>
</tr>
- <%end tax%>
+ <?lsmb end tax ?>
- <%if taxincluded%>
+ <?lsmb if taxincluded ?>
<tr>
<td>&nbsp;</td>
</tr>
@@ -309,7 +309,7 @@
<tr>
<th colspan=8 align=left><font size=-2>Taxes shown are included in price.</th>
</tr>
- <%end taxincluded%>
+ <?lsmb end taxincluded ?>
</table>