diff options
author | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2006-09-24 17:41:49 +0000 |
---|---|---|
committer | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2006-09-24 17:41:49 +0000 |
commit | 1eb75f0d6e9074d96445c810267aebe415b1b2d7 (patch) | |
tree | bc272b00a8c996cb1ac9a2b1584ec02c2b35306c /templates/demo/purchase_order.html | |
parent | 09f5d597213bde1837554d1b8c853aed24abccbf (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/purchase_order.html')
-rw-r--r-- | templates/demo/purchase_order.html | 188 |
1 files changed, 94 insertions, 94 deletions
diff --git a/templates/demo/purchase_order.html b/templates/demo/purchase_order.html index ba4c1d43..656f4527 100644 --- a/templates/demo/purchase_order.html +++ b/templates/demo/purchase_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> </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%> + <?lsmb if contact ?> + <br>Attn: <?lsmb contact ?> + <?lsmb end contact ?> - <%if vendorphone%> - <br>Tel: <%vendorphone%> - <%end vendorphone%> + <?lsmb if vendorphone ?> + <br>Tel: <?lsmb vendorphone ?> + <?lsmb end vendorphone ?> - <%if vendorfax%> - <br>Fax: <%vendorfax%> - <%end vendorfax%> + <?lsmb if vendorfax ?> + <br>Fax: <?lsmb vendorfax ?> + <?lsmb end vendorfax ?> </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>Attn: <%shiptocontact%> - <%end shiptocontact%> + <?lsmb if shiptocontact ?> + <br>Attn: <?lsmb 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 ?> </td> </tr> </table> @@ -101,12 +101,12 @@ </tr> <tr> - <td><%ordnumber%></td> - <td><%orddate%></td> - <td><%reqdate%></td> - <td><%employee%></td> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb ordnumber ?></td> + <td><?lsmb orddate ?></td> + <td><?lsmb reqdate ?></td> + <td><?lsmb employee ?></td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -114,7 +114,7 @@ <tr> <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> @@ -126,107 +126,107 @@ <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%></th> - <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 ?></th> + <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=7 align=right>Total</th> - <th colspan=1 align=right><%ordtotal%></th> - <%end taxincluded%> + <th colspan=1 align=right><?lsmb ordtotal ?></th> + <?lsmb end taxincluded ?> - <%if not taxincluded%> + <?lsmb if not taxincluded ?> <th colspan=7 align=right>Subtotal</th> - <td colspan=1 align=right><%subtotal%></td> - <%end taxincluded%> + <td colspan=1 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=1 align=right><%tax%></td> + <th colspan=7 align=right><?lsmb taxdescription ?> on <?lsmb taxbase ?> @ <?lsmb taxrate ?> %</th> + <td colspan=1 align=right><?lsmb tax ?></td> </tr> - <%end tax%> + <?lsmb end tax ?> <tr> <td colspan=4> </td> <td colspan=4><hr noshade></td> </tr> - <%if not taxincluded%> + <?lsmb if not taxincluded ?> <th colspan=7 align=right>Total</th> - <td colspan=1 align=right><%ordtotal%></td> - <%end taxincluded%> + <td colspan=1 align=right><?lsmb ordtotal ?></td> + <?lsmb end taxincluded ?> - <%if terms%> + <?lsmb if terms ?> <tr> - <td colspan=4>Terms Net <b><%terms%></b> days</td> + <td colspan=4>Terms Net <b><?lsmb terms ?></b> days</td> <th colspan=3 align=right>Total</th> - <th colspan=1 align=right><%ordtotal%></th> + <th colspan=1 align=right><?lsmb ordtotal ?></th> </tr> - <%end terms%> + <?lsmb end terms ?> - <%if taxincluded%> + <?lsmb if taxincluded ?> <tr> <td colspan=2>Tax included</td> </tr> - <%end taxincluded%> + <?lsmb end taxincluded ?> <tr> <td> </td> </tr> - <%if ordtotal%> + <?lsmb if ordtotal ?> <tr> <td colspan=8 align=right> - All prices in <b><%currency%></b> Funds + All prices in <b><?lsmb currency ?></b> Funds </td> </tr> - <%end ordtotal%> + <?lsmb end ordtotal ?> </table> </td> </tr> - <%if notes%> + <?lsmb if notes ?> <tr> <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> <td>Notes</td> - <td><%notes%></td> + <td><?lsmb notes ?></td> </tr> </table> </td> </tr> - <%end notes%> + <?lsmb end notes ?> <tr> <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td width=70%> </td> + <td width=70 ?> </td> - <td width=30%> + <td width=30 ?> X <hr noshade> </td> </tr> |