Merge pull request #479 from timschofield/develop

Fetch defaults if no value sent
Minor code formatting changes
Merge pull request #480 from fahadhatib/develop

Minor code formatting changes
Change the column order to a more logical sequence
Use the api version of DB_query to avoid html being returned
25/7/14 Phil: Allow dummy - labour stock type items to be added to purchase orders.
27/07/14 Exson: Fixed the PO header lost initiator bugs when locations changed. Report by Akits from www.minghao.hk/bbs/.
In PDFPriceList.php: Adds comments (info for developers), ViewTopic and BookMark, and currency name in locale language; deletes unused lines; reformats for legibility; adjusts column sizes to field sizes; improves printing of stockmaster.longdescription; improves code to reduce execution time (calculation out of loops); links right column positions to right margin; corrects IF for CustomerSpecials (deletes translation).
ManualSalesTypes.html: Adds help info about Print a price list by inventory category.
Merge pull request #481 from fahadhatib/develop

Develop
Merge branch 'develop' of https://github.com/KwaMoja/KwaMoja into develop
Merge branch 'develop' into KwaMoja-Medical