summaryrefslogtreecommitdiff
path: root/templates/demo/bin_list.html
diff options
context:
space:
mode:
authortetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2007-04-04 02:35:26 +0000
committertetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2007-04-04 02:35:26 +0000
commit5c3a962f492011bebe096a5a4b007062152df2d7 (patch)
tree4767953d3090870de43ccb992ed096545be9e4da /templates/demo/bin_list.html
parenta3a6064b492c70ecacaa5b413547deb695212487 (diff)
First round of template changes for new TT system
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1023 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'templates/demo/bin_list.html')
-rw-r--r--templates/demo/bin_list.html93
1 files changed, 46 insertions, 47 deletions
diff --git a/templates/demo/bin_list.html b/templates/demo/bin_list.html
index 3a14e7d9..d9400d45 100644
--- a/templates/demo/bin_list.html
+++ b/templates/demo/bin_list.html
@@ -3,7 +3,7 @@
<table width="100%">
- <?lsmb include letterhead.html ?>
+ <?lsmb INCLUDE letterhead.html ?>
<tr>
<td width=10>&nbsp;</td>
@@ -26,63 +26,63 @@
<tr valign=top>
<td><?lsmb name ?>
<br><?lsmb address1 ?>
- <?lsmb if address2 ?>
+ <?lsmb IF address2 ?>
<br><?lsmb address2 ?>
- <?lsmb end address2 ?>
+ <?lsmb END ?>
<br><?lsmb city ?>
- <?lsmb if state ?>
+ <?lsmb IF state ?>
, <?lsmb state ?>
- <?lsmb end state ?>
+ <?lsmb END ?>
<?lsmb zipcode ?>
- <?lsmb if country ?>
+ <?lsmb IF country ?>
<?lsmb country ?>
- <?lsmb end country ?>
+ <?lsmb END ?>
<br>
- <?lsmb if contact ?>
+ <?lsmb IF contact ?>
<br>Attn: <?lsmb contact ?>
- <?lsmb end contact ?>
+ <?lsmb END ?>
- <?lsmb if vendorphone ?>
+ <?lsmb IF vendorphone ?>
<br>Tel: <?lsmb vendorphone ?>
- <?lsmb end vendorphone ?>
+ <?lsmb END ?>
- <?lsmb if vendorfax ?>
+ <?lsmb IF vendorfax ?>
<br>Fax: <?lsmb vendorfax ?>
- <?lsmb end vendorfax ?>
+ <?lsmb END ?>
- <?lsmb if email ?>
+ <?lsmb IF email ?>
<br><?lsmb email ?>
- <?lsmb end email ?>
+ <?lsmb END ?>
</td>
<td><?lsmb shiptoname ?>
<br><?lsmb shiptoaddress1 ?>
- <?lsmb if shiptoaddress2 ?>
+ <?lsmb IF shiptoaddress2 ?>
<br><?lsmb shiptoaddress2 ?>
- <?lsmb end shiptoaddress2 ?>
+ <?lsmb END ?>
<br><?lsmb shiptocity ?>
- <?lsmb if shiptostate ?>
+ <?lsmb IF shiptostate ?>
, <?lsmb shiptostate ?>
- <?lsmb end shiptostate ?>
+ <?lsmb END ?>
<?lsmb shiptozipcode ?>
- <?lsmb if shiptocountry ?>
+ <?lsmb IF shiptocountry ?>
<?lsmb shiptocountry ?>
- <?lsmb end shiptocountry ?>
+ <?lsmb END ?>
<br>
- <?lsmb if shiptocontact ?>
+ <?lsmb IF shiptocontact ?>
<br>Attn: <?lsmb shiptocontact ?>
- <?lsmb end shiptocontact ?>
+ <?lsmb END ?>
- <?lsmb if shiptophone ?>
+ <?lsmb IF shiptophone ?>
<br>Tel: <?lsmb shiptophone ?>
- <?lsmb end shiptophone ?>
+ <?lsmb END ?>
- <?lsmb if shiptofax ?>
+ <?lsmb IF shiptofax ?>
<br>Fax: <?lsmb shiptofax ?>
- <?lsmb end shiptofax ?>
+ <?lsmb END ?>
</td>
</tr>
</table>
@@ -100,9 +100,9 @@
<th width=17% align=left nowrap>Order #</th>
<th width=17% align=left nowrap>Date</th>
<th width=17% align=left nowrap>Contact</th>
- <?lsmb if warehouse ?>
+ <?lsmb IF warehouse ?>
<th width=17% align=left nowrap>Warehouse</th>
- <?lsmb end warehouse ?>
+ <?lsmb END ?>
<th width=17% align=left>Shipping Point</th>
<th width=15% align=left>Ship via</th>
</tr>
@@ -110,19 +110,17 @@
<tr>
<td><?lsmb ordnumber ?>&nbsp;</td>
- <?lsmb if shippingdate ?>
+ <?lsmb IF shippingdate ?>
<td><?lsmb shippingdate ?></td>
- <?lsmb end shippingdate ?>
-
- <?lsmb if not shippingdate ?>
+ <?lsmb ELSE ?>
<td><?lsmb orddate ?></td>
- <?lsmb end shippingdate ?>
+ <?lsmb END ?>
<td><?lsmb employee ?>&nbsp;</td>
- <?lsmb if warehouse ?>
+ <?lsmb IF warehouse ?>
<td><?lsmb warehouse ?></td>
- <?lsmb end warehouse ?>
+ <?lsmb END ?>
<td><?lsmb shippingpoint ?>&nbsp;</td>
<td><?lsmb shipvia ?>&nbsp;</td>
@@ -148,19 +146,20 @@
<th><font color=ffffff>Bin</th>
</tr>
- <?lsmb foreach number ?>
+ <?lsmb FOREACH number ?>
+ <?lsmb loop_count = loop.count - 1 ?>
<tr valign=top>
- <td><?lsmb runningnumber ?></td>
- <td><?lsmb number ?></td>
- <td><?lsmb description ?></td>
- <td><?lsmb serialnumber ?></td>
- <td><?lsmb deliverydate ?></td>
- <td align=right><?lsmb qty ?></td>
- <td align=right><?lsmb ship ?></td>
- <td><?lsmb unit ?></td>
- <td><?lsmb bin ?></td>
+ <td><?lsmb runningnumber.${loop_count} ?></td>
+ <td><?lsmb number.${loop_count} ?></td>
+ <td><?lsmb description.${loop_count} ?></td>
+ <td><?lsmb serialnumber.${loop_count} ?></td>
+ <td><?lsmb deliverydate.${loop_count} ?></td>
+ <td align=right><?lsmb qty.${loop_count} ?></td>
+ <td align=right><?lsmb ship.${loop_count} ?></td>
+ <td><?lsmb unit.${loop_count} ?></td>
+ <td><?lsmb bin.${loop_count} ?></td>
</tr>
- <?lsmb end number ?>
+ <?lsmb END ?>
</table>
</td>