webERP Change Log
2/4/2012  Bill Zhang, 劉世琪: Add Chinese Traditional TW locale
2/4/2012  Exson: Change Simplified Chinese translation of string 'Extended Quantity BOM listing for ' to shorter items otherwise stockid will disappear.
31/3/2012 Exson: Fixed for PcAuthorizeExpenses.php cannot authorized expenses due to no applying gettext function to 'Update'
31/3/2012: PakRichard:  Fixed problem that on PCAssignCashToTab.php it should be used the decimal places of the currency of the tab, not the decimal places of the functional currency.The same in PcClaimExpensesFromTab.php
31/3/2012 Kunshan-Ouhai(xjl7896): Fixed bug in PDFStockCheckComparision.php when selecting Report and Close the Inventory Comparison, there will be seriously sql errors. Reported and fixed by Kunsha-Ouhai from webERP Chinese community QQ group. 
31/3/2012 Dafydd Crosby: Revise scripts Add_SerialItemsOut.php and OutputSerialItems.php fixes a problem that occurs when receiving a bulk inventory transfer. There was a hard-coded loop that prevented adding bundles that were greater than 10. 
29/3/2012 Exson: Fixed Z_CopyBOM.php which show sql errors and does not work.
25/3/2012 Exson: Add page footer with total pages for users verification purpose in PrintCustOrder.php Reported by Russell
25/3/2012 Exson: Add return back link for SupplierInvoice.php while users make input errors. Reported by Ke from webERP Chinese Community QQ group
23/3/2012 Exson: Fixed accounting period display gabarge for Win OS in simplified Chinese language in DateFunctions.inc. Reported by CQZ from webERP Chinese community QQ group.
23/3/2012 Ke: Fixed footer time not display correctly in Win OS in simplified Chinese language in footer.inc. Reported and fixed by Ke from webERP Chinese community QQ group.
22/3/2012 Phil: Fixed ImportStocks.php which does not work.
22/3/2012 Exson: Add filter_number_format() to filter $_POST['StockIDQTY'.$i] in StockLocTransfer.php 
22/3/2012 Exson Replace array_key_exists() with isset() for efficiency in StockLocTransfer.php 
22/3/2012 Exson: Fixed no negative check for condition where the accumulated quantity of the same stock item is over Quantity on hand but quantity of it on each line is less than Quantity on hand. Reported by Rong
22/3/2012 Exson: Fixed time displayed incorrectly in footer in Win OS since the strftime() encoding is not UTF-8. Reported by CQZ and KE in webERP Chinese Community QQ group.
22/3/2012 Exson: Fixed period displayed incorrectly in GL inquiry in Win OS since the strftime() encoding is not UTF-8. Reported by CQZ and KE in webERP Chinese Community QQ group.
21/03/2012 CQZ,KE: (From webERP chinese community QQ Group) Fixed the csv file cannot display UTF-8 characters correctly in Excel.
20/03/2012 Exson: Fixed item properties are not deleted together with item deletion in Stocks.php. Reported by Zhoule from webERP chinese forum QQ group.
20/03/2012 Exson: Fixed Multi currency payment exchange rate errors in Payments.php. Reported by PakRichard
20/3/2012 Exson: Fixed bugs that users push Process Credit button in Credit_Invoice.php directly without update will lead to unbalance Journal entry. Reported by Russ
13/3/2012 Phil: Decrement $FromTransNo to show the correct invoice number mailed in PrintCustTransPortrait.php 
13/3/2012 Exson: Fixed type in PrintCustTransPortrait.php
13/3/2012 Exson: correct mailing invioce or credit note No showing in mail sending messages in PrintCustTransPortrait.php. Reported by Thomas_lie
12/3/2012 Exson Change PDF file to be forced download of ReorderLevel.php 
12/3/2012 Exson: The Time Zone set does not work. Change it back.
12/3/2012 Exson: Update the UpgradeDatabase.php to slim the upgrade process.
12/3/2012 Exson: Add sql file for new release upgrade4.07-4.08.sql for stable version only
12/3/2012 Exson: Add Asia/Beijing to timezone.csv and remove Asia/Chongqing
12/3/2012 Exson: Restore class.pdf.php file to old version due to Chinese characters missing 
12/3/2012 Exson: Fixed freight cost over 1000 cannot be calculated correctly in ConfirmDispatch_Invoice.php Reported by Craig Craven. 
10/3/2012 Exson: Fixed items on PO quantity not rule out cancelled, rejected or pending PO in BOMExtendedQty.php. Reported by Bill Zhang
8/3/2012 Exson: Upgrade TCPDF folders
8/3/2012 Vitaly: Fixed the width calculation error in class.pdf 
6/3/2012 Exson: Fixed bugs which cannot handle serialised items in StockAdjustments.php Reported by Soujiro
6/3/2012 Remove carriage return and feed line from Quotation PDF file in PDFQuotation.php Reported by Thomas_lie fixed by Exson.
6/3/2012 Add length check of category description to prevent blank description in StockCategories.php Fixed by Exson
6/3/2012 Fixed typo error 'status' in CreditStatus.php reported by James Dupin and Fixed by Phil
2/3/2012 DeliveryDetails.php  Display Sales Orders information after quotation modification instead of quotation information selection. Reported by rfthomas.Fixed by Exson

28/2/2012 Added DB_escape_string() to narrative in SQL INSERT statements. Fixes a problem posting to database when the string contains quotes. Fixed by Vitaly

28/2/2012 Add missing security.png to css/aguapop/images reported by James Dupin and fixed by Exson
26/2/2012 Fixed bugs in SelectOrderItems.php where Frequently ordered items cannot be added to orders fixed by Exson
26/2/2012 Prevent from duplication records caused by page refreshing of PO_Items.php reported by CQZ from webERP Chinese Forum QQ group fixed by Exson
26/2/2012 PDFChequeListing.php does not show debug info Report and fixed by Vitaly.
26/2/2012 PDFSuppTransListing.php does not work properly. Report and fixed by Vitaly
26/2/12 menu of default theme cannot display properly Reported by James Dupin and fixed by Tim
25/2/12 James Dupin: remove extra ")" in CompanyPreference.php.
24/2/12 James Dupin: gettext function missing in AgedSuppliers. 
Release 4.07

11/2/12 Phil: Fix Prices.php for end dates when a new price with no end date is inserted with a start date in the future.
11/2/12 Ahmed.Fawzy: Repairs to Prices_Customer.php option to have prices for a single customer and all branches had been compromised by having the branch selection box with no "All Branches" option. Also selected branch was not showing as it should have when editing a specific branch price
7/2/12 Ricard: Made new system parameter for StandardCostDecimalPlaces - reworked SelectProduct.php and StockCostUpdate.php to use the new parameter. Modified SystemParameters.php to allow the parameter to be a number between 0 and 4 inclusive.
7/2/12 Phil: Reworked ReorderLevelLocation.php
7/2/12 Phil: StockTransfers.php if SESSION['Transfer'][0] not set then now initiate a new transfer
7/2/12 Exson: Sent NewTransfer with call from SelectProduct.php to ensure new transfer initiated
6/2/12 Tim: Removed FUD as new API functions seem consistent with the rest of the API</p>
6/2/12 Phil: Added new API function InsertDebtorReceipt in api_debtortransactions.php
4/2/12 Vitaly: Fixed addTextWrap() in class.pdf.php. The length of the string was not calculated properly, causing long strings to print beyond the cell boundaries.
4/2/12 Phil: Added new API function CreateCreditNote in api_debtortransactions.php
3/2/12 Vitaly:Fixed bug that was not allowing PO lines to be deleted in OrderValue method of PO class was testing using asignment operator not comparison operator
31/1/12 Vitaly: Added DB_escape_string before ItemDescription and SupplierName in GoodsReceived.php to prevent problems with '.
31/1/12 Phil: Stocks.php error on changing a stock category the journal between the stock GL accounts was not working because $NewStockAccount should have been $NewStockAct
31/1/12 Phil: PO_Items.php removed $Maximum_Number_Of_Parts_To_Show should exist when we are already limiting the output of the query based on the configuraiton option $_SESSION['DefaultDisplayRecordsMax'];
30/1/12 Vitaly: Removed extra 'AND' in SQL statement in ReverseGRN.php
29/1/12 Phil: Alterations to API to fix SQL and to add InvoiceSalesOrder method
29/1/12 Phil: Z_ChangeStockCode.php now alters SalesCategories of items being changed
28/1/12 Ahmed.Fawzy: StockCategories.php fixes for numericvalue not displaying and errored with "minimum value is not numeric"
28/1/12 Phil: ConfirmDispatch_Invoice.php corrected link to ConfirmDispatchControlled_Invoice.php to send $identifier to get the correct session variable containing the order to invoice
28/1/12 Tim: SpecialOrder.php added $identifier to session class variable to avoid overlapping sessions in multiple tabs.
27/1/12 Phil: PO_AuthoriseMyOrders.php fixed html in hidden $_POST['StatusComments'] by using htmlentities($_POST['StatusComments'])
25/1/12 Vitaly: Added quotes and missing closing tags in multiple files
24/1/12 Vitaly: Added quotes to attributes in multiple files and changed option selected to selected="selected".
23/1/12 Vitaly: Added quotes to attributes in multiple files.
22/1/12 Vitaly: Added quotes and missing closing tags in multiple files
21/1/12 Vitaly: Added quotes to attributes in multiple files.
21/1/12 Vitaly: xhtml fixes in multiple files.
20/1/12 Phil: Fixed GetStockPrice API function for effectivty dates
20/1/12 Vitaly: Changed $DB_error_no($db) to DB_error_no($db) in Z_ChangeStockCode.php
20/1/12 Vitaly: xhtml fixes in CustomerBranches.php StockAdjustments.php WorkOrderEntry.php
20/1/12 Tim: Merge tendering system from Tim's branch
20/1/12 Tim: Merge xhtml fixes from Tim's branch: Labels.php TaxGroups.php GLCodesInquiry.php CustomerInquiry.php SalesByTypePeriodInquiry.php ContractBOM.php Shippers.php MRPPlannedWorkOrders.php
20/1/12 Tim: Added previously received quantity to stock transfer notes PDFStockLocTransfer.php
19/1/12 Vitaly: Added missing ')' at the end of some INSERT statements Stocks.php.
19/1/12 Phil: Check on deletion of a location to see if any purchase orders exist prior to deletion
19/1/12 Phil:StockCheck.php fixed error in SQL two ANDs in calculating quantity demand reported by Ricard
19/1/12 Paul Harness: SelectOrderItems.php $i++ - in code for frequently ordered items.
17/1/12 Vitaly: Removed unused .table2 declaration from default.css. Fixed border settings in .table1.
16/1/12 Phil: Made StockReorderLevel.php just update changed fields rather than update all locations even though they may not have changed./
8/1/12 Phil: Added new api functions to get tax group taxes, list tax authorities, get tax authority details and get tax authority tax rates, also to list and get payment methods
8/1/12 Paul Harness: PcAuthorizeExpenses.php Compare date against SQL raw date format, then convert for display when deciding to display authorize checkbox.
8/1/12 Paul Harness: PcClaimExpensesFromTab.php Use DefaultDateFormat for date in expense entry.

Release 4.06.6

7/1/12 Phil: José Roberge (robergej) reported that purchase invoice tax on tax was not being processed correctly although it was appearing on the supplier invoice during entry of the invoice the processing was not calculating the tax on tax. Fixed SupplierInvoice.php
7/1/12 Phil: Brian May reported that was unable to add completed (fully received) lines off a purchase order against a shipment. Removed trap to allow completed (fully received) lines to be added.
5/1/12 Phil: Brian May reported issues with entering shipments discovered parameter DecimalPlaces missed off adding line to shipment also quotation error in entering shipment ETA date.

3/1/12 Release 4.06.5

30/12/11 Phil: install/index.php now checks for the existence of config.php before attempting to run the installation script
29/12/11 Phil: includes/SelectOrderItems_intoCart.inc and includes/DefineCartClass.php fix line numbers for order lines

28/12/11 Release 4.06.4

28/12/11 Phil: SelectCreditItems.php SelectOrderItems.php CounterSales.php includes/DefineCartClass.php fixes for ExistingOrder . $identifier
27/12/11 Phil: PDFStockLocTransfer.php now has include('includes/session.inc') above the title. Fixes to allow manual entry.

22/12/11 Release 4.06.3

22/12/11 Phil: Fix to install/save.php to use mysqli_connect_error to report the connection error
22/12/11 Phil: Shipments.php was not retaining vessel and voyage
20/12/11 Phil: StockLocTransfer.php can now import a csv of items to transfer and each line can be checked to remove if required,
20/12/11 Phil: Fix StockTransfers.php missing brackets around calculation in parameter passed to SQL
15/12/11 Phil: Fix to UpgradeDatabase.php the button to perform the upgrade was missing for older versions where the version was not stored in the DB.
15/12/11 Phil: SalesGraph.php was trying to set background colour to 'selection' changed to white
15/12/11 Vitaly Shevkunov: Shipments.php fixed missing quote in html
14/12/11 Tim Schofield: check_syntax.sh Script for checking syntax of all php scripts in webERP
13/12/11 Vitaly Shevkunov: Z_ChangeStockCode.php fixed call to DB_error_no had missing ($db) - also turned off FOREIGN KEY CHECKS before updating the BOM.
13/12/11 Exson: Fix SelectOrderItems.php and DeliveryDetails.php for where an order is modified while another order is being created in a different tab of the browser - $_SESSION['ExistingOrder'] now modified to $_SESSION['ExistingOrder' .$identifier] as suggested by Tim
13/12/11 Phil: Fixed other scripts affected and send $identifier to add_to_cart and remove_from_cart functions
11/12/11 Phil: SupplierInvoice.php attempts to post back any cost variances where there is no stock left to apportion the variances to - posting back to stockmoves (so the DailySales.php and other sales inquiry scripts reflect the appropriate GP) and the salesanalysis tables
11/12/11 Phil: DailySalesInquiry.php removed incorrect call to establish new cart object??
10/12/11 Brian May: ConfirmDispatch_Invoice.php corrected SQL that was not calculating the difference to go to the orderdeliverydifferences log in parenthesis first before casting/concatenating to string for the SQL.

3/12/11 Release 4.06.2

2/12/11 Phil: Added indian_number_format for specific unusal number formatting 00,00,000.00 for India and apparently South Asian countries. Kicks in for en_IN.utf8 and hi_IN.utf8
27/11/11 Phil: Removed a load of DB_escape_string() calls as no longer required now the entire $_POST and $_GET array are DB_escape_string()'ed
27/11/11 Tim: PrintCustTransPortrait.php added bank account code
27/11/11 Tim: GLTagProfit_Loss Gross Profit calculation error was = COGS - fixed
26/11/11 Phil: SupplierInvoice.php attempt to update salesanalysis cost if goods sold prior to purchase invoice being entered
26/11/11 Phil: Added missing images to aguapop theme - for customer inquiry
26/11/11 Phil: ConfirmDispatchControlledInvoice.php now uses $identifier in session variable name to ensure uniqueness
26/11/11 Phil: PcAssignCashToTab.php removed unecssary DB_escape_string() calls
26/11/11 Phil: StockCostUpdate.php fix link to StockStatus.php
23/11/11 Phil: UserSettings.php - now only checks password if != ''
22/11/11 Phil: StockCategories number_formatting of minumum and maximum values of stock category properties
22/11/11 Felix Lim: StockSerialItems.php closing quote typo.
21/11/11 Phil: UserSettings.php now checks for at least 5 character passwords WWW_Users.php CustLoginSetup.php and SupplierLoginSetup.php now also check for 4 character userids
21/11/11 Felix Lim: WWW_users.php malfomed <input type="hidden" - with no closing >
20/11/11 Phil: Shipments.php now only allows purchase order items to be added to a shipment where the shipment is authorised. Completed, rejected, cancelled orders no longer show.
20/11/11 Phil: Shipments.php now shows quantities to the number of decimal places defined in the stock master and amounts in the currency of the purchase order.
20/11/11 Phil: PO_Header.php purchase orders cannot be cancelled now if they are on a shipment - need to remove from the shipment first

19/11/11 Release 4.06RC3 - 4.06.1

19/11/11 Phil: SupplierAllocations.php fixes for number_formatting
19/11/11 Phil: CounterSales.php fixes as made to SelectOrderItems.php for discount/price - also AmountPaid not run through filter_number_format on display only when the value is used.
19/11/11 Phil: Fixes to SelectOrderItems.php and associated scripts to prevent issues with discount entry and price modifications
19/11/11 Phil: ConfirmDispatch_Invoice.php and ConfirmDispatchControlled_Invoice.php now use $idenfier in the $SESSION name to avoid $_SESSION conflicts.
19/11/11 Phil: MiscFunctions.php filter_number_format now checks for several . in numbers and removes all exlcuding the last to ensure SQL compliant numbers returned.
16/11/11 Phil: Prices_Customer.php sql error had neglected to include currencies table to get the number of decimalplaces to show
16/11/11 Phil: reportwriter/WriteReport.inc modified to use OutputD function in class.pdf.inc
15/11/11 Phil: includes/LanguageSetup.php was not including LanguagesArray.php in reportwriter as PathPrefix was not prepended
14/11/11 Don Grames: AgedDebtors.php now ignores balances with an absolute value of < 0.005
14/11/11 Dafydd Crosby: Allow serialised perishible items to have expiration dates.

13/11/11 Release 4.06RC2

12/11/11 Phil: Purchase order Order_Value in includes/DefinePOClass.php now only looks at the value of lines left on the order after deleted lines
12/11/11 Phil: Removed old Numbers to words class code - this code was not in keeping with the rest of the system and not PHP 5 compatible anyway. Replaced with a much simpler function. This code is only used for pre-printed cheques - so it is in that script only. The new function may not effective for other languages but will be easily adapted as needed. The PrintCheque.php script needs to be modified specifically for the business stationery.
10/11/11 Phil: added a function in includes/SQL_CommonFunctions.inc EnsureGLTransBalance that looks at the gltrans entries for a given transaction type and type number and if the total is not zero and less than 0.05 it fudges the largest gltrans record to make the gltrans balance in total - added to ConfirmDispatch_Invoice.php Credit_Invoice.php SelectCreditItems.php CounterSales.php Payments.php CustomerReceipt.php
10/11/11 Phil: includes/DateFunctions.inc fixed GetPeriod function to create new period when just one month ahead of last period - worried about this can't see how it could have been like this so long without a bug report?
10/11/11 Phil: includes/LanguageSetup.php now sets LC_NUMERIC locale category after LC_ALL to ensure SQL compliant calculations
8/11/11 Phil: includes/GetConfig.php no longer casts the VersionNumber to a double - issue highlighted by Tim
8/11/11 Felix Lim: includes/InputSerialItems.php and InputSerialItemsKeyed.php now sends $identifier
8/11/11 Phil: CustomerReceipt.php now shows entries made with decimal places of the currency being entered
8/11/11 Phil: fixed bugs reported by Ron Wong and Don SelectSupplier.php sql error missed "s" off suppliers and CustomerReceipt.php - had not populated new class variable (property) of CurrDecimalPlaces

6/11/11 Release 4.06RC1

30/10/11 Exson: Modification to Stocks.php to avoid losing PanSize and ShrinkFactor
30/10/11 Phil: Made it so a saleman cannot be deleted if a user is setup referring only to this salesperson
29/10/11 High-Tech Bridge SA Security Research Lab <advisory@htbridge.ch> - sanitising $_SERVER['PHP_SELF'] and unquoted sql in reportwriter/FormMaker.php and reportwriter/ReportMaker.php
15/10/11 Phil: Tried to get correct characters for each language's thousands separator and decimal point in includes/LanguagesArray.php
15/10/11 Phil: Updated PHPplot to 5.5.0
15/10/11 Fred Schuettler aguapop - theme
8/10/11 Ricard: PcExpenses.php PcAuthorizeExpense.php now uses GL tags
8/10/11 Phil: SelectSalesOrder.php now allows for creation of purchase orders for the components of assembly items on sales orders.
29/9/11 Ricard: added new query critera to AuditTrail.php to look for text in query strings to enable searching for updates/inserts/deletes relating to a specified customer or item code etc
22/9/11 Exson: fixed the bug in GLAccountReport.php for typename from the right table (systypes) in SQL and change locale_number_format for multinational.
17/9/11 Phil: Added WindowsLocale element to LanguagesArray.php and modified UserSettings.php and WWW_Users.php to use the new array definition. Also modified includes/LanguageSetup.php to use the windows locale string in the LanguagesArray as required for proper setting of the locale under windows.
17/9/11 Felix Lim: added serialised field into PrintCustTransPortrait.php to reinstate possiblity for printing serialised items on invoice - not possible in landscape version (PrintCustTrans.php)
12/9/11-31/10/11 Phil/Exson/Tom: Change all scripts to allow display and input of numbers in the format of the selected users locale
5/9/11 Phil: Fixed supplier payment exchange rate ... was being calculated incorrectly from functional exchange rate and the exchange rate between the currency of the bank account and currency of payment.
5/9/11 Phil: GLTransInquiry posted was not retrieved correctly - now fixed
4/9/11 Phil: Removed the stock code from form entities in SelectOrderItems.php and PO_Items.php to prevent issues with some characters in stock codes as suggested by Tim
4/9/11 Marcos Skambraks: SelectOrderItems.php and CounterSales.php removed incorrect !== comparisons sh/been != comparisons
4/9/11 Marcos Skambraks: modified tcpdf.php to just send the pdf header - was causing issues with apache fastcgi module
3/9/11 Ricard: Changed SelectProduct.php to show just current prices
3/9/11 Phil: Changed SelectCustomer to use %% around each parameter to use just a single SQL statement rather than several which ignored other inputs - as suggested by Marcos Skambraks
2/9/11 Phil: Made locale_number_format() as per Tim's instruction that displays numbers in the format of the locale in includes/LanguageSetup.php and replaced all occurrences of locale_number_format() with locale_number_format()
2/9/11 Warren Olds: scaling of image in GetStockImage.php
31/8/11 Ricard: StockAdjustments.php now sends an email to the inventory manager on the creation of manual stock adjustments. The inventory manager email is defined in SystemParameters.php - leaving the email address blank will stop any emails from being created.
29/8/11 Ricard: Updated lastcostupdate in StockCostUpdate.php
29/8/11 Phil: Reinstated stockmaster.lastcostupdate field - added update to lastcostupdate in WorkOrderReceive.php
27/8/11 Phil: WorkOrderIssue.php now allows issue of 0 cost items to the work order - in the event that customer supplied product needs to be included in a work order and the quantities maintained for accountability to the customer
26/8/11 Pablo Martin: Fixed bugs in ConnectDB_mysql.inc in DB_Txn_Commit and DB_Txn_Begin was using msql functions not mysql functions!!
23/8/11 Phil: Added BuyerName to Delivery Details and the cart class
23/8/11 Ricard: PDFPrintLabel Does Not display discontinued items and now allows printing of future price labels
21/8/11 Phil: Fixed bug that duplicated purchase order items when more than one item was added to an existing purchase order
21/8/11 Phil: BackupDatabase.php Delete link now deletes any backup files in the company directory in case any were left there before - as this is a serious security issue if files are left on the web-server
19/8/11 Phil: Fixed bug in Stocks.php should have used Date($_SESSION['DefaultDateFormat']) instead of Date('Y-m-d') inside GetPeriod function as pointed out by Ricard
16/8/11 Tim: SelectCustomer.php fixed selection of customer where the first one was selected needed /to kick off count at 0.
19/8/11 Phil: Remove redundant field stockmaster.lastcurcostdate
19/8/11 Ricard: Fine tuning formatting PDFStockNegatives.php
19/8/11 Carlos Urbieta Cabrera: security.png image was missing now added
14/8/11 Phil: SystemParameters.php default ProhibitPostingsBefore to 1900-01-01 when no default is currently set - can cause errors at the moment as defaults to the latest period if not previously set.
14/8/11 Phil: Stocks.php now does a journal for any work in progress on a change of category where the new category has a different GL account for WIP - and bug fixes as per Ricard
12/8/11 Phil: Backed out changes on 7/8 that prevented SelectProduct.php transaction links - now only purchase order links blocked if an item is obsolete
12/8/11 Phil: CounterSales.php apply discountmatrix fixes
11/8/11 Phil: GoodsReceived.php now has checkbox to flag the order line as complete - even though the quantity delivered might be short of the order quantity.
11/8/11 Phil: PO_Items.php link to complete uncompleted lines - status of order is changed to complete is all lines are completed
10/8/11 Phil: POReport.php added link to detail purchase order inquiry
10/8/11 Phil: PO_SelectPurchOrder.php and outstanding purchase order searches now show the delivery date (from the purchase order header) line items may have different delivery dates.
10/8/11 Phil: Stocks.php changing the stock category to one with a different stock account now creates a journal (if stock is linked to GL) to move the cost of the stock from the old GL account to the new GL account
7/8/11 Phil: SelectProduct.php now disables transactions on items flagged as obsolete (discontinued). /Also obsolete items are shown as such in the selection list - suggested by Klaus (opto)
7/8/11 Ricard: Corrected INNER JOIN ON clause in sql used in InventoryQuantities.php script
7/8/11 Klaus: Added docuwiki links to WikiLinks function in MiscFunctions.php and allow Docuwiki option in SystemParameters.php
6/8/11 Ricard: SalesInquiry.php fix wording of labels to be more consistent with the rest of webERP
6/8/11 Phil: PO_Items.php now has checkbox to select items that have purchasing data entered for the supplier ordering from - as per Klaus's (opto) suggestion
6/8/11 Exson: Added leadtime to the link from SelectProduct.php so that delivery dates used when creating purchase orders make sense
4/8/11 Phil: Fix GP Percent reported when discounts updated by discount matrix
4/8/11 Phil: Make PO_SelectOSPurchOrder.php behave similarly to SelectPurchOrder.php (for inquiries) where the order number is the link that takes you to the order
4/8/11 Ricard: SalesInquiry.php now shows net sales after discounts
31/7/11 Phil: PO_Header.php - was not updating when update hit as reported by Klaus(opto)
31/7/11 Phil: BackupDatabase.php script
30/7/11 Phil: SelectCreditItems.php made it so if several sessions creating a credit note they no longer over-write each other.
30/7/11 Ricard: POItems.php now checks for return of more than 1 purchasing data from the supplier and takes the newest record

27/7/11 Version 4.05

27/7/11 includes/LanguageSetup.php now checks for existence of LC_MESSAGES (it doesn't exist on windows servers) and uses LC_ALL as the fall back only
27/7/11 Fixed quoting in PDFSuppTransListing.php, StockReorderLevel.php WhereUsedInquiry.php Z_ReverseSuppPaymentRun.php
26/7/11 SalesCategories.php fixed display of active categories - this script is not used by webERP - only by Mo Kelly's joomla cart application

24/7/11 Version 4.04.5

24/7/11 Phil: CustomerBranches.php check for existance of Shippers and TaxGroups
24/7/11 Phil: CustLoginSetup.php and SuppLoginSetup can no longer edit user accounts - only add
24/7/11 Phil: Updated Hungarian/German/Portuguese/Japanese translations from launchpad.
22/7/11 Phil: Make link from SelectCustomer.php to CounterSales.php so that sales together with payment can be entered directly against a selected customer.
22/7/11 Phil: Change SelectCreditItems.php and SelectCustomer.php to select customer and branch using form variables in the same way as SelectOrderItems.php to avoid difficulties with spaces and hyphens - and to be consistent.
17/7/11 Phil: error in taxes GL posting SelectCreditItems.php
9/7/11 Phil/Beth Lesko: Comments not wrapping correctly on quotations - fixed landscape quotation
8/7/11 Phil: Remove duplication of checking for illegal characters - use the same function in MiscFunctions.php ContainsIllegalCharacters in Currencies and the utility scripts Z_ChangeBranchCode.php and Z_ImportStockCodes.php
8/7/11 Phil: Change all strstr occurrences to use multi-byte function mb_strstr
8/7/11 Phil: Trap codes with decimal point "." in them in the IllegalCharacters function
8/7/11 Phil: Fix discount matrix calculations on order entry and amendment
5/7/11 Phil: Amend menu to use PDFStockLocTransfer.php to reprint transfer list - as reported by Ron Wong
3/7/11 Phil: changed all strpos to mb_strpos
3/7/11 Phil: changed all strtoupper to mb_strtoupper
3/7/11 Phil: changed all substr to mb_substr
3/7/11 Phil: changed all <br> to <br />
3/7/11 Phil: changed all strlen to mb_strlen to resolve the issue with multi-byte strlen issues as UTF-8 is a multi-byte character encoding system
3/7/11 Pablo Martin: WorkOrderCosting.php extra comma in SQL after decimalplaces field - now removed
29/6/11 Phil: Bank account to allow default for invoice in currency and also a fall back default to show on invoice where no default for the currency. Modified BankAccounts.php and PrintCustTrans.php (Landscape only) to show the pertinent bank account given the currency of the invoice
28/6/11 Phil: Make assembly items explode into components on packing slips PrintCustOrder_generic.php
28/6/11 Exson: MRPDemands.php links missing ? now fixed - script fixed for quoting variable name CamelCasing
27/6/11 Exson: MRP.php fixed modulus arithmetic that prevented suggesting production quantities where the quantity was less than 1 - the calculation using PanSize should round up to the nearest whole unit to manufacture
26/6/11 Phil: Fixed reference to $_POST['StockID'] in WorkOrderCosting.php when updating the new weighted average cost
26/6/11 Phil: Went back to no number_formatting on PurchData.php
26/6/11 Phil: Went back to no number_formatting on PO_Items.php price and quantity - Brian May still reporting issues
25/6/11 Phil: Made PO_PDFPurchOrder.php have the description of the order item run over several lines where it exceeds the width of the space allowed for it
22/6/11 Phil: Added message to AccountGroups.php to show that child account groups cannot have changes to their account section, their profit and loss or balance sheet and sequence in TB as these properties belong only to parent account groups and are inherited by the kids
23/6/11 Phil: SelectOrderItems.php includes/DefineCartClass.php repaired credit checks
19/6/11 Phil: Credit_Invoice.php typos in quoting changes preventing posting credits on write offs also sql on gl account selection for write off
18/6/11 Phil: Made up a includes/LanguagesArray.php to contain a list of languages and the translated name of the language - updated WWW_Users.php and UserSettings.php and CustLoginSetup.php to use this array - so the selection of a language uses the language name rather than the locale codes
14/6/11 Phil: Added email to custcontacts and updated AddCustomerContacts.php SelectCustomer.php and Customers.php
13/6/11 Phil: Birthdays (xhtml/indenting/quoting/casing/decimalplaces) for Areas.php, BOMInquiry.php, BOMS.php, BankAccounts.php, BankMatching.php, COGSGLPosting.php, CompanyPreferences.php, ConfirmDispatch_Invoice.php StockLocTransfer.php

12/6/11 Version 4.04.4

12/6/11 Phil: Customers.php included telephone and email from the first branch found - removed as could be confusing. Customer contact information is stored in CustomerContacts and custbranch table
12/6/11 Phil: SupplierCredit.php variables containing value case consistency
9/6/11 Phil: Prices.php now updates the end date of a price when a new default (no end date) price is added
9/6/11 Ricard: PcExpensesTypeTab.php deletion question message fixed as does not delete any expenses set up with this expense type
9/6/11 Daniel Richert: includes/LanguageSetup.php changed to set $Locale = setlocale (LC_MESSAGES, $_SESSION['Language']); as using LC_ALL over-rides numeric and we need decimal points as . - commas stuff things up
9/6/11 Ricard: Added new field current to salesman table to flag if the salesman is currently still on the team or not - modified WWW_Users.php and CustomerBranches to only allow selection of current salesfolk
7/6/11 Phil: EmailCustTrans.php missing closing quote off input hidden InvOrCredit value
6/6/11 Phil: Currencies table included 2 x in SQL for getting invoice details in Credit_Invoice.php
6/6/11 Phil: AddSerialItems.php from Stock Adjustment was not picking up single entries because of error in for loop condition fixed
5/6/11 Phil: BankMatching typo pprintf fixed

3/6/11 Version 4.04.3 Release

2/6/11 Phil: ConfirmDispatchControlled_Invoice.php type include/InputSerialItems.php
2/6/11 Phil: modified build script to include audittrail table in weberp-new.sql and weberpdemo.sql - excluded by mistake
2/6/11 Phil: UpgradeDatabase.php manual upgrades from 3.11.x 4.01 and 4.02 now fixed! Brian May's report
31/5/11 Phil: GetConfig.php amended so that an earlier version without the emailsettings table does not choke before getting to the UpgradeDatabase.php option - reported by Brian May

30/5/11 Version 4.04.2 Release

30/5/11 Phil: Invoicing of serial items was not happening using includes/OutputSerialItems.php script not includes/InputSerialItems.php script
30/5/11 Phil: StockSerialItems.php closing td> tag was missing /
30/5/11 Phil: InputSerialItemsFile.php was looking for a hard coded reports dir now used $_SESSION['reports_dir']
30/5/11 Phil: GetConfig.php checks for existence of the decimalplaces field in currencies and inserts it before attemtpting to run the company SQL...
30/5/11 Phil: PcExpensesTypeTab.php could not delete Expenses lost TabType value fixed
30/5/11 Phil: PriceByCost.php now only makes a new price if the price is actually changed!!

29/5/11 Version 4.04.1 Release

29/5/11 Phil: PricesByCost.php made it so the existing prices had end dates set as yesterday and new prices created from today
29/5/11 Phil: TopItems.php fixed sequence and birthday to script and PDFTopItems.php script
28/5/11 Phil: Could not set controlled item batches/serial numbers on ConfirmDispatch_Invoice.php
28/5/11 Ricard: PO_SelectOSPurchOrder.php was showing select location with gaps between locations - no slash before <option> fixed
28/5/11 Ricard: added new field assigner to petty cash module and changes to PcTabs.php and PcAssignCashToTab.php
28/5/11 Ricard: PcAssignCashToTab.php quoted the $Days integer parameter to the INTERVAL function incorrectly now fixed
28/5/11 Ricard: reported bug on deletion of PcExpensesTypeTab - incorrectly formed URL and parameters added ?
28/5/11 Ricard: reported mismatch of fields scripts pagesecurity changed to int(11) from tinyint as other tables all refer to as int(11)
28/5/11 R2-G: reported alignment issue with link and button on SuppTransGLAnalysis now fixed
28/5/11 Ricard: MRPShortages now has an option to report excesses too
28/5/11 Ricard: Fix sql to take quotes out of literals in upgrade script. PDFPrintLabels fix sql to get current price.
28/5/11 Phil: Reported by Daniel Brewer Fix SelectSalesOrder.php creation of PO with excluding redundant fields in purchorderdetails that were taken out.
28/5/11 Exson: UpdateCurrencyRateDaily was set to 1 when the option to enable it was clicked - should have been set to today's date in SystemParameters - fixed. Now no error reported bu ConvertSQLDate function when user enables update currencies daily.

26/5/11 Version 4.04 Release

26/5/11 Ricard: require securitytoken 9 to allow user to see purchasing data in SelectProduct.php
26/5/11 Phil: SelectProduct.php fix item image display in centre under item transactions
25/5/11 Phil: New Sales Inquiry scripts by sales type/price list by category and top sellers
24/5/11 Phil: Updated from launchpad translations those that had changed from 18/4/11 including Viatnamese, Albanian, Russian, Spanish
23/5/11 Tim: Remove SystemCheck.php and code standards changes(launchpad 4711-4718)
23/5/11 Tim: Make link from SelectProduct.php to place purchase orders factor in the lead time into the delivery date in the purchase order (launchpad 4710)
23/5/11 Exson: fix PaymentMethods could not add new - comma missing in INSERT SQL
20/5/11 Phil: SuppAllocs.php DefineSuppAllocClass.php made display appropriate decimal places to currency of supplier
19/5/11 Phil: SuppInvGRNs.php made display appropriate decimal places to currency of supplier invoice
19/5/11 Phil: SuppTransGLAnalysis.php made display appropriate decimal places to currency of supplier invoice also added an edit option and fixed narrative that was not coming through into GLtrans - also modified DefineSuppTransClass.php to hold the CurrDecimalPlaces variable
16/5/11 Phil: Bug in quantity on purchase order in SelectOrderItems.php added correct join syntax
16/5/11 Phil: Added upgrade from 4.03.7 to UpgradeDatabase.php
15/5/11 Phil: Z_ChangeStockCode.php modified to test if MRP tables exist before doing the updates - turned off error trapping on these queries as the error trapping is done in the script
15/5/11 Tim: FixedAssetCategories prior to deletion of a category check for existing assets in the category failed due to typo in SQL - fixed
14/5/11 Tim: StockTransfer now checks for negative stock before allowing transfer - launchpad changes to 4691
14/5/11 Phil: CustomerInquiry.php now shows the currency decimal places
3/5/11 Phil: Locations.php fix table hidden POST variable quotes mismatch - also mismatch between number of parameters in printf output
2/5/11 Phil: Make order entry show the currency decimal places for amounts and totals also in invoicing SelectOrderItems.php and ConfirmDispatch_Invoice.php
2/5/11 Phil: Fix PO_PDFPurchOrder.php to allow emailing but email option not to appear on printed/emailed orders
1/5/11 Tim PageSecurity.php fix bug that prevented updates to Security Token for a particular script.
1/5/11 Phil: Many scripts quoting changes single quotes for strings double quotes for xhtml variables
1/5/11  Phil: SecuirtyTokens allow deletion of tokens if no scripts using it
28/4/11 Tim: add facility to select an account group to limit GL acccounts returned as options to post payments to
28/4/11 Tim: new SecurityTokens script
28/4/11 Phil: Fix Secunia reported vulnerability by checking for dodgy characters in CompanyNameField - then matched to a real directory on the web-server

18/4/11 - Version 4.03.8 Release

18/4/11 Phil: Update zh_HK.utf8, pt_BR.utf8, fa_IR.utf8 from launchpad translations
18/4/11 Phil: Changed PurchData.php back to now have free form text entry of unit of measure - as suggested by Brian May - think it works better this way
18/4/11 Phil: Removed redundant fields that are not used anywhere from DefinePOClass and the various function to add lines to purchase orders and to update purhcase order lines - netweight, cuft, kgs, itemno, total_quantity etc. all this data can be retrieved without duplication in purchorderdetails
17/4/11 Phil: Reworked PrintCustTrans.php landscape invoice removing reliance on xml. No longer have the ability to use the form designer to manipulate the position of fields on the invoice. The form designer invoice could not print multiple page invoices
16/4/11 Phil: Tim's changes in launchpad fork to 4663 - xhtml syntax fixes
15/4/11 Phil: Copy Exson's traditional Chinese back to zh_HK.utf8
11/4/11 Ricard: new pcAuthorizeExpenses.php that shows the current balance of the tab to the authorizer. Before the authorizer did not see this information.
11/4/11 Tim: StockLocTransfer.php added $_POST['LinesCounter'] -= 10;
11/4/11 Tim/Phil: Use PHP 5 specific scandir to sort languages into alphabetic order for UserSettings and WWW_Users language selection
10/4/11 Tim: AddCustomerContacts.php use single field rather than * in SQL>
10/4/11 Tim: GLAccountInquiry.php  show None if no tag selected
10/4/11 Tim : PDFPrintLabel.php javascript fix
10/4/11 Tim: Add perishable to StockTransfer.php and PDFStockTransfer
10/4/11 Tim: PDFPeriodStockTransListing - new report to print off stock transactions of a specified type for a selected period>/p>
10/4/11 Tim: PDFStockTransListing.php option to print off transactions by inventory location
10/4/11 Tim: Stocks.php - more logical use of $New and $_POST['New']
10/4/11 Tim: Payments.php PaymentMethods.php Add new field userpreprintedstationery to payment methods to determine whether to print cheques
5/4/11 Tim: includes/LanguageSetup.php - discovered solution to Turkish character set problem!!
5/4/11 Phil: couple of is_date functions left over from experiment to see if changing fixed Turkish - now removed from SupplierInvoice.php and PDFOrdersInvoiced.php
5/4/11 Phil: SuppCreditGRNs was not showing old GRNs and no way to input an older date
31/3/11 Phil:Fix link  to create purchase order from purchasing data link on SelectProduct.php - thanks Brian May for pointing out the bug
31/3/11 Phil: Updated all tranlations from the launchpad site
31/3/11 Tim: Fix to make languages display immediately on change - session.inc moved includes/LanguageSetup.php down
30/3/11 Tim: New ReprintGRN.php script takes a purchase order and allows any line received to have GRN(s) reprinted
29/3/11 Phil: checking for unquoted SQL and for SQL where literals quoted with double quotes rather than single - double quotes are not ANSI compatible - so making the SQL more ANSI compatible by doing this as suggested by Tim. Many many scripts involved will take a week or so
<p />
27/3/11 - Version 4.03.5 Release

27/3/11: Phil: fixed SQL upgrade script to add the Z_ChangeSupplierCode.php script is added to the scripts table
27/3/11: Phil: fixed some SQL for ansi compatibility I had changed in error - would affect users running strict mode ansi
27/3/11: Phil: at Brian May's suggestion added conversion factor to item look up in PO_Items.php - also ensured quantity entry no longer trapped for commas and commas removed from numbers before committing. Also trapped for committing purchase orders with no lines

26/3/11 - Version 4.03 Release

26/3/11: Phil: added some error trapping to codes of pcTabTypes
24/3/11: Phil: rework PDFStockTransfer.php remove a few round trips to DB and added facility to be able to select a transfer number to reprint - added to main menu
24/3/11: James wertthey@yahoo.com Added small image in middle of SelectProduct.php
19/3/11: Phil: added country to packing slips
18/3/11: Marcos Garcia Trejo: Added Z_ChangeSupplierCode.php
18/3/11: Ricard: add orderby transdate to DailyBankTransactions.php
18/3/11: Phil: check for Customers.php CustomerBranches.php and Stocks.php  now traps codes containing spaces - as well as other illegal characters
15/3/11: Phil: PricesByCost.php - made it update prices where there is already a price starting on today's date
15/3/11: Phil: SelectOrderItems.php customer selection now done using a hidden $_POST rather than parsing debtorno hyphen branchcode.
15/3/11: Phil: Locations.php new field for CounterSales branch code - instead of parsing it from a single field with a hyphen in it. CounterSales.php now uses the new field for customer branch
14/3/11: Phil: SelectSalesOrder.php now lists with sales order value denominated in functional currency with total of listed outstadning sales orders (or quotations) shown at the bottom of the listing
12/3/11: Tim: Now allow space in codes
12/3/11: SelectSalesOrder.php now allows any number of sales orders to be selected and purchase orders placed for the aggregate of items on the selected sales orders
12/3/11: SuppPriceList.php removed a round trip to DB to get currency - fixed function to get pdf to new TCPDF Output
12/3/11: Exson: fix all htmlentities to use ENTQUOTES, 'UTF-8' option so other character sets work with it
10/3/11: Phil: fix pagination of PrintCustOrder_generic.php - second copy was not restarting page numbers
10/3/11: Tims: launchpad fixes brought in MRP.php fix for table charset utf8 so joins work correctly; typeo in PO_Header preventing purchasing data being retrieved ($result not $Result); correct sql on searching for customer in SelectCreditItems.php; StockStatus.php pricing history bug resolved (4450); StockQuantityByDate.php now allowed to show for all categories - enclosed 'All' in gettext
8/3/11: Tim/Phil: PO_Items.php in committing an order detail the assetid of 'Not an Asset' was being inserted to an integer field. Modified $_POST['AssetID'] to = 0 if it was 'Not an Asset' as advised by Tim
8/3/11: Phil: fix SalesAnalysis reports for TCPDF as reported by Joe Zhou
5/3/11: Kovács Attila: fix to Stocks.php to use ANSI GROUP BY for aggregate functions SQL
5/3/11: Kovács Attila: fix to LanguageSetup.php to use utf-8 not ISO-8859-1. Phil hardcoded UTF-8 now as no dynamic changing of character set required all translations are utf-8
3/3/11: Exson/Baran/Phil fix to customer login to ensure that other customers orders are not displayed when searching by customer ref or order no
3/3/11: Tim launchpad mods to revision 4441 including change to allow supplier currency to be changed if there are no transactions already against the supplier.  Ensure credit note session variable is unset before attempting to create a new credit note from the supplier form. Tim's work to add perisable expiry dates to the serial items logic - affects quite a few scripts. Headings to stock check script even if no quantity is shown. Portrait quotations. Not included change to default delivery date to the date the customer requested - left to be the current day's date. Not included Tim's unit pricing work .. yet launchpad revisions 4442-4447 inclusive
27/2/11: Phil/Tim/Peter launchpad added category option for MRPShortages.php links with matching quotes in WorkOrderEntry
27/2/11: Phil: StockUsage.php now totals usage each month even in months where there was none - average now includes months with no usage
27/2/11: Phil: fix units deletion issue reported by Exson in UnitsOfMeasure.php script - checked for none existant units field in contracts table - removed the check
22/2/11: Phil: fix PDFTopItems.php for changed variable names - now using CamelCase tried to rework to conform
22/2/11: Phil: remove options for PDFLanguage that are not unique in WWW_Users.php - make it default to the users settings in the SESSION for UserSettings.php
18/2/11: Phil/Don Change PageSecurity array variable name to PageSecurityArray - caused problems with conflict with PageSecurity variable where register_globals = on;
18/2/11: Phil: PO_Items.php make locale_number_format variables turn back into numbers for > 1000
16/2/11: Phil: FixedAssetItems.php now checks for location before allowing additions
16/2/11: Phil: Company preferences - changed wording of stock integration at cost removed the word standard as suggested by Exson
16/2/11: Phil: SelectCreditItems.php formating/conventions lower case html and CreditInvoice.php
15/2/11: Phil: Make invoicing warn the user when no taxes are defined for a tax group - i.e. there is a configuration error with taxes
<p />
15/2/11 Release 4.03RC2
<p />
15/2/11: Phil UpgradeDatabase.php fix to upgrade from 4.01RC1 !!
15/2/11: Phil PrintCustTrans.php and PrintCustTransPortrait.php htmlspecialchars_decode($narrative) - conversion at the time of committing to DB needs to be unconverted. Also in ConfirmDispatch_Invoice.php
15/2/11: Phil SelectCustomer.php removed showing blank message when $msg was empty
<p />
13/2/11 Release 4.03RC1
<p />
13/2/11:Phil GoodsReceivedControlled InputSerialItems and friends - now uses session identifier to ensure uniqueness is several people entering stock receipts
13/2/11:Phil Contracts.php SelectOrderItems.php customer selection mechanism reworked - was causing issues in Contracts as noted by DK Shukla
8/2/11: Tim Rework CounterSales.php so that it is now possible to sell items that have sales/purchasing tax
8/2/11: Phil Fix InventoryPlanning and InventoryPlanningPrefSupplier to only show sales order demand - excluding quotations. Also fixed for conversionfactor as now all purchase order quantities are in our normal stock units
8/2/11: Phil Fix incorrect layout of narrative on multiple lines of PDFQuotation.php as reported by Ricard Andreu
8/2/11: Tim/Ricard StockLocTransfer.php can now transfer the same amount as on hand in the location - previously checked to see that the transfer was less than the quantity on hand (when checking for negative stock)
8/2/11: Tim Payments.php  and javascripts/MiscFunctions.js corrections to javascript
8/2/11: Phil PDFGrn.php turns out preview is used from the form modification script doh!  Over simplificaton reversed to reinstate preview mode
6/2/11: Otandeka Removed debug prnMsg in FixedAssetDepreciation
5/2/11: Phil SystemParameters.php new option to AutoAuthorisePO when the user has authority to do so
5/2/11: Phil PO_Items.php fixed non-existant variables on Enter nominal line. Added option to automatically authorise when user is an authoriser as well as a creator
5/2/11: Phil PDFGrn.php rewrote - preview never used - simplified
4/2/11: Tim CostUpdate.php allow cost update with appropriate permissions token 10 hard coded
4/2/11: Phil SelectCustomer.php rejig selection options in more logical way. Used non-specific SQL to search by any part of the address
2/2/11: Phil PDFTopItems.php and TopItems.php removed mysql specific SQL
30/1/11: Phil GoodsReceived.php  rework for supplier units and conversion factor etc now in PO class
30/1/11: Phil PDFGrn.php  rework for supplier units and conversion factor etc now in PO class
30/1/11:Exson changed PDFLowGP report remove % from gettext string
29/1/11:Tim fix reportwriter with tcpdf using parent::__construct rather than $this->Cpdf(
24/1/11:Phil Depreciation fixes - SelectAsset by description fix
23/1/11:Peter Otandeka: PDFTopItems.php  SQL quoting fixes
23/1/11: Phil Fix Depreciation posting and dates of end of periods
23/1/11:Phil changed back references throughout several MRP scripts from is_date to Is_Date - as Is_Date is used throughout the code and much bigger job to change all references to is_date
20/1/11: Tim changed back addinfo calls to addInfo on PDF reports - Zhigio originally thought to be an issue with Turkish utf-8 pdfs but turned out to be a red herring. class.pdf call changed back to addInfo too - most of calls had not been changed to lower case info
20/1/11: Tim changed PricesBasedOnMarkUp to have end date day before new prices effective from
20/1/11: Phil FixedAssetRegister.php FixedAssetDepreciation.php fixes
19/1/11: Phil modified GLBudgets.php to allow entry of last years budget too
17/1/11: Phil More purchasing work removing redundant queries rationalising code - new layout with supplier units
15/1/11: Tim removed MX record check from IsEmail function in includes/MiscFunctions.php
15/1/11: Tim/Peter Otandeka SQL quoting a whole bunch of scripts - changing single quotes to doubles - didn't apply ones where no variables required quoting
14/1/11: Phil install scripts modified to copy over FormDesigns under the new company directory created
14/1/11: Phil Updates to manual for security and supplier invoice entry
13/1/11:Phil PO_Items.php remove redundant code, setup entry of lines in supplier units
13/1/11:Tim Z_ChangeCustomerCode.php now has foreign key checks defeated when deleting the old customer record and custbranch record
13/1/11:Phil SupplierInvoice.php and SupplierCredit.php now check to ensure the total of contracts fixed asset charges goods received charges, shipment charges and GL charges are at least equal to the amount of the invoice or credit. It was possible when GL interface turned off to get strange results
12/1/11:Phil DailyBankTransactions.php made it so a range of dates can be selected but defaults to just today
11/1/11:Phil Fix choice of portrait or landscape invoices - fix landscape default form layout. Fix portrait invoice logo position
11/1/11:Phil Fix customer transaction inquiries to show correct links where user is not authorised for credit notes or GL inquiries
11/1/11:Phil SupplierCredit.php and SupplierInvoice.php recalculate price variance to post differences on fixed asset additions correctly
11/1/11:Phil PO_PDFPurchOrder.php - fixed for coding conventions removed uneccessary sql calls
11/1/11: Murray Collingwood: Emailing invoices was writing the pdf file twice  - once with fwrite and once with the TCPDF output function with the option 'F'
8/1/11 Ricard Andreu: Z_ChangeCustomerCode.php added typeid field that made change customer code fail. Also corrected typo for foreign key checking side stepping for Z_ChangeBranchCode.php
5/1/11 Phil: Bug fixes AssetLocationTransfer and Supplier Contacts
4/1/11 Paul T: Bug# 3151192 - insert underscore for superglobal.
5/1/11 Phil: Bug fixes AssetLocationTransfer and Supplier Contacts
4/1/11 Phil: Start rework of purchase order scripts ... again.
4/1/11 Phil: Select Purchase orders now defaults to just pending and authorised/printed - other statii are options
1/1/11 Phil: Upgrade script make capable of upgrades from any earlier version - and email a backup to the user. Deleted DBUpgradeNumber config variable now use the VersionNumber already there
31/12/10 Tim: Tidy up of CounterSales.php - CamelCasing, quoting SQL, closing slashes in xhtml tags
29/12/10 Phil: Reverted to single SQL upgrade file per release - but retaining Tim's upgrade mechanism if the DBUpgradeNumber is out of date. Removed pseudo SQL language required for upgrade script and the 52 update files - just applies plain vanilla SQL from the scripts required
29/12/10 Tim: DB upgrade mechanism with separate pseudo SQL for each database change in a separate file + 52 files of updates since 3.11.4
21/12/10 Phil : Reworked PDFPrintLabels.php to conform to standards and corrected SQL for prices
21/12/10 Ricard Andreu: PDFPrintLabels.php was not checking for end date of prices - fixed
19/12/10 Phil: SelectOrderItems.php ConfirmDispatch_Invoice.php add code to handle asset disposals.
14/12/10 Phil: modify purchasing scripts for coding conventions/readability
11/12/10 Phil: Have populated the new field stockcheckdate in stockcheckfreeze and modified PDFStockCheckComparison to use this field when posting the GL - stockmoves need to be on the current day otherwise historical balances will all need to be updated. But narrative shows the date of the stock check for which the adjustment is being made
9/12/10 James Murray: highlighted a bug in SupplierInvoice.php (and also in SupplierCredit.php) where the due date of the invoice/credit was not calculated correctly based on the terms - it was picking up the current date rather than the invoice/credit date. Now fixed
8/12/10 James Murray: fixed bug in SuppPaymentRun.php - was not showing anything as the test to see if there was anything to see was using a non-existant result set!
3/12/10 Matt Elbrecht : Estonian translation
30/11/10 Phil: Changed table structure of new fixedassettrans and modified upgrade script - those who already ran that bit will need to change the table again. Modified fixed asset scripts again. New fixed assets manual
28/11/10 Exson: CreditStatus.php - Fix bug in sql statement
28/11/10 Tim: OutstandingGRNs.php - Only show when the invoiced qty is less than the GRN qty
28/11/10 Phil: All fixed asset scripts SupplierInvoice.php SupplierCredit.php SuppFixedAssetChgs.php - adding fixed assets directly from invoice charges - and reversing additions with credit notes. Also FixedAssetRegister.php report to print PDF or export CSV of fixed assets now includes date range depreciation and b/fwd cost b/fwd accum depn and c/fwd cost and accum depn - and NBV
28/11/10 James Murray: unset session in ConnectDB_mysqli.inc and ConnectDB_mysql.inc when the login fails
27/11/10 Phil: install/index.php check for critical requirements before allowing install to proceed
27/11/10 Phil: includes/DefinePOClass.php change variable to camel case also PO_Header.php PO_Items.php PO_ReadInOrder.inc GoodsReceived.php - scope for error needs lots of testing please
27/11/10 Phil: PurchData - fix MinOrderQty error trapping with appropriate text and default to 1
27/11/10 Phil: SupplierInvoice.php removed check on weighted average costing to reverse GRN suspense posting and set cost to zero - this was defeating the price variance calculation and the proper valuation of stock. Also took out of the calculations the conversionfactor - will need to alter goods received code to ensure only our units recorded in quantity received.
26/11/10 Tim: upgrade3.11.1-4.00.sql - Add default date for stockcheckdate field in stockcheckfreeze table
26/11/10 Otandeka: CounterSales.php - Fix bug in counter sales script.
24/11/10 Phil: GoodsReceived.php - modified to insert fixedassettrans and to post nominal POs to fixed asset cost account from fixedassetcategories.costact
23/11/10 Pak Ricard: MRP.php and MRPShortages.php fixed temporary tables to use utf-8 - code failed without probably depends on mysql server settings
21/11/10 Phil:Rewritten FixedAssetJournal.php - renamed FixedAssetDepreciation.php
20/11/10 Phil: Rewritten FixedAssetItems.php FixedAssetCategories.php and modified FixedAssetLocations.php to use the new structure
18/11/10 Tim: upgrade3.11.1-4.00.sql - Fix sql syntax errors brought in on recent changes.
14/11/10 Phil: SelectAsset.php script reworked SelectAssetType.php script now deleted
08/11/10 Exson: Z_ImportStocks.php - Bug fixes.
06/11/10 Phil: ShiptChgs.php - made a check to ensure a shipment reference entered manully actually exists before it is added - otherwise a nasty error occurs on commital of the invoice
06/11/10 Paul T: InputSerialItemsSequential.php - Bug# 3080130 - Add new FormID to form. (and minor cleanup)
06/11/10 Tim: ReorderLevelLocation.php - Remove fixed assets from selections
06/11/10 Tim: ReorderLevel.php - Remove fixed assets from selections
06/11/10 Tim: InventoryQuantities.php - Remove fixed assets from selections
06/11/10 Tim: Selectproduct.php - Remove fixed assets from selections
06/11/10 Tim: InventoryValuation.php - Ensure fixed assets dont get shown in valuation report
06/11/10 Tim: FixedAssetItems.php - Fixed typo preventing Item code being shown
06/11/10 Phil: StockCategory.php FixedAssetCategory.php attempt to add validation to depreciation rates by extending the stock category property logic with new fields for numericvalue, minimumvalue and maximumvalue. Then adding the depreciation rate percentage property to expect numeric values with a minimum of 0 and maximum of 100.
05/11/10 Tim: PurchData.php. Converted field name to lower case for consistency
05/11/10 Tim: SelectProduct.php. Change the standard order quantities to agree with Minimum order qty
05/11/10 Tim: PurchData.php. Make the Minimum order quantity field numeric only
05/11/10 Poul Bjerre-Jensen: SelectProduct.php,PurchData.php. Add in Minimum order quantity to Purchasing data
02/11/10 Tim: SelectCustomer.php. Correction to work with debtors that have a - in the code
31/10/10 Tim: SuppTransGLAnalysis.php. Minor bug fixes
31/10/10 Tim: SuppTransGLAnalysis.php. Force the user to select a GL account code instaed of defaulting to first on the list
31/10/10 Tim: CustomerReceipt.php. Force the user to select a GL account code and a Bank Account instaed of defaulting to first on the list
29/10/10 Tim: index.php. If CustomerReceipt selected from the GL menu then go to GL receipts else customer receipts
29/10/10 Tim: Payments.php. Force the user to select a GL account code and a Bank Account instaed of defaulting to first on the list
29/10/10 Tim: GLJournal.php. Force the user to select a GL account code instaed of defaulting to first on the list
28/10/10 Tim: Fix bug # 3017709. When bulk transfers are received for controlled items serial numbers are required
28/10/10 Tim: PcExpensesTypeTab.php - SQL quoting corrections and layout changes and improvements
28/10/10 Tim: PcTabs.php - SQL quoting corrections and layout changes and improvements
28/10/10 Tim: PcTypeTabs.php - SQL quoting corrections and layout changes and improvements
27/10/10 Tim: PcReportTab.php - SQL quoting corrections and layout changes and improvements
27/10/10 Tim: PcClaimExpensesFromTab.php - SQL quoting corrections and layout changes and improvements
27/10/10 Tim: class.pdf.php - Fix bug in html_entity_decode() function call
27/10/10 d.k shukla: ManualPurchaseOrdering.html - Improvements to purchase ordering manual
27/10/10 Tim: WorkOrderEntry.php - When the quantities are changed, then the correct quantities are updated, and the date picker chooses the correct date.
27/10/10 Tim: header.inc - Correct for non ascii characters
27/10/10 Tim: Corrections to display multi line invoice narratives correctly
26/10/10 Tim: Discountmatrix.php - Fix discount category bug
26/10/10 Tim: Discountmatrix.php - Increase the number of decimal places that can be entered
26/10/10 Tim: StockLocTransfer.php - Check there is sufficient stock for the transfer
25/10/10 Marcos Garcia Trejo: New labelprinting functionality
25/10/10 ChenJohn: class.pdf.php - correctly display some html encoded special characters, to make them human readeable in pdf file.
23/10/10 Phil: PurchData.php - search by name failed concatenation of SQL stuffed now repaired.

Version 4.0RC1
22 October 2010

20/10/10 Paul: MiscFunctions.js - Bug #3060329. Correct condition check. [allows the calendar to start with the textbox's date]
18/10/10 Paul: WorkOrderReceive.php - Bug #3023776. Applied anonymous contribution.
16/10/10 Phil: SupplierInvocie.php fixed for mix up with commits - now shipment charges added correctly and contract charges also
14/10/10 Tim: MiscFunctions.php - Fix bug preventing download of ECB rates
13/10/10 Tim: WWW_Users.php - Show the last visit date correctly. Fixes bug 3085860
09/10/10 Phil: Added xmlrpc_GetStockCategoryList api method
04/10/10 Matt Taylor: upgrade3.11.1-3.12.sql - Update tables to utf8
03/10/10 Gabriel Olowo: ManualPurchaseOrdering.php - Manual for purchase ordering system
02/10/10 Tim: AuditTrail.php - Bug fixes and layout changes
02/10/10 Tim: DailySalesInquiry.php - Bug fixes and layout changes
02/10/10 Tim: session.inc - Corrections to sql quoting. Resolves bug 3023782
02/10/10 Tim: ppdf_tpl.php - Make php 5.3 compatible
02/10/10 Tim: GLJournal.php - Fix to create a reversing journal even when non english language is used.
02/10/10 Tim: PDFGrnHeader.php - Show correct column headings. Fixes bug 3072507
30/09/10 Tim: Add form verification to prevent form spoofing
30/09/10 Tim: WWW_Users.php - SQL quoting corrections and layout changes and improvements
30/09/10 Tim: WWW_Access.php - SQL quoting corrections and layout changes and improvements
29/09/10 Tim: WOSerialNos.php - SQL quoting corrections
29/09/10 Tim: WorkOrderStatus.php - SQL quoting corrections and layout changes and improvements
29/09/10 Tim: WorkOrderReceive.php - SQL quoting corrections and layout changes and improvements
29/09/10 Tim: WorkOrderIssue.php - SQL quoting corrections and layout changes and improvements
29/09/10 Tim: WorkOrderEntry.php - SQL quoting corrections and layout changes and improvements
28/09/10 Tim: WorkOrderCosting.php - SQL quoting corrections and layout changes and improvements
28/09/10 Tim: WorkCentres.php - SQL quoting corrections and layout changes and improvements
28/09/10 Tim: WhereUsedInquiry.php - SQL quoting corrections and layout changes and improvements
28/09/10 Tim: UserSettings.php - SQL quoting corrections and layout changes and improvements
28/09/10 Tim: UnitsOfMeasure.php - SQL quoting corrections and layout changes and improvements
28/09/10 Tim: TopItems.php - SQL quoting corrections and layout changes and improvements
28/09/10 Tim: TaxProvinces.php - SQL quoting corrections and layout changes and improvements
28/09/10 Tim: TaxGroups.php - SQL quoting corrections and layout changes and improvements
28/09/10 Tim: TaxCategories.php - SQL quoting corrections and layout changes and improvements
28/09/10 Tim: TaxAuthorityRates.php - SQL quoting corrections and layout changes and improvements
28/09/10 Tim: TaxAuthorities.php - SQL quoting corrections and layout changes and improvements
28/09/10 Tim: Tax.php - SQL quoting corrections and layout changes and improvements
28/09/10 Tim: SystemParameters.php - SQL quoting corrections and layout changes and improvements
28/09/10 Tim: SuppTransGLAnalysis.php - SQL quoting corrections and layout changes and improvements
28/09/10 Tim: SuppShiptCharges.php - Layout changes and improvements
28/09/10 Tim: SuppPriceList.php - Layout changes and improvements
27/09/10 Paul Thursby: Various default.css files -- Minor CSS corrections.
27/09/10 Tim: SuppPaymentRun.php - SQL quoting corrections and layout changes and improvements
27/09/10 Tim: SuppLoginSetup.php - SQL quoting corrections and layout changes and improvements
27/09/10 Tim: SupplierTypes.php - SQL quoting corrections and layout changes and improvements
27/09/10 Tim: SupplierTransInquiry.php - New script to show detail supplier transactions
27/09/10 Tim: SupplierTenders.php - SQL quoting corrections
27/09/10 Tim: Suppliers.php - SQL quoting corrections
27/09/10 Tim: SupplierInvoice.php - SQL quoting corrections and layout changes and improvements
27/09/10 Tim: SupplierInquiry.php - SQL quoting corrections and layout changes and improvements
27/09/10 Tim: SupplierCredit.php - SQL quoting corrections and layout changes and improvements
27/09/10 Tim: SupplierContacts.php - SQL quoting corrections and layout changes and improvements
27/09/10 Tim: SupplierBalsAtPeriodEnd.php - Layout changes and improvements
27/09/10 Tim: SupplierAllocations.php - SQL quoting corrections and layout changes and improvements
27/09/10 Tim: SuppInvGRNs.php - SQL quoting corrections and layout changes and improvements
27/09/10 Tim: SuppCreditGRNs.php - SQL quoting corrections and layout changes and improvements
27/09/10 Tim: StockUsage.php - Layout changes and improvements
26/09/10 Tim: StockTransfers.php - Layout changes and improvements
26/09/10 Tim: StockSerialItemResearch.php - Layout changes and improvements
26/09/10 Tim: StockReorderLevel.php - SQL quoting corrections and layout changes and improvements
26/09/10 Tim: StockQuantityByDate.php - SQL quoting corrections and layout changes and improvements
26/09/10 Tim: StockQties_csv.php - Layout changes and improvements
26/09/10 Tim: StockMovements.php - Layout changes and improvements
26/09/10 Tim: StockLocStatus.php - SQL quoting corrections and layout changes and improvements and bug fixes
26/09/10 Tim: StockDispatch.php - SQL quoting corrections and layout changes and improvements and bug fixes
26/09/10 Tim: StockCounts.php - SQL quoting corrections and layout changes and improvements and bug fixes
26/09/10 Tim: StockCostUpdate.php - SQL quoting corrections and layout changes and improvements and bug fixes
26/09/10 Tim: StockCategories.php - SQL quoting corrections and layout changes and improvements and bug fixes
26/09/10 Tim: SpecialOrder.php - SQL quoting corrections
25/09/10 Tim: SMTPServer.php - SQL quoting corrections
25/09/10 Tim: ShiptsList.php - Add script to show list of open shipments for selected supplier
25/09/10 Tim: Shipt_Select.php - SQL quoting corrections and layout changes and improvements and bug fixes
25/09/10 Tim: Shippers.php - SQL quoting corrections and layout changes and improvements and bug fixes
25/09/10 Tim: Shipments.php - SQL quoting corrections and layout changes and improvements and bug fixes
25/09/10 Tim: ShipmentCosting.php - SQL quoting corrections and layout changes and improvements and bug fixes
25/09/10 Tim: SelectWorkOrder.php - SQL quoting corrections and layout changes and improvements and bug fixes
24/09/10 Tim: SelectSalesOrder.php - Layout changes and improvements and bug fixes
24/09/10 Tim: SelectRecurringSalesOrder.php - Layout changes and improvements and bug fixes
24/09/10 Tim: SelectProduct.php - SQL quoting corrections
24/09/10 Tim: SelectOrderItems.php - SQL quoting corrections
24/09/10 Tim: SelectGLAccount.php - SQL quoting corrections and layout changes and improvements and bug fixes
24/09/10 Tim: SelectCustomer.php - Layout changes and improvements and bug fixes
24/09/10 Tim: SelectCreditItems.php - SQL quoting corrections and layout changes and improvements and bug fixes
23/09/10 Tim: SelectAssetType.php - SQL quoting corrections and layout changes and improvements
23/09/10 Tim: SalesTypes.php - SQL quoting corrections and layout changes and improvements
23/09/10 Tim: SalesPeople.php - SQL quoting corrections and layout changes and improvements
23/09/10 Tim: SalesGraph.php - Fix deprecated use of assigning by reference
23/09/10 Tim: SalesGLPostings.php - SQL quoting corrections and layout changes and improvements
23/09/10 Tim: SalesCategories.php - SQL quoting corrections and layout changes and improvements
23/09/10 Tim: SalesAnalRepts.php - SQL quoting corrections and layout changes and improvements
23/09/10 Tim: SalesAnalReptCols.php - SQL quoting corrections and layout changes and improvements
23/09/10 Tim: ReverseGRN.php - SQL quoting corrections and layout changes and improvements
23/09/10 Tim: ReorderLevelLocation.php - SQL quoting corrections and layout changes and improvements
23/09/10 Tim: ReorderLevel.php - SQL quoting corrections and layout changes and improvements
23/09/10 Tim: RecurringSalesOrdersProcess.php - SQL quoting corrections
23/09/10 Tim: RecurringSalesOrders.php - SQL quoting corrections and layout changes and improvements
23/09/10 Tim: DateFunctions.inc - mktime() function without paramaeters is now deprecated, replaced with time()
20/09/10 Pak Ricard: PricesByCost.php - Restrict price changes to those stock items not discontinued
14/09/10 Tim: PurchData.php - SQL quoting corrections and layout changes and improvements
14/09/10 Tim: PrintSalesOrder_generic.php - SQL quoting corrections
14/09/10 Tim: PrintCustTransPortrait.php - SQL quoting corrections and layout changes and improvements
13/09/10 Tim: PrintCustTrans.php - SQL quoting corrections and layout changes and improvements
13/09/10 Tim: PrintStatements.php - Small bug fixes
13/09/10 Tim: PrintCustOrder_Generic.php - Correct the sql quoting
13/09/10 Tim: PrintCustOrder.php - Correct the sql quoting
13/09/10 Tim: PricesBasedOnMarkup.php - Correct the sql quoting, and various layout improvements and bug fixes
13/09/10 Tim: Prices_Customer.php - Correct the sql quoting, and various layout improvements and bug fixes
13/09/10 Tim: Prices.php - Correct the sql quoting, and various layout improvements and bug fixes
13/09/10 Tim: POReport.php - Format correctly for screen and add in option to export as a csv file
11/09/10 Tim: PO_SelectPurchOrder.php - Correct the sql quoting, and various layout improvements
11/09/10 Tim: PO_SelectOSPurchOrder.php - Correct the sql quoting
11/09/10 Tim: PO_PDFPurchOrder.php - Correct the sql quoting
11/09/10 Otandeka: PDFPriceList.php - Corrected undefined offset error
11/09/10 Phil: Manual changes - for utf-8 - language and PDFlanguage selection, also the installer and the new CounterSales.php script
10/09/10 Tim: PO_OrderDetails.php - Layout improvements, links to SelectSuppliers.php and sql quoting corrections
10/09/10 Tim: PO_Items.php - Layout improvements, and sql quoting corrections
10/09/10 Tim: PO_Header.php - Layout improvements, and sql quoting corrections
10/09/10 Tim: PO_AuthoriseMyOrders.php - Layout improvements, and sql quoting corrections
10/09/10 Tim: PO_AuthorisationLevels.php - Layout improvements, and sql quoting corrections
10/09/10 Tim: PeriodsInquiry.php - Layout improvements
10/09/10 ChenJohn: ConnectDB_mysql.inc ConnectDB_mysqli.inc  fix utf-8 data being encoded/stored incorrectly in db server
08/09/10 Tim: PDFTopItems.php - Correct the sql quoting
08/09/10 Tim: PDFSuppTransListing.php - Screen layout improvements. Correct the sql quoting
08/09/10 Tim: PDFStockTransfer.php - Correct the sql quoting
08/09/10 Tim: PDFStockNegatives.php - Fix missing sql error message and correct the default date format in the heading
08/09/10 Tim: PDFStockCheckComparison.php - Screen layout improvements. Correct the sql quoting
07/09/10 Tim: PDFRemittanceAdvice.php - Correct the sql quoting
07/09/10 Tim: PDFReceipt.php - Correct the sql quoting
07/09/10 Tim: PDFQuotation.php - Correct the sql quoting
07/09/10 Tim: PDFPickingList.php - Correct the sql quoting
07/09/10 Tim: PDFOrderStatus.php - Improve report layout for readability
07/09/10 Tim: PDFOrderInvoiced.php - Improve report layout for readability
06/09/10 Tim: PO_Header.php - Move dummy status array from DefinePOClass.php
06/09/10 Tim: upgrade3.11.1-3.12.sql - Change syntax to work in both windows and linux
06/09/10 Tim: SupplierInvoice.php - Correct the roundings so that the double entry balances
05/09/10 Tim: PO_AuthoriseMyOrders.php - Update correct status when language not English
05/09/10 Tim: PcAssignCashToTab.php - Show authorised, notes, and receipt fields correctly. Changed to use DB_fetch_array() rather than DB_fetch_row().
05/09/10 Tim: PDFStockTransListing.php - List stock transactions by transaction type.
05/09/10 Ricard: upgrade3.11.1-3.12.sql - Database changes required for changes to report writer.
31/08/10 Tim: StockLocTransfer.php - Change quantity input field to have more than 5 digits
28/08/10 Marcos Garcia Trejo: Fix ConfirmDispatchInvoice.php assembly components new qty on hand
27/08/10 Tim: Add in requisition number into purchase order prints.
21/08/10 Phil: Fix bugs introduced by Paul's patch prnMsg= should be prnMsg() BOMs.php also did in Contracts.php
21/08/10 Phil: Contract closing changes all the contracts scripts
20/08/10 Paul Thursby: More $msg cleanup. Unused eliminated; Others replaced with prnMsg().
15/08/10 Phil: Decided to have contracts as part of orders module since not really enough links to warrant a new module changes to index.php WWW_Users.php and sql upgrade.
15/08/10 Phil: New script for ContractCosting.php comparison of contract costs budgeted vs incurred. Lot of work on contracts
13/08/10 Phil: DefineSuppTransClass.php SupplierInvoice.php and SupplierCredit.php now allow entry of contract charges. New script for SuppContractChgs.php
13/08/10 Phil: Fixes to show creditors transactions correctly in GLTransInquiry.php signs mixed up and period not shown previously
10/08/10 Russell (Regal Prods): Fix SelectOrderItems.php width of narrative box was making screen unusable!!
18/08/10 Pak Ricard: Revised report writer with the ability for more fields
07/08/10 Paul Thursby: PO_Items.php - Eliminate query; Moves the ONE field into a query above this point.
07/08/10 Paul Thursby: SelectProduct.php - Variable $msg will never print. Elimnate to use function prnMsg() instead.
08/08/10 Phil: Contracts.php SelectContracts.php DeliveryDetails.php - more work to convert Contracts to quotations and on conversion of contract quotations to orders to create contract work order to issue materials to
07/08/10 Tim: PDFLowGP.php - Sql quoting correction, layout changes, and assorted minor bug corrections
07/08/10 Tim: PO_Items.php - Sql quoting correction, layout changes, and assorted minor bug corrections
07/08/10 Tim: SelectCustomer.php - Unset $result variable once used as it was causing search errors later in the script
06/08/10 Tim: Purchase Ordering - Set the allow print flag when the order is re-authorised
02/08/10 Tim: DailyBankTransactions.php - Show currencies correctly when transaction is in different currency to bank currency
30/07/10 Tim: Payments.php - Syntax error in sql statement
28/07/10 Simon Peter Otandeka: Change locatransfers table so that recd quantity on bulk stock transfers is a double field not integer
28/07/10 Tim: class.pdf.php - Ensure ellipse() method has compatible declaration with ancestor class
28/07/10 Tim: class.pdf.php - Ensure line() method has compatible declaration with ancestor class
26/07/10 Tim: PDFGrn.php - Sql quoting corrections, bug fixes
26/07/10 Tim: PDFDIFOT.php - Sql quoting corrections, bug fixes and layout changes
26/07/10 Tim: PDFDeliveryDifferences.php - Sql quoting corrections, bug fixes and layout changes
26/07/10 Tim: PDFCustTransListing.php - Sql quoting corrections and layout changes
26/07/10 Tim: PDFCustomerList.php - Sql quoting corrections and layout changes
26/07/10 Tim: PDFChequeListing.php - Sql quoting corrections, add javascript date picker, and layout changes
26/07/10 Tim: PDFBankingSummary.php - Sql quoting corrections
26/07/10 Tim: DailyBankTransactions.php - New script to show daily bank transactions in bank account currency, and local currency
25/07/10 Tim: PrintCustTrans.php - Correctly show decimal places
25/07/10 Phil: SelectContract.php new script to select a contract
25/07/10 Phil: ContractOtherReqts.php new script to enter other requirements for a contract
25/07/10 Phil: Contracts.php and includes/DefineContractClass.php debugging
22/07/10 Tim: GLAccountInquiry.php - Add in running balance. Cumulative for BS account, and period for PL accounts.
22/07/10 Simon Peter Otandeka: FixedAssetList.php - New script that provides a simple list of assets and their properties.
22/07/10 Tim: FixedAssetJournal.php - Corrections to depreciation calculation layout changes, and sql quoting
22/07/10 Tim: SalesGraph.php - Update to latest phplot, add in choice of graph types layout changes, and sql quoting
20/07/10 Tim: PcAuthoriseExpenses.php - Layout changes, and sql quoting
20/07/10 Tim: FixedAssetRegister.php - Layout changes, correctly export to csv, and sql quoting
20/07/10 Tim: StockLocStatus.php - Add a filter to only show stock with available balances
20/07/10 Tim: StockLocMovements.php - Add in the new quantity on hand field
20/07/10 Tim: TopItems.php - Show value in functional currency, and show decimal places correctly
20/07/10 Tim: Daily Transactions listings - Show reports correctly even in mysql strict mode
19/07/10 Tim: FixedassetTransfer.php - Layout changes and sql quoting, use javascript to change location
19/07/10 Tim: FixedassetLocations.php - Layout changes and sql quoting, proper checks for deletion of location
19/07/10 Tim: PO_SelectOSPurchOrder.php - Remove order values when security token 12 is not set
19/07/10 Tim: SelectProduct.php - Change prices security to token 12
19/07/10 Tim: FixedAssetCategories.php - Layout changes and sql quoting
19/07/10 Tim: FixedAssetItems.php - Layout changes and include editing of item type
19/07/10 Tim: SelectAssetType.php - New script to choose an asset type for editing
18/07/10 Tim: PCAssignCashToTab.php - Layout changes, sql quoting
18/07/10 Tim: StockAdjustments.php - Provide option for tagging stock adjustments, change layout, allow for searching for a part code, and sql quoting
18/07/10 Phil: CounterSales.php - was not retrieving ReceiptNumber if the debtor integration was disabled - also the correct period was not retrieved because the date format was not in the correct DateFormat because of a typo in SESSION['DefaultDateFormat']
18/07/10 Phil: New script ContractBOM.php to allow defining the bill of materials for a contract
18/07/10 Phil: Further work on Contracts.php
17/07/10 Tim: PaymentTerms.php - Bug fixes, SQL quoting and layout changes
17/07/10 Tim: Payments.php - Bug fixes, SQL quoting and layout changes
17/07/10 Tim: PaymentMethods.php - SQL quoting and layout changes
17/07/10 Tim: PaymentAllocations.php - SQL quoting and layout changes
17/07/10 Tim: OutstandingGRNs.php - SQL quoting and layout changes
17/07/10 Tim: SelectCompletedOrder.php - SQL quoting and layout changes
17/07/10 Tim: OrderDetails.php - SQL quoting and layout changes
17/07/10 Tim: OffersReceived.php - SQL quoting and provide confirmation message at the end
17/07/10 Tim: MRPShortages.php - SQL quoting and layout changes
17/07/10 Tim: MRPReschedules.php - SQL quoting and layout changes
17/07/10 Tim: MRPReport.php - Allow stock item search and selection, bug fixes, sql quoting and layout changes
17/07/10 Tim: Stocks.php - Correctly show item category properties, layout changes, quoting of sql, and deal with images correctly
15/07/10 Tim: GLTagProfit_Loss.php - Change report to show tag name in the heading
15/07/10 Tim: StockCheck.php - Bug fixes to show decimal places correctly and other fixes, fix sql quoting errors and layout changes
14/07/10 Tim: MRPPlannedWorkOrders.php - Fix sql quoting errors and layout changes
13/07/10 Tim: MRPPlannedPurchaseOrders.php - Bug fixes, correctly do the workflow, fix sql quoting errors and layout changes
13/07/10 Tim: Add logo.png file and select png before jpg if present
13/07/10 Tim: Move version number to config table in database
13/07/10 Gjergj Sheldija: MiscFunctions.php - Correctly show sourceforge logo only when an internet connection exists
13/07/10 Tim: MRPDemandTypes.php - Bug fixes, correctly do the workflow, fix sql quoting errors and layout changes
13/07/10 Tim: MRPDemands.php - Bug fixes, correctly do the workflow, fix sql quoting errors and layout changes
13/07/10 Tim: MiscFunctions.js - Revert formatting changes till I can ascertain why the numbers only function stopped working
12/07/10 Tim: MRPCreateDemand.php - Layout changes, sql quoting corrections
12/07/10 Tim: MRPCalender.php - Layout changes, sql quoting corrections
12/07/10 Tim: MRP.php - Layout changes, sql quoting corrections
12/07/10 Tim: Locations.php - Bug Fixes, Layout changes, sql quoting corrections
12/07/10 Tim: PDFGrn.php - Correct conversion factor bug
11/07/10 Tim: InventoryValuation.php - Layout changes
11/07/10 Tim: InventoryPlanningPrefSupplier.php - Bug fixes, layout changes, sql quoting fixed
11/07/10 Tim: InventoryPlanningPrefSupplier.php - Layout changes, sql quoting fixed
11/07/10 Tim: InventoryPlanning.php - Layout changes, sql quoting fixed
11/07/10 Tim: Goods Receiving - Fix conversion factor bug, layout changes, sql quoting fixed
11/07/10 Tim: DefineCartClass.php - Fix typo in variable declaration
10/07/10 Tim: StockTransfers - Bug fixes, correctly round the decimal places, fix sql quoting errors and layout changes
10/07/10 Tim: Bulk Transfers - Bug fixes, correctly round the decimal places, fix sql quoting errors and layout changes
09/07/10 Tim: GLTrialBalance.php - Bug fixes, layout improvements changed period number to date and year and sql fixes
09/07/10 Tim: GLTransInquiry.php - Layout improvements changed period number to date and year and sql fixes
09/07/10 Tim: GLTags - Layout improvements and sql fixes
09/07/10 Phil: includes/DateFunctions.inc added assumption for 2 digit years to d/m/Y m/d/Y and Y/m/d formats
09/07/10 Phil: Prices.php fixed error trapping to allow end dates of 0000-00-00 - the default no end date used by the logic
08/07/10 Tim: GLTagProfit_Loss - Layout improvements and sql fixes
08/07/10 Tim: GLProfit_Loss - Layout improvements and sql fixes
08/07/10 Tim: GLJournal - Layout improvements and sql fixes
08/07/10 Tim: GLBudgets - Bug fixes and layout improvements and sql fixes
08/07/10 Tim: index.php - Correct typo
08/07/10 Tim: ManualPettyCash.html - Correct typo
07/07/10 Tim: GLBalanceSheet.php - Layout improvements and properly quoting sql
07/07/10 Tim: GLAccounts.php - Layout improvements and properly quoting sql
07/07/10 Tim: GLAccountInquiry.php - Layout improvements and properly quoting sql
07/07/10 Tim: GeocodeSetup.php - Properly quoting sql
07/07/10 Tim: FreightCosts.php - Layout improvements and properly quoting sql
07/07/10 Tim: Factors.php - Redo much of script to conform more with webERP standards
07/07/10 Tim: ExchangeRateTrend.php - Add Javascript, and layout improvements
07/07/10 Tim: EDIMessageFormat.php - Bug fixes with updating the format
05/07/10 Tim: DiscountMatrix.php - Layout improvements
05/07/10 Tim: DiscountCategories.php - Layout improvements
05/07/10 Tim: DemandWorkOrders.php - Remove redundant file
05/07/10 Tim: DeliveryDetails.php - sql corrections
05/07/10 Tim: DebtorsAtPeriodEnd.php - Report design changes, screen layout changes, and sql corrections
05/07/10 Tim: CustWhereAlloc.php - Layout changes and correction to sql statement
05/07/10 Tim: CustomerTypes.php - Misc minor bug fixes, layout changes and correction to sql statement
05/07/10 Tim: Customers.php - Layout changes and correction to sql statement
05/07/10 Tim: Customers.php - Layout changes
05/07/10 Tim: CustomerReceipt.php - Corrections to sql statements
05/07/10 Tim: CustomerInquiries.php - Layout changes
05/07/10 Tim: CustomerAllocations.php - Corrections to sql statements and layout changes
05/07/10 Tim: CustomerAllocations.php - Corrections to sql statements and layout changes
05/07/10 Tim: CustLoginSetup.php - Minor bug fixes, corrections to sql statements
05/07/10 Pak Ricard: upgrade3.11.1-3.12.sql - Error in table name
05/07/10 Pak Ricard: PricesByCost.php - Margin must be decimal to allow margins like 2,5 or 3,3 time standard cost. Also ot has to be large enough to accept "currency margins". If you have a standard costs in EUR and want to check prices in IDR or viceversa, you'll need to compute large margins.
04/07/10 Tim: CustEDISetup.php - Corrections to sql statements
04/07/10 Tim: Currencies.php - Corrections to sql statements and layout changes
04/07/10 Tim: CreditStatus.php - Corrections to sql statements and layout changes
04/07/10 Tim: Credit_Invoice.php - Minor bug fixes layout changes and corrections to sql statements
04/07/10 Tim: ConfirmDispatchControlled_Invoice.php - Force the LineNo variable to be read as integer
04/07/10 Tim: ConfirmDispatch_Invoice.php - Various fixes, corrections to sql statements and layout changes
04/07/10 Tim: CompanyPreferences.php - Corrections to sql statements and layout changes
04/07/10 Tim: COGSGLPostings.php - Corrections to sql statements and layout changes
04/07/10 Tim: BOMs.php - Corrections to sql statements and layout changes
03/07/10 Tim: BOMListing.php - Minor layout changes
03/07/10 Tim: BOMInquiry.php - Minor bug fixes and layout changes
03/07/10 Tim: BOMIndentedReverse.php - Layout changes
03/07/10 Tim: BOMIndented.php - Layout changes
03/07/10 Tim: BOMExtendedQty.php - Layout changes
03/07/10 Tim: BankReconciliation.php - Corrections to sql statements and layout changes
03/07/10 Tim: BankMatching.php - Corrections to sql statements and layout changes
03/07/10 Tim: BankAccounts.php - Layout changes
03/07/10 Tim: AddCustomerTypeNotes.php - Layout changes and verify Type ID before query
03/07/10 Tim: AddCustomerNotes.php - Verify Contact ID before query
03/07/10 Tim: AddCustomerContacts.php - Verify Contact ID before query
03/07/10 Tim: AccountSections.php - Incorrect boolean statement causing the existing groups to still be shown
03/07/10 Tim: AccountGroups.php - Incorrect boolean statement causing the existing groups to still be shown
03/07/10 Tim: PO_OrderDetails.php - Force $_GET['OrderNo'] to be an integer
02/07/10 Tim: Bulk transfers need to be able to have decimal places in the quantity.
01/07/10 Tim: PrintCustTransPortrait.php - Error in sql, nor picking up stkmoveno.
01/07/10 Tim: Numerous problems with stock adjustments for batch controlled items.
01/07/10 Tim: DateFunctions.inc - Correction to GetPeriod() for case when future period didn't exist.
30/06/10 Phil: Resolution of GL posting problem - removed INSERTs of new chartdetails from DateFunctions.inc CreatePeriod function and GLAccounts.php when adding a new GL account. Now all chartdetails are created from includes/GLPostings.inc and correct bfwd balances updated as they should be - I hope this solves this long outstanding previously unsquashable bug!!
25/06/10 Tim: PDFPriceList.php - Layout improvements.
25/06/10 Tim: SelectCompletedOrders.php - Layout improvements.
25/06/10 Tim: FormDesigner.php - Add A5 to the paper sizes.
25/06/10 Tim: Add the ability to have supplier types.
25/06/10 Tim: PDFStarter.php - Add in A5 parameters.
25/06/10 Tim: SupplierTender.php - Highlight any expired offers.
25/06/10 Tim: SupplierTender.php - Add in expiry date for offers.
25/06/10 Tim: SupplierTender.php - Add facility of the supplier to view, amend, or remove offers.
24/06/10 Tim: OffersReceived.php - Deal correctly with case where the cancreate flag is turned off for user/currency combination
24/06/10 Tim: SelectWorkOrder.php - Layout changes
24/06/10 Tim: WorkOrderEntry.php - sql string must be unset before it can become an array
24/06/10 Tim: upgrade3.11.1-3.12.sql - Add fields in salesorderfdetails table to enable new salesman commission program
24/06/10 Phil: WOCosting.php fix to variances calculation were based on total quantity of the work order items required not the actual quantity of the work order items received as finished!!! Was correct when first released but has been wrong for several years
24/06/10 Tim: Update SMTP server details from the UI rather than hard code into the scripts.
23/06/10 Tim: View, accept, or reject any offers made.
21/06/10 Pak Ricard: Z_ChangeStockCode.php - updated Z_ChangeStockCode.php as the last one broke due to the recent changes in contractBOM table (just changed the field name).
18/06/10 Tim: AddCustomerNotes.php - Layout improvements
18/06/10 Tim: AddCustomerContacts.php - Layout improvements
18/06/10 Tim: AccountSections.php - Layout improvements
18/06/10 Tim: AccountGroups.php - Layout improvements
18/06/10 Tim: Areas.php - Layout improvements, and link to SearchCustomer.php
18/06/10 Tim: SelectCustomers.php - Add facility to search by sales area
18/06/10 Tim: WWW_Users.php - Add a field in for the supplier code
18/06/10 Tim: CounterSales.php - Add the first line of address to the sql query
18/06/10 Tim: default.css - Use percentages for font sizes
18/06/10 Tim: WWW_Users.php - Extend for Contracts module
17/06/10 Zhiguo & Alec_H: Updates to Chinese translation
17/06/10 Tim: Enable a supplier to login and make an offer to the company
16/06/10 Tim: SelectProduct.php - Layout improvements
16/06/10 Tim: Customers.php - Correctly show fax and phone numbers
16/06/10 Tim: CustloginSetup.php - Improvements to layout, and correctly get customer name
13/06/10 Simon Peter Otandeka: GoodsReceived.php - Correct sql syntax to work for mysql versions before 5.1
13/06/10 Tim: Supplier login scripts needed for tendering system
13/06/10 Tim: upgrade3.11.1-3.12.sql - Extend modules al.lowed field to allow for new modules
13/06/10 Phil: Contracts.php new work changes to index.php to allow for new contract costing module
10/06/10 Tim: GoodsReceived.php - session.inc should come before any calls to gettext _() function.
09/06/10 Harald: Contracts.php - Fix typo in error message. Phil - This script is not even close to working yet anyway!!
09/06/10 Tim: UserSettings.php - Fix sql error for case when password is being updated.
08/06/10 Tim: Add option to exclude value information from GRN screen
07/06/10 Tim: Various changes to correctly deal with suppliers uom plus layout changes to puirchase orders and goods received notes
06/06/10 Zhiguo Yuan: WorkOrderReceive.php - Change to make rollup costs change when more labour or overheadcosts change
03/06/10 Phil: Added a bit of error trapping to ensure customer/branch set up when going into CounterSales.php
03/06/10 Otandeka: Locations.php used explode function rather than mb_substr function to split the cashsalecustomer to get Branch and Debtorno codes - also changed format to just a hypen between debtorno and branchcode
03/06/10 Otandeka: CounterSales php changed to use explode to get branch and debtorno from cashsalecustomer - and changed format to debtorno-branchcode and rather than debtorno - branchcode (spaces removed)
31/05/10 Phil: BankMatching script took out double quotes reformated indenting - a hard one to read - my bad!
31/05/10 Phil: New script CounterSales.php to allow entry of sale and payment over the counter as a half way step to POS - the customer account is defaulted based on the users default stock location. The locations table now has a default cash sales account - see below
29/05/10 ChenJohn: SalesTypes.php - upgrade3.11.1-3.12.sql - to allow sales type description up to 40 char length
28/05/10 Phil: New field in locations table to allow a default cash sales account to be setup by location -modifications to Locations.php to allow it to be entered and error-trapping for debtor - branch format required for specification. This will be used in a new CounterSales.php script I am working on
27/05/10 Tim: PurchData.php - Show the uom name, not the number
27/05/10 Tim: CustomerAllocations.php - Show the right balance, and the allocate link where needed
27/05/10 Tim: GoodsReceived.php - Correctly show the suppliers Units of measure
27/05/10 Tim: PO_ReadInOrder.inc - Only show one line when item has more than one price set up
27/05/10 Tim: GLProfit_Loss.php - Correction to show profit and loss reports for other languages
26/05/10 Tim: Corrections to Suppliers.php and new fields for suppliers table
26/05/10 Tim: Corrections to SelectCustomer.php and Customers.php
24/05/10 Simon Peter Otandeka: Added telephone, email and fax fields to Suppliers and Customers Pages. Ability to add/edit the records.
16/05/10 Phil: javascripts/MiscFunctions.js - not my field ... but could not resist adding some indentation - I struggle at the best of times with javascript but this was a shocker to read!! Hope I didn't mess up anything
16/05/10 Phil: reworked PDFRemittanceAdvices.php - somehow missed from tcpdf work to print utf-8 pdfs
16/05/10 Phil: reworked PDFPriceList to use the new effective dates fields and print out effective prices as at a specified date - showing effective dates on the report - also ditched includes/PDFPriceListPageHeader.php in favour of a PageHeader() function inside PDFPriceList.php. Also made the script work with tcpdf - not sure how it was missed before?
16/05/10 Phil: reworked PricesBasedOnMarkUp.php to insert new prices with effectivity dates and update the prices where effectivity dates specified.
16/05/10 Phil: reworked PricesByCost.php this was bit of a dodgy script - well I found it hard to follow - in the words of Frank Sinatra - I did it my way! Also built in effectivity dates to display and ensure correct prices updated now the primary key of prices is changed.
16/05/10 Phil: Wrote up the manual so that the logic of pricing with effective dates is explained
15/05/10 Phil: Used Lindsay/Ngaraj's nice email address checking function to replace the existing function in MiscFunctions.php and includes MiscFunctions.php in install/save.php to avoid duplication of the function
15/05/10 Phil: $debug variable in UserLogin.php was only set on first login - not subsequent page calls (its not a session variable) - moved it back into session.inc so that full info about bugs is available to sysadmins
15/05/10 Phil: GetPrices.inc Prices.php and Prices_Customer.php - modified to allow default prices - with no end dates - reducing requirement to administer - also updated Prices section of the manual
11/05/10 Tim: Exit MRP scripts gracefully if no MRP calculation has been done.
08/05/10 Lindsay: API was broken after adding a test for global variable $DatabaseName in ConnectDB_mysql* for this variable being set and using it as DB name if so.  The variable of that name in the api_php.php has been changed to $api_DatabaseName.
08/05/10 Phil: GetPrices.inc now uses the new price startdate and enddate to return the price which falls within the date range base on the current date. Changes to Prices.php and Prices_Customer.php to allow entry of effective from and effective to dates and updating/deleting of prices with appropriate error trapping and rescheduling of enddates where start and end dates would otherwise overlap.
08/05/10 Phil: Found a bug in Date1GreaterThanDate2 function (in includes/DateFunction.inc) with SESSION['DefaultDateFormat'] = 'd/m/Y' this function had been broken
06/05/10 Keith: session.inc : Correct SQL error on Currency updater
06/05/10 Lindsay: Tracker 2929564: dates mangled via QuicK Entry format
06/05/10 Matt Taylor: upgrade3.11.1-3.12.sql : Added default startdate to prices table.
06/05/10 Matt Taylor: weberp-demo.sql : Added startdate and enddate columns to prices table.
06/05/10 Matt Taylor: weberp-new.sql : Added startdate and enddate columns to prices table.
06/05/10 Matt Taylor: WorkOrderEntry.php : Added feature to convert planned work orders.
06/05/10 Matt Taylor: MRPPlannedWorkOrders.php : Added feature to convert planned work orders.
05/05/10 Tim: Fix javascript errors in date picker
05/05/10 SiteMe: Update to allow RecurringSalesOrdersProcess.php to run via cron
05/05/10 SiteMe: Correct statements layout problems caused by the newer version of tcpdf
05/05/10 SiteMe: Correct Invoice layout problems caused by the newer version of tcpdf
05/05/10 Ricard: GLProfit_Loss.php - Showing net profit percent (similar coding to gross profit percent
05/05/10 Tim: Fix javascript errors in order entry process
05/05/10 Zhiguo: PO_ReadInOrder.inc - Correct sql so that only one line per order line appears in the goods received screen
04/05/10 SiteMe: DateFunctions.inc - Fixed DateAdd function to correctly calculate Y/m/d dates.
04/05/10 Tim: SelectProduct.php - Correctly display the product when selected from more than one page.
03/05/10 Lindsay: More installer tweaks: better error handling
03/05/10 Tim: PurchData.php - Do not show thousands seperator in price field
02/05/10 Tim: Add picking list printing
02/05/10 Tim: Updates for case where no internet connection is present
02/05/10 Tim: SelectProduct.php - Correctly show the next page of products in a search.
01/05/10 Lindsay: Install now includes an option to install a logo.jpg file
30/04/10 Lindsay: Make installation operation functional again
29/04/10 Tim Schofield: SelectOrderItems.php : Ensure PO line number is carried through from quck entry screen.
29/04/10 Tim Schofield: SelectOrderItems.php : LastCustomer was not being initialised.
28/04/10 Tim Schofield: MiscFunctions.php : Fix currency download for when there is no internet connection.
28/04/10 Matt Taylor: Z_ImportStocks.php : Prevent importing empty string for pdfappend.
23/04/10 Matt Taylor: MiscFunctions.js : Fix IsDate() function for Y/m/d format.
23/04/10 Matt Taylor: DateFunctions.inc : Fix Date1GreaterThanDate2() function for Y/m/d format.
23/04/10 Matt Taylor: Z_BottomUpCost.php : Add script for batch updating BOM costs.
22/04/10 Zhiguo: SelectProduct.php - Add a link to StockStatus.php direct from the selection page.
22/04/10 Lindsay: add missing ; to second last line of upgrade3.11.1-3.12.sql
22/04/10 Zhiguo: index.php - Change SID to sid, so as to solve the locale issue of Turkish I(ı) & İ(i)
22/04/10 Zhiguo: PrintCustStatements.php - Change addInfo() to addinfo() and also change INTERVAL() to interval(), so as to solve the locale issue of Turkish I(ı) & İ(i)
22/04/10 Zhiguo: PDFOrdersInvoiced.php - Change addInfo() to addinfo() and Is_Date() to is_date() also change SID to sid, so as to solve the locale issue of Turkish I(ı) & İ(i)
22/04/10 Zhiguo: PDFDIFOT.php - Change addInfo() to addinfo() and also change SID to sid, so as to solve the locale issue of Turkish I(ı) & İ(i)
22/04/10 Zhiguo: PDFDeliveryDifferences.php - Change addInfo() to addinfo() and also change SID to sid, so as to solve the locale issue of Turkish I(ı) & İ(i)
22/04/10 Zhiguo: ConnectDB_mysql.inc - Change INTERVAL() to interval(), so as to solve the locale issue of Turkish I(ı) & İ(i)
22/04/10 Zhiguo: ConnectDB_mysqli.inc - Change INTERVAL() to interval(), so as to solve the locale issue of Turkish I(ı) & İ(i)
22/04/10 Zhiguo: DateFunctions.inc - Change Is_Date() to is_date(), so as to solve the locale issue of Turkish I(ı) & İ(i)
22/04/10 Zhiguo: class.pdf.php - Change addInfo() to addinfo(), so as to solve the locale issue of Turkish I(ı) & İ(i)
21/04/10 Matt Taylor: Z_ImportStocks.php : Fix bug in checking of perishable field.
18/04/10 Ricard: InventoryPlanning.php - Remove discontinued items from inventory planning reports.
15/04/10 Kalmer Piiskop: MiscFunctions.js - Update IsDAte() function for all date formats.
15/04/10 Ricard: WWW_Users.php - Correctly show the last visited date.
15/04/10 Tim: GLJournal.php - Fix to show the footer on completion of the journal.
15/04/10 Tim: SystemParameters.php - Add in picking note parameter
14/04/10 Tim: SelectOrdderitems.php and DeliveryDetails.php - Improvements to layout and design of sales order entry
08/04/10 Tim: SuppTransGLAnalysis.php - Correct typo in sql statement.
07/04/10 Tim: SelectOrdderitems.php and DeliveryDetails.php - Improvements to layout.
07/04/10 Tim: Improvements to the silverwolf theme.
07/04/10 Tim: SelectOrderItems.php - Improve layout and correct for paging of items.
07/04/10 Tim: PO_Items.php - Remove the Back To Purchase Order Header link if the order is already posted.
07/04/10 Tim: SystemParameters.php and Currencies.php - Correct so that currency updates are only done when Automatic is chosen.
05/04/10 Exson Qu: Chinese translation update.
05/04/10 Matt Taylor: Z_ImportStocks.php : Correct DB_txn functions and add validation check.
05/04/10 Zhiguo: Japanese translation updates
04/04/10 Tim: upgrade3.11.1-3.12.sql - Enlarge fieldname column in reportfields to 60 characters
01/04/10 Harald: PDFSuppTransListing.php - Typing error in script title
30/03/10 Tim: PrintCustStatements.php - Use new layout when all statements printed
22/03/10 Tim: SelectCustomer.php - Remove extra '<' character
22/03/10 Tim: SelectCustomer.php - Remove extra '>' character
22/03/10 Tim: Change customer statement layout to not have overlapping text
21/03/10 Simon Peter Otandeka: PDFStatementPageHeader.inc - Correction for right margin variable misnamed
21/03/10 Pak Ricad: MRPShortages.php - Correctuion to mrp shortages report where total supply = 0
18/03/10 Tim: Add report of customer transactions entered on a given date
18/03/10 Tim: Add report of supplier transactions entered on a given date
17/03/10 Tim: Various layout improvements to top items report
16/03/10 Tim: PO_SelecOSPurchOrder.php - Various layout changes for consistency and to stick to coding guidelines
16/03/10 Anand: DateFunctions.inc - When getting the period number compare the same date formats
16/03/10 Tim: PO_SelecOSPurchOrder.php - Correctly position link to create a new order
16/03/10 Tim: PO_SelecOSPurchOrder.php - Change option from Printed to Print in case where order is not yet printed
15/03/10 Tim: Layout changes to make SelectCustomer.php SelectProduct.php and SelectSupplier.php have a similar look and feel to them
14/03/10 Tim: Various layout improvements
13/03/10 Tim: report_runner.php - Remove deprecated split() function
13/03/10 Tim: geocode.php - Remove deprecated split() function
13/03/10 Tim: CustomerBranches.php - Remove deprecated split() function
13/03/10 Tim: Suppliers.php - Remove deprecated split() function
13/03/10 Tim: SuppPriceList.php - Remove deprecated split() function
13/03/10 Tim: SupplierContacts.php - Correctly do the while loop to avoid a blank line, and only try to do the database updates when there are no errors
13/03/10 Phil: GLAccountReport.php - creates a pdf for GL account listings for any selected range of accounts and periods
13/03/10 Phil: GLAccountCSV.php - creates a csv file for GL account report for any selected range of accounts and periods
10/03/10 Peter Pettersson: Updated Swedish translation and some changes to Language oriented files
09/03/10 Tim: PDFStockLocTransfer.php - Add a reprint option
09/03/10 Tim: Updates to Petty Cash Management Report and include new header file
08/03/10 Tim: Small changes to Petty Cash module
08/03/10 Simon Peter Otandeka: FixedAssetRegister.php Include totals and sub-totals
08/03/10 Tim: PrintCustTransPortrait.php Correctly show the prices
08/03/10 Tim: Corrections to DIFOT report to correctly show the logo
05/03/10 Lindsay: PrintCustTrans.php generates HTML for Print, PDF for Print PDF
04/03/10 Tim: Z_DataExport.php - Remove unused fields
04/03/10 Tim: PDFQuotation.php - Remove call to SelectFont function
01/03/10 Tim: WorkCentres.php - Default value for overhead per hour
01/03/10 Pak Ricard: PcReportTab.php - New PcReportTab with  limited tab view (supervised or own) tabs.
01/03/10 Tim: PrintCustTrans.php - Correctly show html and pdf formats
01/03/10 Pak Ricard: PDFPriceList.php - Updated price list report
01/03/10 Harald: PcExpensesTypeTabv.php - Correct message on deletion of tab
01/03/10 Harald: PcExpensesTypeTabv.php - Missing space
01/03/10 Harald: PcExpensesTypeTabv.php - Missing space, and bad end tag
01/03/10 Harald: PcExpensesTypeTabv.php - Missing Gettext function
01/03/10 Tim: PcAuthorizeExpenses.php - Remove blank line at the start of file, and correct for instance where $SelectedTabs is not set
20/02/10 Lindsay: Bug fix and better description for API functions for SalesInvoiceEntry/Modify
19/02/10 Lindsay: Bug fixing to make SalesOrder entry work for old and new API.
18/02/10 Lindsay: API: date formatting in api_salesorders.php; added FormatDateWithTimeForSQL function to includes/DateFunctions.inc
16/02/10 Pak Ricard: New Petty cash module
16/02/10 Lindsay: Added GetCustomerBranchCodes() to API, and aoi_DB_query function to record DB error message and SQL causing it.
15/02/10 Lindsay: Return no error indication from SearchCustomer() API
12/02/10 Thomas Timothy Lie: Completion of Indonesian translation
12/02/10 Paul: PO_Items.php - Incorrect number of decimal places shown for pricdes less than 1
12/02/10 Tim: Update phplot to the laterst version and remove reference to deprecated function eregi()
12/02/10 Tim: Update php-gettext to the laterst version and remove reference to deprecated function eregi()
12/02/10 Tim: Save.php - Replace deprecated function eregi
08/02/10 Tim: Change the default font family to Arial
05/02/10 Tim: PO_AuthorisationLevels.php - If authoriastion limit is blank, then use a zero value
03/02/10 Tim: Payments.php - Correctly show escaped characters in narrative while item hasn't been posted
02/02/10 Pak Ricard: BankReconciliation.php - Correction for multi currency bank accounts
02/02/10 Chris Franks: BOMInquiry.php - Show the labour and verhead costs for the parent item
02/02/10 Harald: api_xml-rpc.php.php - Corrections to descriptions.
29/01/10 Pak Ricard: PricesByCost.php - New script to view or update prices by cost
29/01/10 Zhiguo Yuan: SupplierCredit.php - Bring credit note scrpt in line with the invoice script
29/01/10 Victor Onofrei: Partial Romanian translation
27/01/10 Sajatmiko Akbar Wibowo: Updated Indonesian translation files
26/01/10 Tim: api_xml-rpc.php - Update the documentation
26/01/10 Lindsay: Expand description for API Login and Logout functions
25/01/10 Paul Thursby: Simplify and shorten the code for wildcard selection criteria
25/01/10 Lindsay: api_xml-rpc.php - API now in 2 styles: name/password not required after login
24/01/10 Harald: api_xml-rpc.php - Typo correction in string
24/01/10 Harald: api_xml-rpc.php - Typo correction in string
24/01/10 Miroslav Mazurek: Croatian translation files
24/01/10 Harald: api_xml-rpc.php - Typo correction in string
23/01/10 Tim: DateFunctions.inc - Correction to DateAdd() function for the d.m.Y date format
21/01/10 Harald: Correct path in ReportCreator.php
20/01/10 Tim: Remove redundant javascript calls
19/01/10 Tim: MRP.php - Missing gettext function for string
18/01/10 Tim: MRPPlannedWorkOrders.php - Add default date and use the javascript date picker
18/01/10 Tim: MRPPlannedPurchaseOrders.php - Add default date and use the javascript date picker
17/01/10 Tim: index.php - Add entry for planned work orders
17/01/10 Harald: MRPCalendar.php - gettext function for string was missing
16/01/10 Tim: Correctly deal with different paper sizes in form designer
16/01/10 Tim: Add the Goods Received Note to the Form Designer
15/01/10 Tim: UserLogin.php: The userid session variable was not being correctly set.
13/01/10 Tim: api_xml-rpc.php: Use output buffering to hide html error messages so that the api can handle errors in a graceful way
13/01/10 Tim: PO_Header.php: Show the mailto links correctly by decoding the hml entities
13/01/10 Lindsay: api_login.php, api_xml-rpc.php: Added logout method to API.
13/01/10 Lindsay: API changes: added method to turn error number to string; clean up api_xml-rpc.php and corrected some method descriptions.
12/01/10 Pak Ricard: Z_ChangeStockCategory.php - New script to change a stock category code
12/01/10 Chris Franks: PDFGrn.php - Show the date in the correct format
12/01/10 Tim: Z_ChangeStockCode.php - Check thast mrpplannedorders table exists before trying to alter it
10/01/10 Tim: StockTransfers.php - Correctly show stockid in links to ther functions.
10/01/10 Bryan Nielsen: BOMs.php - syntax error includes() was used not include()
09/01/10 Phil: Fix price for same item on an order priced at different prices - unfortunately, this means that there may be rounding errors on very large currencies as I reverted to the old logic using the stockmoves which use local currency and then converting back to the currency of the invoice - fixed both portrait and landscape
09/01/10 Lindsay: Changes to api session handling.
08/01/10 Tim: PrintCustTrans.php - Correct errors preventing invoice from printing
08/01/10 Tim: Put a supplier invoice on hold when outside the bounds set up in the config
07/01/10 Tim: Payments.php - Enforce numbers only in input boxes
07/01/10 Tim: GoodsReceived.php - Declare $identifier if not already declared before including PO_ReadInOrder.inc
07/01/10 Tim: silverwolf/default.css - Changes for new menu layout
07/01/10 Tim: PrintCustTransPortrait.php - Correct errors preventing invoice from printing
07/01/10 Tim: Change to only allow authorised staff to release invoices from hold
06/01/10 Tim: index.php - Ensure the modules positioning remains consistent.
06/01/10 Tim: api_stock.php - Error in sql statement.
06/01/10 Tim: index.php - Move the modules selection to the left of the screen
06/01/10 Tim: Form layout designer - Enable each company to have their own layouts for orders/invoices etc
04/01/10 Tim: api_stock.php - Correct typo in sql statement.
03/01/10 Phil: Fix SalesAnalysis_UserDefined.php - one too many brackets and indentation
02/01/10 Tim: Allow pdf output of the asset register.
24/12/09 Tim: Move the purchase ordering printing parameters to a separate file for the form designer.
23/12/09 Tim: Rename rtl theme to remove the space.
19/12/09 Pak Ricard: TopItems.php - Improvements to the top sales items report.
18/12/09 Tim: UserSettings.php - added new pdflanguage field to allow user pdf language support to be specified
17/12/09 Tim: class.pdf.php - Corrections to addTextWrap() function
17/12/09 Tim: PrintSalesOrder_generic.php - Correctly set $Copy for when not customer copy.
14/12/09 Tim: upgrade3.11-3.12.sql - Include pdflanguage field in www_users
12/12/09 Simon Peter Otandeka - FixedAssetRegister.php and FixedAssetJournal.php - Bux fixes to asset manager.
11/12/09 Tim: PO_PDFPurchOrder.php -  Print the correct suppliers unit of measure.
11/12/09 Tim: SelectProducts.php -  Ensure that preferred supplier is shown first, and provide a direct link to purchase ordering.
11/12/09 Pak Ricard: Selectproduct.php - Add ORDER BY to show the supplier info in effective date order.
09/12/09 Tim: Correctly align numbers in tables.
09/12/09 Pak Ricard: upgrade3.11-3.12.sql - Correct inconsistency with area code field length in cogsglpostings table
04/12/09 Tim: SpecialOrder.php -  Correction to produce sales order correctly
04/12/09 Tim: WriteForm.inc -  Change to make the file name have a default extension of pdf as per suggestion from Javier
04/12/09 Tim: WriteReport.inc -  Change to make the file name have a default extension of pdf as per suggestion from Javier
04/12/09 Tim: ConfirmDispatch_Invoice.php -  Items are posted directly to the GL so posted should be immediately set to 1.
04/12/09 Tim: PO_Items.php -  Show the suppliers uom correctly, and have button correctly shown on screen.
01/12/09 Tim: StockTransferontrolled.php - Correct for batch controlled Items.
29/11/09 Phil: New Remittance Advice script
24/11/09 Tim: WWW_Users.php - Allow for case where Last visited date isn'nt set, and set it.
24/11/09 Tim: SystemParameters.php - Remove .svn from the theme list, and minor layout changes for currencies where large numbers are common.
23/11/09 Tim: PrintCustTrans.php and PrintCustTransPortrait.php - Correctly print the invoice lines, and add the invoice number to the file name
22/11/09 Tim: MiscFunctions.php - Correction for case of LogPath not being set
22/11/09 Tim: PurchData.php - Improve the working of adding and editing purchasing data
22/11/09 Tim: PO_PDFOrderPageHeader.php - Correct variable name to show order lines correctly
21/11/09 Tim: PO_AuthorisationLevels.php - Correct edit functionality - Fixes Ticket #15
21/11/09 Tim: Logout.php - Take out reference to $demo_text and the incorrect call to session_start().
20/11/09 Tim: CustomerInquiry.php - Correction of errors in retrieving the number of months inquiries to show.
20/11/09 Tim: Create a log file of all status messages. Default is no log.
19/11/09 Tim: Improvements to factor company implementaton.
18/11/09 Tim: default.css - Correction to jelly theme
18/11/09 Tim: PO_Header.php - Add direct link to raise a Purchase Order
18/11/09 Tim: PO_PDFOrderPageHeader.inc - Include payment terms on the order.
18/11/09 Tim: Customers.php - Provide for better error handling when price lists and customer types are not setup.
18/11/09 Tim: Customers.php - Provide option to just view a customers details
18/11/09 Tim: PDFReceipt.php - Provide option to print a customer receipt
17/11/09 Bryan Nielsen: Factors.php - Correction first factor does not show in amend list
17/11/09 Tim: WWW_Users.php - Alter directory listing for svn directory
17/11/09 Tim: UserSettings.php - Alter directory listing for svn directory
17/11/09 Pak Ricard: TopItems.php - Correct typo preventing the correct loading of type of customers.
15/11/09 Javier: button_bg.png - quick menu silverwolf button background to follow style of theme
15/11/09 Javier: default.css - removed duplicated and restored overwritten classes after the synchronization
15/11/09 Javier: Change.log.html - This file, partially corrected xhtml code and convert tag being text to entities
15/11/09 Javier: default.css - Added in menu_group_item &lt;p&gt; css style to restore and even enhance previous &lt;li&gt; appearance
15/11/09 Javier: index.php - Complete correction of PhP and xhtml code to follow Zend and W3C standard rules
15/11/09 Beth Lesko: DateFunctions.inc - Correction for North American style dates
15/11/09 csrbusiness: api_salesorders.php - Correct date checking functions
15/11/09 Bryan Nielsen: StockLocStatus.php - Add in link to stock items
15/11/09 Tim: default.css - Synchronise css files so that all themes include all classes
15/11/09 Phil: GLTrialBalance_csv.php Creates a csv of the trial balance with parameters for PeriodFrom and PeriodTo  - also with webERP username and password set as part of the URL. This script allows a csv to be retrieved into an open-office spreadsheet directly with the loadComponentFromURL statement. Also modified session.inc - hope I've not broken anything else!!
14/11/09 Tim: StockLocStatus.php - Correct missing &lt;/a&gt; tag.
12/11/09 Tim: Improve direct ordering code and make the EOQ the default quantity when ordered direct
12/11/09 Tim: PO_PDFPurchOrder.php - Correct syntax error
12/11/09 Tim: PO_Items.php - Correct error in sql reventing a new order being raised
12/11/09 Tim: api_branches.php - Remove echo statement from modifybranch() function
12/11/09 Tim: api_php.php - include sqlcommonfunctions.
12/11/09 Tim: api_salesorders.php - Fix call to GtNextTransaction()
12/11/09 CSRBusiness: api_salesorders.php - Correct the number of parameters in call to VerifyDeliveryDate()
12/11/09 Bryan Nielsen: BankAccounts.php - Correctly assign values to Yes and No options.
12/11/09 Tim: TaxProvinces.php - Correctly check if any locations use this province before deletion.
12/11/09 Tim: ManualContents.php - Fix error in showing API manual
11/11/09 John Straka: DateFunctions.inc - Corection to DateAdd() function
11/11/09 Tim: Improvements to purchase ordering system
09/11/09 Tim: PO_ReadInOrder - Update for additinal purchase order line properties
09/11/09 Tim: PO_Header.php - Correctly assign warehouse variables from sql
09/11/09 Javier: messages.pot - gettext en_GB template file for translations.
09/11/09 Javier: class.pdf.php - (miss v) Removed calls to html_entity_decode and added SVN Keyword.
09/11/09 Javier: PO_Header.php - v1.35 Removed call to html_entity_decode.
09/11/09 Javier: DeliveryDetails.php - v1.76 Removed call to html_entity_decode and added SVN Keyword.
09/11/09 Javier: PDFTransPageHeaderPortrait.inc - v1.9 Removed call to htmlspecialchars_decode.
09/11/09 Javier: PDFTransPageHeader.inc - v1.19 Removed call to htmlspecialchars_decode.
09/11/09 Javier: PDFTransPageHeaderPortrait.inc - v1.8 Added SVN Keyword.
09/11/09 Javier: PDFTransPageHeader.inc - v1.18 Added SVN Keyword.
09/11/09 Javier: Z_poEditLangHeader.php - v1.8 Removed call to htmlspecialchars and added SVN Keyword.
09/11/09 Javier: SalesCategories.php - v1.11 Removed calls to htmlentities and added SVN Keyword.
09/11/09 Javier: Z_poEditLangRemaining.php - v1.4 Removed call to htmlentities and added SVN Keyword.
09/11/09 Javier: Z_poEditLangModule.php - v1.11 Removed call to htmlentities and added SVN Keyword.
09/11/09 Javier: Stocks.php - v1.75 Removed call to htmlentities and added SVN Keyword.
09/11/09 Javier: FixedAssetItems.php - v1.3 Removed call to htmlentities and added SVN Keyword.
09/11/09 Javier: AuditTrail.php - (miss v) Removed call to htmlentities and added SVN Keyword.
09/11/09 Javier: Suppliers.php - v1.44 Is_Date to match case for Turkish and added SVN Keyword.
09/11/09 Javier: SupplierInvoice.php - v1.45 Is_Date to match case for Turkish and added SVN Keyword.
09/11/09 Javier: SupplierCredit.php - v1.23 Is_Date to match case for Turkish and added SVN Keyword.
09/11/09 Javier: StockQuantityByDate - v1.10 Is_Date to match case for Turkish and added SVN Keyword.
09/11/09 Javier: SpecialOrder.php - v1.20 Is_Date to match case for Turkish and added SVN Keyword.
09/11/09 Javier: SalesInquiry.php - v1.5 Is_Date to match case for Turkish and added SVN Keyword.
09/11/09 Javier: POReport.php - v1.4 Is_Date to match case for Turkish and added SVN Keyword.
09/11/09 Javier: PO_Items.php - v1.43 Is_Date to match case for Turkish and added SVN Keyword.
09/11/09 Javier: MRPCalendar.php - v1.6  Is_Date to match case for Turkish and added SVN Keyword.
09/11/09 Javier: Customers.php - v1.44 Is_Date to match case for Turkish and added SVN Keyword.
09/11/09 Javier: PO_Header.php - v1.34 Replaced colon and space with period at Line 543.
09/11/09 Javier: ConnectDB_mysql.inc v1.32 ConnectDB_mysqli.inc v1.21 and ConnectDB_postgres.inc v1.15 - Added Id and Removed Charset from gettext
09/11/09 Javier: PO_Header.php - v1.33 Added gettext function at Line 544 and Id SVN Property.
09/11/09 Javier: messages.pot - update of gettext en_GB template file for translations.
09/11/09 Javier: CustomerReceipt.php - v1.46 Add in Id SVN Property.
09/11/09 Javier: CustomerReceipt.php - v1.45 Removed br at Line 783 from html table first column title.
09/11/09 Javier: upgrade3.11-3.12.sql - corrected syntax for consistency.
08/11/09 Gilles Deacur: SelectCustomer.php - Add in facility to search by customer address
08/11/09 Phil: New DailySalesInquiry.php - show sales for a selected month - day by day with average sales per billing day and GP% - work sponsored by Manny Neri
07/11/09 Tim: update3.10-3.11.sql - Remove FOI config value as feature not in 3.11
07/11/09 Tim: PrintCstTransPortrait.php - Correct $pdf->Output() call to show invoice without saving first
07/11/09 Tim: upgrade3.11-3.12.sql - Remove duplicated line and corrected syntax for consistency
06/11/09 Bogdan Stanciu: Login.php - A correction for the svn folder, and minor corrections to HTML.
06/11/09 Javier: Corrections to Silverwolf login.css
06/11/09 Javier: Corrections to Silverwolf default.css
06/11/09 Javier: Converted 10 Silverwolf mono images png color files into png mono files.
05/11/09 Javier: ManualHeader.html - Corrected syntax of the Charset Declaration.
05/11/09 Javier: Added missed icon images money_add.png and money_delete.png to all themes.
05/11/09 Javier: PDFStarter.php - v1.5 Changed addinfo calls into addInfo to avoid the Turkish issue.
05/11/09 Javier: SystemParameters.php - v1.59 Removed htmlentities at Line 362.
04/11/09 Bogdan Stanciu: PrintCustTransPortrait.php - Corrections to sql
03/11/09 Bogdan Stanciu: EDIProcessOrders.php - Fix string concatenation errors
02/11/09 Tim: SuppPriceList.php - Allow price list to be printed from the SelectSupplier screen
02/11/09 Tim: SelectSupplier.php - Add option to print a supplier price list
02/11/09 Tim: index.php - Add in new facility to maintain Reorder levels
02/11/09 Pak Ricard: ReorderLevelLocation.php - A new script ReorderLevelLocation, allowing to setup reorder levels selecting a location and a category.
02/11/09 Pak Ricard: SuppPriceList.php - A script that produces a PDF with a supplier price list. User can select supplier, category (all is available), and current prices or all prices (to compare old prices with new ones).
01/11/09 Pak Ricard: StockLocTransferReceive.php - Fix to allow the balance of a transfer to be cancelled.
30/10/09 Lindsay Harris: api_php.php - Corrections to database authentication
30/10/09 Tim: GoodsReceived.php - Correction to SQL
30/10/09 Tim: FixedAssetRegister.php - Changes in layout to the register
30/10/09 Tim: FixedAssetJournal.php - Correctly calculate depreciation
30/10/09 Tim: FixedAssetItems.php - Various bug fixes
30/10/09 Tim: FixedAssetLocations.php - Allow for parent locations
30/10/09 Tim: Z_ImportStocks.php - Change file type to text/csv
30/10/09 Tim: MRPCreateDemands.php - Minor formatting changes
30/10/09 Tim: SelectCompletedOrder.php - Use javascript date picker if javascript is enabled
30/10/09 Tim: StockMovements.php - Layout improvements.
30/10/09 Tim: WorkOrderReceive.php - Layout improvements.
30/10/09 Tim: upgrade3.11-3.11.1 - Remove change to www_users as not a bug in 3.11
30/10/09 Tim: Update images to ensure that all themes have the same images
30/10/09 Tim: StockDispatch - New version for StockDispatch with some printing improvements and also with an option to choose a “simple” or “standard” form, depending on the company needs.
30/10/09 Pak Ricard: StockDispatch - New version for StockDispatch with some printing improvements and also with an option to choose a “simple” or “standard” form, depending on the company needs.
30/10/09 Pak Ricard: PrintCustTransPortrait.php - Allows PrintCustTransPortrait to use prices from salesordersdetails, instead of stockmoves, to solve the multicurrency issue with large exchage rates.
30/10/09 Pak Ricard: PrintCustTrans.php - Allows PrintCustTrans to use prices from salesordersdetails, instead of stockmoves, to solve the multicurrency issue with large exchage rates.
30/10/09 Tim: upgrade3.11-3.12.sql - Remove duplicated indexes
30/10/09 Tim: PDFBalanceSheetPageHeader.inc - Fix to make similar phrases read the same to ease translation. Notified by Javier
30/10/09 Tim: PDFOrderStatusPageHeader.inc - Fix to make similar phrases read the same to ease translation. Notified by Javier
30/10/09 Tim: index.php - Fix to make similar phrases read the same to ease translation. Notified by Javier
30/10/09 Tim: PO_SelectPurchOrder.php - Fix to make similar phrases read the same to ease translation. Notified by Javier
30/10/09 Tim: PO_SelectOSPurchOrder.php - Fix to make similar phrases read the same to ease translation. Notified by Javier
30/10/09 Tim: index.php - Fix to make similar phrases read the same to ease translation. Notified by Javier
30/10/09 Tim: SpecialOrder.php - Fix to make similar phrases read the same to ease translation. Notified by Javier
30/10/09 Tim: PO_PDFPurchOrder.php - Fix to make similar phrases read the same to ease translation. Notified by Javier
30/10/09 Tim: PO_Items.php - Fix to make similar phrases read the same to ease translation. Notified by Javier
30/10/09 Tim: BOMExtendedQty.php - Fix to make similar phrases read the same to ease translation. Notified by Javier
29/10/09 Tim: SuppInvGRNs.php - Fix to make similar phrases read the same to ease translation. Notified by Javier
29/10/09 Tim: AccountGroups.php - Fix to make similar phrases read the same to ease translation. Notified by Javier
29/10/09 Tim: DeliveryDetails.php - Fix to make similar phrases read the same to ease translation. Notified by Javier
29/10/09 Tim: MRPPlannedWorkOrders.php - Fix typos
29/10/09 Tim: PDFStockCheckComparison.php - Fix typo
29/10/09 Tim: api_xmlrpc.php - Fix typos
29/10/09 Tim: api_errorcodes.php - Fix typos
29/10/09 Tim: PDFSalesAnalysis.inc - Fix typo
29/10/09 Tim: ConstructSQLForUserDefinedSalesReport.inc - Fix typo
29/10/09 Tim: Z_MakeNewCompany.php - Fix typo
29/10/09 Tim: ShipmentCosting.php - Fix typo
29/10/09 Tim: SalesInquiry.php - Fix typo
29/10/09 Tim: PO_PDFPurchOrder.php - Fix typo
29/10/09 Tim: PO_Items.php - Fix typo
29/10/09 Tim: MRPReport.php - Fix typo
29/10/09 Tim: MRP.php - Fix typo
29/10/09 Tim: MRPDemands.php - Fix typo
29/10/09 Tim: InventoryPlanningPrefSupplier.php - Fix typo
29/10/09 Tim: ConfirmDispatch_Invoice.php - Fix typo
29/10/09 Tim: BOMIndentedReverse.php - Fix typo
29/10/09 Tim: BOMIndented.php - Fix typo
29/10/09 Tim: BOMExtendedQty.php - Fix typo
29/10/09 Tim: Aged Debtors.php - Fix typo
29/10/09 Tim: ConfirmDispatch_Invoice.php - Fix to ensure correct qoh is calculated even with simultaneous invoices
29/10/09 Pak Ricard: PO_PDFPurchOrder.php - Improvements in Purchase order print to include supplier part code
29/10/09 Pak Ricard: InventoryPlanning.php - Improvements to Inventory Planning reports
29/10/09 Pak Ricard: PDFInventoryPlanPageHeader.inc - Improvements to Inventory Planning reports
29/10/09 Pak Ricard: upgrade3.11-3.12.sql - Add in parameter for new config value, and additional asset manager fields
29/10/09 Pak Ricard: System Parameters.php - Add config parameter for default number of months to show in Cstomer Inquiry
29/10/09 Pak Ricard: CustomerInquiry.php - Add config parameter for default number of months to show
29/10/09 Tim: PrintCustTransPortrait.php - Change to make the file name have a default extension of pdf as per suggestion from Javier
29/10/09 Tim: PDFStockLocTransfer.php - Change to make the file name have a default extension of pdf as per suggestion from Javier
29/10/09 Tim: MRPPlannedPurchaseOrders.php - Change to make the file name have a default extension of pdf as per suggestion from Javier
29/10/09 Tim: MRPShortages.php - Change to make the file name have a default extension of pdf as per suggestion from Javier
29/10/09 Tim: PDFSockTransfer.php - Change to make the file name have a default extension of pdf as per suggestion from Javier
29/10/09 Tim: InventoryQuantities.php - Change to make the file name have a default extension of pdf as per suggestion from Javier
29/10/09 Tim: PrintSalesOrder_generic.php - Change to make the file name have a default extension of pdf as per suggestion from Javier
29/10/09 Tim: PDFCustomerList.php - Change to make the file name have a default extension of pdf as per suggestion from Javier
29/10/09 Tim: GLProfit_Loss.php - Change to make the file name have a default extension of pdf as per suggestion from Javier
29/10/09 Tim: MRPReschedules.php - Change to make the file name have a default extension of pdf as per suggestion from Javier
29/10/09 Tim: PrintCustOrder_generic.php - Change to make the file name have a default extension of pdf as per suggestion from Javier
29/10/09 Tim: SalesAnalysis_UserDefined.php - Change to make the file name have a default extension of pdf as per suggestion from Javier
29/10/09 Tim: BOMIndentedReverse.php - Change to make the file name have a default extension of pdf as per suggestion from Javier
29/10/09 Tim: PDFLowGP.php - Change to make the file name have a default extension of pdf as per suggestion from Javier
29/10/09 Tim: PDFGrn.php - Change to make the file name have a default extension of pdf as per suggestion from Javier
29/10/09 Tim: PrintCustOrder.php - Change to make the file name have a default extension of pdf as per suggestion from Javier
29/10/09 Tim: PrintCustTrans.php - Change to make the file name have a default extension of pdf as per suggestion from Javier
29/10/09 Tim: InventoryPlanningPrefSupplier.php - Change to make the file name have a default extension of pdf as per suggestion from Javier
29/10/09 Tim: BOMExtendedQty.php - Change to make the file name have a default extension of pdf as per suggestion from Javier
29/10/09 Tim: GLTagProfit_Loss.php - Change to make the file name have a default extension of pdf as per suggestion from Javier
29/10/09 Tim: PrintCustStatements.php - Change to make the file name have a default extension of pdf as per suggestion from Javier
29/10/09 Tim: PDFQuotation.php - Change to make the file name have a default extension of pdf as per suggestion from Javier
29/10/09 Tim: InventoryPlanning.php - Change to make the file name have a default extension of pdf as per suggestion from Javier
29/10/09 Tim: InventoryValuation.php - Change to make the file name have a default extension of pdf as per suggestion from Javier
28/10/09 Tim: OutstandingGRNs.php - Change to make the file name have a default extension of pdf as per suggestion from Javier
28/10/09 Tim: PDFTopItems.php - Change to make the file name have a default extension of pdf as per suggestion from Javier
28/10/09 Tim: StockCheck.php - Change to make the file name have a default extension of pdf as per suggestion from Javier
28/10/09 Tim: GLBalanceSheet.php - Change to make the file name have a default extension of pdf as per suggestion from Javier
28/10/09 Tim: PDFStockCheckComparison.php - Change to make the file name have a default extension of pdf as per suggestion from Javier
28/10/09 Tim: StockDispatch.php - Change to make the file name have a default extension of pdf as per suggestion from Javier
28/10/09 Tim: ReorderLevel.php - Change to make the file name have a default extension of pdf as per suggestion from Javier
28/10/09 Tim: MRPPlannedWorkOrders.php - Change to make the file name have a default extension of pdf as per suggestion from Javier
28/10/09 Tim: BOMIndented.php - Change to make the file name have a default extension of pdf as per suggestion from Javier
28/10/09 Tim: GLTrialBalance.php - Change to make the file name have a default extension of pdf as per suggestion from Javier
28/10/09 Tim: PrintCheque.php - Change to make the file name have a default extension of pdf as per suggestion from Javier
28/10/09 Tim: PDFStockNegatives.php - Change to make the file name have a default extension of pdf as per suggestion from Javier
28/10/09 Tim: MRPReports.php - Change to make the file name have a default extension of pdf as per suggestion from Javier
28/10/09 Harald Ringehahn - FixedAssetCategories.php - Correction to strings.
28/10/09 Uldis Nelsons - SelectOrderItems.php - Changes to Gettext functions removing concatenated strings
28/10/09 Gilles Deacur - SystemParameters.php - Correct Typo.
28/10/09 Pak Ricard: PDFTopItems.php Print out Top Sales Item to pdf.
28/10/09 Pak Ricard: PDFTopItemsHeader.php Print out Top Sales Item to pdf.
28/10/09 Pak Ricard: TopItems.php Improvements to conform with webERP coding standards
24/10/09 Phil: CustomerAllocations.php - the date of the allocation was converted to SQL format using the FormatDateForSQL function but the date was hard coded as d/m/Y - so the function failed - hard coded for SQL inserts Y-m-d
23/10/09 Phil: fix bug reported by Manny Neri - customer statements where the option to show settled transaction in the last month was activiated were actually showing all settled transactions - which was not ideal!!
10/10/09 Tim: SuppInvGRNs.php - Properly align numbers in table
10/10/09 Tim: SupplierInquiry.php - Properly align numbers in table
10/10/09 Tim: PO_SelectPurchOrder.php - Properly align numbers in table
10/10/09 Tim: PO_Header.php - Javascript function to repost form when the status is changed
10/10/09 Tim: PDFBankingSummary.php - Select batch from drop down list
10/10/09 Tim: MRPDemands.php - Enable option to use Date picker to choose dates.
10/10/09 Tim: MRPCreateDemands.php - Enable option to use Date picker to choose dates.
10/10/09 Tim: GLAccountInquiry.php - Allow option to show all transactions
10/10/09 Tim: api_debtortransactions.php - Fix errors in checking for valid transaction date
08/10/09 Tim: RCFunctions.inc - Fix problem with database criteria statement
08/10/09 Tim: WorkOrderIssue.php - Allow for the selection of a date for the manual issue to work orders
08/10/09 Pak Ricard: Top sales items report
07/10/09 Phil: Fix PO_Items.php to enable changes to prices and weights
03/10/09 Tim: upgrade3.11-3.11.1 - Enlarge language field in www_users for utf8 codeset
03/10/09 Tim: upgrade3.11-3.12.sql - Enlarge language field in www_users for utf8 codeset
03/10/09 Tim: weberp-new.sql - Enlarge language field in www_users for utf8 codeset
03/10/09 Tim: weberp-demo.sql - Enlarge language field in www_users for utf8 codeset
26/09/09 Pak Ricard: Fix to www_users.php branchcode and debtorno could only be 8 characters long should allow 10
25/09/09 Pak Ricard: Fix to Z_ChangeStockCode.php to change the stock code in more recent tables including MRP tables and locationtransfers tables
25/09/09 asv: Fix to Z_ImportStocks.php to error trap mbflag
21/09/09 Murray: PrintCustTransPotrait is fixed to print default bank account details on invoice, only if config parameter is set.  Tested to work printing single or multilple invoices, and credit notes confirmed as printing OK (no bank account details required).  No DB changes required.
20/09/09 Mark: StockDispatch.php - Changed to create loctransfers records
20/09/09 Phil: Fix SelectOrderItems.php - option to show frequently ordered items, fixed SQL to be generic using existing date functions in /includes/DateFunctions.inc and also the new parameter to allow up to 99 frequently ordered items to display, GP Percentage rounding problem resolved. Corrected indentation and brackets in line with style guide
20/09/09 Phil: SystemParameters.php - option to show up to 99 frequently ordered items
20/09/09 Phil: upgrade3.11-3.12.sql new config parameter for FrequentlyOrderedItems
18/09/09 Tim: weberp-new.sql - Reinstate missing foreign keys
18/09/09 Tim: weberp-demo.sql - Reinstate missing foreign keys
16/09/09 Tim: Stocks.php - Updates for Asset manager module
16/09/09 Tim: WWW_Users.php - Allow the showing of the asset manager module in user setup
16/09/09 Tim: index.php - Show new functionality on menu pages
16/09/09 Tim: PO_AuthoriseMyOrders.php - New script to show those orders a user can authorise
16/09/09 Tim: upgrade3.11-3.12.sql - Changes to www_users to show asset manager module
16/09/09 Tim: DefineJournalClass.php - Changes required for depreciation journals
16/09/09 Tim: GoodsReceived.php - Alterations for purchase of new assets, and some bug fixes
16/09/09 Tim: FixedAssetRegister.php - New script to list a fixed asset register
16/09/09 Tim: FixedAssetTransfer.php - New script to transfer assets between locations
16/09/09 Tim: FixedAssetLocations.php - New script to define fixed asset locations
16/09/09 Tim: FixedAssetJournal.php - New script to produce a depreciation journal
16/09/09 Tim: FixedAssetItems.php - New script to define individual Fixed Asset items
16/09/09 Tim: FixedAssetCategories.php - New script to define categories of Fixed Assets
24/11/09 Phil: Added new pdflanguage to www_users table - modified session.inc to read it in and WWW_Users.php to modify the variable for users - not modified UserSettings.php ...yet
10/10/09 Tim: PDFBankingSummary.php - Select batch from drop down list
10/10/09 Tim: MRPDemands.php - Enable option to use Date picker to choose dates.
10/10/09 Tim: MRPCreateDemands.php - Enable option to use Date picker to choose dates.
10/10/09 Tim: GLAccountInquiry.php - Allow option to show all transactions
10/10/09 Tim: api_debtortransactions.php - Fix errors in checking for valid transaction date
08/10/09 Tim: RCFunctions.inc - Fix problem with database criteria statement
08/10/09 Tim: WorkOrderIssue.php - Allow for the selection of a date for the manual issue to work orders
08/10/09 Pak Ricard: Top sales items report
07/10/09 Phil: Fix PO_Items.php to enable changes to prices and weights
03/10/09 Tim: upgrade3.11-3.11.1 - Enlarge language field in www_users for utf8 codeset
03/10/09 Tim: upgrade3.11-3.12.sql - Enlarge language field in www_users for utf8 codeset
03/10/09 Tim: weberp-new.sql - Enlarge language field in www_users for utf8 codeset
03/10/09 Tim: weberp-demo.sql - Enlarge language field in www_users for utf8 codeset
26/09/09 Pak Ricard: Fix to www_users.php branchcode and debtorno could only be 8 characters long should allow 10
25/09/09 Pak Ricard: Fix to Z_ChangeStockCode.php to change the stock code in more recent tables including MRP tables and locationtransfers tables
25/09/09 asv: Fix to Z_ImportStocks.php to error trap mbflag
21/09/09 Murray: PrintCustTransPotrait is fixed to print default bank account details on invoice, only if config parameter is set.  Tested to work printing single or multilple invoices, and credit notes confirmed as printing OK (no bank account details required).  No DB changes required.
20/09/09 Mark: StockDispatch.php - Changed to create loctransfers records
20/09/09 Phil: Fix SelectOrderItems.php - option to show frequently ordered items, fixed SQL to be generic using existing date functions in /includes/DateFunctions.inc and also the new parameter to allow up to 99 frequently ordered items to display, GP Percentage rounding problem resolved. Corrected indentation and brackets in line with style guide
20/09/09 Phil: SystemParameters.php - option to show up to 99 frequently ordered items
20/09/09 Phil: upgrade3.11-3.12.sql new config parameter for FrequentlyOrderedItems
18/09/09 Tim: weberp-new.sql - Reinstate missing foreign keys
18/09/09 Tim: weberp-demo.sql - Reinstate missing foreign keys
16/09/09 Tim: Stocks.php - Updates for Asset manager module
16/09/09 Tim: WWW_Users.php - Allow the showing of the asset manager module in user setup
16/09/09 Tim: index.php - Show new functionality on menu pages
16/09/09 Tim: PO_AuthoriseMyOrders.php - New script to show those orders a user can authorise
16/09/09 Tim: upgrade3.11-3.12.sql - Changes to www_users to show asset manager module
16/09/09 Tim: DefineJournalClass.php - Changes required for depreciation journals
16/09/09 Tim: GoodsReceived.php - Alterations for purchase of new assets, and some bug fixes
16/09/09 Tim: FixedAssetRegister.php - New script to list a fixed asset register
16/09/09 Tim: FixedAssetTransfer.php - New script to transfer assets between locations
16/09/09 Tim: FixedAssetLocations.php - New script to define fixed asset locations
16/09/09 Tim: FixedAssetJournal.php - New script to produce a depreciation journal
16/09/09 Tim: FixedAssetItems.php - New script to define individual Fixed Asset items
16/09/09 Tim: FixedAssetCategories.php - New script to define categories of Fixed Assets
15/09/09 Tim: PrintCustTransPortrait.php - Correct sql to show invoices
15/09/09 Tim: StockReOrderLevel.php - Show the correct number of decimal places for stock levels
15/09/09 Tim: SelectSalesOrder.php - Bug fixes and layout changes
15/09/09 Tim: PurchData.php - Show supplier unit of measure as a drop down list and various other layout changes
15/09/09 Tim: PricesBasedOnMarkup.php - Show text at top of page using help text style
15/09/09 Tim: PO_OrderDetails.php - Bug fixes and layout changes
15/09/09 Tim: upgrade3.11-3.12.sql - Add tables for asset manager and create extra field for currency decimal places to show
15/09/09 Tim: MiscFunctions.inc - Add functions to retrieve decimal places for stock items and cuurency codes
15/09/09 Tim: DateFunctions.inc - Various bug fixes and change to GetPeriod() function to allow periods to be created before the Prohibit date
15/09/09 Tim: GLBudgets.php - Create periods even when they are before `Prohibit Postings Before Date`
15/09/09 Tim: Customers.php - Use javascript functions, and and correctly display numbers
15/09/09 Tim: CustomerAllocations.php - Fixes bug that so that $curDebtor is a string not integer so comparison occurs correctly
07/09/09 Murray: Added help text to Balance Sheet and P&L, to assist operators, improved layout of HTML view.
04/09/09 Murray: Added Frequently Ordered Items to Sales Orders, allows quick selection of top-5 most ordered items which saves operator keystrokes/time.  Changed selection of items text from "Order", to "Add to Sales Order" as this is a more accurate label for this button (reduces operator errors).
03/09/09 Murray: Adding PDF printing of Sales Orders / Proforma Invoices, these are pre-invoice documents required by some companies

Version 3.11
31 August 2009

28/08/09 Tim: upgrade3.10-3.11.sql - Alter column shipvia in table debtortrans to match definition of shipvia in shippers
28/08/09 Tim: RecurringSalesOrders.php - Correct for case when recurring order is created directly from the sales order
28/08/09 Tim: api_customers.php - Remove echo statement from modify customer function
28/08/09 David: BankAccounts.php - Correct sql syntax for insert statement
28/08/09 Tim: upgrade3.10-3.11.sql - Add comments for use with the upgrade script
28/08/09 Tim: Z_Upgrade_3.10-3.11.php - Change upgrade script to handle the case where some upgrades have already been done.
26/08/09 Phil: Fix Shoops CustLoginSetup.php by populating the $ModuleList
26/08/09 Phil: SelectCustomer.php ORDER BY clause doubled up (now fixed) following salesman login changes
26/08/09 Paul: StockCategories.php - Fixed missing closing > in html
24/08/09 Phil: Saleman login - modifications to session.inc SelectOrderItems.php SelectCustomer.php WWW_Users.php - added a new field to www_users for salesman login - when entering orders users with this restricted login will only be able to enter orders against the selected salesman (in WWW_Users.php). The user will also only be able to select customers for the selected salesman too. Note that if this user has access to salesanalysis then they will be analyse the sales of all customers
21/08/09 Tim: PDFQuotation.php - Add missing gettext function
19/08/09 Tim: PO_Items.php - Correctly use suppliers Unit of Measure and conversion factor
19/08/09 Tim: GoodsReceived.php - Correctly use suppliers Unit of Measure and conversion factor
19/08/09 Jurgen - Enable customer login creation from  the customer screen
16/08/09 Tim: ConnectDB_mysqli.inc - Add mysql port configuration
16/08/09 Tim: ConnectDB_mysql.inc - Add mysql port configuration
16/08/09 Tim: config.distrib.php - Add mysql port configuration
15/08/09 Tim: api_xml-rpc.php - Updates to stock adjustment function
15/08/09 Tim: api_stock.php - Updates to stock adjustment function
15/08/09 Tim: Tax.php - Fix problem with conversion of PeriodEndDate
13/08/09 Tim: Add GetStockCategory() function to api
13/08/09 Harald Ringehahn: DateFunctions.inc - Update for all supported date formats
13/08/09 Harald Ringehahn: MiscFunctions.js - Update for all supported date formats
13/08/09 Jurgen - Correction to database sql scripts
12/08/09 Harald Ringehahn: Z_poRebuildDefault.php - Add additional paths for gettext
11/08/09 Tim: SelectCompletedOrder.php - Correct for missing _ in gettext function call
11/08/09 Tim: ConfirmDispatch_Invoice.php - Correct for missing _ in gettext function call
10/08/09 Tim: MRPCreateDemands.php - Update for all supported date formats
10/08/09 Tim: DateFunctions.inc -Fixed error in GetPeriod() where the period was being incorrectly found
08/08/09 Tim: SelectOrderItems.php - Correct for case when all quick entry lines are filled
05/08/09 exleys: MiscFunctions.js - Correction to date picker function to use the correct base
05/08/09 Tim: WorkOrderIssue.php - Alter for qualitytext field
05/08/09 DK Shukla: WorkOrderCosting.php - Fix incorrect calculations in WorkOrderCosting.php
05/08/09 Tim: api_stock.php - Update for all supported date formats
05/08/09 Tim: api_salesorders.php - Update for all supported date formats
05/08/09 Tim: api_suppliers.php - Update for all supported date formats
05/08/09 Tim: api_debtortransactions.php - Update for all supported date formats
05/08/09 Tim: api_workorders.php - Update for all supported date formats
05/08/09 Tim: DeliveryDetails.php - Remove probably unnecessary code
05/08/09 Tim: Tax.php - Update for all supported date formats
31/07/09 Tim: PO_ReadInOrder.inc - Correct for controlled only items
30/07/09 Tim: PO_Header.php - Correction for case when Exch rate is 1
30/07/09 exleys: SuppShiptChgs.php - Correct missing " in html
30/07/09 Tim: WOSerialNos.php - Alter for qualitytext field
30/07/09 Tim: PrintCustTransPortrait.php - Correct bank invoice field in sql
30/07/09 Harald Ringehahn: PrintCustTransPortrait.php - Correct header row for gettext function.
30/07/09 Harald Ringehahn: PO_AuthorisationLevels.php - Correct for gettext function
30/07/09 Harald Ringehahn: BankAccounts.php - Update table headings for consistancy and to help translations
28/07/09 Tim: Missing _ in gettext functions
28/07/09 Tim: PO_Header.php - Add link to set up authorisation limits
28/07/09 Tim: Add in invoice field to bankaccounts table
28/07/09 Tim: CustomerReceipt.php - Add javascript functions
27/07/09 Tim: api_debtortrans.php - Verify for the correct length of the tpe field in VerifyTpe() functio
27/07/09 Tim: api_branches.php - Check for the coorect values in VerifyDeliverBlind() function
26/07/09 Tim: Add in bankaccountcode field
24/07/09 Tim: SelectOrderItems.php - Various user interface improvements
24/07/09 Juergen Ruemmler: SystemParameters.php - Update for German date format
24/07/09 Juergen Ruemmler: DateFunctions.inc - Update for German date format
23/07/09 Tim: api_debtortrans.php - Fix sql bugs in insert invoive function
23/07/09 Tim: api_customers.php - Correct various bugs
23/07/09 Tim: api_branches.php - Correct bug in VerifyFwdDate and make sure default values are set
23/07/09 Tim: PO_Header.php - Correctly handle exchange rates
23/07/09 Tim: StockAdjustments.php - Correct sql to show qualitytext field in stockserialmoves
21/07/09 Tim: PDFPriceList.php - Change output file name to include company name and date
21/07/09 Tim: Z_MakeNewCompany.php - Correct the sql for non ansi mode
19/07/09 Tim: Correct various spelling mistakes and typos
19/07/09 Juergen Ruemmler: Logout.php - New logout screen
18/07/09 Phil: Work over installer to try to get it to work and conform to webERP consistency guidelines
18/07/09 Tim: DeliveryDetails.php - Correctly show items when returning to order detail
18/07/09 Tim: CustomerReceipt.php - Add in javascript functionality
18/07/09 Tim: ConfirmDispatch_invoice.php - Some layout changes, javascript addition and minor bug fixes
17/07/09 Tim: ConfirmDispatch_invoice.php - Ensure that a standard cost is set
17/07/09 Tim: Correctly set mysql autocommit variable
17/07/09 Tim: CustomerTypes.php - Prevent empty or duplicate types being created, and remove cancel button
17/07/09 Tim: Z_PriceChanges.php - Correct gettext strings to remove % symbol
17/07/09 Ricard Andreu: InventoryValuation.php - Changes to allow longer part descriptions
16/07/09 Nagaraj Potti: New installer from Moxx consulting
16/07/09 Tim: SelectOrderItems.php - Button labels not formatted for gettext
16/07/09 Tim: ManualHeader.html - Change manual to work with utf-8 as per Javier de Lorenzo-Cáceres
16/07/09 Tim: ManualContributors.html - Javier de Lorenzo-Cáceres
16/07/09 Tim: ShipmentCosting.php - Correct typo
16/07/09 Tim: WorkOrderReceive.php - Correct typo
16/07/09 Tim: Payments.php - Correct typo
16/07/09 Tim: Z_ReApplyCostToSA.php - Correct typo
16/07/09 Tim: TaxAuthorities.php - Correct typo
16/07/09 Tim: Suppliers.php - Correct typo
15/07/09 Phil: Removed includes/Wiki.php and added wikiLink function to includes/MiscFunctions.php - modified all calls to wikiLink
15/07/09 Phil: WorkOrderEntry.php added a link to the wiki - if integrated wiki enabled.
14/07/09 Tim: GoodsReceived.php - Fixed sql for missing qualitytext field in INSERT
14/07/09 Tim: weberp-demo.sql - Add new data
13/07/09 Murray: CustomerReceipt, added link to customer allocations after receipt entry
13/07/09 Murray: fixed some div centering for SelectCustomer.php
10/07/09 Tim: PO_SelectOSPurchOrder.php - Correct sql for mysql strict mode
10/07/09 Tim: PO_Header.php - Correction to goods received link
10/07/09 Tim: weberp-new.sql - Remove unecessary data
10/07/09 Tim: weberp-demo.sql - Remove unecessary data (audittrail), and add in 3.11 database changes
10/07/09 Tim: sql/mysql/upgrade3.10-3.11.sql - Make alteration to type for notes field in custnotes table
10/07/09 Tim: weberp-new.sql - Add in new database changes
10/07/09 Tim: SelectOrderItems.php - Allow more than one sales order to be open at any one time
10/07/09 Tim: DefineCartClass.php - Allow more than one sales order to be open at any one time
10/07/09 Tim: SelectOrderItems_IntoCart.inc - Allow more than one sales order to be open at any one time
10/07/09 Tim: DeliveryDetails.php - Allow more than one sales order to be open at any one time
09/07/09 Tim: PO_Header.php - Add javascript to automatically update reprint status
09/07/09 Tim: PO_Header.php - Correct bug when changing stock location for delivery
09/07/09 Tim: PO_PDFPurchOrder.php - Corrections in order reprint functionality
09/07/09 Tim: PO_Header.php - Corrections in order reprint functionality
07/07/09 Mark: POReport.php - Correct sql statement to work in strict mode, changed break tags
07/07/09 Mark: SalesInquiry.php - Correct sql statement to work in strict mode, changed break tags
07/07/09 Tim: Update images to ensure all themes have the same named images
07/07/09 Tim: GLBalanceSheet.php - Correct sql statement to work in strict mode
07/07/09 Tim: Payments.php - Correct typing errors
07/07/09 Tim: RCFunctions.inc - Correction to still design report if table is empty
07/07/09 Tim: weberp-new.sql - Remove references to weberpdemo
05/07/09 Tim: SuppInvGRNs.php - Add a select all and deselect all option
05/07/09 Tim: PO_ReadInOrder.inc - Updates to allow multiple orders to be opened at the same time
05/07/09 Tim: PO_Header.php - Updates to allow multiple orders to be opened at the same time
05/07/09 Tim: PO_Items.php - Updates to allow multiple orders to be opened at the same time
05/07/09 Tim: class.pdf.php - Correct constructor to conform with php 5.3
05/07/09 Terry Porter: fpdf.php - Function set_magic_quotes_runtime() is deprecated
05/07/09 Terry Porter: PDFStarter.php - Assigning the return value of new by reference is deprecated.
04/07/09 Tim: BOMExtendedQty.php - Correct sql statement to work in strict mode
04/07/09 Tim: SelectProduct.php - Correct sql statement to work in strict mode
03/07/09 Tim: doc/INSTALL.txt - Change url to show path to wiki
03/07/09 Tim: includes/DefineCartClass.php - Correct sql statement to work in strict mode
30/06/09 Tim: PO_Items.php - Change status to pending when an order is modified
30/06/09 Tim: sql/mysql/upgrade3.10-3.11.sql - Include missing field
30/06/09 Tim: includes/PO_ReadInOrder.inc - New purchase order functionality
30/06/09 Tim: includes/DefinePOClass.php - New purchase order functionality
30/06/09 Tim: GoodsReceived.php - New purchase order functionality
30/06/09 Tim: PO_Chk_ShiptRef_JobRef.php - New purchase order functionality
30/06/09 Tim: PO_PDFPurchOrder.php - New purchase order functionality
30/06/09 Tim: PO_SelectPurchOrder.php - New purchase order functionality
30/06/09 Tim: PO_SelectOSPurchOrder.php - New purchase order functionality
30/06/09 Tim: PO_OrderDetails.php - New purchase order functionality
30/06/09 Tim: PO_Items.php - New purchase order functionality
30/06/09 Tim: PO_Header.php - New purchase order functionality
30/06/09 Tim: sql/mysql/upgrade3.10-3.11.sql - New purchase order functionality
27/06/09 Tim: sql/mysql/upgrade3.10-3.11.sql - Add in extra fields for purchase orders
27/06/09 Tim: PO_AuthorisationLevels.php - New script to assign authorisation levels for purchase orders
27/06/09 Tim: PDFDeliveryDifferences.php - Change to lower case html and remove
27/06/09 Tim: PDFCustomerList.php - Change to lower case html and remove
27/06/09 Tim: PDFChequeListing.php - Change to lower case html and remove
27/06/09 Tim: PDFBankingSummary.php - Change to lower case html and remove
27/06/09 Tim: PaymentTerms.php - Change to lower case html and remove
27/06/09 Tim: PaymentMethods.php - Change to lower case html and remove
27/06/09 Tim: PaymentAllocations.php - Change to lower case html and remove
27/06/09 Tim: OutstandingGRNs.php - Change to lower case html and remove
27/06/09 Tim: OrderDetails.php - Change to lower case html and remove
27/06/09 Tim: MRPShortages.php - Change to lower case html and remove
27/06/09 Tim: MRPReschedules.php - Change to lower case html and remove
27/06/09 Tim: MRPReport.php - Change to lower case html and remove
27/06/09 Tim: MRPPlannedWorkOrders.php - Change to lower case html and remove
27/06/09 Tim: MRPPlannedPurchaseOrders.php - Change to lower case html and remove
27/06/09 Tim: MRPDemandTypes.php - Change to lower case html and remove
27/06/09 Tim: MRPDemands.php - Change to lower case html and remove
27/06/09 Tim: MRPCreateDemands.php - Change to lower case html and remove
27/06/09 Tim: MRPCalendar.php - Change to lower case html and remove
27/06/09 Tim: MRP.php - Change to lower case html and remove
27/06/09 Tim: MailInventoryValuation.php - Change to lower case html and remove
27/06/09 Tim: Logout.php - Change to lower case html and remove
27/06/09 Tim: Locations.php - Change to lower case html and remove
27/06/09 Tim: InventoryValuation.php - Change to lower case html and remove
27/06/09 Tim: InventoryQuantities.php - Change to lower case html and remove
27/06/09 Tim: InventoryPlanningPrefSupplier.php - Change to lower case html and remove
27/06/09 Tim: InventoryPlanning.php - Change to lower case html and remove
27/06/09 Tim: index.php - New menu items
27/06/09 Tim: GoodsReceivedControlled.php - Change to lower case html and remove
27/06/09 Tim: GoodsReceived.php - Change to lower case html and remove
27/06/09 Tim: GLTrialBalance.php - Change to lower case html and remove
27/06/09 Tim: GLTransInquiry.php - Change to lower case html and remove
27/06/09 Tim: GLTags.php - Change to lower case html and remove
27/06/09 Tim: GLTagProfit_Loss.php - Script for creating Profit and Loss accounts by Tag
27/06/09 Tim: GLProfit_Loss.php - Change to lower case html and remove
27/06/09 Tim: GLJournal.php - Change to lower case html and remove
27/06/09 Tim: GLCodesInquiry.php - Change to lower case html and remove
27/06/09 Tim: GLBudgets.php - Change to lower case html and remove
27/06/09 Tim: GLBalanceSheet.php - Change to lower case html and remove
27/06/09 Tim: GLAccounts.php - Change to lower case html and remove
27/06/09 Tim: GLAccountInquiry.php - Change to lower case html and remove
27/06/09 Tim: GetStockImage.php - Change to lower case html and remove
26/06/09 Tim: GeocodeSetup.php - Change to lower case html and remove
26/06/09 Tim: geocode.php - Change to lower case html and remove
26/06/09 Tim: geo_displaymap_suppliers.php - Change to lower case html and remove
26/06/09 Tim: geo_displaymap_customers.php - Change to lower case html and remove
26/06/09 Tim: FTP_RadioBeacon.php - Change to lower case html and remove
26/06/09 Tim: FreightCosts.php - Change to lower case html and remove
26/06/09 Tim: Factors.php - Change to lower case html and remove
26/06/09 Tim: ExchangeRateTrend.php - Change to lower case html and remove
26/06/09 Tim: EmailCustTrans.php - Change to lower case html and remove
26/06/09 Tim: EmailConfirmation.php - Change to lower case html and remove
26/06/09 Tim: EDISendInvoices.php - Change to lower case html and remove
26/06/09 Tim: EDIProcessOrders.php - Change to lower case html and remove
26/06/09 Tim: EDIMessageFormat.php - Change to lower case html and remove
26/06/09 Tim: DiscountMatrix.php - Change to lower case html and remove
26/06/09 Tim: DiscountCategories.php - Change to lower case html and remove
26/06/09 Tim: DemandWorkOrders.php - Change to lower case html and remove
26/06/09 Tim: DeliveryDetails.php - Change to lower case html and remove
26/06/09 Tim: DebtorsAtPeriodEnd.php - Change to lower case html and remove
26/06/09 Tim: CustWhereAlloc.php - Change to lower case html and remove
26/06/09 Tim: CustomerTypes.php - Change to lower case html and remove
26/06/09 Tim: CustomerTransInquiry.php - Change to lower case html and remove
26/06/09 Tim: Customers.php - Change to lower case html and remove
26/06/09 Tim: CustomerReceipt.php - Change to lower case html and remove
26/06/09 Tim: CustomerInquiry.php - Change to lower case html and remove
26/06/09 Tim: CustomerBranches.php - Change to lower case html and remove
26/06/09 Tim: CustomerAllocations.php - Change to lower case html and remove
26/06/09 Tim: CustEDISetup.php - Change to lower case html and remove
26/06/09 Tim: Currencies.php - Change to lower case html and remove
26/06/09 Tim: CreditStatus.php - Change to lower case html and remove
26/06/09 Tim: CreditItemsControlled.php - Change to lower case html and remove
26/06/09 Tim: Credit_Invoice.php - Change to lower case html and remove
26/06/09 Tim: ConfirmDispatchControlled_Invoice.php - Change to lower case html and remove
26/06/09 Tim: CompanyPreferences.php - Change to lower case html and remove
26/06/09 Tim: COGSGLPostings.php - Change to lower case html and remove
26/06/09 Tim: BOMs.php - Change to lower case html and remove
26/06/09 Tim: BOMListing.php - Change to lower case html and remove
26/06/09 Tim: BOMInquiry.php - Change to lower case html and remove
26/06/09 Tim: BOMIndentedReverse.php - Change to lower case html and remove
26/06/09 Tim: BOMIndented.php - Change to lower case html and remove
26/06/09 Tim: BOMExtendedQty.php - Change to lower case html and remove
26/06/09 Tim: BankReconciliation.php - Change to lower case html and remove
26/06/09 Tim: BankMatching.php - Change to lower case html and remove
26/06/09 Tim: BankAccounts.php - Change to lower case html and remove
26/06/09 Tim: AuditTrail.php - Change to lower case html and remove
26/06/09 Tim: Areas.php - Change to lower case html and remove
26/06/09 Tim: AgedSuppliers.php - Change to lower case html and remove
26/06/09 Tim: AgedDebtors.php - Change to lower case html and remove
26/06/09 Tim: AddCustomerTypeNotes.php - Change to lower case html and remove
26/06/09 Tim: AddCustomerNotes.php - Change to lower case html and remove
26/06/09 Tim: AddCustomerContacts.php - Change to lower case html and remove
24/06/09 turbopt: SelectProduct.php - Correct field line up in inventory item display
24/06/09 Tim: PeriodsInquiry.php - Change to lower case html and remove
24/06/09 Tim: PDFStockTransfer.php - Change to lower case html and remove
24/06/09 Tim: PDFStockNegatives.php - Change to lower case html and remove
24/06/09 Tim: PDFStockLocTransfer.php - Change to lower case html and remove
24/06/09 Tim: PDFStockCheckComparison.php - Change to lower case html and remove
24/06/09 Tim: PDFQuotation.php - Change to lower case html and remove
24/06/09 Tim: PDFPriceList.php - Change to lower case html and remove
24/06/09 Tim: PDFOrderStatus.php - Change to lower case html and remove
24/06/09 Tim: PDFOrdersInvoiced.php - Change to lower case html and remove
24/06/09 Tim: PDFLowGP.php - Change to lower case html and remove
24/06/09 Tim: PDFGrn.php - Change to lower case html and remove
24/06/09 Tim: PDFDIFOT.php - Change to lower case html and remove
24/06/09 Tim: ConfirmDispatch_Invoice.php - Remove backslashes from narrative
24/06/09 Tim: SelectOrderItems.php - Remove backslashes from narrative
24/06/09 Tim: PrintCustTransPortrait.php - Remove backslashes from narrative
24/06/09 Tim: PrintCustTrans.php - Remove backslashes from narrative
21/06/09 Tim: ReverseGRN.php - Change to lower case html and remove
21/06/09 Tim: ReorderLevel.php - Change to lower case html and remove
21/06/09 Tim: RecurringSalesOrdersProcess.php - Change to lower case html and remove
21/06/09 Tim: RecurringSalesOrders.php - Change to lower case html and remove
21/06/09 Tim: PurchData.php - Change to lower case html and remove
21/06/09 Tim: PrintCustTransPortrait.php - Change to lower case html and remove
21/06/09 Tim: PrintCustStatements.php - Change to lower case html and remove
21/06/09 Tim: PrintCustOrder.php - Change to lower case html and remove
21/06/09 Tim: PricesBasedOnMarkUp.php - Change to lower case html and remove
21/06/09 Tim: Prices.php - Change to lower case html and remove
21/06/09 Tim: Prices_Customer.php - Change to lower case html and remove
21/06/09 Tim: POReport.php - Change to lower case html and remove
21/06/09 Lindsay: PrintCustOrder_generic.php - Prevent blank line on second page
21/06/09 Lindsay: PrintCustTrans.php - Prevent blank page being printed every second page
21/06/09 Lindsay: Z_ChangeStockCode.php - Add in check for woitems table
19/06/09 Murray: some improvements the html and css styles
19/06/09 Tim: StockTransferControlled.php - Change to lower case html and remove
19/06/09 Tim: StockStatus.php - Change to lower case html and remove
19/06/09 Tim: StockSerialItems.php - Change to lower case html and remove
19/06/09 Tim: StockSerialItemResearch.php - Change to lower case html and remove
19/06/09 Tim: Stocks.php - Change to lower case html and remove
19/06/09 Tim: StockReorderLevel.php - Change to lower case html and remove
19/06/09 Tim: StockQuantityByDate.php - Change to lower case html and remove
19/06/09 Tim: StockQties_csv.php - Change to lower case html and remove
19/06/09 Tim: StockMovements.php - Change to lower case html and remove
19/06/09 Tim: StockLocTransferReceive.php - Change to lower case html and remove
19/06/09 Tim: StockLocTransfer.php - Change to lower case html and remove
19/06/09 Tim: StockLocStatus.php - Change to lower case html and remove
19/06/09 Tim: StockLocMovements.php - Change to lower case html and remove
19/06/09 Tim: StockCounts.php - Change to lower case html and remove
19/06/09 Tim: StockCostUpdate.php - Change to lower case html and remove
19/06/09 Tim: StockCheck.php - Change to lower case html and remove
19/06/09 Tim: StockCategories.php - Change to lower case html and remove
19/06/09 Tim: StockAdjustmentsControlled.php - Change to lower case html and remove
19/06/09 Tim: StockAdjustments.php - Change to lower case html and remove
19/06/09 Tim: SpecialOrder.php - Change to lower case html and remove
19/06/09 Tim: Shipt_Select.php - Change to lower case html and remove
19/06/09 Tim: Shippers.php - Change to lower case html and remove
19/06/09 Tim: Shipments.php - Change to lower case html and remove
19/06/09 Tim: ShipmentCosting.php - Change to lower case html and remove
19/06/09 Tim: SelectWorkOrder.php - Change to lower case html and remove
19/06/09 Tim: SelectSupplier.php - Change to lower case html and remove
19/06/09 Tim: SelectSalesOrder.php - Change to lower case html and remove
19/06/09 Tim: SelectRecurringSalesOrder.php - Change to lower case html and remove
19/06/09 Tim: SelectProduct.php - Change to lower case html and remove
19/06/09 Tim: SelectOrderItems.php - Change to lower case html and remove
19/06/09 Tim: SelectGLAccount.php - Change to lower case html and remove
19/06/09 Tim: SelectCustomer.php - Change to lower case html and remove
19/06/09 Tim: SelectCreditItems.php - Change to lower case html and remove
19/06/09 Tim: SalesTypes.php - Change to lower case html and remove
19/06/09 Tim: SalesPeople.php - Change to lower case html and remove
19/06/09 Tim: SalesInquiry.php - Change to lower case html and remove
19/06/09 Tim: SalesGraph.php - Change to lower case html and remove
19/06/09 Tim: SalesGLPostings.php - Change to lower case html and remove
19/06/09 Tim: SalesCategories.php - Change to lower case html and remove
19/06/09 Tim: SalesAnalysis_UserDefined.php - Change to lower case html and remove
19/06/09 Tim: SalesAnalRepts.php - Change to lower case html and remove
19/06/09 Tim: SalesAnalReptCols.php - Change to lower case html and remove
12/6/09  Mark: Added SalesInquiry.php - detailed or summarized inquiries on Sales Orders
17/06/09 Tim: Z_UploadForm.php - Change to lower case html and remove
17/06/09 Tim: Z_Upgrade_3.09-3.10.php - Change to lower case html and remove
17/06/09 Tim: Z_Upgrade_3.08-3.09.php - Change to lower case html and remove
17/06/09 Tim: Z_Upgrade_3.07-3.08.php - Change to lower case html and remove
17/06/09 Tim: Z_Upgrade_3.05-3.06.php - Change to lower case html and remove
17/06/09 Tim: Z_Upgrade_3.04-3.05.php - Change to lower case html and remove
17/06/09 Tim: Z_UpdateChartDetailsBFwd.php - Change to lower case html and remove
17/06/09 Tim: Z_SalesIntegrityCheck.php - Change to lower case html and remove
17/06/09 Tim: Z_ReverseSuppPaymentRun.php - Change to lower case html and remove
17/06/09 Tim: Z_RePostGLFromPeriod.php - Change to lower case html and remove
17/06/09 Tim: Z_ReApplyCostToSA.php - Change to lower case html and remove
17/06/09 Tim: Z_PriceChanges.php - Change to lower case html and remove
17/06/09 Tim: Z_poRebuildDefault.php - Change to lower case html and remove
17/06/09 Tim: Z_poEditLangRemaining.php - Change to lower case html and remove
17/06/09 Tim: Z_poEditLangModule.php - Change to lower case html and remove
17/06/09 Tim: Z_poEditLangHeader.php - Change to lower case html and remove
17/06/09 Tim: Z_poAdmin.php - Change to lower case html and remove
17/06/09 Tim: Z_poAddLanguage.php - Change to lower case html and remove
17/06/09 Tim: Z_MakeStockLocns.php - Change to lower case html and remove
17/06/09 Tim: Z_MakeNewCompany.php - Change to lower case html and remove
17/06/09 Tim: Z_ImportStocks.php - Change to lower case html and remove
17/06/09 Tim: Z_ImportPartCodes.php - Change to lower case html and remove
17/06/09 Tim: Z_ImportGLAccountSections.php - Change to lower case html and remove
17/06/09 Tim: Z_ImportGLAccountGroups.php - Change to lower case html and remove
17/06/09 Tim: Z_ImportChartOfAccounts.php - Change to lower case html and remove
17/06/09 Tim: Z_DescribeTable.php - Change to lower case html and remove
17/06/09 Tim: Z_DeleteSalesTransActions.php - Change to lower case html and remove
17/06/09 Tim: Z_DeleteInvoice.php - Change to lower case html and remove
17/06/09 Tim: Z_DeleteCreditNote.php - Change to lower case html and remove
17/06/09 Tim: Z_DataExport.php - Change to lower case html and remove
17/06/09 Tim: Z_CurrencySuppliersBalances.php - Change to lower case html and remove
17/06/09 Tim: Z_CurrencyDebtorsBalances.php - Change to lower case html and remove
17/06/09 Tim: Z_CreateCompany.php - Change to lower case html and remove
17/06/09 Tim: Z_CheckGLTransBalance.php - Change to lower case html and remove
17/06/09 Tim: Z_CheckDebtorsControl.php - Change to lower case html and remove
17/06/09 Tim: Z_CheckAllocs.php - Change to lower case html and remove
17/06/09 Tim: Z_CheckAllocationsFrom.php - Change to lower case html and remove
17/06/09 Tim: Z_ChangeStockCode.php - Change to lower case html and remove
17/06/09 Tim: Z_ChangeCustomerCode.php - Change to lower case html and remove
17/06/09 Tim: Z_ChangeBranchCode.php - Change to lower case html and remove
17/06/09 Tim: WWW_Users.php - Change to lower case html and remove
17/06/09 Tim: WWW_Access.php - Change to lower case html and remove
17/06/09 Tim: WOSerialNos.php - Change to lower case html and remove
17/06/09 Tim: WorkOrderStatus.php - Change to lower case html and remove
17/06/09 Tim: WorkOrderReceive.php - Change to lower case html and remove
17/06/09 Tim: WorkOrderIssue.php - Change to lower case html and remove
17/06/09 Tim: WorkOrderEntry.php - Change to lower case html and remove
16/06/09 Tim: ConfirmDispatch_Invoice.php - Correctly show multiple lines of narrative
16/06/09 Tim: PrintCustTransPortrait.php - Correctly show multiple lines of narrative
16/06/09 Tim: PrintCustTrans.php - Correctly show multiple lines of narrative
16/06/09 Tim: Payments.php - Change to lower case html and remove
16/06/09 Tim: SelectOrderItems.php - Change to lower case html and remove  and include javascript
16/06/09 Tim: SelectSalesOrder.php - Change to lower case html and remove
16/06/09 Tim: ShiptsList.php - Change to lower case html and remove
16/06/09 Tim: StockAdjustments.php - Change to lower case html and remove
16/06/09 Tim: SuppInvGRNs.php - Change to lower case html and and change to show GRN batch number and Purchase Order number
16/06/09 Tim: WWW_Users.php - Change to lower case html and various changes for Opera compatability
16/06/09 Tim: css/jelly/default.css - Correct typo in css
15/06/09 Tim: Z_ChangeStockCode.php - Change image name if one exists
14/06/09 Tim: DeliveryDetails.php - Correct sql for mysql strict mode compatability
14/06/09 Tim: ConfirmDispatch_Invoice.php - Correctly post tax transactions for multiple tax authorities on multiple lines
12/6/09  Mark: Added POReport.php - detailed or summarized inquiries on Purchase Orders
11/6/09  Murray: BankMatching, added datepickers, and changed date entry format to STARTDATE to ENDDATE
25/05/09 Tim: api/api_stock.php - Correct syntax errors in insert stock item function
22/5/09 Phil: Fixed bogus Bank Account details line in PrintCustTrans.php and PrintCustTrans_Portrait - also fixed string parameter sent to get_html_translation_table function used in a substitute htmlspecialchars_decode function
18/5/09  Mark: Added Reorderlevel.php - parts with quantity below reorderlevel
18/5/09  Mark: Added InventoryQuantities.php - Added InventoryQuantities.php - shows locstock records with quantity on hand
18/5/09  Phil: Changed header to show page title on a second line and remove labels/icons for company and user name
18/5/09  Phil: Rewrite of the function to get the logo file in session.inc to avoid use/dependency of scandir function only became available in php 5.
18/05/09 Phil: WorkOrderReceive.php did not play well with numeric nextlotSN - also changes to accomodate receiving of predefined lots/serial numbers where this option is set in the config parameters. Closing work orders now also deletes outstanding predefined lots/serial numbers where they have not already been received.
18/05/09 Murray: mod to header menu to save screen real-estate
15/05/09 ricard: modification for PO_PDF_PurchOrder.php as current printed long codes incorrectly.
10/05/09 Phil: New config parameter SystemParameters.php to change behaviour of work order entry depending on whether controlled items should be defined on work order entry and the quantity derived from the serial numbers or batch quantities entered. Also a config parameter to create works orders automatically where sales order exceeds available stock after outstanding work orders/purchase orders completed/received.
10/05/09 Phil: WOSerialNos.php allows serial numbers or batches to be defined up front on creation of a work order and quality info to be entered against the serial numbers etc.
09/05/09 Phil: WorkOrderEntry.php now allows entry of serial numbers up front and expects lots and serial numbers to be defined at the time the work order is created. The stockmaster now has a nextserialno field that is used to create serial numbers automatically where this number is set to any positive number (if required) Changes to stocks.php also to accomodate entry of this parameter
09/05/09 shunichi: includes/header.inc - Corrections for Japanese locale
09/05/09 Tim: GLJournal.php - Include date picker and correct browser compatability issues
09/05/09 Tim: includes/footer.inc - Include date picker and correct browser compatability issues
09/05/09 Tim: css/silverwolf/default.css - Include date picker and correct browser compatability issues
09/05/09 Tim: css/professional- rtl/default.css - Include date picker and correct browser compatability issues
09/05/09 Tim: css/professional/default.css - Include date picker and correct browser compatability issues
09/05/09 Tim: css/jelly/default.css - Include date picker and correct browser compatability issues
09/05/09 Tim: css/gel/default.css - Include date picker and correct browser compatability issues
09/05/09 Tim: css/fresh/default.css - Include date picker and correct browser compatability issues
09/05/09 Tim: css/default/default.css - Include date picker and correct browser compatability issues
09/05/09 Tim: javascripts/MiscFunctions.js - Include date picker and correct browser compatability issues
08/05/09 Mark: MRPPlannedWorkOrders.php
07/05/09 Tim: Z_Upgrade3.10.php - Add new salesorders fields
07/05/09 Tim: sql/mysql/weberp-new.sql - Correct weberp sql data
07/05/09 Tim: sql/mysql/weberp-demo.sql - Correct demo data
3/5/09 Phil: DeliveryDetails.php now has code to create work orders for manufactured items where the system parameter is set to do so - it can also allocate serial numbers automatically for work orders created where the item is serialised and has a nextserialno value greater than 0
03/05/09 Tim: PrintCustTransPortrait.php - Show line description even when on more than one line
3/5/09 Phil: Mess with the API to add $_SESSION['AllowedSecurityTokens'] array to provide role based authentication infrastructure to the api_php.php script - now just to add the checking $PageSecurity variable in_array for exposed functions - Tim to check!!
2/5/09 Phil: Added new configuration parameters to SystemParameters for DefaultFactoryLocation, AutoCreateWOs and FactoryManagerEmail as preparation for the automatic creation of works orders at the default factory advising the factory manager of the work orders created.
/30/4/09 Phil: DeliveryDetails.php and RecurringSalesOrdersProcess.php made it so sales order headers use the order number from GetNextTransNo (30) as well as the sales order details - and avoiding the inconsistency issues where the auto-increment was out of sync with the systypes typeid=30 typeno
02/05/09 Tim: StockCategories.php - Correct form refresh to show changes in stock types when a category is being edited
30/4/09 Phil: Add field to Stocks.php for NextSerialNo - where > 0 and Serialised then automatically allocates serial numbers for quantities on new work orders - and work orders will not allow quantities to change once created
29/04/09 Tim: StockCategories.php - Change default behaviour to show Stock GL Code
29/04/09 Ricard Andreu: InventoryPlanning.php - InventoryPlanning.php now allowing 1, 1.5, 2, 3 and 4 months of 'Maximum number of Months Holding' instead of 3 or 4 as used to be. Also the “Nil” on Suggested order column gets right justified as all the other fields.
28/04/09 Murray: fix some HTML typos in DeliveryDetails and remove 6 digit price restriction from Credit_Invoice
27/04/09 Tim: api/api_xml-rpc.php - Corrections to enable API documentation to be shown
27/04/09 Tim: doc/Manual/ManualAPIFunctions.php - Corrections to enable API documentation to be shown
27/04/09 Tim: doc/Manual/ManualContents.php - Corrections to enable API documentation to be shown
26/04/09 Tim: CustomerBranches.php - Reinstate changes to correctly update latitude and longitude
21/04/09 Murray: add some extra help to SelectOrderItems.php
20/04/09 Murray: add some sanity checking to geocode section on suppliers and customer branches
19/04/09 Tim: CustomerReceipt.php - Add facility to search by invoice number
19/04/09 Tim: reportwriter/admin/RCFunctions.inc - Check that the imported file is of type Text
19/04/09 Tim: SpecialOrder.php - Update systypes when the order is placed
19/04/09 David Lamotte: DeliveryDetails.php - Check that BestShipper is initialised and trap error if not.
18/04/09 Phil: SelectOrderItems.php DefineCartClass.php SelectOrderItems_IntoCart.inc ConfirmDispatch_Invoice.php RecurringSalesOrders.php - modified the cart class function add_to_cart to add the standardcost of a line item as it is added - also changed all calling scripts to use this as necessary rather than have specific code to update the cost retrospectively
18/04/09 Phil: PrintCustTransPortrait.php vertical lines of grid on a full page in the wrong place - now fixed
16/04/09 Tim: CustomerBranches.php - Correct sql for strict mode compatability
15/04/09 Phil: SelectOrderItems.php GP % entry now works for FX orders!
14/04/09 Phil: SelectOrderItems.php now has option to enter a GP % on a line that calculates the price
14/04/09 Ricard: Update PurchData.php now allows multiple prices from a supplier with different effective dates
15/04/09 Murray: Some UI work for sales order entry, sales orders can now take quote date and confirmed date
11/04/09 Tim: SelectCompletedOrder.php - Add in option to just view completed orders and clean up html for xhtml compatability
11/04/09 Tim: SelectProduct.php - Correct justification and show prices info when security is high enough
10/04/09 Tim: SelectCustomer.php - Correctly change the customer when returning from OrderDetails.php
10/04/09 Tim: includes/session.inc - Ensure last visit field is always updated
10/04/09 Tim: Z_Upgrade3.10.php - Remove deprecated
09/04/09 Tim: reportwriter/admin/forms/TplFrmTtl.html - Remove duplication of &lt;html&gt; and &lt;body&gt; tags
09/04/09 Tim: reportwriter/admin/forms/TplFrmText.html - Remove duplication of &lt;html&gt; and &lt;body&gt; tags
09/04/09 Tim: reportwriter/admin/forms/TplFrmTBlk.html - Remove duplication of &lt;html&gt; and &lt;body&gt; tags
09/04/09 Tim: reportwriter/admin/forms/TplFrmTbl.html - Remove duplication of &lt;html&gt; and &lt;body&gt; tags
09/04/09 Tim: reportwriter/admin/forms/TplFrmRect.html - Remove duplication of &lt;html&gt; and &lt;body&gt; tags
09/04/09 Tim: reportwriter/admin/forms/TplFrmPgNum.html - Remove duplication of &lt;html&gt; and &lt;body&gt; tags
09/04/09 Tim: reportwriter/admin/forms/TplFrmLine.html - Remove duplication of &lt;html&gt; and &lt;body&gt; tags
09/04/09 Tim: reportwriter/admin/forms/TplFrmImg.html - Remove duplication of &lt;html&gt; and &lt;body&gt; tags
09/04/09 Tim: reportwriter/admin/forms/TplFrmData.html - Remove duplication of &lt;html&gt; and &lt;body&gt; tags
09/04/09 Tim: reportwriter/admin/forms/TplFrmCDta.html - Remove duplication of &lt;html&gt; and &lt;body&gt; tags
09/04/09 Tim: reportwriter/admin/forms/TplFrmCBlk.html - Remove duplication of &lt;html&gt; and &lt;body&gt; tags
09/04/09 Tim: reportwriter/admin/forms/ReportsRename.html - Remove duplication of &lt;html&gt; and &lt;body&gt; tags
09/04/09 Tim: reportwriter/admin/forms/ReportsPageSetup.html - Remove duplication of &lt;html&gt; and &lt;body&gt; tags
09/04/09 Tim: reportwriter/admin/forms/ReportsImport.html - Remove duplication of &lt;html&gt; and &lt;body&gt; tags
09/04/09 Tim: reportwriter/admin/forms/ReportsID.html - Remove duplication of &lt;html&gt; and &lt;body&gt; tags
09/04/09 Tim: reportwriter/admin/forms/ReportsHome.html - Remove duplication of &lt;html&gt; and &lt;body&gt; tags
09/04/09 Tim: reportwriter/admin/forms/ReportsFieldSetup.html - Remove duplication of &lt;html&gt; and &lt;body&gt; tags
09/04/09 Tim: reportwriter/admin/forms/ReportsDBSetup.html - Remove duplication of &lt;html&gt; and &lt;body&gt; tags
09/04/09 Tim: reportwriter/admin/forms/ReportsCritSetup.html - Remove duplication of &lt;html&gt; and &lt;body&gt; tags
09/04/09 Tim: SupplierInvoice.php - Corrections to Tax calculation order
09/04/09 Tim: SelectProduct.php - Add link to maintain discount category, clean up html to fit guidelines, and xhtm compatability
08/04/09 Tim: GLBudgets.php - Allow aportionment for both years, add javascript, and xhtml compatability
08/04/09 Tim: css/silverwolf/default.css - Include specific entities for numbers
08/04/09 Tim: css/professional- rtl/default.css - Include specific entities for numbers
08/04/09 Tim: css/professional/default.css - Include specific entities for numbers
08/04/09 Tim: css/jelly/default.css - Include specific entities for numbers
08/04/09 Tim: css/gel/default.css - Include specific entities for numbers
08/04/09 Tim: css/fresh/default.css - Include specific entities for numbers
08/04/09 Tim: css/default/default.css - Include specific entities for numbers
08/04/09 Tim: DiscountMatrix.php - Improve methods of input, include javascript, and remove  for xhtml compatability
08/04/09 Tim: DiscountCategories.php - Improve methods of input, include javascript, and remove  for xhtml compatability
06/04/09 Tim: index.php - Incorrect link to BOMExtendedQty.php
06/04/09 Tim: Stocks.php - Move reload form function to javascript library
06/04/09 Tim: javascripts/MiscFunctions.js - Move reload form function to javascript library
03/04/09 Tim: SelectCompletedOrder.php - Amend sql to show completed orders only
02/04/09 Tim: SelectCompletedOrder.php - Amend sql to show parts even when no purchase orders
01/04/09 Tim: SelectProduct.php - Correctly show category product properties
01/04/09 Tim: PurchData.php - Show most recent price first
01/04/09 Tim: sql/mysql/weberp-new.sql - Correction to purchdata table to allow for multiple data
01/04/09 Tim: sql/mysql/weberp-demo.sql - Correction to purchdata table to allow for multiple data
01/04/09 Tim: sql/mysql/upgrade3.10-3.11.sql - Correction to purchdata table to allow for multiple data
26/03/09 CW: SelectCustomer.php - This will give a link to setup customer types if they are not already
26/03/09 CW: Customers.php - This will give a link to setup customer types if they are not already
26/03/09 Tim: Stocks.php - Errors in Camelcasing with pansize variable
25/03/09 Tim: OrderDetails.php - Correctly show the debtor number in inquiry screen
24/03/09 Tim: sql/mysql/weberp-new.sql - Add Primary key to geocode_param table
24/03/09 Tim: sql/mysql/upgrade3.10-3.11.sql - Add Primary key to geocode_param table
24/03/09 Tim: sql/mysql/weberp-new.sql - correct geocode_param table setup
24/03/09 Tim: sql/mysql/upgrade3.10-3.11.sql - Insert default value into factor companies table
24/03/09 Tim: config.distrib.php - Update version number
24/03/09 Tim: CustomerReceipt.php - Revert patch that split up receipt batch
23/03/09 Tim: sql/mysql/upgrade3.10-3.11.sql - Tidy up sql
23/03/09 Tim: includes/SelectOrderItems_IntoCart.inc - Use the SESSION variable for WarnOnce correctly
23/03/09 Tim: includes/PO_PDFOrderPageHeader.inc - Correct typo in variable name
23/03/09 Tim: Suppliers.php - Correct indentation, and initialise the latitude and longitude variables
23/03/09 Tim: SupplierInvoice.php - Find out the supplier name in all cases and ensure that ['OverRideTax'] is set before using it in test
23/03/09 Tim: SupplierCredit.php - Ensure that ['OverRideTax'] is set before using it in test
23/03/09 Tim: SuppInvGRNs.php - Add in closing &lt;font&gt; tag and show the suppliers name correctly
23/03/09 Tim: StockCategories.php - Correctly check for uninitialised POST variables
23/03/09 Tim: SelectOrderItems.php - Correct html for xhtml compatability
23/03/09 Tim: SalesGLPostings.php - Initial assignment of
23/03/09 Tim: PO_PDFPurchOrder.php - Show purchase order number correctly
23/03/09 Tim: PO_Items.php - Only show Purchase order text once
23/03/09 Tim: PO_Header.php - Show location address when the lookup address button is pushed
23/03/09 Tim: Payments.php - Show individual bank payments as bank transactions rather than the batch total, to help in bank reconciliation
23/03/09 Tim: Locations.php - Ensure that ['Managed'] is set before using it in test
23/03/09 Tim: GLJournal.php - Correct typo in select tag
23/03/09 Tim: DeliveryDetails.php - Correct variable assignments and other mnor bugs
23/03/09 Tim: CustomerTypes.php - Correct variable assignment for default customer type
23/03/09 Tim: CustomerReceipt.php - Show individual bank receipts as bank transactions rather than the batch total, to help in bank reconciliation
23/03/09 Tim: CreditStatus.php - Ensure that the Disallow invoice check box is ticked when updating a credit status, if it is set.
23/03/09 Tim: BOMs.php - Ensure that ['WorkCentreAdded'] is set before using it in test
23/03/09 Tim: Areas.php - Correct Update sql statement to correctly updatre a sales areas details
23/03/09 Abhijit: api/api_salesorders.php - Add calls for getting details of the Sales Order Header & Order Lines from a Sales order Number
23/03/09 Abhijit: api/api_locations.php - Add calls for Inserting and modifying locations
23/03/09 Murray: bug fixes to geocodesetup.php, allows editing, deleting of geocode data, prevents bad data
21/03/09 Tim: SelectProduct.php - Allow purchasing data for manufactured items
16/3/09 Mark Yeager: BOM indented listing (BOMIndented.php), indented reverse BOM (where used) listing (BOMIndentedReverse.php), Extended BOM requirements listing (BOMExtendedQty.php)
14/3/09 Mark Yeager: MRP - new scripts to create Demand, Demand Types, amend demand (master schedule), reports for reschedules, proposed orders, MRP listings - very comprehensive contribution indeed!!
13/03/09 Tim: Stocks.php - Create pdf_append directory if it doesnt already exist
10/03/09 Tim: RecurringSalesOrdersProcess.php - Fix numerous bugs in automatic invoicing of recurring orders
09/03/09 Tim: RecurringSalesOrdersProcess.php - Bug in automatic invoicing of recurring orders
08/03/09 Tim: Numbers/Words.php - Ensure $locale has a sane value
08/03/09 Tim: ConfirmDispatch_Invoice.php - Correct freight behaviour for re-deliveries
07/03/09 Tim: TaxGroups.php - Update to show group being edited, and include javascript
06/03/09 Tim: TaxGroups.php - re arrange screen to show update order at the top, and clean up the code
05/03/09 Tim: WWW_Users.php - Allow 3 character user names
02/03/09 Tim: includes/PDFTransPageHeaderPortrait.inc - Correctly show logo width and position
02/03/09 Tim: includes/class.pdf.php - Correctly initialise tmp variable
02/03/09 Tim: PrintCustTransPortrait.php - Correctly initialise variable, and comment out bank details
02/03/09 Ashish SHUKLA: SelectCustomer.php - Correct bug in paging buttons
27/02/09 Murray: Some CSS fixes for purchase orders
27/02/09 Murray: PrintCustTransPortrait.php - This fixes problems with pdf_append
26/02/09 Tim: PrintCustTrans.php - Correct bug in invoice printing
25/02/09 Tim: sql/mysql/weberp-demo.sql - Latest weberp-demo.sql file
25/02/09 Tim: locale/en_GB/LC_MESSAGES/messages.po - Latest messages.po files
25/02/09 Tim: install/maintenance_db.inc - Updates to installer
25/02/09 Tim: install/index.php - Updates to installer
25/02/09 Tim: install/timezone.php - Updates to installer
25/02/09 Tim: install/save.php - Updates to installer
25/02/09 Tim: includes/PDFOrderPageHeader.inc - Strip slashes to correctly show in printed order
25/02/09 Tim: includes/PDFOrderPageHeader_generic.inc - Strip slashes to correctly show in printed order
25/02/09 Tim: SelectOrderItems.php - Unescape comments to correctly show in order
24/02/09 Tim: Areas.php - Correct for XHTML compatability
24/02/09 Tim: AgedSuppliers.php - Correct for XHTML compatability
24/02/09 Tim: AgedDebtors.php - Correct for XHTML compatability
24/02/09 Tim: AddCustomerNotes.php - Correct for XHTML compatability
24/02/09 Tim: AddCustomerContacts.php - Correct for XHTML compatability
24/02/09 Tim: AccountSections.php - Correct for XHTML compatability
24/02/09 Tim: AccountGroups.php - Correct for XHTML compatability
24/02/09 Tim: CustomerBranches.php - Correct problem preventing branches being deleted
24/02/09 Tim: includes/PDFAgedDebtorsPageHeader.inc - Correctly ensure that $HeadingLine3 has been initialised
24/02/09 Tim: css/silverwolf/default.css - Update theme for xhtml compatability work
24/02/09 Tim: css/professional- rtl/default.css - Update theme for xhtml compatability work
24/02/09 Tim: css/professional/default.css - Update theme for xhtml compatability work
24/02/09 Tim: css/jelly/default.css - Update theme for xhtml compatability work
24/02/09 Tim: css/gel/default.css - Update theme for xhtml compatability work
24/02/09 Tim: css/fresh/default.css - Update theme for xhtml compatability work
24/02/09 Tim: css/default/default.css - Update theme for xhtml compatability work
24/02/09 Tim: Z_Upgrade3.10.php - Script for upgrading stable versions
24/2/09 Murray: fixes to PrintCustStatements to output PDF doc name rather than script name.
24/2/09 Murray: fixes to PrintCustStatements to allow being called from SelectCustomer.php, so customer statements can be printed from Selected Customer.
20/2/09 Phil: Nailed the creation of loads of periods on setting up a new system - the GetPeriod function was being called before the GLPostings function - the GetPeriod function now creates the first couple of periods if none exist.
18/2/09 Tim: PrintCustTrans.php and PrintCustTransPortrait.php - Update to correctly email invoice to customer
17/2/09 Phil: sql/mysql/upgrade3.09-3.10.sql - Changed debtortrans.trandate to date from datetime
17/2/09 Tim: PrintCustTransPortrait.php - Update to correctly email invoice to customer
17/2/09 Tim: WorkOrderCosting.php - Correctly calculate cost variances
17/2/09 Tim: PrintCustTrans. - Update to correctly email invoice to customer
12/2/09 Matt Taylor: BOMInquiry.php BOMs.php Stocks.php WorkOrderReceive.php WorOrderEntry.php includes/SQL_CommonFunctions.inc Z_Im/ortStocks.php - modifications to allow Phantom Items - a new class of item type G - ghost (since P for Phantom could mean purchased). These allow sub-components to be included in the top level of a bill of material as a single line making BOMs simpler to follow and create - the components of ghosts/phantoms are exploded automatically on work order entry so the full requirements show against the work order.
11/2/09 Moxx consulting: first commit of web based install UI
10/2/09 Tim: weberp-new.sql - Update data for factor companies and debtortype.
10/2/09 Tim: WorkOrderCosting.php - Correct sql to correctly calculate costings.
09/2/09 Tim: CustomerAllocations.php - Remove commented code that was preventing gettext from working
09/2/09 Tim: Correct messages.po file for v3.10
09/2/09 Harald Ringehahn: GeocodeSetup.php - Correct the lack of gettext function.
08/2/09 Tim: sessions.inc - Correction for logo search

Version 3.10
06 February 2009

06/2/09 Bogdan Stanciu: session.inc - xhtml compatability work.
06/2/09 Tim: PDFStockLocTransferHeader.inc - Correct layout problems
06/2/09 Bogdan Stanciu: ConnectDB_mysql.inc and ConnectDB_mysqli.inc - xhtml compatability work.
06/2/09 Bogdan Stanciu: AccountGroups.php - xhtml compatability work.
06/2/09 Tim: PDFStockLocTransfer.php - Correct layout problems and uninitialised variable assignments
06/2/09 Tim: StockLocTransfer.php - Add javascript and other UI improvements, and default control, and correctly initialise variables
06/2/09 Tim: StockLocTransferReceive.php - Add javascript and other UI improvements, and default control, and correctly initialise variables
06/2/09 Tim: WWW_Users.php - Correctly show default theme in selection
05/2/09 Tim: Update default.css for image border
05/2/09 Tim: PDFGrnHeader.php - Correctly Assign Logo variable.
05/2/09 Bogdan Stanciu: header.inc - Correct html for xhtml compatability
05/2/09 Bogdan Stanciu: footer.inc - Correct html for xhtml compatability
05/2/09 Bogdan Stanciu: MiscFunctions.js - Add externalLinks() function for xhtml compatability
05/2/09 Bogdan Stanciu: AccountGroups.php - xhtml compatability work.
04/2/09 Tim: WhereUsedInquiry.php - Add javascript and other UI improvements, and default control
04/2/09 Tim: GoodsReceived.php - Add javascript and other UI improvements, and default control
04/2/09 Tim: DefinePOClass.php - Remove unnecessary variable declarations
04/2/09 Tim: PO_SelectOSPurchOrder.php - Add javascript and other UI improvements, and default control
04/2/09 Tim: BOMs.php - Add javascript and other UI improvements, and default control
04/2/09 Tim: WorkCentres.php - Add javascript and other UI improvements, and default control
04/2/09 Tim: BOMListing.php - Add javascript and other UI improvements, and default control
04/2/09 Murray: small changes for better theme support
04/2/09 Tim: CustomerReceipt.php - Correct bugs in variable default assignments
03/2/09 Tim: BOMInquiry.php - Add javascript and other UI improvements, and default control
03/2/09 Tim: SelectWorkOrder.php - Add javascript to check input form, and default control
03/2/09 Tim: WorkOrderEntry.php - Add javascript to check input form, and default control
03/2/09 Tim: GLTags.php - Add default control
03/2/09 Tim: GLBudgets.php - Add javascript to check input form, and default control
03/2/09 Tim: MiscFunctions.js - Add function to select the default control for the form
03/2/09 Tim: GLJournal.php - Add default control selection
02/2/09 Tim: GLAccounts.php - Add javascript to check input form, and default control
02/2/09 Tim: AccountSections.php - Add javascript to check input form, and default control
02/2/09 Tim: AccountGroups.php - Add javascript to check input form, and default control
02/2/09 Tim: Tax.php - Correct typos in variable names
02/2/09 Tim: GLBalanceSheet.php - Default balance date to current period and ensure that all variables are initialised
02/2/09 Tim: GLProfit_Loss.php - Correctly show From and to dates and ensure that all variables are initialised
02/2/09 Tim: PDFChequeListing.php - Add javascript to check valid dates
02/2/09 Tim: SelectGLAccount.php - Improve user interface, and add in javascript code
02/2/09 Tim: GLTrialBalance.php - Correctly show From and to dates
01/2/09 Tim: Z_Upgrade_3.09-3.10.php - Add upgrade script
01/2/09 Tim: SelectSupplier.php - Correct uninitialised variables
01/2/09 Tim: GLJournal.php - Correct uninitialised variables
01/2/09 Tim: Payments.php - Add javascript functionality
01/2/09 Tim: CustomerReceipt.php - Add javascript functionality
01/2/09 Tim: BankMatching.php - Add javascript functionality
01/2/09 Tim: MiscFunctions.js - Allow for negative signs in numeric input fields
01/2/09 Tim: INSTALL.txt - Add instructions for renaming config file
01/2/09 Tim: api_workorders.php - Correct date verification calls
01/2/09 Tim: api_stockcategories.php - Add StockCatPropertyList() function and correct return values in other functions
01/2/09 Tim: api_salestypes.php - Add InsertSalesType() function and correct return values in other functions
30/1/09 Tim: PDFDIFOT.php - Remove superfluous line break.
30/1/09 Murray: Added htmlspecialchars_decode support for <5.1 PHP versions.  Fixed up geocode support.
28/1/09 Murray: Added CSS classes to other themes to support better page titles and help fields.
27/1/09 Max (mxph): InputSerialItemsKeyed.php - Jump to first serial number field, to enable bar code scanner to work.
27/1/09 Bogdan Stanciu: CustomerTypes.php - Correct sql statement
27/1/09 Murray: More jelly theme support, adds some CSS compatibilty support
26/1/09 Bogdan Stanciu: DebtorsAtPeriodEnd.php - Correct header string
26/1/09 Bogdan Stanciu: Add_SerialItems.php - Correct typo in variable name.
26/1/09 Tim: SystemCheck.php - Add mysql character set inquiry
25/1/09 Tim: Stocks.php - Correctly initialise variables
25/1/09 Tim: PDFStockTransferHeader.php - Initialise $XPos variable to zero
25/1/09 Tim: StockTransfers.php - Correct missing values for $ErrMsg and $DbgMsg
25/1/09 Tim: PO_SelectPurchOrder.php - Correctly initialise $_POST['StockLocation'] for all possibilities
25/1/09 Tim: SelectProduct.php - Initialise variable $Its_A_Labour_Item
25/1/09 Tim: SelectProduct.php - Correct typo in variable name $DbgMsg
25/1/09 Tim: CustomerBranches.php - Ensure all variables are initialised
25/1/09 Tim: AddCustomerContacts.php - Correctly initialise $_GET['delete']
25/1/09 Tim: Customers.php - Correctly initialise $ID, $Edit and $_POST['New']
25/1/09 Tim: GLAccountInquiry.php - Correctly initialise $ShowIntegrityReport and $_POST['tag']
25/1/09 Tim: GLTransInquiry.php - Correctly initialise counter variable $j
25/1/09 Tim: PrintCustTrans.php - Correct typo in variable name
25/1/09 Tim: SelectCustomer.php - Ensure that $_SESSION['CustomerID'] is initialised
25/1/09 Tim: SelectOrderItems.php - Ensure that $_POST['part_' . $i] is initialised
25/1/09 Tim: SelectOrderItems.php - Correctly find location name
25/1/09 Tim: footer.inc - Correctly initialise $_SERVER['HTTPS']
24/1/09 Ashish Shukla: Changes to WorkOrderCosting.php
23/1/09 Tim: Corrections to api functions
23/1/09 Tim: PrintCustTransPortrait.php - Check that payment.jpg exists before trying to print it
21/1/09 Tim: PDFTransPageHeader.inc - correctly decode html special characters
21/1/09 Murray: Add jelly theme which adds more icon support and some minor UI improvements.
17/1/09 Klaus Wulff: Store the logo in a session variable, and search for the logo selecting a default if none present.
16/1/09 Tim: Correct the default date format in GetPeriod call.
14/1/09 Phil: Show terms on SelectOrderItems.php - make Location on SelectOrderItems.php use Cart class $_SESSION variable LocationName - rather than ugly hack that had crept in somehow.
13/1/09 CW: Update to gel theme from CW
13/1/09 Ashish Shukla: Script to copy a bom - Z_CopyBOM.php
13/1/09 Tim: Correctly show sourceforge logo in footer
13/1/09 Pablo Martin: geocode, add map width and height variable to selectcustomer and selectsupplier.
12/1/09 Pablo Martin: Fix typing error in WorkOrderCosting.php.
12/1/09 Klaus Wulff: Payments.php - Fix strings not in correct gettext format, as per Klaus Wulff
12/1/09 Klaus Wulff: Changes to PaymentTerms.php to fix errors in variable checks.
12/1/09 Klaus Wulff: Changes to footer.inc to show the day of the week in the correct language, and to search for logo.
12/1/09 Klaus Wulff: Fix CompanyPreferences for when GLAccounts dont exist
10/1/09 Tim: Add api documentation page to manual.
10/1/09 Tim: Change area column in salesanalysis table to be 3 characters long
10/1/09 Tim: Update work orders api.
6/1/09 Tim: Correct bug in SelectOrderItems.php preventing all order lines from being modified
6/1/09 Tim: Add purchase order number to GRN
6/1/09 Tim: MiscFunctions.js - Remove spaces at end of file
6/1/09 Tim: api_salesareas.php - Add VerifyAreaCodeDoesntExist() function
6/1/09 Tim: api_debtortransactions.php - Correction to GetSalesGLPosting function
6/1/09 Tim: Addition to mysql update script to correct salesglpostings definition
29/12/08 Tim: PO_Items.php - Correct lookup price bug when editing an item
26/12/08 Tim: StockLocStatus.php - Show status even when qty is zero
26/12/08 Tim: Correct session timeout problem
24/12/08 Tim: Index.php - New menu item for adding purchase order
24/12/08 Tim: Corrections for updating GL tags
24/12/08 Tim: GLJournal.php - Improvements to journal entry
24/12/08 Tim: GLBudget.php - Improvements to budget update
24/12/08 Tim: Update api for salesman and sales area functions
18/12/08 Murray: UI updates to SelectProduct to match Customer/Supplier select screens.
18/12/08 Murray: Customer Inquiry and Supplier Inquiry UI updates to match each others screen layout
17/12/08 Murray: PDF Append, fix Stocks to append correct '0' state, allow Invoice printing to accept either '0' or 'none' state
17/12/08 Murray: Sales Orders, fix searching for Order Items, display of correct selected method
17/12/08 Murray: Sales Orders, clean up display of order entry, rename "Customer No." to "Customer Code"
17/12/08 Murray: SelectSupplier, modified to match UI of SelectCustomer
16/12/08 Murray: CRM related: Configurations settings allows choice of extended Supplier Data or Customer Data
16/12/08 Murray: SelectCustomer, code changes to match code standards, cleanup
14/12/08 Murray: CRM related: SelectCustomer extended customer info available
14/12/08 Murray: CRM related: SelectCustomer now can add notes, add group notes, add contacts
4/12/08 Tim: Login.php Select default company in login list
4/12/08 Tim: Improve and reduce javascript functions
4/12/08 Tim: New api functions to retrieve webERP settings
4/12/08 CW: New theme called gel
28/11/08 Murray: CRM related: SelectCustomer.php now has export of customers via CSV format
24/11/08 Murray: CRM related: SelectCustomer.php now has search by Customer Type
24/11/08 CW: css/default/default.css links now have white background was possible to lose text on blue background with on hover
24/11/08 CW: includes/ConnectDB_mysql.inc - fix transaction abstraction calls to mysql_query - $Conn after SQL
15/11/08 Tim: Correct bug in WorkOrderIssue.php stopping the updating of stockserialitems for batched items.
14/11/08 Tim: Add GetBatches() function to api
14/11/08 Tim: Add batch control to WorkOrderIssue() api function
13/11/08 Tim: Improvements to JavaScript functions and UI improvements in GLJournal.php
12/11/08 Abhijit: Correct the discount percentage check in api_salesorders.php
11/11/08 Matt Taylor: Added Z_ImportStocks.php; Database transactions in ConnectDB_mysql.inc and ConnectDB_mysqli.inc;
11/11/08 Tim/Moxx consulting: Change UI of GLJournal.php, and add javascript checking
10/11/08 Ashish Shukla: Correct LineItem Due Date is incorrect in SelectOrderItems.php
10/11/08 Tim: DeliveryDetails.php - Fix to Correctly bring forward Deliverto name
10/11/08 Tim: Create WorkOrderReceive() function in api
7/11/08 Tim: Improve error checking in WorkOrderIssue() function
5/11/08 Murray: typo mods to UI to make it easier to use, adjustments to PDFGrn.php
4/11/08 Tim: PO_Items.php - Change to prevent no stock form being repeated
4/11/08 Tim: Alter api function to return work order number when work order first inserted
4/11/08 Tim: GetConfig.php - Fix to ensure Default price list is read as a string
4/11/08 Tim: Create WorkOrderIssue() function in the api.
4/11/08 Mike Appolonia: PDFStockCheckComparison.php - correct parsing error bug. Remove extra close bracket.
4/11/08 Tim: api function to create a works order
3/11/08 Tim: Create api for purchasing data
3/11/08 Tim: api_stock.php - Use sql transaction for inserting stock item
2/11/08 Tim: Add api function to do stock adjustments
2/11/08 Tim: api_stock.php and api_xml-rpc - Alter GetStockBalance() and GetStockReorderLevel() to return an array by location
2/11/08 Tim: config.php - Correct timezone settings
2/11/08  Phil: modifications to PurchData.php to allow entry of a date when the price was entered as sponsored by Ricard Andreu
1/11/08 Tim: CustomerAllocations.php - Correct bug giving incorrect figure in left to allocate
1/11/08 Tim: Correct bug in ModifySupplier() function
1/11/08 Tim: Update index.php to include link to GL Tags
1/11/08 Phil: Add new script to update or insert prices based on standard/WA costs or preferred supplier costs for stock category/currency/sales type of the users selection - work sponsored by Ricard Andreu
31/10/08 Tim: Add reorder level functions to the api
30/10/08 Phil: added back the reports directory under companies/weberp - required for StockQties_cvs.php. Fixed StockQties_cvs.php for companies directory structure and trapped non-existent directory -error opening file.
29/10/08 Tim: Update api for SearchSuppliers() function.
29/10/08 Tim: Update api for GetSupplier() function.
29/10/08 Tim: Update api for inserting and modifying suppliers
29/10/08 Tim: Manual page for api function documentation
28/10/08 Tim: Add api function to get tax rate used for stock item
25/10/08 Tim: Add categorydescription to GetStockCategoryList() api function
25/10/08 Tim: SuppCreditGRNs.php - Correct bug in Add_GRN_To_Trans() function call
25/10/08 Tim: api_glaccounts.php - Add account name to account list function
25/10/08 Tim: CustomerAllocations.php - Correct bug where incorrect transaction number was shown
25/10/08 Tim: SelectCustomer.php - Add link to customer allocations
25/10/08 Tim: CustomerAllocations.php - Correct link back to Select Customers screen.
25/10/08 Tim: Correct strings in api_errorcodes.php to facilitate localisation.
24/10/08 Tim: Add api functions for lookup of general ledger accounts
24/10/08 Tim: Add api functions for stock categories
24/10/08 Tim: api_salesorders.php - Add additional checks to modify order lines function
24/10/08 Tim: PO_Items.php - Change sql to conform to mysql strict mode.
23/10/08 Ashish Shukla: Correction to StockLocStatus.php to take work orders in progress into consideration
23/10/08 Tim: Update api for GetCustomerBranch() function
23/10/08 Tim: DeliveryDetails.php - Change sql to conform to mysql strict mode, and updates to correctly bring forward delivery details.
22/10/08 Tim: api_stock.php - Add function to get stock outstanding on purchase orders
22/10/08 Tim: api_stock.php - Add function to get allocated stock
21/10/08 Tim: api_customers.php - Correct bug in sql checking for AutoDebtorNo
21/10/08 Tim: PO_Items.php - Correctly show $rootpath in href links
21/10/08 Tim: PO_Items.php - Correct bugs when updating an order and clean up code to align with coding standards
20/10/08 Tim: Add function to api to retrieve a sales price
20/10/08 Tim: Correct bugs in api function SetStockPrice().
20/10/08 Ashish Shukla: Correct WorkOrderCosting.php
19/10/08 Tim: Ensure chartdetails is correctly updated on creation of a new GL account
18/10/08 Tim: Add api function to set a sales price for a stock item
18/10/08 Tim: Add api functions to query customertypes table
18/10/08 Tim: Add api functions to query taxgroups table
17/10/08 Tim: Add api functions to query salesman table
17/10/08 Tim: Add api functions to query sales area table
16/10/08 Joe: Updated manual for the current units of measure setup
16/10/08 Tim: Update api_customers.php for new database field
16/10/08 Tim: Update api_branches.php for new database fields
16/10/08 Tim: Update database scripts for customer type.
16/10/08 Tim: Remove duplicated error code in api_errorcodes.php
15/10/08 Murray: CRM related: Add Customer Type to debtors, with maintenance UI
15/10/08 Tim: Add api functions to query shippers table
15/10/08 Tim: Add api functions to query stock location table
15/10/08 Tim: Correct bug in DeliveryDetails.php for when branch name contained an apostraphe and clean up code to conform with coding requirements
14/10/08 Tim: Correct sql in ModifySalesOrderLine to send orderline number
14/10/08 Tim: ModifySalesOrderLine: Multiply discount percent by 100 and check that it is below 100 before insertion
14/10/08 Tim: Correct ModifySalesOrderLine function to call VerifyUnitPrice() instead of VerifyQuotation()
14/10/08 Tim: InsertSalesOrderLine: Multiply discount percent by 100 and check that it is below 100 before insertion
14/10/08 Tim: Correct function InsertSalesOrderLine, change VerifyDiscountPercent() to VerifyNarrative().
14/10/08 Tim: Correct InsertSalesOrderLine function to call VerifyUnitPrice() instead of VerifyQuotation()
14/10/08 Tim: Correct sql in select query in InsertOrderHeader function
14/10/08 Tim: SalesTypes.php - Force value of default session price list as soon as first entry is made
13/10/08 Tim: Fixed bug in GLAccountInquiry.php
13/10/08 Murray: mods to allow append PDF function to Portrait invoices.
12/10/08 Tim: Z_ImportChartOfAccounts.php - Bug fixes
12/10/08 Tim: Z_ImportGLAccountGroups.php - Script for importing Account Groups
12/10/08 Tim: Z_ImportGLAccountSections.php - Script for importing Account Sections
12/10/08 Tim: Bug fixes in api
12/10/08 Tim: New api call to create a GL account group
11/10/08 Tim: New api call to create a GL account section
11/10/08 Tim: Z_ImportChartOfAccounts.php - script that takes a csv file and uploads the general ledger accounts.
11/10/08 Tim: New api call to create a GL account code
9/10/08 Tim: Stock transfer note.
9/10/08 Murray: Geocode, updated to respect map_host parameter
8/10/08 Tim: Add the ability to print goods received notes to GoodsReceived.php
8/10/08 Tim: SQL additions for geocode updates
8/10/08 Tim: GLAccountInquiry.php - Allow selection by GL tag as well as account code
8/10/08 Tim: api_customers.php - Update api to deal with automatic numbering of debtors
8/10/08 Tim: Update GeocodeSetup.php to activate hyperlinks and format text for gettext
8/10/08 Tim: Fix bug in CustomerBranches.php
7/10/08 Tim: Correct bug in CustomerBranches.php. Missing }.
7/10/08 Murray: Add geocoding and mapping (experimental) to suppliers and customers, default is disabled.  Options under Setup - Configuration Settings/Geocode Setup.
6/10/08 Tim: Remove vtiger integration from CustomerBranches.php
6/10/08 Tim: Remove vtiger integration from SelectOrderItems.php
6/10/08 Tim: Remove vtiger integration database fields
6/10/08 Tim: SystemParameters - Remove vtiger integration config option.
6/10/08 Tim: Change ISO to iso for xhtml compatability
5/10/08 Tim: Update api to enable modifying of sales order headers and order lines.
5/10/08 Tim: Update api to enable sales order lines to be inserted
5/10/08 Tim: Update api to enable sales order headers to be inserted
5/10/08 Tim: Correct sql scripts to show AUD to AUD exchange rate correctly
2/10/08 Tim: Correct bug in call to Update_Cart_Item() function
30/9/08 Tim: Change api to correct bugs in credit note transaction
29/9/08 Tim: Allow ProhibitPostingsBefore variable to be outside of currently created periods
29/9/08 Tim: Correct bug in GetPeriod()
29/9/08 Tim: Re-write of GetPeriod() in DateFunctions.php function to eliminate chartdetails errors
29/9/08 Murray: Updated index and Supplier Balance reports to provide consistant UI text labels.
28/9/08 Tim: Remove redundant error from GLJournal.php, CustomerReceipt.php and Payments.php
26/9/08 Tim: Correct sql bug in Suppliers.php
26/9/08 Tim: Update DefineJournalClass.php, DefinePaymentClass.php and DefineReceiptClass.php to allow selection of a GL Tag.
26/9/08 Tim: Update Payments.php to allow selection of a GL Tag.
26/9/08 Tim: Update CustomerReceipt.php to allow selection of a GL Tag.
26/9/08 Tim: Update GLJournal.php to allow selection of a GL Tag.
25/9/08 Ashish Shukla: Fixed bug to correctly show tax ref in Suppiers.php
25/9/08 Nicholas Lee: Added links to work order status and costing from issue and receipt scripts also links to issue and receive from status and costing scripts
24/9/08 Tim: New script to create and edit GL tags.
24/9/08 Tim: Add database tables to allow general ledger transaction tagging.
23/9/08 Tim: Change the initial user from demo to admin, and revisethe install instrcutions.
23/9/08 Tim: Check to see if user name has entries in the audittrail table, and refuse delete with a user friendly message.
22/9/08 Tim: Update html header to enforce strict XHTML syntax
22/9/08 Tim: Remove redundant check on prohibit journals before date.
21/9/08 Anthon Pang: Correct typo in INSTALL.txt
18/9/08 Tim: Z_ImportPartCodes.php to allow mass import of part codes from a csv file
18/9/08 Tim: Array of error descriptions and bug fix to api
13/9/08 Phil: Modified BOM.php, SelectProduct.php Stocks.php StockCategories.php WorkOrderIssues.php WorkOrderReceipts.php These changes allow entry of labour type stock categories - the stock categories script now allows selection of a profit and loss account for the recovery account (was the stock account). Items created (in Stocks.php) must be service/labour items - these can then be added to BOMs in the BOM.php script. Issues of such components will credit the recovery account and debit the WIP account. These items can also be set to auto-issue on receipt of finished items from work orders.
13/9/08 Phil: SelectProduct.php now displays just the default price in the local currency. Displaying all prices could result in overload on the screen - without showing specific debtors/branches/currencies the other prices are meaningless anyway.
12/9/08 Murray: update SelectOrderItems UI to provide more helpful text labels.  Update index.php to provide more consistant UI text labels for Bank Account options.
11/9/08 Andres Amaya: Correct bug in PDFAgedDebtorsPageHeader.inc when salesman code is selected
11/9/08 Tim: Add option in StockTransfers.php to search on part code or description
10/9/08 Tim: Add field for suppliers tax reference
10/9/08 KStan: Insert link back to SelectProduct.php on successful insert of new strock item
09/9/08 Tim: Fixed colour scheme problem
09/9/08 Björn Paulsen: Fixed bug in PDFStockLocTransferHeader.inc for translation error, and improved layout.
09/9/08 Ashish Shukla: Fixed bug in AuditTrauil.php where the field value contains a comma, as per Ashish Shukla
09/9/08 Thomas Pulina: Correct typo in Payments.php
09/9/08 Tim: Correct bug in MiscFunctions.php for when default currency is not in the ECB list
08/9/08 Nichlas Lee: Change to show company logo, and to ensure the sourceforge logo is correctly shown when using https and IE
08/9/08 Tim: Corrected Add_SerialItems.php to show correct path to StockSerialItemResearch.php
08/9/08 Tim: Updated weberp-new.sql and weberp-demo.sql to create initial periods.
07/9/08 Tim: Correct bug in FormMaker.php that prevented images being shown in forms.
07/9/08 Ashish Shukla: Correct stock location problem in PO_Header.php.
07/9/08 Tim: Change Z_ChangeStockCode.php to alter the stockitemproperties table.
27/8/08 Thomas Pulina: Modified SelectProducts and PO Header to allow quick link to PO from Inventory Item
15/8/08 Andres Amaya: Correctly show controls for Category properties
12/8/08 Arnold Ligtvoet: Modifications and improvements to Quotation PDF form
21/7/08 Harald Ringehahn: Fixed non-gettext strings in customers.php and customerbranches.php
19/7/08 Stuart Sheldon: Changed RecurringSalesOrders.php and RecurringSalesOrdersProcess.php to use GetNextTransNo().
9/7/08 Tim: Update api to enable posting of simple invoices and credits
9/7/08 Murray: update Tax PDF report, sort by date, add missing headings to columns.
8/7/08 Tim: Correct date checking bug in api_stock.php
7/7/08 Tim: Correct MiscFunctions.php for divide by zero errors in Currency function.
4/7/08 Phil: Fixed bug in PaymentTerms.php that prevented addition of new terms because "day number must exist"
29/6/08 Harald Ringehahn: Z_SalesIntegrityCheck.php string missed gettextification and single quote space fixed. (Phil) This script extensively edited to conform to webERP coding conventions - single quotes, { at end of conditional statements not next line, SQL broken up on keywords, gettext strings not including trailing spaces.
01/7/08 Tim: Provide option to create a new supplier from the select supplier screen
30/6/08 Tim: Add api functionality for stock items enabling stock balances to be retrieved by a remote application
29/6/08 Harald Ringehan: Z_SalesIntegrityCheck.php string missed gettextification and single quote space fixed. (Phil) This script extensively edited to conform to webERP coding conventions - single quotes, { at end of conditional statements not next line, SQL broken up on keywords, gettext strings not including trailing spaces.
28/6/08 Tim: Add api functionality for stock items, allowing stock items to be created, modified, retrieved and searched from a remote application
28/6/08 Mox Consulting as reworked to latest version (Phil) multiple customer contacts faciltiy on customer.php

Version 3.09
27 June 2008

27/6/08 Phil: Now checks qoh of autoissue components on receiving items against a work order when CheckNegativeStock is enabled
24/6/08 Murray: Typo changes to Payments.php to simplify supplier receipts.
21/6/08 Tim: Add systype 40 for work orders.
18/6/08 Tim: SelectOrderItems. Changed too show carriage returns correctly in line narrative
17/6/08 Tim: Correct default options on Stocks.php
17/6/08 Murray: Added first version SystemCheck.php
13/6/08 Tim: Correct CustomerBranches.php to enable branch deletion
13/6/08 Ap Muthu: Correct corrupt messages.mo
13/6/08 Ap Muthu: Correct missing table in weberp-demo.sql
13/6/08 Ap Muthu: Correct typos in weberp-new.sql,weberp-demo.sql and GetConfig.php
12/6/08 Murray: minor changes to text labels of UI.
08/6/08 Tim: DeliveryDetails.php - Correct delivery address details and bug not allowing branch info to be returned.
26/5/08 Tim: PaymentMethods.php - Improve error handling..
26/5/08 Tim: PaymentTerms.php - Improve error handling..
26/5/08 Tim: SalesPeople.php - Improve error handling..
26/5/08 Tim: SalesTypes.php - Improve error handling..
26/5/08 Tim: Shippers.php - Improve error handling..
26/5/08 Tim: api_branches and api_errorcodes. Improvements to api.
22/5/08 Tim: WWW_Users.php: Update to only change the used language when the users own profile is being changed.
08/5/08 Tim: Selectproduct.php: Fix bug preventing page goto from working
08/5/08 Tim: Stocks.php: Correctly show line breaks in Long Description
05/5/08 Tim: Correct the display of the company name in CustomerReceipt.php when special characters have been used.
05/5/08 Tim: Correct bug in CustomerReceipt.php where batch narrative text was lost, and add in a cancel button for when customer is wrongly selected.
03/5/08 Tim: Fixed bug in CustomerAllocations that corrupted table when reallocated amount equalled originally allocated amount
30/4/08 Tim: Fixed bug in DeliveryDetails.php, to correctly show names and addresses with apostropges.
29/4/08 Tim: Fixed bug in CustomerAllocations, debug info left in from previous fix.
28/4/08 Phil: Fixed bug that showed date of GL entries twice on GLTransInquiry.php and munted format of table - attempted to put formating of the script back to webERP conventions
28/4/08 Muz: Add labels to CustomerInquiry.php links Allocation /View GL Entries etc
27/4/08 Tim: Add api for customer branches.
27/4/08 Tim: Put all api error codes in one file.
26/4/08 Muz: Correct path to preview icon in Customerinquiry.php
26/4/08 Tim: Update Credit_invoice.php to correctly mark the credit note as settled
20/4/08 Tim: Improvements to api.
18/4/08 Tim: Improvements to api.
16/4/08 Tim: Correcting problem in displaying old allocations.
16/4/08 Tim: Updated Customers.php and CustomerBranches.php to correctly show branch details when escaped characters are used.
16/4/08 Tim: Change to PrintCustTrans.php to take into account pdf attachments.
14/4/08 Tim: Add currency searches and other improvements to api
13/4/08 Tim: Added xml-rpc and php interfaces to the api.
12/4/08 Tim: Correction for CustomerAllocations.php to correctly do part allocations.
12/4/08 Tim: Update fpdf_tpl.php to the latest version.
12/4/08 Tim: Correct bug in SupplierInvoice.php preventing another supplier invoice being entered directly.
10/4/08 Tim: Add file fpdi/fpdf_tpl.php required for attaching pdf files to invoices
10/4/08 Harald Ringehan: ConnectDB_mysql.inc and other db abrastraction scripts used htmlspecialchars instead of htmlentities to prevent XSS attacks inside DB_escape_string function - this leaves accented characters alone and doesn't disturb translations. Bug spotted as a result of Umlauts on command buttons failing to work.
08/4/08 Tim: Correct DB_last_insert_id bug in ConnectDB_mysql.inc and ConnectDB_mysqli.inc
06/4/08 Muz: Changes to make options clearer
06/4/08 Tim: Test whether StockID is set before seeing if part already exists.
06/4/08 Tim: Update currency exchange rates when default currency is changed.
30/3/08 Tim: Bring in the xmlrpc libraries.
29/3/08 Mo: Improve error messaging in ConnectDB.inc and ConnectDB_mysql.inc and ConnectDB_mysqli.inc
29/3/08 Renier: Improvements to Z_CheckDebtorsControl.php
29/3/08 Renier: Added Z_SalesIntegrityCheck.php
29/3/08 Renier: Improved layout and added drill down to GLTansInquiry.php
29/3/08 Tim: Correct behaviour of quick entry items.
25/3/08 Tim: CustomerBranches.php Correct default delivery days field
25/3/08 Tim: SupplierInvoice.php Move unsetting of session variables, to show correct message per emdeex
25/3/08 Tim: Altered comments on api_customers.php
24/3/08 Tim: Added first draft of api_customers.php
22/3/08 Tim: Removed the default charset from the database definitions.
22/3/08 Tim: Altered the Connect_DB scripts to correctly show quotes in DB_escape_string.
22/3/08 Tim: Completed sweep of code to remove unnecessay DB_escape_strings, remove unneceassry Class="tableheader" statements, and put the row colouring into the css file.
12/3/08 Tim: to side step SQL injection and cross scripting attacks modified session.inc to DB_escape_string for all elements of $_POST and $_GET - the DB_escape_string functions are now redundant inside scripts so started to remove these in a sweep of all code.
11/3/08 Renier DuPlessis/Phil: Currencies.php now has link to show a graph of recent exchange rate fluctations and spiced up with a flag of the appropriate country of the currency.
10/3/08 Tim: complete sweep of the code to replace all occurrences of &lt;td class='tableheader'&gt; with &lt;tr&gt; all hard coded odd and even line colours now use a <td class="OddRows"> and a <td class="EvenRows"> from the theme's css - various scripts now have fields highlighted showing the field where and input error was detected - stocks.php suppliers.php, customers.php etc.
10/3/08 Renier DuPlessis/Tim: Reworked CustomerAllocations.php - typos and tidy up
1/3/08 Phil: New config variable SystemParameters.php session.inc modifications to allow exchange rates to be updated daily from the European Central Bank on the first user login of the day. The manual option is still available for those who cover exchange rate risk. Updates to the manual added a section on currency maintenance.
29/2/08 Phil: Currencies.php MiscFunctions.php now has a function to get exchange rates from ecb (European Central Bank) published  daily as XML file that is parsed to retrieve the current day's spot rates are shown against the current currencies table rates.
25/2/08 Phil/Harald Ringehahn - modified the link to the manual in header.inc such that for locales other than en_?? the manual is sought under locale/xx_XX/LC_MESSAGES/Manual/ManualContents.php - Harald's is the first translation we have of the manual into German and it can now be added to the German translation archive.
16/2/08 Phil: BankAccounts.php Payments.php and CustomerReceipt.php DefinePaymentClass DefinedReceiptClass BankReconciliation.php all modified to allow for multi-currency bank accounts ) Manual updates to Bank Accounts and Bank Payments.
01/2/08 Tim: Fix problem in SelectOrderItems.php re keywords appearing wrongly
23/1/08 Tim: Fix problem with call to javascript function in Stocks.php
23/1/08 Tim: Improve Selectproduct.php to show more information about product state.
15/1/08 Tim: Change Customers.php and Suppliers.php to accept apostrophes and accented characters in addresses.
15/1/08 Tim: BOM Cost rollup updates to force cost rollup on insertions and deletions.
15/1/08 Tim: Change last insert functions to work with audit trail.
13/1/08 Phil: Sales Analysis Manual examples and some rework for Creating a New System
12/1/08 Tim: Correct bug in Date functions.
12/11/08 Tim: Sales orders now obtain next transaction number from GetNextTransNo function changed in DeliveryDetails.php
12/11/08 Tim: New field in stockmaster for perishable available if the item is controlled - changes to Stocks.php to accomodate
10/1/08 Tim: Lock tables to avoid concurrency problems when getting next transaction numbers as reported on the list
1/1/08 Tim Schofield: New Factor company maintenance and ability to set up factor comapnies against suppliers
17/11/07 Damian Lee: Improvements to Inventory valuation report bringing in the units identifier
13/11/07 Tim: AuditTrail.php script added with changes in DB_query to add records to the audit trail for all inserts, updates and deletes. The Audit Trail script allows the user to inquire on this data for a range of dates and tables being modified - with field names parsed into nice screen output.

Version 3.08
7 November 2007

3/11/07 Peter Moulding: mysqli support new/(i)mporved mysql db functions for mysql >4.1 -  can now have $dbtype='mysqli'; in config.php provided appropriate mysqli library available to php
3/11/07 Tim: GLBudgets.php added to allow development/review and entry of GL budgets.
3/11/07 Renier du Plessis: Witih certain versions of PHP or PEAR in debug mode I have experienced the following error notices: "Only variable references should be returned by reference" I recommend the atached FIX for htmlMimeMail.php
24/10/07 rent a coder - sponsored by Chris - SelectOrderItems.php now allows entry of line items by entry of a quantity in the item browse mode
24/10/07 DateFunctions.inc GetPeriod function now checks for date format of ProhibitPostingsBefore and sets up a default of one year ago if a null date
9/10/07 DefineCartClass - now defaults poline='' and itemdue = '' for credit notes
7/10/07 Tim Schofield : Bug fixes in Freight cost calculation.
5/10/07 Tim Schofield : Amend table headers in OrderDetails.php
5/10/07 Bjorn Paulsen : Bug fix in PDFOrdersInvoiced.php
5/10/07 Tim Schofield : Remove CartClass references
1/10/07 Tim Schofield : include errors in WorkOrderReceive.php
29/9/07 Tim Schofield : Correct calculation of costs for GL entries
25/9/07 Anthony C : Show additional item properties in Select Item mode
25/9/07 Jan Hendrik Rust : Update javascript for product category changes
25/9/07 SystemParameters.php now has new parameter to ProhibitNegativeStocks - new config added to DB.
25/9/07 ConfirmDispatch_Invoice.php now checks stock balances after the order invoiced before processing it and reports back nasty message if stock will go negative.
25/9/07 GoodsReceived.php now checks stock balances after the receipt of stock is processed for negative receipts of stock and it reports back a nasty message if stock will go negative.
25/9/07 StockAdjustment.php now checks the stock balance after the adjustment to see if it would go negative, if so it reports back a nasty message and prevents the adjustment.
25/9/07 WorkOrderIssue.php now checks the stock balance after the issue to see if it would go negative, if so it reports back a nasty message and prevents the issue.
21/9/07 Tim Schofield : Correct date conversion for statements with only settled items on.
20/9/07 Tim Schofield : Changes to SystemParameters.php for Y-M-D date format
20/9/07 Tim Schofield : DateFunctions.inc now allows Date Format option Y-m-d as required by Scandanavian countries
14/9/07 Tim Schofield : Alter sql for serial item issues, and sql bug fixes
13/9/07 Tim Schofield : Correct bugs in the issuing of serialised components
12/9/07 report_runner.php MailSalesReport.php and MailSalesCSV.php now added DatabaseName variable
11/9/07 Tim Schofield : Various bug fixes in SelectOrderItems.php
10/9/07 Tim Schofield : Bug fixes in SelectOrderItems.php
08/9/07 Tim Schofield : Update Stocks.php for javascript update of stock category changes
07/9/07 Tim Schofield : Update Z_poAdmin.php for new options
07/9/07 Tim Schofield : Improvements to translation scripts
06/9/07 Tim Schofield : Remove non ascii characters in OrderDetails.php
30/8/07 Tim Schofield : Corrections to language scripts
30/8/07 sunshine33777 : Fix HTML error in PO_PDFPurchOrder.php
27/8/07 Tim Schofield : Correct javascript in login.php
25/8/07 Tim Schofield : Replace corrupted .mo file
25/8/07 Tim Schofield : Correct sql in SupplierInvoice.php to agree with ansi standard
23/8/07 Tim Schofield : Bug fix in SalesTypes.php
23/8/07 Tim Schofield : If default price list doesnt exist, then update config for it
23/8/07 Mo Kelly : Modify Customer.php to add parameter to determine if customer PO lines  are collected during quick entry of sales oreders
23/8/07 Mo Kelly : Modify DefineCartClass.php to incule PO line data and line item due dates.
23/8/07 Mo Kelly : Modify SelectOrderItems.php to allow the entry of due dates and corresponding customer PO Line by sales order line if parameter is set in the debtormaster to collect this field. Also to caluculate and use default delivery date by line item.
23/8/07 Mo Kelly : Modify SelectOrderItems_IntoCart.inc to include PO line data and line item due dates
23/8/07 Mo Kelly : Modify PDFDIFOT.php to calculate on time deliveries using the line item due date when available



Version 3.071
13 August 2007


13/8/07 StockCostUpdate.php added input type=hidden MaterialCost to allow MaterialCost for Manufacturing items to be correctly defaulted on update of labour and overhead costs
13/8/07 StockCategories.php moved the submit enter button outside of the code for if a category is selected. Button was not shown and prevented adding a new stock category. A show stopper bug!

Version 3.07
2 August 2007

8/8/07 StockCostUpdate.php changed function call to match function in SQL_CommonFunctions.inc for GL update and the cost roll up parent changed to Parent
5/8/07 Added new tables stockcatproperties and stockitemproperties and modified Stocks.php and StockCategories.php to allow setup of category properties. These properties create input options against the stock item in Stocks.php for recording specific information relating to the category of items.

Version 3.06
2 August 2007

Version 3.06rc3
29 July 2007

29/7/07 Tim Schofield : Amend SelectWorkOrder.php to allow work order status inquiry.
29/7/07 Tim Schofield : Create WorkOrderStatus.php.
27/7/07 Tim Schofield : Alter GLProfit_Loss.php to show headings correctly.
26/7/07 Tim Schofield : Correction  to sql/SQL_CommonFunctions.inc to move stock rollup functions into inc file, and show gl transactions when bom structure alters material cost
25/7/07 Tim Schofield : Correct syntax of sql in WorkOrderReceive.php.
25/7/07 Tim Schofield : Correct BOMs.php and StockCostUpdate.php to correctly show gl transactions, on Standard Cost roll up.
25/7/07 Tim Schofield : Change WorkOrderCosting.php so that requirements are shown correctly.
25/7/07 Tim Schofield : Change WorkOrderReceive.php to enable a works order to be viewed when previous works order with sames product has been closed.

23/7/07 Lindsay GetStockImage.php changed $filepath = $_SESSION['part_pics_dir'] . $pathsep;
23/7/07 salesmancode selections removed from wwww_users.php

22/7/07 Tim Schofield : Alter GLTrialBalance.php to show headings correctly.
19/7/07 Tim Schofield : Addition to BOMs.php to roll up standard material costs into the parent items when a BOM structure is altered.
19/7/07 Tim Schofield : Addition to StockCostUpdate.php to roll up standard material costs into the parent items when a material cost is altered.
19/7/07 Tim Schofield : No StockID being selected in SelectProduct.php

Version 3.06rc2
18 July 2007

18/7/07 Tim Schofield : Correct error in SelectProduct.php, and sql/upgrade3.05-3.06.sql preventing sales price from being displayed.
15/7/07 Tim Schofield : Correct includes error in OutstandinfGRGs.php, StockCheck.php, SupplierBalsAtPeriodEnd.php, and Tax.php
14/7/07 Tim Schofield : Correct bug in SystemParameters.php preventing config updates in.

23/6/07 PriceLists and several other pdf reports failed to include session.inc in the script
23/6/07 Lindsay Harris $$ error in PO_DetailItems.php
23/6/07 PurchData added 3 dp for the suppliers price - we don't currently have settings for dp by currency which would be good.
23/6/07 Added column in WOIssues.php to show the quantity already issued against requried quantities

Version 3.06rc1
20 June 2007


18/6/07 WorkOrderCosting.php added - shows variances by item with option to close the work order and take variances to GL (if integration to Stock enabled)
17/6/07 SelectProduct.php and StockStatus.php now shows demand including works order component requirements and also the quantity on open work orders yet to be received
13/6/07 WorkOrderIssues.php added to CVS - sponsored manufacturing work by Tariq Farooqi and Lindsay Harris
12/6/07 BOMs script re-worked matrice and arbore variables to create multi-dimensional array directly with english variable names.
12/6/07 Locations script now checks for bom records referring to the location before allowing deletion
12/6/07 Stocks.php script now deletes prices for the item before deleting the item itself.
2/6/07 Added WorkOrderEntry.php with new work order tables to add work orders with multiple outputs. Can change quantity required and required by dates. Also added SelectWorkOrder.php to allow selection and modification of a work order - from the work order number or by item, location and status open or closed. Sponsored by Lindsay Harris and Tariq
27/5/07 GLTrialBalance and GLProfit_Loss now use the parentgroup heirarchical account groups with nested sub-groups of accounts
20/5/07 Rob Wolf - SilverWolf theme added
20/5/07 SelectProduct.php now shows summary data about the item selected total qty on hand, ordered, purchasing data, unit of measure etc.
20/5/07 New salesman login option that allows selection of a salesman - these logins are restricted to selecting only customers who have branches allocated to the selected salesman.
20/5/07 BOM now shows quantity on hand of components - sponsored by Manny Neri Dutch Precision
7/5/07 Wayne McDougall - includes/Login.php checks for magic_quotes_gpc and issues a warning if they are enabled.
3/5/07 Updated installation instructions to recommend magic quotes off. Added .htaccess file for the main directory to default magic quotes for those web-servers that support .htaccess files.
6/5/07 Wayne McDougall - footer.inc / InventoryPlanning.php use strftime to get locale specific dates rather than gettext translation
1/5/07 Wayne McDougall - footer.inc nows uses phpgettext for date/time translation, and the webserver locale date/time if no translation is available
1/5/07 Wayne McDougall - Use DefaultDateFormat in all PDF report headings
1/5/07 Wayne McDougall - InventoryPlanning.php now supports translation of abbreviated month names in the page headers
30/4/07 Wayne McDougall - StockStatus.php now displays a summarised sales pricing history for the selected customer (if any). When called from SelectOrderItems.php, shows the sales pricing history for the customer whose order is being entered.
30/4/07 StockLocTransferReceive.php now has an option to delete the balance of a transfer if the quantity received is less than the amount recorded as dispatched.
30/4/07 Portrait invoice now shows serial numbers/lot numbers and qty for controlled items sold. Work sponsored by Tip Top Tips Sarl
26/4/07 CustomerReceipt fixed bug where a GL receipt and a customer negative receipt (or vice versa) resulted in a zero batch that did not have the correct GL entries created for it - result TB out of balance and debtors control out of balance with list of balances.
26/4/07 Wayne McDougall - using the new Special Instructions field held against the branch record - CustomerBranches now allows entry and editing of the field. DeliveryDetails shows the messasge as does SelectOrderItems. Credit message only appears once now instead of for each line where the credit limit is exceeded.
20/2/07 CustomerBranches.php - removed ? syntax for comparison and assignment of GET values
20/2/07 Took out the default credit limit when a 0 credit limit is entered. If the user enters 0 then a zero credit limit is set.
20/2/07 ShipmentCosting bug with multiple lines of the same item on the shipment (albethey different POs) caused incorrect costings.
15/2/07 Danie optimised GLPostings.inc for postgres - thinks mysql performance will be even better too - sorting postings by account and doing one post for each period/account combination
12/2/07 SelectSalesOrder.php fails with postgres printpackingslip needs to be in the group by now fixed
12/2/07 Tax Categories now uses a cross join to be more ansi sql friendly - failed with postgres otherwise
12/2/07 Wayne McDougall - OrderDetails.php is not honouring the Landscape/Portrait config switch for invoice printing - now fixed.
12/2/07 Errol Livingston - Locations.php was checking for existence of worksorders in a non-existant table before allowing deletion!
9/2/07 Wayne McDougall - bug fix on width of terms in PrintCustTransPortrait.php
6/2/07 emdeex - PaymentAllocations.php and modifications to SupplierInquiry to allow viewing of where a payment made was allocated.
6/2/07 Ditesh - taken out references to session_register in several files - historical code no longer necessary implicit in $_SESSION
3/2/07 Wayne McDougall - bug fix in Z_CreateNewCompany.php the checkbox to create the new DB was incorrectly coded and would not have worked. Also SystemParameters.php the WikiPath variable was defined twice - this should not have caused issues in practise.
 30/1/07 AccountGroups.php now allows hierarchical account groups GLTrialBalance.php now shows account groups within the new hierachy.
18/1/07 SpecialOrder.php now checks for customer hold reasons to ensure the customer is not on hold prior to placing the order so there is a warning if there is some credit issues
18/1/07 InventoryValuation.php now shows the quantitiy total for each product group which may or may not be meaningful
16/1/07 Gilles Deacur - added page offset buttons at the bottom of SelectSupplier SelectCustomer SelectProduct and added an account code to the GLTransInquiry script


Version 3.05
2 January 2007


2/1/07 Got webERP logo showing on footer.inc in report writer scripts. Updated copyright to change year on title.
2/1/07 Fixed bad bug that didn't post freight on Credit_Invoice.php script!!! This resulted in control account out of balance issues.
2/1/07 Added upgrade script that applies DB changes and does the data conversions for the user - now just have to run the script.
30/11/06 DB_connect_mysql and DB_connect_psql added a DB_show_tables function to abstract this one in the report writer.
29/11/06 BOMs.php removed dependency on mysql num rows and mysl_fetch_array functions and used abstraction functions as per the rest of the application. Modifications to consistency of braces use of prnMsg. Bug fixes as per Till
27/11/06 Upgrade script for 3.04-3.05 for postgres.
18/11/06 Now check on login that the company entered at login has a companies/directory defined to avoid logins to incorrect companies - bug noted by Alan Jones
24/10/06 added the directory Numbers to contain the PEAR module Numbers_to_Words that is a multi-language class. There is one modification required to avoid the dependency on PEAR's raiseerror function - this now refers to the webERP prnMsg function - otherwise updates to this module can be imported as necessary. Needs some testing with other Locales to check translation. It is only used in the PrintChecks.php script.
27/9/06 includes/LanguageSetup.php  now uses the path prefix for the bindtextdomain statement\ - multi-lang would not have worked with report writer scripts
27/9/06 Shipt_Select.php now modified SQL per bug report <>'' doesn't work on integers with postgres.
17/9/06 PO_Header.php now have a button to update the delivery address based on the selection of the stock location
17/9/06 ShipmentCosting.php - added code to deal with weighted average costing - similar to SupplierInvoice.php below. Also now checks when closing to make sure that all the purchase order line stock receipts are invoiced before allowing to be closed. Also completes the purchorderdetails and updates the purchase order line quantity to be the quantity received to avoid the possibility of receiving additional stock against this line

16/9/06 SupplierInvoice.php GoodsReceived.php added a field to grns table to allow the standard cost at the time of receiving to be recorded in the GRN record rather than the purchorderdetails table - this allows for multiple receipts against a purchase order to be at different costs - required for average costing. SupplierInvoice.php now has code to deal with average costing GL entries and cost updates. Also deals with where the invoice is for a quantity more than is left in stock now - writes off the variance on the shortfall. GoodsReceived now tracks the weighted average of all receipts of a purchase order line so that the quantity received multiplied by the stdcostunit = sum of all cost received against the line.
16/9/06 New script Z_Upgrade_3.04-3.05.php required to bring cost data over to the grn records to fit with the new schema of allowing different drops of stock received to be booked in at different costs. Previously
13/9/06 Renier du Plessis polish-up of SalesTypes.php
11/9/06 DateFunctions.inc modified GetPeriod function to check for dates prior to the new ProhibitPostingsBefore parameter - postings get made in the period following this date now. Also SystemParameters.php script modified to allow selection of a period end to set ProhibitPostingsBefore
7/9/06 SupplierInvoice.php was not updating purchaseorderdetails quantities correctly due to errors in the supplier transaction class - the podetailitem was populated with the orderno!! Modified the SuppInvGRNs script to work with purchase orders and added the orderno to the supptrans class script
7/9/06 Shipments.php script modified to ensure that the shipment is created before purchorderdetails added to it
6/9/06 Fixed bug in SelectCreditItems.php and Credit_Invoice.php for "Write off Stock" type credits  A warning is displayed: and no process button is available.
30/8/06 Fixed to GetStockImage.php and scripts that call it to display stock images correctly
22/8/06 Dave fixed and improved reportwriter scripts drop down list for field selection and over-ride with entry of calculated field SQL
22/8/06 Dumitru Popa new BOMs.php script that shows the full context of parents and children for multi-level BOMs.
19/7/06 saras chithra PO_OrderDetails.php link refered to sales orders sh/be purchase orders
19/7/06 ConfirmDispatch_Invoice.php updates to salesorderdetails did not work correctly for orders with multiple lines of the same item.
12/7/06 Z_RePostGLFromPeriod.php did not work correctly from periods into the business since bfwd balances were zeroed rather than using the previously bfwd balance - now fixed.
11/7/06 SupplierTransInquiry.php allows supplier transactions to be listed with GL transactions created for each.
11/7/06 Alan J report_runner.php now allows command line arguments to run reports using the php interpreter directly.
10/7/06 Alan J ConnectDB.inc - now allows for the DatabaseName to be set in hard code for scripts that do not require a login - in particular automated reports.
5/7/06 SpecialOrder.php was not creating multiple line orders correctly - needed to have orderlineno in SQL to add salesorderdetails records
4/7/06 SupplierInvoice.php made manual entry of taxes work correctly now takes values at time of processing the invoice previously they were not updated before posting
4/7/06 Credit_Invoice.php removed taxrate from stockmoves sql insert statement on stock write off option
27/6/06 jesse
    - includes/Add_SerialItems.php :
        + changed some spacing & line breaks for readability
        + Added checks for Serialised items to be sure they have Qty of either 1 or 0, plus links to SerialResearchTool when there are problems
        + Added ReValidation option (necessary for current attempts at Manufacture Items scripts)
    - AgedDebtors.php : added option to pull only Debtors who have a Branch assigned to the selected SalesPerson
    - ConfirmDispatch_Invoice.php : make Tran Date field size=15 to match others and look more uniform
    - CreditItemsControlled.php :
        + Ln14-19 - better checks to be sure you are returned to the proper Credit page
        + Ln ~66 - remove the AddBatches code - it was not necessary because it exists and is called in the Add_SerialItems code
    - CustomerBranches.php
        + Display Total Enabled/Disabled Branches below list
        + Ln449,450 - quote the Hidden Input Values
        + Ln459 - add code to collect New BranceCode, Debtor Name, and Debtor Address to prepopulate when creating 1st Branch
    - Customers.php
        + Ln176 - Correct text: "entry of invoice" -&gt; "entry of customer branch"
        + Ln235 - typo: Custmomer -> Customer
        + Ln569 - Capitalization TYPe -> TYPE
    - CustomerTransInquiry : Added feature to view ALL transactions
    - DateFunctions.php : Remove extra line at bottom
    - reportwriter/admin/defaults.php : Add option to have Range/All w/ Range as default.
    - includes/DefineCartClass.php : in "remove_from_cart()", added functionality to help clear outstanding Sales Orders
    - includes/DefineSerialItems.php : removed validation check and moved to Add_SerialItems.php
    - DeliveryDetails.php : removed high-ascii char @ Ln124
    - footer.inc : Ln24: make chosen time format display, Ln34 : make &copy always be current year
    - GLTrialBalance.php : ~Ln60: make the From & To periods select something near where we are at in time
    - GoodsReceived.php : Better handling on Serial vs Controlled items when updating/inserting
    - GoodsReceivedControlled.php : $LocationOut should be set to the PO Location
    - index.php : Added Link for StockSerialItemResearch.php
    - includes/InputSerialItems.php : Quoted some Hidden Inputs, added a few onClicks() to make navigation easier, added a missing </CENTER>, and removed redundant code.
    - includes/InputSerialItemsFile.php : Improved file handling, fixed display problems when it had to exit()
    - includes/MiscFunctions.php : added pre_var_dump() function - very handy for in-page debugging, especially of array/objects
    - OrderDetails.php : added code to look for Invoices for an order and create links to the Printed PDF version of it
    - includes/PDFAgedDebtorsPageHeader.inc : additions to allow printing of AgedDebtors for a single Sales Person
    - POItems.php :
        + moved header include - it would break if you hit the page with no PO in session
        + added code to allow PO_AllowSameItemMultipleTimes to work
        + added extra link back to PO_Header
        + when no Image, changed "n/a" to "No Image" so it can be translated
    - PO_PDFPurchOrder.php
        + Added ability to print the PO with or without prices listed
    - reportwriter/admin/RCFunctions.php: Ln610: fixed MIME type check on file so ImportReport would work
    - reportwriter/ReportMaker.php : Ln382: defaulted "To" value to "From" value for ranges so a range can more easily cover a single entity like an Order # or PO# w/ details
    - reportwriter/forms/ReportsList.html : added padding to list to make it look nicer
    - SelectCompletedOrder.php : Allow search by Customer Reference
    - SelectCreditItems.php :
        + Ln284: frist -> first ,
        + Ln441,596: getting real strict on checking equalities, even after all the mb_strtouppers.
        + Ln472,626: basically same reason as 441
        + Ln968: fix to stop reports of missing images in webserver error logs
    - SelectOrderItems.php
        + Ln123: Set the Order # since we have it
        + Ln201: add back in comment and standard(?) formatting
        + Ln295: Allow the CustCode search to check BranchCode too
        + Ln512: extra space in " name"
        + Ln832: error moved into DefineCartClass.php
        + Lns986 - 1029 : add options to show previous quantities delivered and links to delete/clear the line as needed (in conjunction w/ DefineCartClass.php above too)
        + Ln1131: fix to stop reports of missing images in webserver error logs
    - includes/SelectOrderItems_IntoCart.inc
        + Around Ln75, if it was an existing order, the 2nd SQL call would overwrite the $myrow var and cause problems later. Renamed the out $myrow to $myItemRow
        + Ln113: removed duplicate "CreditAvailable -=" statement and another high-ascii A
    - StockCounts.php : Added code to allow entered counts to be more easily viewed and removed.
    - StockSerialItemResearch.php : refinements. Allow fuzzy searching (sql LIKE), display the SN b/c of that, and correct the SQL used to pull records (would display dupes when same SN had been in more than 1 warehouse)
    + sql/mysql/upgrade3.04-3.05.sql : put Ln319 - 324 in more natural order and added col names for config inserts
    + UserSettings.php : italics on the password message, made the email field display larger
    + reportwriter/WriteReport.inc : quotes filename in CVS download so files w/ spaces in name will work
    - Several DB_escapes_string()s
        + ConfirmDispatch_Invoice.php, CustomerReceipt.php, StockAdjustments.php

    - Several trim()s & mb_strtoupper()s on StockIds, Order #, PO #, & various Search Parameters
        + BOMInquiry.php, includes/DefineCartClass.php, DiscountCategories.php, GetStockImage.php, POItems.php, PO_SelectOSPurchOrder.php, PrintCustTrans.php, SelectCreditItems.php, SelectCustomers.php
        + SelectOrderItems.php, SelectProduct.php, SelectSalesOrder, StockAdjustments.php, StockCostUpdate.php, StockLockStatus.php, StockReorderLevel.php, StockSerialItems.php, StockTransfers.php
        + StockUsageGraph.php, WhereUsedInquiry.php

    - Spacing
        + CustomerAllocations.php, includes/PO_ReadOrderIn.php, StockAdjustments.php
        + sql/pg/upgrade3.04-3.05.psql (Ln322),
20/6/06 Steve PDFSalesAnalysis lowercasing missed a few field names now corrected Cols ColNo etc. Various scripts added rounding
8/6/06 Z_ChangeBranchCode.php fixed sql for taxauthority to taxgroupid and some typos
8/6/06 GLAccounts.php fixed to allow deletions of a GL account where there are no postings to it. chartdetail records also deleted.
8/6/06 Steve K SpecialOrder.php - Location code not inserted correctly double up of contact ... lower casing errors fixed.
31/5/06 index.php link to PDFDIFOT.php delivery in full on time report
31/5/06 added Steve Ks PrintCustTransPortrait.php option  added new config variable and changed the SystemParameters.php script to allow the variable to be switched. Changed all scripts that call PrintCustTrans.php to look at the new session variable before printing
30/5/06 Steve K - 'lots of changes'
    - ConfirmDispatchInvoice changes to &lt;BR&gt; from &lt;P&gt;, format of customer name, moved link to sales orders to top.
    - CustEDISetup.php added link to customers form
    - CustomerAllocations.php added customer code to table display - fixed sql date format
    - Customers.php modifications to display and wording of strings
    - DeliveryDetails.php link back to sales order moved - wording changed to New Order
    - FreightCosts.php now allows selection of tax category - part of improved handling of tax on freight costs
    - GLAccounts.php removed tabindex statements
    - index.php - changed wording of links - reduced verbosity
    - POHeader.php has link back to outstanding purchase orders
    - POItems.php has link at top back to header
    - SelectOSPurchOrder.php new order link
    - PrintCustOrder_generic.php added debtorno
    - SelectCustomer.php now has search on phone no
    - SelectOrderItems.php customer selection based on phone - reduced wording of links
    - SelectProduct.php moved around submenu - changed wording of links
    - SelectSalesOrder.php shows if printed or not and links to print if not printed
    - SelectSupplier.php now orders by supplier name not supplier id
    - StockCostUpdate.php now checks for existence of the item whose cost is changed!
    - includes/header.inc changed name of shortcut links to customers items suppliers

16/5/06 Harald Ringehahn includes/ConstructSQLForUserDefinedSalesReport.inc not using 'Not Used" rather than _('Not Used')
16/5/06 Harald Ringehahn includes/PDFSalesAnalysis.inc ColNo and colNo should be colno fixed lower casing.
2/5/06 Matthew Sibson EDIProcessOrders.php quotation marks and semi colon. PDFLowGP.php missing bracket on if. Z_DeleteInvoice.php missing = and } sh/be ]. reportwriter/WriteForm.inc was testing for numerical month numbers fixed to text for month strings.
25/4/06 Ditesh Kumar includes/DBConnect_mysql.inc now uses mysql_real_escape_string rather than mysql_escape_string the former takes into account the character set in use.
25/4/06 Suren Nadu includes PDFTransPageHeader.inc - was printing address line 3 twice changed to print line 6 correctly
25/4/06 Steve K ConfirmDispatch_Invoice.php wording of error message had superfluous "the"
25/4/06 Steve K Z_MakeNewCompany has the restriction to 10 character company codes removed and option to create DB is optional with a checkbox now.
25/4/06 SelectSupplier, SelectOrderItems SelectCustomer now have selections ordered by supplier/customer code
25/4/06 Steve K - SalesAnalRepts.php fixed Not Used translations and comparison test to always use the non-translated Not Used and display the Not Used translation
25/4/06 Steve K - SelectItemsInto Cart.in fixed case of $myrow['DiscountCategory']
25/4/06 Steve K - SelectCreditItems.php includes/DefineCartClass.inc CreditInvoice.php SelectOrderItems.php fixes for garbled line numbers
3/4/06 Greg Morehead - CustomerAllocations.php missing $_SESSION['DefaultDateFormat'] for FormatDateForSQL statement.
2/4/06 Steve SalesAnalRepts.php no VALUE in Select OPTION statement
31/3/06 Jesse Peterson - indexed serialno in stockserialmoves and stockserialitems for performance reasons in larger dbs
30/3/06 Harald Ringehahn - includes/GetSalesTransGLCodes.inc error in SQL extra comma removed
29/3/06 Jesse Peterson/Kyle Sasser StockAdjustment.php unset the Adjustment session variable on entry of an incorrect item code to avoid problems as reported by Kyle.
29/3/06 Neil Williams CompanyPreferences.php now reloads session variables after an update.
22/3/06 Harald Ringehahn GLAccounts.php fixed incorrect call to _() function inside prnMsg function call and added TABINDEX to sequence focus on tabs
16/3/06 Ditesh Kumar - reversed order of period selection to show latest periods first.
16/3/06 Marcos Garcia - footer.inc now displays time in the locale of the language selected.
23/2/06 Danie - ReportMaker.php - Fixed small warning log about $DefaultReports not existing when there are no reports
23/2/06 Ditesh - GetSalesTransGLCodes.inc - Patched to check for area='AN', stkcat='ANY', salestype=$salestype
23/2/06 Danie - StockCostUpdate.php - Fixed dodgy update which might corrupt with delayed posting, now check/get the cost on post
23/2/06 Steve - ConfirmDispatch_Invoice.php - Fixed broken url
22/2/06 Danie - Z_DataExport.php - Fixed CSV Export, to adhere closer to CSV protocol, Fixed TaxLevel to TaxCatId
22/2/06 Danie - Stocks.php - Fix Part descriptions so it displays when description contains html entities
22/2/06 Danie - SelectProduct.php - Time and Uppercase the StockCode and StockID fields, makes finding the product easier.
22/2/06 SelectOrderItems.php - added number formating to price display
22/2/06 Danie - PurchData.php Trim Supplier Description as spacing sometimes mess up the reports when it ends with newlines.
22/2/06 Ditesh - GLAccountInquiry.php Modified to show order based on Transaction Date.
22/2/06 Steve Credit_Invoice.php : Wrong Name Descriptor -&gt;LineNo used Chaned to ->LineNumber.
3/2/06 Steve GLAccounts.php missing opening bracket in prnMsg call - removed extra quotes in StockCategories.php Areas.php was checking for 50 character area description but field only 25 in db
1/2/06 Z_Upgrade3.01-3.02.php  now checks to see if its been run already and exits nicely if it has
1/2/06 GLJournal.php SystemParameters.php new config parameter to prohibit entering GL journals directly to control accounts.
1/2/06 Jesse Credit_Invoice.php - nasty bug on return of items used invoice number rather than the order number to update the salesorderdetails
1/2/06 Jesse ConfirmDispatch_Invoice.php and ConfirmDispatch_InvoiceControlled.php corrections for serial items
31/1/06 Greg Morehead Made the wiki links more generic and possible to have other wikis link to webERP.
28/1/06 Joerg Aldinger fixed messages in GLAccounts.php also added DB_escape_string to sql queries
28/1/06 Greg Morehead - PDFOrdersInvoices.php - did not deal with multiple lines of the same item correctly - now adds these order lines together
28/1/06 Muz - ConfirmDispatch_Invoice.php made quantity input field wider to accomodate larger decimal places and quantities.
28/1/06 Muz upgrade_3.01-3.02.sql didn't have a line to insert the new SO_AllowSameItemMultipleTimes variable into the config table
25/1/06 session.inc now DB_escape_string() posted characters into the login text boxes
22/1/06 Clay Mokus CreditItemsControlled.php moved session.inc above call to _()
22/1/06 Finjon Kiang login.php required reference to the character set in the Content Type tag.
22/1/06 Finjon Kiang htmlentities calls in SalesCategories.php now have reference to the character set
22/1/06 Finjon Kiang phpgettext required PathPrefix correction in LagnuageSetup.php
29/12/05 Bug in SalesGLPostings.php could not add or delete records freely - removed checks and added warnings.
20/12/05 Added links to wacko wiki site based on new config options for WackoWiki - the links don't show if integration is disabled and WikiPath from SelectProduct SelectCustomer and SelectSupplier. Requires an install of wacko wiki on the same web-server  http://wackowiki.com/WackoDownload/InEnglish?v=xlv
12/12/05 Dave - new form creator options for use with his report builder - most files in the reportwriter subdirectory changed - new sql to allow 5 tables in the query
12/12/05 New delivery performance report PDFDIFOT.php (Delivery In Full On Time - DIFOT) compares order requested delivery date against the date the invoice is prepared - assumed to be the same as the date of dispatch - the number of days that it is acceptable to dispatch product is entered at run time.
9/12/05 Obscure bug in GetPrice.inc - if special prices set up for a salestype/customer combo but not default price set up for the salestype then the special price is picked up for customers belonging to the sales type even though it is specific to a different customer! - now fixed
9/12/05 Danie - StockLocTransfers.php -now checks for positive stock in the location before allowing a transfer.
6/12/05 Updated the webERP php-gettext to the latest version 1.05
3/12/05 Jo� - WWW_Users.php now options to set theme and language before user logs in. Previously had to be set from the user settings when the user logged in themselves now the sysadmin can change them. Changed locale setting to LC_ALL then changed the LC_NUMERIC back to en_GB.
21/11/05 Dave Premo - report writer tool - allows adding reports on any web erp data and formating thereof provided some knowledge of the tables etc. Export to PDF, CSV - import and export of reports too. New directory for the files reportwriter as well as changes to session.inc, header.inc, config.php, footer.inc
 16/11/05 Tech Nossomy Credit status - tidied up consistency of wording "Disallow invoices". Also used white and black in .css files instead of #FFFFFF and #000000 respectively

Version 3.04
15 November 2005

15/11/05 Fixed bug in adding new chart details in the function includes/DateFunctions.inc - GetPeriod for all chartdetails not already setup - this was not happening for periods created before the current period only for subsequent periods.
13/11/05 Ed - PaymentTerms.php now checks for payment terms less than 360 days following invoice 99 days was considered too restrictive.
11/11/05 PrintCustTrans.php during translation couldnt translate "Tax" not in _('') function.
9/11/05 Increased the length of the bank account to 30 varchar was text already in pg
8/11/05 Briain - SelectCustomer.php SelectSupplier now have buttons to show all - with the paging the user is protected from massive downloads over dialup.
7/11/05 TaxGroups.php changed to prohibit the same tax group name, automatically enter calculation orders to prevent problems with the same ordered tax authorities. Changed messages when updated and inserted tax groups to show the name of the tax group updated/inserted. Fine tuning all suggested by Steve K.
7/11/05 CustomerBranches.php now displays the name of the taxgroup rather than the id!
6/11/05 Briain -  DateFunctions.inc MonthAndYearFromSQLDate fixed for locale using strftime
6/11/05 Briain - fixed CustWhereAlloc - string 'Type' not in _('') function
6/11/05 emdeex - fixed SalesGraph sh/been SalesFolkResult not StockCatsResult and default $_POST['SalesmanCode']
6/11/05 Fixed bug in SuppInvGRNs.php - nominal purchase order items could not be invoiced since the GL code was lost (it wasn't retrieved in the selectable list of outstanding GRNs)
5/11/05 Removed references to css/images/bg.gif in includes/login.php and logout.php
3/11/05 Reported by Ed@unixmania SupplierContacts.php extra ? sh/be an & in the URL string
31/10/05 Translation.txt transferred to a new section in the manual
31/10/05 SalesGraph.php script allows printing various sales graphs by stock category, rep, sales area, item and customer linked from index.php
30/10/05 Steve/Phil Translating document depreciated and a chapter added to the manual to cover translations and the use of the online translation facilities.
29/10/05 Clay pointed out that DB_escape_string() was not used in places it should be in Suppliers.php - now fixed - also checking for apostrophes was not working corrected.
29/10/05 Steve - updates to ManualContents.php, DevelopmentStrucutre, Introduction and Requirements
27/10/05 PO_Items.php removed the references to contracts as per Clay Mokus advice - and fixed error trapping code not to check contracts on 30/10/05
24/10/05 header.inc now sends a header with the charset if headers not already sent - this will work for 90% of scripts that need to know the charset will fail for any output from ConnectDB_XXX scripts.
23/10/05 PDFStarter_ros.inc changed to PDFStarter.php accross the board
23/10/05 included the Olivier Plathey CDI font files for Chinese, Japanese and Korean - with the appropriate fonts installed with the local version of Acrobat Reader these allow pdfs to be created in the Big5 (Chinese), SJIS (Japanese) and UHC (Korean) fonts. Modifications necessary to class.pdf.php to include the appropriate files depending on the locale - eg if the locale is zh_CN - then the Chinese fonts are included and selected.
22/10/05 Ed includes/DefineReceiptClass.php:38:   - ($this-&gt;Items[$RcptID]-&gt;$amount + $this->Items[$RcptID]-&gt;$discount) fixed
19/10/05 Jason Jaques missing     '    (quote) at the beginning of line 206 of the file StockLocTransferReceive.php
17/10/05 Tony G - bug in translations lost on SelectOrderItems.php and SelectCreditItems.php - actually turned out to be in includes/DefineCartClass.inc _() function defined displaced gettext class scripts.
11/10/05 Greg Morehead - fix to ConfirmDispatch_Invoice.php $_SESSION['Items']->$Orig_OrderDate = $myrow['orddate'];
11/10/05 Greg Morehead - removed references to BrAddX which was not defined in the cart class and changed to DelAddX - not sure how this had worked
9/10/05 Hindra Joshua - addJpegFromFile - changes on 1/1/05 fixed the height and should have focused on the width - the logos are now scaled based on the widths by setting the height argument to 0.
9/10/05 Exchange rate on entering receipts was not checking the correct variable for the currencydefault - now corrected

Version 3.03
1 October 2005

1/10/05 Shipments.php script class was not initiated before the session started so lost the session data each time!
1/10/05 Hindra Joshua pointed out bug - freight cost in order entry not carried through to ConfirmDispatch_Invoice.php
1/10/05 Hindra Joshua pointed out bug - Fixed all logo to PDFs by defaulting the last argument to resize images in proportion
1/10/05 Hindra Joshua pointed out bug - Check to ensure that ex rate other than 1 entered for receipts in FX.
1/10/05 Re-wrote tax report to take account of new tax structure
1/10/05 SupplierInvoice.php and SupplierCredit.php - was not posting tax correctly some GL journals created were out of balance.
29/9/05 Afan Ottenheimer/Miguel de Benito Delgado - Added phplot and an example graph for the usage of stock - new script StockUsageGraph.php
25/9/05 Dave Premo - 2 additional addresses to the address fields on the databases from the current braddress1-4 structure to a braddress1-6 structure. This will allow more uniform database entry and expanded fields needed for future upgrades in shipping and reporting.
17/9/05 Hindra Joshua suggestion -  onclick confirm javascript function added to provide a double check on critical deletes and updates accross the system - stocks.php customers.php, custbranches.php, price updates, salestrans delete, selectorderitems.php  cancel order - delete a line, creditiems.php delete line cancel the credit note etc

Version 3.02
4th September 2005

4/9/05 Fixed bugs in ReverseGRN.php quotation marks around narrative in a few spots
4/9/05 Fixed bugs in GoodsReceived.php was not allowing update of quantity in a batch/lot where more of the same lot received. Thanks for pointing this out Lior
3/9/05 Suren Naidu - PDF Profit and Loss Account option
3/9/05 Fixed to COGSGLPostings.php and SalesGLPostings.php
3/9/05 made Customers.php META REFESH into Branches.php after adding a new billing address to ensure that a branch is added
3/9/05 Glen Rice - fixed bugs on Z_DeleteCreditNote.php and GLAccountInquiry.php
1/9/05 Steve - default chart of accounts changed to suit Canada/US
1/9/05 TaxProvinces.php script added - to maintain the dispatch tax provinces
30/8/05 TaxCategories.php script added - to maintain the item levels at which taxes are charged
22/8/05 Suren Naidu - PDF Trial balance modifications to GLTrialBalance.php and new script includes/PDFGLTrialBalancePageHeader.inc
22/8/05 Clay Mockus  - SelectOrderItems.php bug in the stock code search showing the % in the stock code field after a search fixed.
17/8/05 Colin bug fixes - Stocks.php - double check for existence before adding a new one, includes/Add_SerialItems.php bogus echo $sql GoodsReceivedControlled.php SuppTransGLAnal.php removed link to Contracts - not coded yet!
14/8/05 Suren Naidu option to print balance sheet as a pdf
14/8/05 Ricardo Pedroso - tidy up company login - remove session variable for incorrect company login
9/8/05 SystemParameters.php - now able to set part pics directory and reports directories correctly - bug in rc1
8/8/05 Suren Naidu - ConfirmDispatch_Invoice.php - assembly items with multiples of a single component were not extended by the quantity in calcualting the standard cost of the assembly - fixed
1/4/05-6/8/05 Tax changes to allow multiple taxes per line and compounding taxes on previous taxes - this now allows Canadian and some European taxes to be accomodated. Implemented for invoices, credit notes in AR and AP. New tax groups - allocated to suppliers and customer branches for the basis for the taxes that will apply to invoices in conjunction with the location where the goods/services are provided from - the dispatch tax province - on the stock location record. Tax calculations show on the transaction entry screen but only the totals show on invoices. All the transaction entry work is done - reporting still to be done. Largely as per specs worked on by Danie and Steve
6/8/05 Suren Naidu - Payments.php sql quotation marks error in narrative fixed
23/7/05 Tom Fox - PO_Header.php was printing existing purchase orders as at todays date rather than the date at which it was initiated - fixed
15/7/05 Z_PriceChanges.php lowercased to work with new db
13/7/05 SupplierBalsAtPeriodEnd.php was not taking into account FX diffs that had been realised after the year end. Same for DebtorBalsAtPeriodEnd.php
13/7/05 RecurringOrders templates set to recurr quarterly were only recurring 3 times per annum - now fixed
10/7/05 Added Z_MakeNewCompany.php and modified the rest of the system to allow alternative company login - includes/login.php defaulting to $DefaultCompany in config.php. Also now reading part_pics from a new directory companies/{Company Abbreviation}/part_pics reports and EDI files also kept under the company directory. The new Z_MakeNewCompany.php creates a new database from the sql/mysql/weberp-new.sql or sql/pg/weberp-new.psql depending on which $dbType is set in config.php. The idea for this was prompted by the work done by EDO and ITWorx on behalf of EDO - that was contributed by EDO.
7/7/05 Scott Rosa bug in includes/PDFSalesAnalysis.inc - $columnno should be $ColumnNo
3/7/05 Chris Bice modified StockStatus.php to show bin locations of items for managed locations. Also added BinStockStatus.php
30/6/05 Chris Bice/Jake Stride Locations.php now has flag for warehouse management
30/6/05 Jake Stride postgres upgrade script for 3.01 - 3.02 and Z_Upgrade_3.01-3.02.php to renumber salesorderdetail lines as required
30/6/05 SupplierInvoice.php SupplierCredit.php now allow for entry of multiple taxes
30/6/05 GLAccountInquiry.php checks for entry of period range now
30/6/05 Murray PO_PDFOrderPageHeader.inc changed "THIS IN NOT AN ORDER" to "THIS IS NOT AN ORDER"
30/6/05 SupplierAllocations.php Exch Diff was not in quotes in sql statement - fixed.

Version 3.01 - Bug Fix release
23rd April 2005

5/6/05 Gunnar Rikardsson PO_Header.php Line 218: gettext function missing for 'Reset' Line 363: gettext function missing for 'Deliver to'
5/6/05 Gunnar Rikardsson PO_Items.php Line 777: gettext function missing for 'Leave blank if NOT a stock order' Line 809: gettext function for 'Enter Line' Line 359: If(isset($_POST['UpdateLine']) AND $_POST['UpdateLine']=='Update Line'){ changed to If(isset($_POST['UpdateLine'])){ Line 329: If($_POST['Delete']=='Delete'){ replaced with If($_POST['Delete']){
5/6/05 Gunnar Rikardsson Prices_Customer.php Line 192: gettext function missing for 'All Branches'
5/6/05 Gunnar Rikardsson SalesGLPostings.php Line 167: gettext function missing for 'Discount Account'
5/6/05 Gunnar Rikardsson Stocks.php Line 293: Changed success message to standard formatting with prnMsg function for
consistent "look and feel"
5/6/05 Gunnar Rikardsson PurchData.php Line 206: gettext function missing for 'Yes' Line 209: gettext function missing for 'No'
5/6/05 Gunnar Rikardsson StockCheck.php Line 333: gettext function missing for 'Show system quantity on sheets' Line 342: gettext function missing for 'Only print items with non zero quantities'
5/6/05 Gunnar Rikardsson includes/PO_PDFOrderPageHeader.inc Line 114: misspelling: Initator -> Initiator
5/6/05 WorkCentres.php error in sql accountGroup sb/been accountgroup
4/6/05 ConfirmDispatch_Invoice.php includes/DefineCartClass.php - mods to allow mulitple taxes
8/5/05 Shipments.php DefineShipmentClass.php moved below session.inc - fixed bug could not initiate new shipments
8/5/05 SystemParameters.php - Bug Year end December was not working correctly fixed
8/5/05 Gunnar Rikardsson - gettextification bug fixes for Stocks.php StockTransfers.php BankMatching.php StockCounts.php SalesPeople.php PaymentMethods.php GLAccounts.php GLProfit_Loss.php
7/5/05 Braian Gomez - php-gettext included to enable gettext translations using only php no reliance on gettext and locales for translations
3/5/05 Scott Rosa - bug in includes/ContructSQLForUserDefinedSalesAnalysis.inc - custbranch join should be on both debtorno and branch code
1/5/05 Braian Gomez - bug fixes www_users.php passwords using the crypt function and defaults the language and DisplayRecordsMax. DB error messages now attempt to put a page header - DB_connect_mysql.inc and DB_connect_psql.inc
1/5/05 Gunnar Rikardsson gettextification SystemParameters.php
1/5/05 WWW_Users.php DisplayMaxRecords was not using the config variable DefaultDisplayRecordsMax to default the number of records on a display .. the db was set to default to 0 - search functions failing. Now fixed.

30/4/05 re-released 3.00 with corrected DB
29/4/05 db had language field in www_users char(2) sh/be char(5)

Version 3.0
23rd April 2005

13/4/05 David Hawke - fixed pdf printing bug error in addTextWrap - leading spaces not handled
11/4/05 Fix credit check code of 7/4/05 - buggy and fixed again 14/4/05 Tan Hock Chye noted bug where no transactions
9/4/05 Danie: Areas.php - Fix handling of empty fields and make opperation compatible with rest of system.
9/4/05 Danie: Shippers.php - Fix handling of empty fields and make opperation compatible with rest of system.
9/4/05 Danie: StockCategories.php - Fix handling of empty fields and make opperation compatible with rest of system.
9/4/05 Danie: DiscountCategories - Fix automatic use of 0 value should be empty string.
9/4/05 Danie: FreightCosts.php - Fix default values, change "do while" to "while" loop so an empty record is not displayed, also conformity.
9/4/05 Danie: Locations.php - Fix conformity and Error generated after error report.
9/4/05 Danie: SalesTypes.php - Fix conformity and Error generated after error report.
9/4/05 Danie: BankAccounts.php - Fix conformity and Error generated after error report.
9/4/05 Danie: CompanyPreferences - Add account code to display of account names
7/4/05 Added a check to SelectOrderItems_IntoCart.inc and to SelectOrderItems.php to check credit limits - new parameter in SystemParameters and the config table to set the level of credit limit checking to not checked, warn only or prohibit sales. Calculation of credit available in SQL_CommonFunctions.inc
7/4/05 Changed fpdf.php output method/function to send a string by default - this preserves the way the ros code was written - and was causing issues with the headers/filenames
31/3/05 Scott Rosa - Blind packing notes - system parameter to default all customer branches to blind - ie not to show the company and logo of the webERP company dispatching the product - useful for where the webERP system is dispatching to customers' of customers. Changes to SelectOrderItems.php DefineCartClass.php and DeliveryDetails.php to allow the default to be overridden and CustomerBranches.php to allow entry of the setting.
31/3/05 Defaulted new users to see all modules on screen - WWW_Users.php
31/3/05 Made new system parameter to set the PackNoteFormat - this ensures that the link to print the packing slip uses the correct script - the pre-printed stationery template script or the laser packing slip script.
27/3/05 Added a new configuration variable DB_Maintenance and DB_Maintenance_LastRun. This variable is checked in session.inc to see if it is set to maintain the DB using a new function in the DB specific include DB_Connect_XXXXX.inc (where XXXX is the $dbtype) - there is a new function in these files called DB_Maintenance($Conn) that runs the routines necessary to keep the DB on top form. pg needs regular vacuums to run optimally. Changes also in SystemParameters.php to allow the variable to be set.
26/3/05 Bug fix Lyndsay Roger - StockAdjustments.php could not enter quantity and part code for a stock adjustment without being asked to enter the quantity again ... fixed
25/3/05 Added a new config HTTPS_Only variable that requires a https connection in session.inc before allowing the page as suggested by Jesse Peterson
25/3/05 Z_DeleteSalesTrans.php fixed lower caseing of sql and trucate statements not liked by pg
25/3/05 Recurring sales orders new scripts for SelectRecurringSalesOrder.php RecurringSalesOrder.php and RecurringSalesOrdersProcess.php for selection, modification and processing of recurring sales orders.
11/03/05 Scott Rosa - Auto DebtorNo - Added a variable to config table and modified Customers.php to control the assignment
of the DebtorNo to be either manually assigned by the user (the current weberp default)
or automatically assigned by the system.  The only automatic numbering scheme available
right now is sequential, numeric with the value being pulled from the systypes table type 500
11/3/05 Changed SystemParameters.php to enable the new AutoDebtorNo to be set in the DB - changed validation to allow debtorno to be set automatically.
5/3/05 Danie - changes to Stock.php to use the image manipulation features and changed Z_GetStockImage.php to GetStockImage.php
5/3/05 Danie - Added SalesCategories.php also table salescat and salescatprod for POS/Shopping integration
26/2/05 Jesse - changed ALT references to TITLE - TITLE needs to be used for the pop up text to appear as per html spec. ALT just for when images turned off.
26/2/05 Addedd Janusz Dobrowlski/ David Lao wrapper includes/class.pdf.php for R&OS pdf class to use FPDF class by Olivier PLATHEY in place of R&OS pdf.php class which is not good at alternative fonts/character sets.
23/2/05 Links to Danie's new scripts in Z_index.php
23/2/05 Danie - Z_DataExport.php allows export of various data as csv files
23/2/05 Danie - session.inc, config.php, WWW_Users.php, UserSettings.php passwords now have a choice of md5, sha1 or plain text depending on setting in config.php - default is sha1
23/2/05 Danie - Z_GetStockImage.php image manipluation script
21/2/05 New script to print quotations PDFQuotation.php includes/PDFQuotationPageHeader.inc
20/2/05 Modification to DeliveryDetails.php to allow flagging of sales orders as quotations. Also modification to select outstanding orders to allow viewing of quotations
18/2/05 Bug fixes - on BankMatching.php, GLAccountInquiry.php integrity checking against wrong chartdetail record, lower casing errors in some Z scripts - Dick Stins, StockCostUpdate.php - OverheadCost added twice
17/2/05 maximum execution time now as a config.php parameter defaults to 2 mins - 120 seconds
9/2/05 Customer login SelectCompletedOrder.php now shows just the orders for the customer without resort to a new script
9/2/05 Scott Rosa - Discount Category logic was not applied on quick entry - bug corrected
4/2/05 DB_escape_string function added to ConnectDB_xxx.inc database specific scripts and also modifications to Stocks.php Customers.php Currencies.php DeliveryDetails.php CustomerBranches.php to use this function on insert and updates as necessary.
4/2/05 db now stores sha1 hash of the password in the database rather than the password itself
29/1/05 Negative stocks report
25/1/05 Danie new config SystemParamters.php form for entry of config paramters - 99% of all config now in this form. Full description of the purpose of each parameter shown on the form
24/1/05 Janusz Dobrowolski <janusz@iron.from.pl> fixed CompanyPreferences.php had exchange diff account field twice!
24/1/05 "Ori Solomon" <ori@yzcompany.com> - Upload of part pictures code in Stocks.php
23/1/05 Danie units of measure now a table and array created from table new script for maintenance
23/1/05 Danie payment and receipt types arrays moved to a table from config.php new include for payments and receipts
22/1/05 Update manual to reflect new security definitions interface changes no longer use config.php
20/1/05 StockCheck sheets now have option not to show system counts for counting blind ie so bogus count data can not be made up by counters!!
20/1/05 Steve modifications to Z_poAdmin.php and other language translation utility scripts of Kitch's to use the user's language that they currently have set
20/1/05 Danie - Moved Security setup to the db from config.php new tables for securityroles securitygroups securitytokens in db. New script WWW_Access to define roles and permissions.
11/1/05 Steve - check of sql changes quite a number of bug fixes resulting from change to lower case.
4/1/05 changing all SQL that used IF to CASE to enable more universal database compatibility
3/1/05 changing all LastInsertID to add the necessary parameters to enable PG compatibility
2/1/05 changing all INTERVAL to use the DB specific function and new DB_Connect_postgres (Danie) and DB_Connect_mysql
19/1/05 Danie - Moved Account Sections to the db from config.php new table in db
26-30/12/04 Khattak/Phil lower case all sql and array elements of returns from DB_fetch_array to enable compatibility with postgres

Version 2.9b
23rd December 2004

23/12/04 Steve - new LanguageSetup.php using 5 character language_country codes wrinkles in multi-language fixed - testing with Polish from Janusz Dobrowolski the first language to be translated into. Lots of bug fixes
22/11/04-20/12/04 - Large changes throughout to ensure consistent use of prnMsg function of Jesse and to use the DB_query function with ErrMsg and DbgMsg parameters and to ensure all strings are enclosed in the gettext function
18/12/04 AgedDebtors.php uses CASE instead of IF to ensure ANSI SQL used.
18/12/04 modified Z_poEditLangModule.php  to check for new strings each time and to write a fresh .mo file after completing and edit
15/11/04 Kitch - new scripts to enable administration of language files and directories
22/11/04 GoodsReceived.php bug on receiving nominal items - value of CurrentStandardCost not set for nominal items - now fixed
8-22/11/04 Large amounts of gettext work too much to record here - most scripts re-worked some
8/11/04 Vitaliy - entering purchase orders now allows selection of all GRNs on a Purchase order in one hit or selected lines using checkboxes - much neater selection of all lines to be invoiced in one go. Gettextified this script - SuppInvGRNs.php
8/11/04 Steve - SelectCustomer.php gettextified
6/11/04 SelectOrderItems.php bug in customer login order entry
4/11/04 PO_PDFPurchOrder.php now prints the suppliers description for the item on the PO.
4/11/04 bug fixes Bob CustomerReceipt.php price_customer.php
31/10/04 SelectCreditItems.php Steve gettextified - index.php html fixes Steve
31/10/04 UserSettings.php fixed title =_(...) after include session.inc
31/10/04 footer.inc Jesse - new web site reference and link, also fix copy; Steve
31/10/04 PurchData.php fix hyphens  in strings not minus  signs - Bob
31/10/04 PrintCustOrder.php PrintCustOrder_generic.php PrintCustStatements.php PO_OrderDetails.php PO_PDFPurchOrder.php and associated includes/XXXXPageHeader.inc files gettextified Jesse

Version 2.9a - Mk II

30/10/04 PageSize errors caused with register globals off. Used new variable PaperSize - Vitaliy
30/10/04 fixed AgedDebtors.php and CustTransInquiry.php
30/10/04 added correct icons to css directories - Steve/Chris

Version 2.9a - Mk I

24/10/04 Focus on SelectCustomer, SelectOrderItems, SelectProduct, SelectSupplier all default to the code entry. Previosuly required a click in the field now already in the field
24/10/04 gettextified SalesAnalysis_UserDefined.php, SelectSalesOrder.php, SelectSupplier.php, TaxAuthorityRates.php, WWW_Users.php, WhereUsedInquiry.php, Z_ChangeBranchCode.php, Z_UploadForm.php, Z_UploadResult.php
22/10/04 session.inc / login.php - Chris bad password now goes straight to another try. Also, bad permission for a script code improved Chris
22/10/04 bg.gif - Steve's much reduced graphic - great performance increase on login. Biggest graphic in system was the first login page ?!
17/10/04 Gettextified PDFBankingSummary.php, PDFChequeListing.php, SalesGLPostings.php, SalesPeople.php, SalesTypes.php
17/10/04 Gettextified PurchData.php, ReverseGRN.php - Steve
14/10/04 Gettextified Prices.php,Prices_Customer.php - Steve
14/10/04 Gettextified PDFCustomerList.php PDFPriceList.php, PDFStockCheckComparison.php, PDFStockLocTransfer.php  Jesse
14/10/04 Bug fixes GLTransInquiry.php Steve - $rootpath in single quotes, $title above include session.inc
14/10/04 Bug fixes DateFunctions.inc, SQL_CommonFunctions.inc Jesse - proper use of DB_query, prnMsg
12/10/04 StockTransfer.php serialised now works, gettextified: GLTrialBalance - Jake, GLAccountInquiry - Jake, Payments - Steve, PaymentTerms Steve PO_SelectOSPurchOrder.php Steve PeriodsInquiry.php Steve PO_SelectPurchOrder Steve
29/9/04 StockCostUpdate.php gettextified - fixed bug that would not allow update with zero stock on hand
29/9/04 New reports OrderStatus.php and OrderStatusPageHeader.inc allow reporting on orders, back orders by location and stock category for a specified date range.
29/9/04 SelectOrderItems_IntoCart.php now traps for obsolete items and a check to see if prohibit sales of items where the cost is zero if the new config.php variable $AllowSalesOfZeroCostItems is set to false.
23/9/04 gettextification - FTP_RadioBeacon.php, EmailCustTrans.php, FreightCosts.php
22/9/04 gettextification - EDIMessageFormat.php EDIProcessOrders.php EDISendInvoices.php BOMInquiry.php BOMListing.php
22/9/04 Steve - gettextification - InventoryValuation.php Locations.php Logout.php MailInventoryValuation.php MailSalesReport.php
21/9/04 Jake - gettextification - GLJournal.php GLProfit_Loss.php GLBalanceSheet.php GLCodesInquiry.php GLTransInquiry.php
19/9/04 ConfirmDispatch_Invoice.php now checks to ensure there is a quantity to be invoiced on at least one line
19/9/04 Stocks.php gettextified - DB_query changes also check no stock on hand before alteration to controlled and not dummy/assembly/kitset
19/9/04 Jesse - ConfirmDispatch_Invoice.php ConfirmDispatchControlled_Invoice.php CreditItemsControlled.php GoodReceivedControlled.php ConnectDB.inc DefineSerialItems.php InputSerialItemsFile.php - more extensive modifications too  InputSerialItemsKeyed.php, InputSerialItems.php StockAdjustmentsControlled.php StockAdjustments.php StockTransfers.php StockTransfersControlled.php all above gettextified and rationalisation of code in InputSerialItems.php includes
19/9/04 TaxAuthorities.php gettextification - TaxID in taxauthorities table made auto increment
12/9/04 SuppliersAtPeriodEnd.php gettextified
12/9/04 Hani - DebtorsAtPeriodEnd.php gettextified
12/9/04 Credit_Invoice.php gettextified - fixed bug where TaxRate was not recorded on StockMoves correctly
19/9/04 Tax.php and PDFTaxPageHeader.inc reporting GST/VAT
12/9/04 GLPostings.inc was not adding new chart details when an account had been added - fixed
10/9/04 Steve - BOM.php,  BankMatching.php, BankReconciliation.php gettextified
8/9/04 Areas.php gettextified
6/9/04 Victor - CustomerReceipt.php CustomerTransInquiry.php gettextified
5/9/04 Jesse - GoodsReceived.php GoodsReceivedControlled.php InputSerialItems.php InputSerialItemsKeyed.php InputSerialItemsFile.php gettextified and some polish
5/9/04 AgedDebtors.php/PDFAgedDebtorsPageHeader.inc AgedSuppliers.php PDFAgedSuppliersPageHeader.inc all gettextified
1/9/04 AccountGroups.php getextified, Customers.php gettextified (Victor)
1/9/04 footer.inc now has date/time displayed before copyright notice.
1/9/04 PrintCustTrans.php now prints the Payment Terms on invoices and credit notes as contributed by Steve Ball
1/9/04 New script by Chris Bice StockQuantityByDate.php that shows the quantity on hand at any historical date selected for all items in a selected stock category
30/8/04 Fixed SalesPeople.php, CreditStatus.php Salestypes.php display issues on editing.
30/8/04 PO_Header.php fixed sequence of order deletion details then order header to allow for foreign key constraints. Thanks Victor! Also setup strings for multi-language and using DB_query error reporting.
28/8/04 PDFDeliveryDifferences.php had a few bugs in the sql fixed
28/8/04 Steve - PDFChequeListing.php PrintCustTrans.php PDFStockCheckComparison.php SuppPaymentRun.php all had display errors fixed.
28/8/04 PO_PDFPurchOrder.php purchase order printing corrected.
28/8/04 Steve - new script UserSettings.php linked from the user name on header.inc to allow setting of the theme, language and max number of records to display. Changes to session.inc to accomodate changing theme and language.
28/8/04 Theme, Language and DisplayRecordsMax are now fields in WWW_Users
28/8/04 Steve - Minor changes to theme default.css files
28/8/04 Steve - SelectCustomer.php SelectProduct.php SelectSupplier.php all modified to allow paging where a large result set is returned
25/8/04 SelectCreditItems.php now allows text line entries with each line of the credit note
23/8/04 SelectOrderItems.php SelectCreditItems.php strrpos works differently in PHP 5 changed to use mb_strpos
14/8/04 Changed ConfirmDispatch_Invoice.php to allow entry of consignment reference also changed PrintCustTrans.php and PDFPrintCustTransPageHeader.inc to print out the narrative on sales order lines and the consignment number
14/8/04 Changed SelectOrderItems.php to allow entry of narrative and update narrative entries also show warning when quick entries not processed.
14/8/04 Changed DefineCartClass.inc to have a Narrative variable in LineItems and a Consignment variable in the header
14/8/04 Added Narrative field to SalesOrderDetails and StockMoves for adding a narrative about each line on an invoice
14/8/04 Added Consignment field to DebtorTrans for adding a Consigment Note (UPS or other freight company) reference against each delivery/invoice
14/8/04 Help system now has disabled editing for HelpType A or S where the user does not have system set up access
13/8/04 Bug in ConfirmOrderInvoice.php used $SESSION['CustomerID'] should be using $_SESSION['Items']->DebtorNo to avoid situations where another instance of the browser looks up a customer and changes $_SESSION['CustomerID'] half way through invoicing.
10/8/04 Fixed bugs in PDFCustomerList.php, Help.php (couldn't edit a help record!), index.php left a html comment without an opening bracket.
9/8/04 Extreme make-over MkII! - Included Steve Kaill's index.php and css/default.css. These changes make the menus columnar and has a cleaner look to the main menu. Also, includes/header.inc now with company name, user name and database and shortcut keys to quick menu options.
8/8/04 New Customer listing report PDFCustomerList.php with options to print for selected areas and sales folks, also customers below or above a certain level of activity since a specified date.
1/8/04 New scripts for reconciliation of GL for debtor and creditor balances as at the end of a prior period. DebtorsAtPeriodEnd.php includes/PDFDebtorBalsPageHeader.inc SupplierBalsAtPeriodEnd.php includes/PDFSupplierBalsPageHeader.inc


Version 2.9
17th July 2004

Upgrade script 2.8 - 2.9 is necessary to be applied against a 2.8 database - unfortunately I was over zealous with the foreign keys and made up one for StockID in ShipmentCharges - this needs to be dropped but the name of this key is generated by Innodb so I cannot create a script to ditch it!! You will need to remove this yourself - otherwise you will not be able to create shipment charges. Using the new db scripts will of course generate dbs without this foreign key.

15/7/04 Polishing Credit_Invoice.php SelectCreditItems.php using new DB_query function for error messages and checking all working with controlled items.
11/7/04 Jesse serial items input from file added - fixed inconsistencies with other scripts.
7/7/04  header.inc now has a link to a Help.php page Help.php added and new tables Help and Scripts. Help contains the context sensitive help referenced to the script - which is where the scripts table comes in. It contains all the scripts in the system with an overview of what the script does. The new Help script retrieves records from the Help table relevant to the PageID, the PageID is determined from the filename looked up against the Scripts table. Users can add new help and edit or delete help. A little shy on data for the help table!!
19/6/04 GLBalanceSheet.php displays a html balance sheet for any period end.
17/6/04 AccountGroups now uses an array for Section in accounts defined in config.php $Sections array. This array also used in GLProfit_Loss.php
17/6/04 GLProfit_Loss.php added - index.php modified to add a link to this script
8/6/04 DefineCartClass.inc updates to DB new parameters for delete, remove, add to cart class - changes to SelectIntoCartClass and other scripts to pass appropriate variables rather than rely on SESSION['ExistingOrder']. Also DecimalPlaces field added to order data in add_to_cart.
8/6/04 Updates to SelectOrderItems.php now uses new DB_query error message/debug message parameters
8/6/04 SelectCreditItems.php now uses Quantity not QtyDispatched - bug corrected.
5/6/04 New script StockSerialItems.php shows the stock status of serial or controlled items - the total shown should tie up with the StockStatus total quantities on hand.
29/5/04 New script StockTransfersControlled.php allows input of serial items for stock transfers.
29/5/04 New script StockAdjustmentsControlled.php allows input of serial items for stock adjustments.
29/5/04 StockStatus.php, StockMovements.php StockLocMovements.php, StockUsage.php now all use the new decimalplaces field of the stock master to display quantities.
25/5/04 BOMs.php modified to use Jesse DB_query function with error messages and Debug messages
25/5/04 Stocks.php now checks and stops the mbflag change to assembly or kitset when the item is a component in a bill.
25/5/04 ConfirmDispatch_Invoice.php updates and inserts for serialised/controlled items.
24/5/04 ConfirmDispatch_Invoice.php ConfirmDispatchControlled_Invoice.php DefineSerialItems.php mods for controlled batch numbers and serial number input.
21/5/04 GoodsReceived.php and GoodsReceivedControlled.php now allows for receiving controlled and controlled/serialised items.
17/5/04 StockMoves remove field BundleID
17/5/04 StockCheck.php now only prints stock sheets for items committed to the stockcheckfreeze table. Behaviour of this script was counter intuitive. Deletion of existing entries deleted all locations stock of the same range of categories - now corrected.
17/5/04 Added DecimalPlaces tinyint default 0 to StockMaster - this determines the number of decimal places to show for the stock item in all places where the item is displayed. Yet to update displaing throughout the system.
12/5/04  DeliveryDetails.php SelectOrderItems.php DefineCartClass.php - deleting lines off an existing order was not working correctly. It was possible to delete completed order lines off an order in changing an outstanding order line. Bad bug corrected.
5/5/04   Added new tables for Serialised stuff StockSerialItems StockSerialMoves. Alterations to StockMaster for Serialised and DecimalPlaces - for displaying items with different decimal places
5/5/04  Added includes/MiscFunctions.php for Jesse. Stocks.php script modified for Serialised and DecimalPlaces
29/4/04 StockLocTransferReceive.php to receive quantities set up to transfer from StockLocTransfer.php. Deletes the temporary table data holding the transfered items on creation of the stock movements necessary.
28/4/04 RePostGL scripts added updating of ChartDetails.BFwdBudget field.
28/4/04 SelectProduct.php added link to the part picture as suggested by Alan Beard.
25/4/04 StockLocTransfer.php - contributed by Chris Bice, creates a transfer from one location to another without creating the transaction but records the transfer in a pending transfers file. Also PDFStockTransfer.php and includes/PDFStockLocTransferPageHeader.inc creates the transfer paperwork. new table LocTransfers also required - in upgrade script.
25/4/04 GLAccountInquiry.php modifications as contributed by Dirk Eversmann incorporated - now allows multiple periods to be selected and shows the transactions for the whole range of periods between the highest and lowest. Also the movement for each period. B/fwd balances and c/fwd balances only shown where the account is a balance sheet account. GL account is now selectable from a list rather than selecting as per customer or supplier - unlikely to be the same volume of GL accounts hence overhead of downloading all GL accounts over dial up (for the list) is deemed an acceptable compromise.
22/4/04 PO_SelectOSPurchOrder.php made the location default properly to the users default location.
22/4/04 Links for CurrencySuppliersBalances.php and CurrencyDebtorsBalances.php re-instated on Z_index.php - these scripts are for reconciling the creditors and debtors control accounts.
22/4/04 bug fix in GoodsReceived.php - cost differences where std cost changed was not working correctly all cost was going to price variance rather than stock!! Serious bug.... now rectified.
18/4/04 index.php now uses extra column where many options under one heading
18/4/04 New scripts StockLocStatus.php - inquiry script that shows all stock items status in the selected category. StockLocMovements.php - inquiry script that shows all movements in the selected location and date range - default only one month - this script can return a lot of data and is a mistake to run over dial up on a business with many stock movemnts. Thanks to Chris Bice for these scripts. Also added links from index.php -
2/4/04 config.php now over-rides php.ini to ensure tht NOTICES turned off.
30/3/04 Z_ChangeStockCode, Z_ChangeDebtorCode, Z_ChangeBranchCode all required mods to work correctly with Foreign key checks in place.
30/3/04 Stocks.php now prohibits stock codes containing a point .
30/3/04 SelectOrderItems search products now defaults to stock category 'All'
27/3/04 GoodsReceived.php now takes account of changed standard cost at between bookings in of stock - unbalanced GL journals corrected. (this was wrong - fixed 22/4/04)
16/3/04 Various scripts changed variables that are not initiated first to avoid NOTICES where NOTICES are enabled in php.ini - still a long way to go here
16/3/04 All scripts now have a comment for CVS version number - Dick Stins suggestion
16/3/04 Fixed bug on new system where sales and COGS GL posting tables not set up - auto create a default GL account - foreign key could give problem if account groups modified so now auto creates a sales account group first - thanks Dick Stins
14/3/04 Added new tables for EDI_ORDERS_Segs and EDI_ORDERS_SegGroups that hold the defined segments for the EANCOM EDI ORDERS message and the segment groups info.
14/3/04 AccountGroups.php modified to disallow & or ' - also fixed class='tableheader' as per css.
14/3/04 GLAccounts.php modified to check for related records in BankAccounts and TaxAuthorities to avoid data integrity issues. Foriegn  Keys added as necessary - in the upgrade2.8-2.9.sql script


Version 2.8
26 February 2004


26/2/04 TaxAuthorityRates.php script for modifying tax rates for defined tax authorities/tax levels
24/2/04 fixes to sales analysis reports with only one level of grouping - also error in ReportColumns storeage of datatype Select corrected.
22/2/04 EDIMessageFormat script to set up invoice format only so far
21/2/04 Foreign key defintions accross the board for all relations in all tables as necessary added to upgrade script 2.7-2.8
16/2/04 Referential integrity checks in Locations.php for changes in TaxAuthority to ensure existance of necessary records in TaxAuthLevels
16/2/04 Referential integrity checks in Stocks.php for changes in TaxLevel to ensure exist in TaxAuthLevels
16/2/04 Referential integrity checks in TaxAuthorities for deletions or additions of tax authorities to ensure that records exist (or are deleted) when Tax Authorities are added or deleted.
16/2/04 Customers now default the currency of new customer.
16/2/04 Suppliers now default the currency and clears input from last insertion on each addition.
15/2/04 Location maintenance form modified to allow specification of the dispatch TaxAuthority.
15/2/04 Tax Authorities maintenance form modified no tax rate any more.
15/2/04 CustomerInquiry icons reduced in size.
12/2/04 Upgrade sql file create 2.7 - 2.8 to add new tables and modify existing ones as necessary.
12/2/04 SupplierInvoice.php and SupplierCredit.php modified to use the new tax configuration - gets tax rate from DefaultTaxLevel in config.php and TaxAuthority in Suppliers table.
12/2/04 EmailCustTrans.php that runs PrintCustTrans.php with appropriate get paramters to send the transation off to the customer branch email address - or the user can over-ride with another email address.
11/2/04 Email invoices or credits link set up from CustomerInquiry.php
11/2/04 Credit_Invoice.php get tax rate per the new tax structure record tax rate against each line of the credit note
11/2/04 New variable in config.php DefaultTaxLevel used in AP and for freight tax calcs by default
10/2/04 modified Z_changeStockCode.php to not use a transaction - some of the tables were not transactional tables anyway. Also Z_ChangeCustomerCode.php same treatment.
10/2/04 new script Z_ChangeBranchCode.php changes the branch code for a selected customer and customer branch code - all occurrences in SalesAnalysis pricing, debtorTrans, CustBranch, SalesOrders etc changed
9/2/04 Modifications to SelectCreditItems.php to get tax rate per the new tax structure record tax rate against each line of the credit note
8/2/04 New function in SQL_CommonFunctions.inc to get the tax rate from the Level and TaxAuthority
8/2/04 Modification to ConfirmDispatch_Invoice.php to get tax rate and be user modifiable by line of the invoice
7/2/04 TaxLevel field added to Stocks.php master maintenance form.
7/2/04 EDISendInvoices.php script added to create EDI INVOIC messages for all customers with EDIInvoice set to 1 and DEbtorTrans EDISent field=0. Creates and sends EDI message in the method set up against the customer EDI set up. Linked in Z_index.php only - script should be run from Cron really - but debugging output for testing if run in browser.
6/2/04 EDI configuration variables applicable company wide in config.php
6/2/04 DateFunctions.inc new function SQLDateToEDI - takes an SQL date and converts it to EANCOM 102 format date
6/2/04 SelectCustomer.php new link to CustEDISetup.php
6/2/04 New field in StockMaster TaxLevel (TinyInt) this field indicates the level of tax applicable to the item. The rate of tax is determined by reference to the TaxAuthLevels table which is a matrix of TaxAuthorities and Levels of tax applicable.
6/2/04 new table TaxAuthLevels this is to enable tax rate depending on product
6/2/04 new field in StockMoves TaxRate float this records the rate used in the transaction
6/2/04 CustEDISetup.php new script to maintain the EDI parameters of the customer - the new fields in DebtorsMaster table.
6/2/04 PrintCustTrans.php now has option to print or not EDI Invoices - defaults to no print
6/2/04 new field in DebtorTrans for EDISent TinyInt - indexed. Required to figure out if the transmission of EDI invoices or credits are duplicates or originals.
1/2/04 new table for EDIMessageFormat for outgoing message definition by partner outgoing message is either INVOIC DebtorNo is expected or ORDERS - SupplierID is expected
1/2/04 new table for EDIItemMapping for the cross reference table of part codes of suppliers or customers for EDI translations for orders or invoices.
1/2/04 new field in CustBranch for CustBranchCode - the customers internal code for the branch - required for edi mapping purposes. Modified CustomerBranches.php to allow the field to be maintained.
1/2/04 New field in www_users for blocked tinyint this field is set to 1 when there have been too many login attempts. Modifications to session.inc to fail login if the account is blocked and to update the database when login attempt are exceeded. - Dick Stins suggestion.
28/1/04 DiscountCode in DebtorsMaster left off by mistake in last release - fixed.
28/1/04 Subject and from of email purchase order was incorrect.
28/1/04 Could not modify currencies - fixed
28/1/04 using zip format archive (compression is not as good) for 2.7 and on to increase compatability.

Version 2.7
14 January 2004

12/1/04 New scripts for PDFDeliveryDifferences.php and includes/DeliveryDiffercesPageHeader.inc to report order lines which werent delivered with the first drop of an order for whatever reason - a performance management measure.
11/1/04 DiscountCategories script to allow updates to stock master and see other items in the discount category.
11/1/04 Shipments written up in the manual. Discount Matrix written up in the manual.
11/1/04 SelectOrderItems.php modified for discount matrix lookups - DefineCartClass.inc now holds DiscountCategory for each line item on the order
11/1/04 DB changes modifications to DiscountMatrix table - new field StockMaster DiscountCategory increase length of barcode to 50 characters.
11/1/04 SelectSupplier options now tablularised as per SelectProduct.php
11/1/04 Shipt_Select.php new script to select shipment called alone or from SelectSupplier.php links to Shipments.php - to modify shipment, ShipmentCosting.php to view the costing and close to close the shipment record variances and do the GL journals.
9/1/04 SelectCredititems.php correction to sql on goods written off assembly item stock movement going out had an extra comman by mistake.
9/1/04 PrintCustStatement.php bug fix for page numbering.
8/1/04 New ShipmentCosting.php script when passed a SelectedShipment shows the current costing for the items on the shipment - also shows old closed costings.
8/1/04 ShipmentCharges table now has a field for StockID to store charges specific to a particular line item of a shipment. General shipment charges leave this field blank.
6/1/04 ShiptCharges.php now allows entry against shipments that are not from the same supplier eg frieght charges from a freight company can be entered against a differnt supplier's shipment as it should be!
6/1/04 Shipment sql changed in SupplierInvoice.php to Value not amount for ShipmentCharges - no updates to Accum value field in Shipments since can accumulate from ShiptCharges. AccumValue field dropped from Shipments table.
6/1/04 New Shipments.php script to allow definition of a shipment from purchase order items to the same supplier and into the same location
24/12/03 Added a 'professional' theme css directory to show how a different look can be acheived by editing the css script - login css is unchanged
24/12/03 class='tableheader' references updated throughout all scripts - I think?
24/12/03 Credit_Invoice.php and SelectCreditItems.php now use in line editing of lines rather than clicking the link to make it available to modify a line. This is a usability enhancement allowing several items to be modified on screen without sucessive round trips to the server for page updates. Deleting a line from a credit is now only a one click operation rather than a two click previously. Overhead saving, usability improved.
21/12/03 InventoryPlanning.php and header changed to use pdf.php class by R&OS - this is the last conversion PDFLIB is NO LONGER REQUIRED! PDFStarter.inc removed
21/12/03 PDFPaymentRun.php, header and footer changed to use pdf.php class by R&OS
16/12/03 SelectCreditItems.php bug in salesanalysis insert new record on Overcharge type credit note QtyDispatched should be Quantity.
16/12/03 SelectOrderItems.php made so that price/quantity/discount can be modified as displayed rather than hitting select to bring up the line for editing.
16/12/03 DeliveryDetails.php made to have button to modify line items and save any entries made on the form first using META refresh - taken off the select link on the order summary.

Version 2.6
15 December 2003

14/12/03 Significant updates to the manual
14/12/03 SelectCreditItems.php now has a credit type that allows an overcharge to be reversed without crediting the entire invoice then re-invoicing it as per Credit_Invoice.php page.
14/12/03 $QuickEntries variable in config.php now used by SelectCreditItems and SelectOrderItems to determine how many quick entry fields to show for credit notes and order entry.
14/12/03 fixed double process of last item on quick entry fields on order entry SelectOrderItems.php
8/12/03 StockCheck.php now creates pdf using R & OS pdf.php class.
5/12/03 StockStatus.php now includes demand for components of assemblies ie if the item is a component of an assembly the demand for the parent as extended by the Bill of Material quantity is included in the reported demand. The same modification in InventoryPlanning.php report.
5/12/03 CustomerAllocations.php and includes/DefineCustAllocsClass.php now include the credits and receipts as a line - without any opportunity for allocating but for informational purposes. - Client request.
5/12/03 PO_Items.php didn't retain the quantity when a supplier price was looked up - fixed.
5/12/03 Stock check system implemented with a modification to print stock check sheets to also create a stock check data - update stock check data or print stock sheets only. Also, new scripts for StockCounts.php for entry of stock counts and PDFStockCheckComparison.php to report the difference and/or create adjustments for all items requiring an adjustment based on the counts and the stock check data quantities. New tables for StockCounts and StockCheckFreeze created.
5/12/03 Z_PriceChanges.php has several utilities to modify pricing set up by sales type/customer specials.
5/12/03 PrintCustStatements.php now has a config.php option to print settled transactions where they were settled in the last month. Previously this was the default. Could save printing and sending many statements which have zero balances if this option ( $Show_Settled_LastMonth )  is set to 0.
5/12/03 PDFPriceList.php allows various options for making a pdf of the price lists or part of a price list.
30/11/03 InventoryPlanning.php and StockUsage.php updated to avoid counting in hidden stock movements arising from pricing credits - no real physical stock movement only there for the credit line.
27/11/03 Z_ChangeCustomerCode.php allows a customer code to be changed and modifies the code in all tables as necessary.
27/11/03 Credit_Invoice.php now has a credit type that allows an overcharge to be reversed without crediting the entire invoice then re-invoicing it.
27/11/03 StockMovements.php now only shows movements that are not hidden
25/11/03 SpecialOrder.php created to allow one off indented items to be entered by selecting a supplier and a customer then entering the cost and selling price of the items with a description and stock category for GL coding.
25/11/03 Changed fields defaulting to '' to blank - these fields actually stored '' not an empty string as expected. SalesAnalysis table fields and Prices DebtorNo and BranchCode fields. Also, changed datetime fields to date where time is not appropriate to store.
13/11/03 SalesAnalysis_UserDefined.php broken up and ConstructSQLForUserDefinedSalesReport.inc for the SQL section and PDFSalesAnalysis.inc for the report construction section. The SalesAnalysis_UserDefined.php now uses these as includes as do the MailSalesReport.php and MailSalesReport_csv.php
13/11/03 SalesAnalysis_UserDefined.php now prints totals for calculated columns in correct value format as specified
13/11/03 SalesAnalysis_UserDefined.php now creates Sql for numerator col x or divided by a constant. Also new field in ReportColumns for Constant. SalesAnalReptCols.php has new field input for the constant.
13/11/03 PrintCustStatements.php now settles transactions that should have allocated == the amount of the trans.
11/11/03 GLPostings.inc now checks for and creates ChartDetails records where none existed even though they should have existed.
30/11/03 PDFChequeListing.php now fixed include("includes/htmlMimeMail.php") so that reports do indeed get mailed! Also moved receipients of this report variable to config.php

Version 2.5
27 October 2003

Purely for marketing purposes and reflecting the fact that the system is becoming mature. Version numbering changed to lose the 0. before 2.5
Phil 27/10/03 BOMListing.php and includes/PDFBOMListingPageHeader.inc modified to use R & OS pdf.php class
Phil 27/10/03 AgedSuppliers.php and includes/PDFAgedSuppliersPageHeader.inc modified to use R & OS pdf.php class also supressed settled transactions and transactions with less than a cent unsettled from showing on a detailed report.
Phil 27/10/03 AgedDebtors.php and includes/PDFAgedDebtorsPageHeader.inc modified to use R & OS pdf.php class.
Phil 27/10/03 Credit_invoice.php cost now taken off sales analysis was adding cost when crediting in error.
Phil 26/10/03 ReverseGRNs.php was not creating GL postings fixed was testing for journal amount using StdUnit
Cost sh/be StdCostUnit.
Phil 20/10/03 Goods received were not recording the GRNBatch to cross reference to the stock movement transaction (in GoodsReceived.php) New field added to GRNs - GRNBatch. Also, was not refering to GRN batch in SuppInvGRN.php to cross reference the batch returned on entry of the goods received batch - normally written on the packing slip by the person booking the goods in.
Phil 17/10/03 PrintCustStatements.php some fine tuning to layout - pagination when end of Settled Transactions and space before new page for footer.
Phil 16/10/03 Changed AgedSuppliers.php and includes/PDFAgedSuppliersPageHeader.inc to use the R & OS pdf.php class instead of pdflib.
Phil 15/10/03 New script PO_OrderDetails.php heavily modified from Open Accounting to show purchase order details instead of re-print of order - also shows qty received and actual price charged as modified from SupplierInvoice.php entry. Linked from PO_SelectCompletedOrder.php. Changed name to PO_SelectPurchOrder.php (can be any PO now not just completed). index.php and SelectSupplier.php links also modified for script name changes
Phil 13/10/03 PDFChequeListing.php first payment in the range was missing - now fixed.
Phil 13/10/03 SupplierInvoice.php/SupplierCredit.php fixed date retention - rounding of tax and GRN entries - table headers use class='tableheader'
Phil 13/10/03 ConfirmDispatch_Invoice.php fixed assembly items stock movements not being created after NewQOH modification
Phil 13/10/03 PO_Header.php and PO_Items.php now show the order number as the page header if its an order being modified
Phil 13/10/03 SelectSupplier.php now has menu item for Outstanding Purchase Orders and Completed Purchase Orders
Phil 13/10/03 PO_SelectCompletedPurchOrder.php now accepts order number entry and queries correctly
Phil 13/10/03 SupplierContacts.php fixed now updates where spaces in contact name
Phil 12/10/03 PO_SelectPurchOrder.php fixed table headers using class=tableheader
Phil 12/10/03 PO_SelectCompletedPurchOrder.php fixed table headers using class=tableheader
Phil 12/10/03 PO_PDFPurchOrder.php and includes/PO_PDFOrderPageHeader.inc now print in A4_Landscape with delivery dates and order total in currency of supplier
Phil 12/10/03 PO_Items.php now checks for StockID existence where a code is entered.
Phil 12/10/03 GoodsReceived.php narrative now adds StockID
Phil 12/10/03 SupplierInvoice.php rounding fixed.
Phil 12/10/03 ReverseGRN.php finsihed added to SelectSupplier.php menu
Phil 8/10/03 New script to create a csv file of stock quantities added StockQties_csv.php added to index.php
Phil 7/10/03 BOMInquiry.php now links the component codes back to SelectProduct.php
Phil 7/10/03 CreditInvoice.php was not updating NewQOH - now corrected.
Phil 7/10/03 Allow other pages to call SelectProduct.php with StockID to show the options available for the item code sent $_POST['Select'] = $_GET['StockID']
Phil 7/10/03 SelectProduct.php tidy display when only one item returned from search
Phil 5/10/03 OutstandingGRNs.php from and to criteria were not used by the SQL and no defaults - totals out of alignment with detail lines. Now fixed.
Phil 5/10/03 GoodsReceived.php was not creating GL entries correctly at the standard cost due to setting the standard cost inside the for each loop have to use full vble name not the for each vble. Now fixed.


Version 0.2.4
1st October 2003

Phil 1/10/03 PDFChequeListing.php fixed includes paths and link from index.php
Sherif 1/10/03 WhereUsedInquiry.php ex Open Accounting modified and linked to from index.php and SelectProduct.php
Phil 27/9/03 SupplierInvoice.php and SupplierCredit.php rounding of amounts posted to minimise allocation and GL cents issues also no GL postings for tax when tax is 0
Phil 27/9/03 PO_Header.php same problem as below when hit enter line items.
Phil 27/9/03 Stocks.php when submit hit refreshes to new search - used to fall over when https because hard coded http
Phil 27/9/03 SupplierAllocations.php fixed footer.inc now down the bottom!
Phil 27/9/03 PO_Header.php fixed cancel order to delete purchorderdetails not purchaseorderdetails as previously.
Phil 27/9/03 PO_SelectPurchOrder.php Entering order number to search was ineffective - now fixed.
Phil 22/9/03 A not unrelated fix script that re-applies current costs against sales analysis records. Z_ReApplyCostToSA.php for a specified period.
Phil 22/9/03 Fixed Credit_Invoice.php was adding cost to sales analysis records sh/been taking off cost!!
Phil 19/9/03 Fixed includes paths for Credit_invoice.php/InventoryValuation thanks Al
Phil 19/9/03 SelectOrderItems removed extra AND in stock search SQL - thanks Al.
Phil 14/9/03 New config.php variable $PO_AllowSameItemMultipleTimes and effected in PO_Items.php
Phil 14/9/03 InventoryValuation.php SQL_CommonFunctions.inc now in includes corrected path

Version 0.2.3
13th September 2003

Phil 13/9/03 Increased the length of all email fields in the database and scripts affected WWW_Users.php CustBranches.php SupplierContacts.php
Phil 13/9/03 Increased the length of TaxRates in TaxAuthorities.php and the database
Phil 13/9/03 Fixed bug that prevented GL payments from being entered
Phil 13/9/03 Fixed bugs caused from re-structure of files all class definitions in includes forgot to modify some of the supplier transactions scripts - quite a few !!
Phil 12/9/03 modified PDFStarter_ros.inc/session.inc/PrintCustTrans.php/PrintCustOrder.php to have save_session_path($SaveSessionPath) for load balancing web servers. Re-instated variable $SaveSessionPath in Config.php
Phil 12/9/03 modified session.inc to include ConnectDB.inc from includes

Version 0.2.2
10th September 2003

Phil 10/9/03 BOMs.php fixed search bug that only showed items that had a quantity on sales orders
Phil 10/9/03 Tidy up BOMInquiry.php
Phil 8/9/03 Reorganisation of remaining included files into includes all Define class files and class.pdf.php and htmlMimeMail.php files modifications to all files included from.
Phil 8/9/03 index.php customer login was not initiating a NewOrder with call to SelectOrderItems.php fixed
Phil 8/9/03 SelectOrderItems.php new cart was defined after using Items->DebtorNo so was lost on extranet login customer order.
Phil 8/9/03 AgedDebtors.php now detail report now only shows transactions not fully allocated - fixed bug.
Phil 8/9/03 CustTransInquiry.php corrected links to css/theme/images/
Phil 8/9/03 Added .tableheader section to css/theme/default.css - used by sherif on tables to remove need for <bgcolor=#> and <font color=white> html throughout all table headings
Phil 8/9/03 Modified CustAllocations.php ended the table and center of html so the footer comes out at the end!! Also used $TableHeader variable for repeated headings - modified to use .tableheader css
Phil 8/9/03 Modified SalesAnalysis_UserDefined to find the page header.inc under includes directory
Phil 8/9/03 Modified SelectProduct.php to always show the selection criteria options - was a wasted click/round trip to server previously.

Phil 2/9/03 Modified SelectOrderItems.php ConfirmDispatch_Invoice.php SelectCreditItems.php DeliveryDetails.php to move references to DefineCartClass.php to includes
Phil 2/9/03 SupplierInvoice.php SupplierCredit.php references to DefineSuppTransClass.php moved to includes
Phil 2/9/03 Payments.php now dissallows 0 payments DefinePaymentsClass.php moved to includes directory
Phil 2/9/03 StockCostUpdate.php reverted back to the latest version with Shane's mods.
Phil 2/9/03 CustomerAllocations.php reverted back to the latest version with Shane's mods. Also, moved DefinedCustAllocsClass.php to includes directory
Phil 2/9/03 PrintCustTrans.php references to images/logo.jpg back to logo.jpg
Phil 2/9/03 GoodsReceived.php default delivery quantity to 2 dp as per rest of system - would be good to set this with the stock item master how many decimal places to display and take this number as the number of dp to display.
Phil 2/9/03 PO_PDFPurchOrder.php PO_PDFPageHeader.inc put back to later version that allows emailing and R & OS php-pdf class.
Phil 2/9/03 removed images directory didn't think necessary for one image.
Phil 2/9/03 Bug fixes following re-structure, PO_SelectPurchOrder.php extra bracket
Phil 1/9/03 Bug fixes following re-structure, re-added link to stock check sheets in index.php. Updated PDFBankingSummary.php to new R & OS version.
Phil 1/9/03 Allowed dates other than the calculated earliest dispatch date to be entered for the invoice date in Confirm_DispatchInvoice.php and also more flexible dating of orders in DeliveryDetails.php - to allow retrospective entry of an order already delivered.
Phil 1/9/03 MailSalesReport_csv.php automated mailing of csv sales analysis report bugs ironed out and new structure for includes modified.

(Shane Barnaby) 31/08/03 Renamed header.inc to session.inc to reflect pages function, which is to provide a common page for global includes and authenticate users. All references throughout the site modified to  from HeaderTitle.inc to includes/header.inc and header.inc to includes/session.inc
(Shane Barnaby)31/08/03 Renamed HeaderTitle.inc to header.inc. The purpose of header.inc is to create the common HTML header used throughout the site.
(Shane Barnaby)31/08/03 Created footer.inc. Every page throughout the site that closed out the HTML with &lt;/body&gt;&lt;/html&gt; has been replaced with the footer.inc
(Shane Barnaby)31/08/03 Moved all includes to includes directory. All references to these include files have been updated.
(Shane Barnaby)31/08/03 Created css directory and moved all images to the default directory within css. This allows for the support of themes.
(Shane Barnaby)31/08/03 Removed all references to style from the config.php and added the $theme variable.
Shane 31/8/03 Removed web-erp.css all style now under the css directory/theme
Shane 31/8/03 Extensive mods to index.php to reflect the theme defined under css - currently only default theme set up but other directories under css can be set up and referred to from the variable in config.php

Phil 30/8/03 - PO_Items.php where a part code is entered it now checks that a part entered exists in the database before allowing it to be added to the order - bug fix.
Chris 30/8/03 - SelectOrderItems.php checks for existence of the picture file before attempting to display it if no picture then displays "NO PICTURE"
Phil 28/8/03 - META refresh statments referring to http could equally be (and more likely) https so made these more generic in SupplierCredit.php and SupplierInvoice.php. Link to OutstandingGRNs.php in index.php under AP reports.
Phil 28/8/03 - OutstandingGRNs.php and PDFOstdgGRNsPageHeader.inc R &OS code pdf-php reports added to show the value of goods received not yet entered against purchase invoices for the purposes of reconciling the goods received suspense account
Phil 28/8/03 - Modified InventoryValuation.php and PDFInventoryValnPageHeader.inc to use R &OS php-pdf class

Phil 20/8/03 - SelectOrderItems.php now shows sales type of the customer.
Phil 20/8/03 - GetPrice.inc now shows a warning if a zero price is returned.
Phil 20/8/03 - SalesAnalysis_UserDefined.php now used R & OS and accepts 4 levels of grouping allowing more complex reports.
Phil 20/8/03 - GetPrice.inc bug fixed now gets SalesType, DebtorNo, BranchCode price, then SalesType,DebtorNo, then SalesType, the default price list price.
Phil 19/8/03 - mods to ConfirmDispatch_Invoice.php, StockAdjustments.php, StockTransfers.php, SelectCreditItems.php, GoodsReceived.php to insert the new qty on hand in the stock movement records created by these scripts and StockMovements.php to show the quantity on hand after each "movement" (?).
Phil 19/8/03 - introduced a new field to StockMoves table NewQOH this records the new qty on hand after a stock movement
Phil 18/8/03 - CustWhereAlloc.php shows how an invoice was paid ie the allocations that were made against it.
Phil 18/8/03 - Z_CheckAllocs.php checks integrity of allocations
Phil 18/8/03 - CustAllocations.php now includes previous allocations that settled a transaction (fixed bug)
Phil 11/8/03 - PrintCustOrder_generic.php and PDFOrderPageHeader_generic.php now uses php-pdf by R & OS - for A4 Landscape packing slips - prints two copies one headed office copy the other customer copy. PrintCustOrder.php also allows re-prints on laser stationery with a link to PrintCustOrder_generic/.php. Also prints logo and company info.
Phil 10/8/03 - CustomerBranches.php now also shows branch code./
Phil 10/8/03 - SelectCustomer.php looks at customers codes/names not branches - fixed bug that didn't allow a customer to be selected for adding branches when none defined initially.
Phil 10/8/03 - Prices_Customer.php now allows many prices to be defined for specific branches. Prices defined not refering to a branch will be the customer default for all branches without a specific price defined.
Phil 10/8/03 - GetPrice.inc function changed to expect BranchCode. SelectOrderItems_IntoCart.inc also modified to send branch code when this function called from both SelectOrderItems.php and SelectCreditItems.php
Phil 10/8/03 - Added new field to Prices table BranchCode Varchar(10) so that pricing can be set specific to a branch of a customer.
Phil 10/8/03 - SelectOrderItems.php. DeliveryDetails.php DefineCartClass.php, SelectCreditItems.php changed references to $_SESSION['CustomerID'] to a new class variable Cart->DebtorNo so that another page open in the browser could not interfere with the order being entered in the same session.
Phil 7/8/03 - SupplierInvoice.php now checks for pre-existing supplier invoice of the same reference before allowing entry
Phil 7/8/03 - Install instructions modified to warn users of php.ini setting for session.auto_start sh/be =0

Phil 7/8/03 - Payments.php now deals with supplier discount received correctly. Also adds supplier code to narrative of GL postings and bank transactions.
Phil 6/8/03 - SupplierAllocations.php added check box to allocate whole trans and total allocated recalculation before submission of processing.
Phil 6/8/03 - DefineSuppAllocsClass.php was not allowing existing allocations to show - fixed.
Phil 6/8/03 - PO_PDFOrderPageHeader.inc changed $_GET['OrderNo'] to $OrderNo - order number not printing on purchase orders.
Phil 4/8/03 - CustomerAllocations.php fixed it so that settled transactions now show on the allocation screen where there was an allocation against the transaction from the receipt or credit note being allocated!
Phil 4/8/03 - CustomerInquiry.php fixed so negative receipts don't have allocation link and real ones do.
(Phil)StockCostUpdate.php no longer creates a zero GLTrans where there is no quantity of stock on hand.
(Phil)CustomerAllocations.php no longer shows unsettled negative receipts to allocate against. Also, settles transactions where the allocated amount = the amount of the transaction - there was a bug. New checkbox to tick off allocated transactions to get total exactly right and minimise keying (and input errors).Also, a button to recalculate the allocation total rather than report an error when attempting to process the allocation.
(Phil)CustomerInquiry.php modified not to allow allocations of a negative receipt. Allocations must be from credit notes and positive receipts only. Negative receipts show as available to allocate to.
(Phil)SelectCreditItems.php modified to ensure that a credit note could not be entered twice by hitting refresh. Whilst the CreditItems session variable was unset hitting refresh was entering a credit note for the tax value of the field posted for tax. This is now trapped with a check at the start of the page for an unset(SESSION['CreditItems']) and POST["ProcessCredit"].
(Phil)PO_PDFPurchOrder.php modified to go straight through to print the order if ViewingOnly==1
(Phil)Z_CheckDebtorsControl.php shows the debtors control account for the period selected to compare against the aged balance listing in local currency to prove data integrity - needs editing to modify the period to check.
(Phil)PDFBankingSummary.php modified to use PHP-PDF class by R & OS and now in a prettier tabular format
(Phil)PO_PDFPurchOrder.php and PO_PDFPageHeader.inc modified to use R & OS PHP-PDF class. Also now allows selection of a supplier contact to email the order to rather than print it then fax it as was the traditional method.
(Phil)New scripts for StockCheck.php and PDFStockCheckPageHeader.inc pdflib based stock sheets print outs.

Version 0.2.0
26th July 2003

(Phil)PDFOrderPageHeader.inc and PrintCustOrder.php now refer to the pre-printed stationery versions. These will have to be modified to suit the client. A packing slip format that is headed up is included in the distribution called PDFOrderPageHeader_generic.inc and PrintCustOrder_generic.php - may be better to have another link to this from the order.
(Phil)CostUpdate.php now allows definition of two page security variables one that allows costs to be viewed and another that allows modifications to costs.
(Phil)Prices.php now allows definition of two page security variables one that allows prices to be viewed and another that allows modifications to prices.
(Phil)PO_OrderItems.php now has a button to lookup the purchase price of an item from the purchasing data this was automatic from the part search but where a code was entered directly, there was no lookup.
(Phil)New field in CustBranch DefaultShipVia that gets updated at the time of invoicing (ConfirmDispatch_Invoice.php) if it was modified in an order.
(Phil)PrintCustTrans.php and PDFTransPageHeader.inc modified to print the branch postal address instead of the head office address where the flag InvAddrBranch is set to 1
(Phil)Customers.php modified to show AddrInvBranch option
(Phil)Payments.php now retains the bank account from which the amount is being paid.
(Phil)Fixed bug in SelectCompletedOrders.php was not showing the delivery dates and qty delivered due to earlier changes to the DefineCartClass.inc calls to additem now given correct params.
(Phil)Made select customer select a branch names and codes rather than a charge account DebtorNo code.
(Phil)Stopped order lines from being changed to 0 quantity
(Phil)SelectOrderItems.php excludes branches with DiableTrans=1
(Phil)SelectCreditItems.php excludes branches with DiableTrans=1
(Phil)CustomerBranches.php modified to show the new fields for DisableTrans, PostAddr1 - 4.
(Phil)GetSalesTransGLCodes.php fixed bugs was not returning codes correctly always using 1
(Phil)CustomerAllocations.php and SupplierAllocations.php made a rounding tolerance of 0.005 for allocations to be accepted.
(Phil)Fixed bug in SuppPaymentRun.php to only print/process suppliers with an amount owing - it was picking up suppliers with debit balances ;(
(Phil)Changed SupplierInquiry.php to retain date from when invoice is held or released.
(Phil)Changed SelectOrderItems.php (again :( ) to avoid showing the last quick entry item as selected. unset($_GET["Edit"]) at the end of the quick entry code.
(Phil)Fixed bugs in SupplierInvoice.php and SupplierCredit.php that crashed the entry if the tax method was changed without a manual entry being applied new button to change tax calculation method.
(Phil)ConfirmDispatch_invoice.php now has link to new order entry
(Phil)CustomerAllocations.php fixed a bug that was locale_number_format ing an already previously locale_number_format ed field to display 1 where locale_number_format had inserted a comma - ie where the figure for yet to allocate was > 999 the system displayed 1
(Phil)SupplierInquiry.php made the invoices already paid incapable of changing status to held when already settled
(Phil)SuppTransGLAnalysis.php made general ledger account select box show account code and in account code order
(Phil)Made SelectOrderItems.php search only branches - a branch is required to invoice/credit it makes sense to select the branch rather than the customer and then the branch. The customer is implicit in the branch selection. Also use flag DisableTrans to ensure that only those current branches are allowed invoicing.
(Phil)Added DisableTrans on CustBranch table to disable a branch from being invoiced or credited to
(Phil)Added a new field AddrInvBranch to DebtorsMaster to enable invoices to be addressed to the branch postal address. To cover the situation where branch invoices must be sent to the branch not the charged customer.
(Phil)Fixed OrderItems.php to show menu for navigation - sorry Sherif! Also, now centres order comments below. Invoice numbers used to invoice the order are appended to the comments from ConfirmDispatch_Invoice.php.
(Phil)Fixed bugs in SelectSalesOrder.php was not using $_POST variables for SearchParts also was only searching parts with a sales order - need to show all parts then return orders for that part - no orders returned if no orders for the part selected.
(Phil) SelectOrderItems.php now uses LIMIT as per SelectProduct.php to limit the number of parts returned on as per the config directive $Maximum_Number_Of_Parts_To_Show
(Phil) Fixed bug in PDFBankingSummary.php now shows bank account name and account number.
(Phil) Modified - SelectProduct.php to have an 'All' stock categories search to find an item where the user may not know what category its in or user doesn't need to enter the category cos she knows the code.
(Phil) Modified - the PrintCustOrder.php and PDFOrderPageHeader.inc to use php-pdf class and default for pre-printed stationery. Pre-printed 2 part stationery is necessary to record notes of storemen. This will require modification for the client's own stationery. Copied the labelled up scripts to PrintCustOrder_generic.php and PDFOrderPageHeader.inc these still require PDFlib installed on the server.
(Phil) Modified ConfirmDispatch_Invoice.php back to remove selection of freight company.
(Phil) Modified delivery details to allow selection of a freight company and to allow entry of a freight cost to charge - which can be either calculated by the system or entered manually.
(Phil) Made new directive in config.php $DefaultPriceList this is used if the price cannot be determined first by reference to the customers salestype and currency.
(Phil) Modifications to SelectOrderItems.php GetPrice function to use the $DefaultPriceList if fails using the customer salestype/price list. This minimises input in other sales type prices to only those prices which are special to the customer.
(Phil) Fixed login page in header.inc to test for AccessLevel=="" and check for existence of SecurityGroups being an array as it should be.
(Phil) Deleted redundant fonts from the distribution only using helvetica
(Phil) PrintCustTrans.php corrections to format of InvText printing and select box for Credit Notes or Invoices to allow correct parameter to be sent for printing a credit note - was not showing charge branch.
(Phil) PrintCustStatements.php and PDFStatementPageHeader.inc now uses R & OS class.pdf.php class for creation of pdf statements.

Version 0.1.10
6 July 2003

(phil) modified PrintCustTrans.php and PDFTransPageHeader.inc to use the R&OS class.pdf.php requires new file PDFStarter_ros.inc
(Phil) config.php deleted DefaultFont - now in Sherif's style-sheet.
(Phil) moved $ModuleList array of module descriptions to config.php now used in WWW_Users for defining access as well as index.php
(Phil) WWW_Users.php modified to allow modules shown on a users menu to be defined and modified.
(Phil) WWW_Users table addded ModulesAllowed char(20) to hold a comma seperated list of modules allowed to access defined in the same order as $ModuleList array
(Phil) config.php now has a $version variable also referred to in header.inc
(Phil) Added scripts class.pdf.php for the pdf-php class by R & OS http://www.ros.co.nz/pdf - this will allow pdf creation without pdflib module compiled or enabled in php. PDF report scripts are yet to be modified. The /fonts directory contains the fonts distributed with the class.
(Sherif) New AutoStocks.php - allows automated adding of a range inventory items. under development.
(Sherif) New lang folder to contain localizable language string files. (contains en.inc so far) for future development
(Sherif) ConfirmDispatch_Invoice.php - freight calculations only on $DoFreightCalc flag. (Phil) Also added field to select freight company (shipper) manually.
(Sherif) CustomerInquiry.php - display InvText, HTML cleanup of table header
(Sherif) CustomerTransInquiry.php - display InvText, HTML cleanup of table header
(Sherif) DefineCartClass.php - add storing of $FreightCost (see SelectOrderItems.php)
(Sherif) DeliveryDetails.php - add missing fields that weren't being saved/loaded, freight cals only on $DoFreightCalc flag
(Sherif) HeaderTitle.inc - add option to hide menu (useful when previwing orders/invoices/recepits,etc)
(Sherif) index.php - Initial module enabling/disabling - not yet used another field in the user set up should determine the modules available. Also added link to AutoStocks.php disabled as an incomplete feature currently.
(Sherif) OrderDetails.php - hide menu on display of this page
(Sherif) PDFOrderPageHeader.inc - misc arrangement
(Sherif) PDFStatementPageHeader.inc - misc arrangement
(Sherif) PDFTransPageHeader.inc - misc arrangement, rename "A.B.N Number" to "Tax Authority"
(Sherif) PDFTransPageHeader_A4_Portrait.inc - rename "A.B.N Number" to "Tax Authority"
(Sherif) PO_Header.php - HTML cleanup, use tableheader style
(Sherif) PO_Items.php - disable shipment calculation and display on incomplete features flag
(Sherif) PO_PDFOrderPageHeader.inc - add viewing-only mark - was not merged last time i think.
(Sherif) PrintCustTrans.php - get and display DelAdd4, rename "A.B.N Number" to "Tax Authority", "GST" to "Tax"
(Sherif) PrintCustTrans_A4_Portrait.php - rename "A.B.N Number" to "Tax Authority"
(Sherif) SelectCompletedOrder.php - HTML cleanup, use tableheader style
(Sherif) SelectCreditItems.php - open preview in a new window
(Sherif) SelectOrderItems.php - store $FreightCost in session with other vars, HTML cleanup,
(Sherif) SelectProduct.php - hiding of commands for dummy items, use tableheader style in table
(Sherif) SelectSupplier.php - get Address4 for Suppliers, use tableheader style in table
(Sherif) StockCostUpdate.php - add saving of LastCost in StockMaster
(Sherif) StockMovements.php  - HTML cleanup, use tableheader style, open preview/print in new window
(Sherif) StockStatus.php - HTML cleanup, use tableheader style
(Sherif) StockUsage.php - HTML cleanup, use tableheader style
(Sherif) SupplierInvoice.php - hide 'Enter Against Shipment' button for incomplete features flag
(Sherif) web-erp.css - add tableheader class to standardize table headers


Version 0.1.9
30 June 2003

PrintCustTrans.php and PDFTransPageHeader.inc (phil) credit note printing printed branch in middle of company details. Wasn't printing at all on re-print - now fixed.
ConfirmDispatch_Invoice.php (Sherif)  HTML cleanup
Prices.php (Sherif) HTML cleanup
Credit_Invoice.php (Sherif)  HTML cleanup
DeliveryDetails.php (Sherif) HTML cleanup
SelectCreditItems.php (Sherif) HTML cleanup, edit percentage as 0-100 not 0.0-1.0 (phil) fixed bug caused by additional parameters required for add_items which uses the same Cart class as SelectOrderItems.php following changes to the class required to highlight lines on order with quantity greater than stock (phil)
SelectCustomer.php (Sherif) HTML cleanup
Added new script PO_SelectCompletedPurchOrder.php to show completed purchase order details (Sherif)
Added new script Currencies.php to enter or amend currencies and rates (Sherif)
Added web-erp.css (Sherif)
BOMs.php (Sherif) HTML cleanup, moved table display to function
CustomerInquiry.php (Sherif) remove hard-coded date string
Credit_Invoice.php (Sherif) remove hard-coded date string and display the tax rate
SelectOrderItems.php (Sherif) removed ability to select a customer without a branch, entry of discounts now 0-100 not 0-1 as before.
SelectSalesOrder.php (Sherif) HTML cleanup
ConfirmDispatch_Invoice.php (Sherif)  print invoice opens a new window. HTML cleanup of unused FONT tags and
fix recalculation of tax on update. (phil) Fix GL trans created in functional currency not customer currency as before
BOMs.php (Sherif) changed text from "effective from" to "effective after"
PDFBOMListingPageHeader.inc  (Sherif) effective from -> effective after
DeliveryDetails.php (Sherif) print sales order in a separate window
PO_Items.php (Sherif) HTML cleanup of table headers, fix for deleting items
SupplierInvoice.php (Sherif) HTML cleanup - make table headers as strings, display tax rate and authority
SuppInvGRNs.php (Sherif) HTML cleanup, put table headers in strings
header.inc $allow_demo_mode to display demo login or not depending on setting in config.php. Also, use a template and make a little prettier :)
config.php (Sherif) added $allow_demo_mode to display demo login or not, also added $OverReceiveProportion used in receiving purchase orders.
GoodsReceived.php (Sherif) added check $OverReceiveProportion to control receipt of quantities larger than on a purchase order
StockUsage.php (Sherif) no stock usage for dummy, assembly or kitset items
SelectProduct.php (phil) modified to disable the link to allow stock usage or stock status inquiries for dummy, kitset or assemblies (Sherif) HTML cleanup added link to PO_SelectCompletedPurchOrder.php
SelectSalesOrder.php (Sherif) print sales order opens a new window
PO_Header.php (Sherif)  UI fix
PO_Items.php  (Sherif) cleaner way of deleting items to fix bugs in editing after creating order.
CustomerBranches.php (Sherif) Check if there are any users that refer to this branch code before delete
Customers.php (Sherif) change discounts to be entered as real percent 0-100 instead of 0.0-1.0
DefinePOClass.php (Sherif) on delete of items, mark as deleted don't remove so we can compare later for changes
DefineSuppTransClass.php (Sherif) fixed Shipment constructor name
Payments.php (Sherif) for supplier payments, link back to same supplier to avoid re-selecting supplier code (phil) show GL account code in select box, check valid GL code for Bank accounts available for selection.
PO_PDFOrderPageHeader.inc (Sherif)  add viewing-only mode misc re-arrangements for obstructing objects
PO_PDFPurchOrder.php (Sherif) add mode to "view only". for completed purchase orders.
StockCostUpdate.php (Sherif)  check whether the selected stock id actually exists before action
StockMovements.php (Sherif)  HTML cleanup
Stocks.php (Sherif)  $hide_incomplete_features for Controlled field
SupplierCredit.php (Sherif) HTML cleanup, use $DefaultDateFormat for date display, syntax fixes for Shipments (phil) change to buttons for links to gl analysis, shipment entry and entry vs GRNs to avoid additional update step to store entries made in this screen to session.
SupplierInquiry.php (Sherif)  added display of transaction description
SuppShiptChgs.php (Sherif)  syntax fix
SuppCreditGRNs.php (Sherif) HTML cleanup - Currency on new line
ShiptsList.php (Sherif) fix table string display - was shifted one column (phil) changed to set $PageSecurity before header.inc included.
CompanyPreferences.php (Sherif) syntax fix in UPDATE sql clause missed closing quote.
index.php (Sherif) add link to the new currencies page, HTML cleanup of bad FONT codes, changed to black category text for better contrast, added link to query completed purchase orders.
Logout.php (Sherif) add company name, logo and link back to login
PO_SelectPurchOrder.php print opens in a separate window
Prices.php HTML cleanup - changed heading to Currency prices for item code.
SelectCustomer.php (Sherif) HTML cleanup - bigger font for customer name and code, changed text of link to modify sales orders - implicit that only outstanding orders can be modified!
SelectSupplier.php (Sherif) Display the supplier name as well as the code
StockAdjustments.php (Sherif)  check that the stock item exists before action and link to stock movements on new line
StockReorderLevel.php (Sherif)  HTML cleanup - put item code and description on a new line
StockStatus.php (Sherif) HTML cleanup - removed unecessary &lt;font&gt; tags
StockTransfers.php (Sherif)  Check that the stock item is valid before action
TaxAuthorities.php (Sherif) check if there are suppliers using this tax authority before delete

SelectOrderItems.php (Phil) now shows order lines where there is insufficient stock on hand at the location in red. Also modified price logic into a seperate function that gets the price specific to the customer if set up otherwise returns the defualt price for the sales type and currency of the customer otherwise 0.
GLTrialBalance.php (Phil) now shows a link to the account inquiry page for the last period in the range selected
WWW_Users.php (Phil) now checks that the customer code and branch code are valid before accepting the user details input
GLTrialBalance.php (Phil) now shows subtotals by account group.
CustomerReceipt.php (Phil) now checks for a valid GL account on bank account as Payments.php - also now shows account number in select box when entering a gl receipt.
Payments.php (Phil) now checks to see that the bank account has a valid GL account defined for it. It was possible to enter payments to a non-existant GL account! Also, account code shows in select box for gl code.
Payments.php (Phil) ensure that the company default currency is selected by default
CustomerReceipt.php (Phil) check to see that there are entries in the receipt batch before processing
header.inc (Phil) checked for AccessLevel==0 no longer appropriate sends user back to login screen - access level inquiries only

Version 0.1.8
22 June 2003

MailInventoryReport.php script similar to MailSalesReport.php to enable automated email of inventory report
MailSalesReport.php script added - largely a copy of SaleAnalysis_UserDefined.php. This new script runs a user defined sales analysis report and mails it to an email account. This script has no PageSecurity nor any output - it creates a file then emails it as an attachement to the address(es) specified in the script. It is meant to be run from cron using wget to email a sales report periodically to staff concerned.
GetSalesTransGLCodes.inc now looks for SalesType, Area match for finding a GL code match before using the default.
SelectProduct.php - added a transactions column to the actions applicable on selection of an item with links to perform stock adjustments or stock location transfers.
PO_Header.php - changed the link to the line items to be a button that diverts to the PO_Items.php only after updating the session variables for changes in the form data. Needs META refresh in the browser - most have this
SupplierInvoice.php - changed links to enter invoice amounts against goods received, against shipments and against gl to buttons and made the page redirect after updating the session variables with the posted data in the form. Changes could be lost without hitting update. This method avoids the need for the update button - which has now gone.
SupplierCredit.php was not using the default date format for transaction dates.
Stocks.php check for stock on hand when changing to assembly or kitset or dummy. Also check for sales orders or purchase orders when changing to assembly kitset or dummy. Also check for BOM when changing to buy or dummy.
SQL_CommonFunctions.php GetCompanyRecord function excluding the fields now removed from this table.
CompanyPreference.php reflecting the changes in the companies table below
Companies table modified - removed default bank account and bank act number field from companies table. Multiple bank accounts can now be defined seperately.
Companies table modified removed credit check flag - always checked now
Companies table modified removed check stock flag
Modified all scripts to have the variable $PageSecurity also config.php to allow definition of security by user group
this mechanism allows for much finer control of who has access to what.
Modified GLTrialBalance.php to retain periods selected as a starting point for when entering a new period range
Modified Stocks.php to always convert stock codes to upper case.
SelectOrderItems.php - orders for kitset items that explode the BOM into its components to order were doubling in quantity for each component in the BOM - now fixed.
SelectOrderItems.php - selection of parts to order would not show assembly parts since no stock location records for these parts - no stock is maintained for them. No longer show stock on hand in the location nearest the customer in the part search.
Shippers.php fixed to allow editing of shippers - link was malformed.
GLJournal.php modified to retain processing date after an entry is deleted.
New script Z_RePostGLFromPeriod.php reposts all GLTrans from a selected period.
New format invoice A4 landscape PDF.
New script GLAccountInquiry.php called from SelectGLAccount.php allows listing of the transactions for a specified
account. The transaction type and number shows with a link to the detail of the individual transaction ie "drill down"
to the lowest level of the transaction.
New script InventoryPlanning.php allows listing of the current stock status, QOH, Purchase orders outstanding and sales orders outstanding together with the recent history of stock movements and suggests an order quantity based on a number of periods stock to hold.
Logout link shown on header destroys any session data - a user requested this function - can't see why it is necessary but hey!
New script BOMListing.php allows listing of bills of material defined for a specified range of items.
New script InventoryValuation.php allows listing stock items with a quantity !=0 by location and stock category.
Stocks.php after updating an item the user is returned to a new select item screen (SelectProduct.php?NewSearch=True)
SalesPeople.php - checked so that cannot have zero length salesperson code.
Dropped redundant tables Hedges, TempMRP, StandingJournals (standing journals can be created live at any time since user can post forward and backwards at will).


Version 0.1.7
May 16 2003

Costed BOM inquiry script - thanks Al Adcock.
Modified Customers.php to always convert customer codes to upper case.
Modified CustomerBranches.php to always convert branch codes to upper case.
Modified StockCategories.php to always convert stock category codes to upper case.
Modified Areas.php to always convert area codes to upper case.
Modified PrintStatments.php to always convert customer from code and customer to codes to upper case.
Modified SelectCustomer.php to always convert entries in either keywords or customer code extract to upper case.
Modified SelectOrderItems.php to always convert search entries in either keywords or customer code extracts to upper case.
MOdified SelectSupplier.php to always convert entries in either keywords or supplier code extract to upper case.
Modified Suppliers.php to always convert the supplier code to upper case.
Modified SalesTypes.php to always convert the sales type code to upper case.
Modified SalesPeople.php to always convert the salesperson code to upper case.
Modified SelectProduct.php to always convert the keywords or product code extract to upper case.

Modified Locations.php to clear form variables for adding new locations and after updates to existing locations being modified. Made location codes always upper case.

Some prawn changed the access rights of demonstration user so that one could only get into the order entry and account status screens. Made an admin user that has the rights to add or delete new users - prohibiting such destructive folks from malicious tricks in the sourceforge demo system.

Modified SelectOrderItems.php to place the cancel whole order button away from the main entry - field testing showed that it was too easy to delete the order by hitting enter when the focus was on this button.

New script to print bank reconciliation based on current gl balance of the bank account, showing bank payments not yet presented and deposits not yet cleared to arrive at a calculated bank statement balance. Links back to matching receipts and matching payments script. Also new link on index.php under GL inquiries.

Added a link in index.php to allow re-prints of deposit listings produced from entry of receipts.

New script for matching deposits and payments against bank statements, for the purposes of reconciling to bank statements. The script does double duty for matching deposits and payments, but must be called with either Receipts or Payments. Added appropriate links to this script in index.php one for Deposits matching and one for Payment Matching.

Bug fix to GLTrialBalance.php the DefaultPeriodTo was not picking up the last defined period less one as was intended.

Dropped the tables ClearedPayments and ClearedReceipts - amount cleared against banktrans now recorded inside the one banktrans table

General Ledger Journal entry form created. New journal class defintion to hold the transaction before committing to the DB.
Reversing journals entered on same form by changing journal type to reversing, default is normal.
Prohibited journal entries directly to bank accounts since no banktrans record would be created for matching off statements.
Bank gl transactions must be entered as either a payment or a receipt.

Removed facility to be able to modify the cost data for the part in the inventory item maintenance form since this did not create the
necessary GL journal if integrated stock journals are active. Cost changes must be effected through the dedicated form for this purpose.

Entry of a payment to a general ledger act already defined as a bank account (be it a different bank account or the same bank account as the payment is from) now creates the necessary banktrans record for the receipt into the other (or same) bank account.
Entry of a receipt to a general ledger act defined as a bank account now creates the necessary banktrans record for the payment from the other bank account as above.

Version 0.1.6

22 Mar 03

Fixed bug in SelectProduct.php script that overstated stock on hand.Sadly I couldn't figure a way to show the sales order demand and resolve
this problem so the selection of parts no longer shows current sales order demand.

Additional error trapping to check that a stock location is not a default stock location for an existing customer branch
before allowing deletion.Also, an additional error trap to check that the default_shipper in config.php cannot be deleted from the shipper maintenance form
Further error trap to check that shipping companies that have debtortrans records (ie invoices created using them) cannot be deleted.

Version 0.1.5

User created with Access level less than or equal to 10 and with a customer code and branch code selected will be able to view
only the account details for the customer code selected with invoice reprints - only for the customers transactions. Such users
can also enter orders for the customer code and branch defined against them as well. This allows customers to be given access to the system
to view only their own details.

Deleted PrintInvoice.php superseeded by PrintCustTrans.php which deals with credits and invoices

logicworks.ini file changed name and all references to in other files to config.php to avoid displaying sensitive info in the
config file over the net ... duh! Thanks Ryan Fox!

Sales Types - field to say if the sales type updates stock or not has been removed. This was a carry over from
some old logic that was superseeded.

It was possible to add a sales type with a blank sales type code - now corrected

Editing of a sales type was not possible - fixed.


Version 0.1.4

23 Feb 03

New page GLTrialBalance.php to show a trial balance with movements for a month and a period

GLPostings.inc to effect updates to ChartDetails for GLTrans created

New variable in config.php to define the company's year end

ConfirmDispatch_Invoice.php - changed date format of date of dispatch field to refer to the $DefaultDateFormat
invoices commited with dates in US format became 00/00/0000. Now corrected.

ChartDetails table - BFwd and BFwdBudget fields created.

GLTrans table - removed reversal flag - reversing journals now create the reversal in the following period
at the time of entry no flag is necessary since the open period system with no rollovers requires creation of reversals at the time.
Also, dropped field ShiptRef - transactions now created in seperate tablef

Payment.php - was not unsetting the fields when a new GL analysis line was added to the payment.

Periods table - LastDateInPeriod field changed from DateTime to Date.


Version 0.1.3

1 Feb 03

Payments.php insert of BankTrans record now records Currency and TransNo and Type correctly.

Allocation of supplier payments and credits - creating GL entries and exchange diffs.
Made SuppAllocs table mirror CustAllocs refering to the TransID rather than the Type and TransNo as previously.
SupplierAllocations.php and links from SupplierInquiry.php

Changed DateFunctions.inc to use the global DefaultDateFormat variable in config.php to determine
format of dates required. Changed demo default to US format 'm/d/Y'

SelectOrderItems.php can now select items with no prices set up for them - including kits
Customer special prices now comes up as a seperate item in the search -
the system will show the normal price part as well as the special price one.
SelectProduct.php removed the link to special customer prices in the case of a kit set parts.

BOM.php - BOM Maintnenance - Effective dates were modified by the code to be in SQL format on submit
and appeared corrupt on the next viewing. Fixed.
Effective dates were not displayed in accordance with DefaultDateFormat - fixed.
Now check to ensure components cannot be on the BOM more than once.
Pass db handle by reference to check recursion function to eliminate errors.

BOM table modified EffectiveTo and EffectiveAfter to be Date fields not DateTime as was.

Shippers.php - Shipping company maintenance - deletion of shipping companies failed - fixed.

Prices.php - should not be able to enter prices against a kit since a kit is exploded into its components.

SelectProduct.php - dont show prices link for kitset products.

Modified PDF_TranPageHeader.inc to refer to YPos rather than hard code vertical coordinates for credit notes
so that alternate paper sizes can be accomodated. Fixed invoices 20 Jan forgot credit notes.

Created SuppCreditGRNs.php - this page allows selection of goods received records for entering supplier credits
against. Similar to the SuppInvGRNs.php but shows all goods received records after a specified date. The invoice
entry page only shows goods received records that are yet to be fully invoiced. The credit note needs to show
all goods received records.

Now have SupplierCredit.php working creating GL entries as appropriate and shipment charge records etc.



Version 0.1.2

20 Jan 03

Modified PDF_TranPageHeader.inc to refer to YPos rather than hard code vertical coordinates so that alternate
paper sizes can be accomodated. (only fixed invoices - credit notes fixed 28th Jan 03)

Noted that pdf reports for Purchase orders did not print in Konqueror but worked fine in Netscape and Opera 6.1
No modifications - bug in Konqueror

SupplierInvoice.php - stopped the script trying to update shipment 0 even though no shipment defined.

WWW_Users table now has page size field varchar(20) was char(2) to allow proper description of page size.
There was a mismatch between PDFStarter.inc switch statements and the stored values in WWW_Users table.
Also modified WWW_Users.php to allow selection of other page sizes.

SelectProduct.php now checks for the existence of any stock categories before proceding and insists on some
beng set up showing a link to the StockCategories.php script.

CustomerBranches.php: Check for existence of Sales Types, Sales Areas and Stock Locations
before allowing input of branches with a null items in these fields.

SalesAnalReptCols.php: Bug in sales analysis column definitions
BudgetOrActual field was used the opposite way in creating reports script SalesAnalysis_UserDefined.php.
Modified the select box BudgetOrActual to be 1 for Budget and 0 for Actual (NOT budget).
Also modified so that the returned 1 or 0 interpreted correctly on display of the column details from the
printf statement.


Version 0.1.1

11 Jan 03
Release of initial file set warts and all.


