summaryrefslogtreecommitdiff
path: root/templates/demo/sales_quotation.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/sales_quotation.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/sales_quotation.html')
-rw-r--r--templates/demo/sales_quotation.html76
1 files changed, 38 insertions, 38 deletions
diff --git a/templates/demo/sales_quotation.html b/templates/demo/sales_quotation.html
index 7e4ac121..64fc8720 100644
--- a/templates/demo/sales_quotation.html
+++ b/templates/demo/sales_quotation.html
@@ -3,7 +3,7 @@
<table width="100%">
- <?lsmb include letterhead.html ?>
+ <?lsmb INCLUDE letterhead.html ?>
<tr>
<td width=10>&nbsp;</td>
@@ -22,34 +22,34 @@
<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 ?>
<br><?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 customerphone ?>
+ <?lsmb IF customerphone ?>
<br>Tel: <?lsmb customerphone ?>
- <?lsmb end customerphone ?>
+ <?lsmb END ?>
- <?lsmb if customerfax ?>
+ <?lsmb IF customerfax ?>
<br>Fax: <?lsmb customerfax ?>
- <?lsmb end customerfax ?>
+ <?lsmb END ?>
- <?lsmb if email ?>
+ <?lsmb IF email ?>
<br><?lsmb email ?>
- <?lsmb end email ?>
+ <?lsmb END ?>
</td>
</tr>
@@ -99,41 +99,41 @@
<th><font color=ffffff>Amount</th>
</tr>
- <?lsmb foreach number ?>
+ <?lsmb FOREACH number ?>
+ <?lsmb loop_count = loop.count - 1 ?>
<tr valign=top>
- <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>
+ <td align=right><?lsmb runningnumber.${loop_count} ?></td>
+ <td><?lsmb number.${loop_count} ?></td>
+ <td><?lsmb description.${loop_count} ?></td>
+ <td align=right><?lsmb qty.${loop_count} ?></td>
+ <td><?lsmb unit.${loop_count} ?></td>
+ <td align=right><?lsmb sellprice.${loop_count} ?></td>
+ <td align=right><?lsmb discountrate.${loop_count} ?></td>
+ <td align=right><?lsmb linetotal.${loop_count} ?></td>
</tr>
- <?lsmb end number ?>
+ <?lsmb END ?>
<tr>
<td colspan=8><hr noshade></td>
</tr>
<tr>
- <?lsmb if taxincluded ?>
+ <?lsmb IF taxincluded ?>
<th colspan=6 align=right>Total</th>
<td colspan=2 align=right><?lsmb invtotal ?></td>
- <?lsmb end taxincluded ?>
-
- <?lsmb if not taxincluded ?>
+ <?lsmb ELSE ?>
<th colspan=6 align=right>Subtotal</th>
<td colspan=2 align=right><?lsmb subtotal ?></td>
- <?lsmb end taxincluded ?>
+ <?lsmb END ?>
</tr>
- <?lsmb foreach tax ?>
+ <?lsmb FOREACH tax ?>
+ <?lsmb loop_count = loop.count - 1 ?>
<tr>
- <th colspan=6 align=right><?lsmb taxdescription ?> on <?lsmb taxbase ?> @ <?lsmb taxrate ?> %</th>
- <td colspan=2 align=right><?lsmb tax ?></td>
+ <th colspan=6 align=right><?lsmb taxdescription.${loop_count} ?> on <?lsmb taxbase.${loop_count} ?> @ <?lsmb taxrate.${loop_count} ?> %</th>
+ <td colspan=2 align=right><?lsmb tax.${loop_count} ?></td>
</tr>
- <?lsmb end tax ?>
+ <?lsmb END ?>
<tr>
<td colspan=4>&nbsp;</td>
@@ -142,9 +142,9 @@
<tr>
<td colspan=4>&nbsp;
- <?lsmb if terms ?>
+ <?lsmb IF terms ?>
Terms Net <b><?lsmb terms ?></b> days
- <?lsmb end terms ?>
+ <?lsmb END ?>
</td>
<th colspan=2 align=right>Total</th>
<th colspan=2 align=right><?lsmb quototal ?></th>
@@ -164,10 +164,10 @@
<td>
<table width="100%">
<tr valign=top>
- <?lsmb if notes ?>
+ <?lsmb IF notes ?>
<td>Notes</td>
<td><?lsmb notes ?></td>
- <?lsmb end notes ?>
+ <?lsmb END ?>
<td align=right>
All prices in <b><?lsmb currency ?></b> Funds
</td>