summaryrefslogtreecommitdiff
path: root/templates/demo/sales_order.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/sales_order.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/sales_order.html')
-rw-r--r--templates/demo/sales_order.html188
1 files changed, 94 insertions, 94 deletions
diff --git a/templates/demo/sales_order.html b/templates/demo/sales_order.html
index 14c17e1e..e3ff7e13 100644
--- a/templates/demo/sales_order.html
+++ b/templates/demo/sales_order.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,65 +19,65 @@
<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>Attn: <%contact%>
- <%end contact%>
- <%if customerphone%>
- <br>Tel: <%customerphone%>
- <%end customerphone%>
- <%if customerfax%>
- <br>Fax: <%customerfax%>
- <%end customerfax%>
- <%if email%>
- <br><%email%>
- <%end email%>
+ <?lsmb if contact ?>
+ <br>Attn: <?lsmb contact ?>
+ <?lsmb end contact ?>
+ <?lsmb if customerphone ?>
+ <br>Tel: <?lsmb customerphone ?>
+ <?lsmb end customerphone ?>
+ <?lsmb if customerfax ?>
+ <br>Fax: <?lsmb customerfax ?>
+ <?lsmb end customerfax ?>
+ <?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%>
- <%end shiptocontact%>
- <%if shiptophone%>
- <br>Tel: <%shiptophone%>
- <%end shiptophone%>
- <%if shiptofax%>
- <br>Fax: <%shiptofax%>
- <%end shiptofax%>
- <%if shiptoemail%>
- <br><%shiptoemail%>
- <%end shiptoemail%>
+ <?lsmb if shiptocontact ?>
+ <br><?lsmb shiptocontact ?>
+ <?lsmb end shiptocontact ?>
+ <?lsmb if shiptophone ?>
+ <br>Tel: <?lsmb shiptophone ?>
+ <?lsmb end shiptophone ?>
+ <?lsmb if shiptofax ?>
+ <br>Fax: <?lsmb shiptofax ?>
+ <?lsmb end shiptofax ?>
+ <?lsmb if shiptoemail ?>
+ <br><?lsmb shiptoemail ?>
+ <?lsmb end shiptoemail ?>
</td>
</tr>
</table>
@@ -101,12 +101,12 @@
</tr>
<tr>
- <td><%ordnumber%></td>
- <td><%orddate%></td>
- <td><%reqdate%></td>
- <td><%employee%></td>
- <td><%shippingpoint%>&nbsp;</td>
- <td><%shipvia%>&nbsp;</td>
+ <td><?lsmb ordnumber ?></td>
+ <td><?lsmb orddate ?></td>
+ <td><?lsmb reqdate ?></td>
+ <td><?lsmb employee ?></td>
+ <td><?lsmb shippingpoint ?>&nbsp;</td>
+ <td><?lsmb shipvia ?>&nbsp;</td>
</tr>
</table>
</td>
@@ -116,7 +116,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>
@@ -128,41 +128,41 @@
<th><font color=ffffff>Amount</th>
</tr>
- <%foreach number%>
+ <?lsmb foreach number ?>
<tr valign=top>
- <td align=right><%runningnumber%>.</td>
- <td><%number%></td>
- <td><%description%></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 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=8><hr noshade></td>
</tr>
<tr>
- <%if taxincluded%>
+ <?lsmb if taxincluded ?>
<th colspan=6 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=6 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=6 align=right><%taxdescription%> on <%taxbase%> @ <%taxrate%> %</th>
- <td colspan=2 align=right><%tax%></td>
+ <th colspan=6 align=right><?lsmb taxdescription ?> on <?lsmb taxbase ?> @ <?lsmb taxrate ?> %</th>
+ <td colspan=2 align=right><?lsmb tax ?></td>
</tr>
- <%end tax%>
+ <?lsmb end tax ?>
<tr>
<td colspan=4>&nbsp;</td>
@@ -171,13 +171,13 @@
<tr>
<td colspan=4>
- <%text_amount%> ***** <%decimal%>/100
- <%if terms%>
- <br>Terms Net <b><%terms%></b> days
- <%end terms%>
+ <?lsmb text_amount ?> ***** <?lsmb decimal ?>/100
+ <?lsmb if terms ?>
+ <br>Terms Net <b><?lsmb terms ?></b> days
+ <?lsmb end terms ?>
</td>
<th colspan=2 align=right>Total</th>
- <th colspan=2 align=right><%ordtotal%></th>
+ <th colspan=2 align=right><?lsmb ordtotal ?></th>
</tr>
<tr>
@@ -192,14 +192,14 @@
<td>&nbsp;</td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr valign=top>
- <%if notes%>
+ <?lsmb if notes ?>
<td>Notes</td>
- <td><%notes%></td>
- <%end notes%>
+ <td><?lsmb notes ?></td>
+ <?lsmb end notes ?>
<td align=right nowrap>
- All prices in <%currency%> Funds</b>
+ All prices in <?lsmb currency ?> Funds</b>
</td>
</tr>
</table>
@@ -210,13 +210,13 @@
<td>&nbsp;</td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr valign=top>
- <td width=60%><font size=-3>
+ <td width=60 ?><font size=-3>
Special order items are subject to a 10% order cancellation fee.
</font>
</td>
- <td width=40%>
+ <td width=40 ?>
X <hr noshade>
</td>
</tr>