RE: Prices on Product Selection form (SelectProduct.php)
Yes there can be any number of prices ... for different currencies, and price lists - the select product form just displays the price for the default sales type. Also, prices are set with effectivity so a price which kicks in next month for a week will be in the prices table so we need to check for the current price based on effective from < today and effective to > today
In days gone by all prices were displayed - but this was pretty ugly when there were a lot of prices set up so we changed it to just the current price for the default price list - it maybe that this loop is a legacy feature and needs to be dumped now.
Phil Daintree
webERP Admin
Logic Works Ltd
http://www.logicworks.co.nz
|