summaryrefslogtreecommitdiff
path: root/templates/demo/work_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/work_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/work_order.html')
-rw-r--r--templates/demo/work_order.html146
1 files changed, 73 insertions, 73 deletions
diff --git a/templates/demo/work_order.html b/templates/demo/work_order.html
index 38fadacf..b0c4ee49 100644
--- a/templates/demo/work_order.html
+++ b/templates/demo/work_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>
@@ -127,17 +127,17 @@
<th><font color=ffffff>Serial #</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><%bin%></td>
- <td><%serialnumber%></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><?lsmb bin ?></td>
+ <td><?lsmb serialnumber ?></td>
</tr>
- <%end number%>
+ <?lsmb end number ?>
<tr>
<td colspan=7><hr noshade></td>
@@ -150,9 +150,9 @@
<tr>
<td>&nbsp;</td>
- <%if notes%>
- <td><%notes%></td>
- <%end notes%>
+ <?lsmb if notes ?>
+ <td><?lsmb notes ?></td>
+ <?lsmb end notes ?>
</tr>
</table>