diff options
Diffstat (limited to 'templates/demo/purchase_order.html')
-rw-r--r-- | templates/demo/purchase_order.html | 108 |
1 files changed, 54 insertions, 54 deletions
diff --git a/templates/demo/purchase_order.html b/templates/demo/purchase_order.html index cc8ea763..228c0fe5 100644 --- a/templates/demo/purchase_order.html +++ b/templates/demo/purchase_order.html @@ -3,7 +3,7 @@ <table width="100%"> - <?lsmb include letterhead.html ?> + <?lsmb INCLUDE letterhead.html ?> <tr> <td width=10> </td> @@ -26,58 +26,58 @@ <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 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 ?> </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 ?> <br><?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> @@ -126,83 +126,83 @@ <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 ?></th> - <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} ?></th> + <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=7 align=right>Total</th> <th colspan=1 align=right><?lsmb ordtotal ?></th> - <?lsmb end taxincluded ?> - - <?lsmb if not taxincluded ?> + <?lsmb ELSE ?> <th colspan=7 align=right>Subtotal</th> <td colspan=1 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=7 align=right><?lsmb taxdescription ?> on <?lsmb taxbase ?> @ <?lsmb taxrate ?> %</th> - <td colspan=1 align=right><?lsmb tax ?></td> + <th colspan=7 align=right><?lsmb taxdescription.${loop_count} ?> on <?lsmb taxbase.${loop_count} ?> @ <?lsmb taxrate.${loop_count} ?> %</th> + <td colspan=1 align=right><?lsmb tax.${loop_count} ?></td> </tr> - <?lsmb end tax ?> + <?lsmb END ?> <tr> <td colspan=4> </td> <td colspan=4><hr noshade></td> </tr> - <?lsmb if not taxincluded ?> + <?lsmb IF NOT taxincluded ?> <th colspan=7 align=right>Total</th> <td colspan=1 align=right><?lsmb ordtotal ?></td> - <?lsmb end taxincluded ?> + <?lsmb END ?> - <?lsmb if terms ?> + <?lsmb IF terms ?> <tr> <td colspan=4>Terms Net <b><?lsmb terms ?></b> days</td> <th colspan=3 align=right>Total</th> <th colspan=1 align=right><?lsmb ordtotal ?></th> </tr> - <?lsmb end terms ?> + <?lsmb END ?> - <?lsmb if taxincluded ?> + <?lsmb IF taxincluded ?> <tr> <td colspan=2>Tax included</td> </tr> - <?lsmb end taxincluded ?> + <?lsmb END ?> <tr> <td> </td> </tr> - <?lsmb if ordtotal ?> + <?lsmb IF ordtotal ?> <tr> <td colspan=8 align=right> All prices in <b><?lsmb currency ?></b> Funds </td> </tr> - <?lsmb end ordtotal ?> + <?lsmb END ?> </table> </td> </tr> - <?lsmb if notes ?> + <?lsmb IF notes ?> <tr> <td> </td> @@ -216,7 +216,7 @@ </table> </td> </tr> - <?lsmb end notes ?> + <?lsmb END ?> <tr> <td> </td> |