Merged changes from main trunk up to 2.2.7
[fa-stable.git] / CHANGELOG.txt
index da6f8381422366d6f3fb01218a1a47c83845f397..d21ca204f0473e77ecf5eabccd3678c782e7b4b5 100644 (file)
@@ -19,6 +19,1141 @@ Legend:
 ! -> Note
 $ -> Affected files
 
+05-Mar-2010 Merged changes from main trunk up to 2.2.7 as follows
+------------------------------- Release 2.2.7 ----------------------------------
+05-Mar-2010 Joe Hunt
+! Release 2.2.7
+! Removed redundant variable $use_new_account_types from config.php
+$ config.default.php
+  update.html
+! Removed redundant function get_gl_accounts_all in gl_db_accounts.inc
+$ /gl/includes/db/gl_db_accounts.inc
+
+02-Mar-2010 Joe Hunt
+# Bug sending email to a name with commas. Has been replaced with ''.
+$ /reporting/includes/pdf_report.inc
+
+01-Mar-2010 Janusz Dobrowolski
+# [0000212] Selecting branch from popup was not working.
+$ /sales/manage/customer_branches.php
+# [0000213] Date change on journal entry update.
+$ /gl/gl_journal.php
+
+01-Mar-2010 Joe Hunt
+! Allow change of password without script in Create/Update Company.
+$ /admin/create_coy.php
+
+28-Feb-2010 Joe Hunt
+# Fixed a non esisting voiding of Work Order Advanced and a couple of
+  bugs in the same operation. And a fix according to Vramak on the forum.
+  Wiki will be updated on how does the Work Order work
+$ /manufacturing/includes/db/work_orders_db.inc
+  /manufacturing/includes/db/work_orders_quick_db.inc
+  /manufacturing/includes/db/work_order_produce_items_db.inc
+  /manufacturing/includes/db/work_order_requirements_db.inc
+  /purchasing/includes/db/grn_db.inc
+  
+26-Feb-2010 Janusz Dobrowolski
+# [0000209],[0000210] Improper quantity/price handling on supplier change.
+$ /purchasing/includes/ui/po_ui.inc
+# [0000211] Typo in work order legend.
+$ /reporting/includes/doctext.inc
+  /reporting/includes/doctext2.inc
+# Restored Esc hot key on cancel buttons.
+$ /js/inserts.js
+
+26-Feb-2010 Joe Hunt
+# [0000208] Voiding a work order production does not revert raw material quantities 
+$ /manufacturing/includes/db/work_order_produce_items_db.inc
+
+25-Feb-2010 Janusz Dobrowolski
+# Fixed bug in quantity input
+$ /manufacturing/work_order_add_finished.php
+
+24-Feb-2010 Joe Hunt
+# Tax included calculation problem when more than 1 tax type in a group
+$ /taxes/tax_calc.inc
+! Small layout fixes
+$ /admin/backups.php
+  /includes/ui/ui_lists.inc
+  /reporting/rep107.php
+  /reporting/rep110.php
+  
+22-Feb-2010 Janusz Dobrowolski
+# Two smaller fixes in security area codes.
+$ /includes/access_levels.inc
+
+21-Feb-2010 Joe Hunt
+# Exchange rate doesn't update table immediately when adding new rate 
+  and no exchange rates there before.
+$ /gl/manage/exchange_rates.php
+# Bug in exchange variation calculation in certain situations. Again.
+$ /gl/includes/db/gl_db_banking.inc
+21-Feb-2010 Janusz Dobrowolski
+# Fixed check for language session var.
+$ /includes/session.inc
+
+19-Feb-2010 Joe Hunt/Ary Wibowo
+# Bug in exchange variation calculation in certain situations.
+$ /gl/includes/gl_db_banking.inc
+! Better and cleaner layout in graphics
+$ /reporting/includes/class.graphic.inc
+! Fixed better layout in customer delivery form
+$ /sales/customer_delivery.php
+
+17-Feb-2010 Joe Hunt
+# Missing border layout in report centre
+$ /reporting/includes/reports_classes.inc
+
+---------- End of changes from main trunk 2.2.6-2.2.7
+
+01-Mar-2010 Janusz Dobrowolski
++ Rewrite of FrontReport header API to accept externally defined headers in php and/or pdf form.
+$ /reporting/includes/class.pdf.inc
+  /reporting/includes/excel_report.inc
+  /reporting/includes/header2.inc
+  /reporting/includes/pdf_report.inc
++ Integration of fpdi class
+$ /reporting/includes/fpdi/* (new)
+  /reporting/forms (new)
+! find_report_file() helper moved to main.inc and renamed to ind_custom_file
+$ /reporting/prn_redirect.php
+  /includes/main.inc
+! Reports fixed according to changes in header API in FrontReport class.
+$ /reporting/rep101.php
+  /reporting/rep102.php
+  /reporting/rep103.php
+  /reporting/rep104.php
+  /reporting/rep105.php
+  /reporting/rep106.php
+  /reporting/rep107.php
+  /reporting/rep108.php
+  /reporting/rep109.php
+  /reporting/rep110.php
+  /reporting/rep111.php
+  /reporting/rep112.php
+  /reporting/rep201.php
+  /reporting/rep202.php
+  /reporting/rep203.php
+  /reporting/rep204.php
+  /reporting/rep209.php
+  /reporting/rep210.php
+  /reporting/rep301.php
+  /reporting/rep302.php
+  /reporting/rep303.php
+  /reporting/rep304.php
+  /reporting/rep305.php
+  /reporting/rep401.php
+  /reporting/rep409.php
+  /reporting/rep501.php
+  /reporting/rep601.php
+  /reporting/rep701.php
+  /reporting/rep702.php
+  /reporting/rep704.php
+  /reporting/rep705.php
+  /reporting/rep706.php
+  /reporting/rep707.php
+  /reporting/rep708.php
+  /reporting/rep709.php
+  /reporting/rep710.php
+
+25-Feb-2010 Janusz Dobrowolski
+# Files manipulation helpers added
+$ /includes/main.inc
+# Cleanup
+$ /includes/db/sql_functions.inc
++ Added radio buttons helper
+$ /includes/ui/ui_input.inc
+# Smaller fixes: lists reset after page reload, nonformatted description for edition, html cleanup
+$ /includes/ui/ui_lists.inc
+! Changed _vd debug function to notification type
+$ /includes/ui/ui_view.inc
+# Layout fix on final screen 
+$ /purchasing/po_entry_items.php
+# Error message when no report file is found
+$ /reporting/prn_redirect.php
+# Code cleanup (missing $row declaration)
+$ /reporting/includes/pdf_report.inc
+
+20-Feb-2010 Joe Hunt
+# Wrong class parameter in Generqal Ledger Reports
+$ /applications/generalledger.php
+
+16-Feb-2010 Merged changes from main trunk up to 2.2.6 as follows
+------------------------------- Release 2.2.6 ----------------------------------
+16-Feb-2010 Joe Hunt
+! Release 2.2.6
+$ config.default.php
+  update.html
+  /lang/new_language_template/LC_MESSAGES/empty.po
+! CSS style is now implemented in all FA.
+! New label style for the themes. Better layout in supp inv/credit
+! A lot of code clean up. New password_row and file_row/cells.
+# Several minor bugs during final CSS implementaion
+  /access/login.php
+  /admin/attachments.php
+  /admin/change_current_user_password.php
+  /admin/company_preferences.php
+  /admin/create_coy.php
+  /admin/display_prefs.php
+  /admin/gl_setup.php
+  /admin/inst_lang.php
+  /admin/inst_module.php
+  /admin/users.php
+  /includes/ui/ui_controls.inc
+  /includes/ui/ui_input.inc
+  /includes/ui/ui_lists.inc
+  /inventory/manage/items.php
+  /purchasing/supplier_credit.php
+  /purchasing/supplier_invoice.php
+  /purchasing/includes/ui/po_ui.inc
+  /purchasing/includes/ui/invoice_ui.inc
+  /reporting/includes/reports_classes.inc
+  /sales/includes/ui/sales_order_ui.inc
+  /sales/view/view_sales_order.php
+  /themes/default/default.css
+  /themes/aqua/default.css
+  /themes/cool/default.css
+  
+
+11-Feb-2010 Janusz Dobrowolski
+# Better check for language session var.
+$ /includes/session.inc
+# Fixed IE related hotkeys problem with AltTab
+$ /js/inserts.js
+
+11-Feb-2010 Joe Hunt/Chaitanya
+# [0000204] GRN Valuation Report shows wrong data
+$ /reporting/rep305.php
+
+10-Feb-2010 Janusz Dobrowolski
+# [0000201] Cannot change item type when item is edited
+$  /inventory/manage/items.php
+# Sparse warning fixed.
+$ includes/db/manufacturing_db.inc
+
+10-Feb-2010 Joe Hunt
+! Changed so 'Allow Negative Stock' will update the GL cogs/inventory when
+  the correct values later are obtained.
+$ /admin/gl_setup.php
+  /includes/db/inventory_db.inc
+  /manufacturing/includes/db/work_orders_db.inc
+  /purchasing/includes/db/grn_db.inc
+  /purchasing/includes/db/invoice_db.inc
++ Added a selector for decimal values in Balance Sheet and P/L Statement
+$ /reporting/reports_main.php
+  /reporting/rep706.php
+  /reporting/rep707.php
+! Added trans_no in bank deposit/payment final link, by Tom Hallman.
+$ /gl/gl_bank.php
+  
+09-Feb-2010 Joe Hunt/Chaitanya
+# [0000202] Global $path_to_root is missing in function handle_submit() in file admin/create_coy.php 
+$ /admin/create_coy.php
+
+06-Feb-2010 Janusz Dobrowolski
+# Fixed get_standard_cost() for dummy items again.
+$ /includes/db/inventory_db.inc
+# Fixed bug resulting in broken line items relations after edition of multiline SO.
+$ /sales/includes/db/sales_invoice_db.inc
+! Yesterday changes removed
+$ /sales/includes/db/sales_delivery_db.inc
+  /sales/includes/db/sales_invoice_db.inc
+# Prevent saving empty lines in invoices/delivery notes - rerun
+  /reporting/rep107.php
+  /reporting/rep110.php
+
+06-Feb-2010 Joe Hunt/Chaitanya
+! Changed Balance Sheets/PL Statements to be recursive
+$ /gl/inquiry/balance_sheet.php
+  /gl/inquiry/profit_loss.php
+  /reporting/rep701.php
+  /reporting/rep705.php
+  /reporting/rep706.php
+  /reporting/rep707.php
+  
+05-Feb-2010 Joe Hunt/Kalido
++ Placing a print link in all view windows (without menus).
+$ /includes/main.inc
+  /includes/ui_controls.inc
+! Preparing for new recursive balance sheet/PL Statements
+$ /gl/includes/db/gl_db_accounts.inc
+  /gl/includes/db/gl_db_account_types.inc
+  
+05-Feb-2010 Janusz Dobrowolski
+# Fixed get_standard_cost() for dummy items
+$ /includes/db/inventory_db.inc
+# Prevent saving empty lines in invoices/delivery notes
+$ /sales/includes/db/sales_delivery_db.inc
+  /sales/includes/db/sales_invoice_db.inc
+
+03-Feb-2010 Janusz Dobrowolski
+# Fixed continuation after timeout.
+$ /access/login.php
+  /includes/main.inc
+  /includes/session.inc
+  /includes/page/footer.inc
+  /themes/aqua/default.css
+  /themes/cool/default.css
+  /themes/default/default.css
+# Added error message when no file is selected on view or download.
+$ /admin/backups.php
+
+03-Feb-2010 Joe Hunt
+# When buying a service item from a supplier, the delivery produced
+  wrong inventory GL transactions. No GL transactions should be here.
+$ /sales/includes/db/sales_delivery_db.inc
+# [0000200] stock_master material_cost incorrectly updated during GRN when 
+  price format uses thousands seperator. A couple of minor errors too. 
+$ /purchasing/includes/db/grn_db.inc
+  /purchasing/includes/db/invoices_db.inc
+# Exchange rate bug when searching a non existing customer
+$ /includes/banking.inc
+
+03-Feb-2010 Chaitanya/Joe
++ Added a Profit and Loss Drilldown page and changed menu link
+$ /applications/generalledger.php
+  /gl/inquiry/profit_loss.php (New file)
+  /gl/inquiry/balance_sheet.php
+! Better layout
+$ /gl/inquiry/journal_inquiry.php
+
+02-Feb-2010 Chaitanya
++ Added memo search on journal inquires.
+$ /gl/inquiry/journal_inquiry.php
+
+---------- End of changes from main trunk 2.2.5-2.2.6
+
+09-Feb-2010 Janusz Dobrowolski
++ Improved multilevel database transaction support
+$ /includes/errors.inc
+  /includes/db/connect_db.inc
+  /includes/db/sql_functions.inc
+  /sales/includes/cart_class.inc
++ Added Direct GRN and Direct Invoice in purchases module
+$ /applications/suppliers.php
+  /includes/current_user.inc
+  /includes/ui/ui_lists.inc
+  /purchasing/po_entry_items.php
+  /purchasing/po_receive_items.php
+  /purchasing/includes/po_class.inc
+  /purchasing/includes/db/grn_db.inc
+  /purchasing/includes/db/invoice_db.inc
+  /purchasing/includes/db/po_db.inc
+  /purchasing/includes/ui/grn_ui.inc
+  /purchasing/includes/ui/po_ui.inc
++ Added invoice preselection option.
+$ /purchasing/supplier_payment.php
+! Optimized extensions related code.
+$ /applications/application.php
+  /applications/customers.php
+  /applications/dimensions.php
+  /applications/generalledger.php
+  /applications/inventory.php
+  /applications/manufacturing.php
+  /applications/setup.php
+! Cleanup
+$ /purchasing/supplier_invoice.php
+  /sales/includes/ui/sales_order_ui.inc
+# Typo
+$ /sales/sales_order_entry.php
+
+05-Feb-2010 Janusz Dobrowolski
++ Multiply order items with the same stock_id (with warning), code cleanups
+$ /purchasing/po_entry_items.php
+  /purchasing/includes/po_class.inc
+  /purchasing/includes/supp_trans_class.inc
+  /purchasing/includes/db/po_db.inc
+  /purchasing/includes/ui/po_ui.inc
+# Fixed typo bugs
+$ /purchasing/includes/db/grn_db.inc
+  /purchasing/includes/db/invoice_db.inc
+
+04-Feb-2010 Joe Hunt
+! Extended account id's to 15 chars. Changed account type to varchar(10)
+  and class id varchar(3). Ability to change account groups online.
+$ /gl/manage/gl_account_classes.php
+  /gl/manage/gl_account_types.php
+  /gl/manage/gl_accounts.php
+  /gl/includes/db/gl_db_account_types.inc
+  /includes/ui/ui_lists.inc
+  /sql/alter2.3.sql
+  /sql/en_US-demo.sql
+  /sql/en_US-new.sql
+
+03-Feb-2010 Janusz Dobrowolski
+# Payment terms were not retrieved at invoice edit start.
+$ /sales/customer_invoice.php
+# Fixed item selector.
+$ /inventory/prices.php
+
+02-Feb-2010 Janusz Dobrowolski
+# Missing closing bracket
+$ /sql/alter2.3.php
+# Small fixes in sys_prefs update/retrieve
+$ /admin/db/company_db.inc
+
+02-Feb-2010 Merged changes from main trunk 2.2.4-2.2.5 as follows
+------------------------------- Release 2.2.5 ----------------------------------
+02-Feb-2010 Joe Hunt
+! Release 2.2.5
+$ $config.default.php
+  update.html
+# Bug in direct invoice when cash sales and no cash account defined in sales pos.
+$ /sales/sales_order_entry.php
+
+01-Feb-2010 Janusz Dobrowolski
+# Fixed error display hidden during ajax call in some situations
+$ /includes/errors.inc
+! Ajax timeout changed to 6/60s without retries, otherwise multiply 
+ errors are generated on fatal failure.
+$ /js/utils.js
+  /js/inserts.js
+
+01-Feb-2010 Joe Hunt
+# [0000198] Bug ignoring shipping cost in Direct Invoice (cash).
+$ /sales/sales_order_entry.php
+# [0000197] Bug in closing some special balance sheet levels.
+$ /gl/inquiry/balance_sheet.php
+  /reporting/rep705.php
+  /reporting/rep706.php
+  /reporting/rep707.php
+
+31-Jan-2010 Joe Hunt
+# Bug in Quick Entries with Tax added.
+$ /includes/ui/ui_view.inc
+
+30-Jan-2010 Joe Hunt/Chaitanya
++ Added a Balance Sheet drilldown inquiry in Banking and GL.
+  Contributed by Chatanya. Magnificient!
+$ /applications/generalledger.php
+  /gl/inquiry/balance_sheet.php (new file)
+  /gl/inquiry/gl_account_inquiry.php
++ Added Purchase tax account in en_US-new.sql and en_US-demo.sql
+$ /sql/en_US-demo.sql
+  /sql/en_US_new.sql
+# Fixed bug in gl accounts checks
+  /taxes/tax_types.php
+
+30-Jan-2010 Janusz Dobrowolski
+# [0000194] Fixed tax records from journal entry (voiding problem)
+$ /gl/includes/db/gl_db_trans.inc
+  /reporting/rep709.php
+
+25-Jan-2010 Joe Hunt
+# [0000195] Bug not deleting refs record when deleting Sales Order, Quotation
+# A couple of redirecting bugs
+$ /sales/sales_order_entry.php
+  /sales/includes/db/sales_order_db.inc
+# Bug in the sequence in sales price pickup
+$ /sales/includes/sales_db.inc
++ Added document Receipt and small rearrangements and bugfixes
+$ /includes/types.inc
+  /includes/ui/ui_view.inc
+  /reporting/rep107.php
+  /reporting/rep108.php
+  /reporting/rep109.php
+  /reporting/rep110.php
+  /reporting/rep111.php
+  /reporting/rep112.php (new document file)
+  /reporting/rep209.php
+  /reporting/rep210.php
+  /reporting/reports_main.php
+  /reporting/includes/doctext.inc
+  /reporting/includes/doctext2.inc
+  /reporting/includes/header2.inc
+  /reporting/includes/reporting.inc
+  /reporting/includes/reports_classes.inc
+  /sales/customer_payments.php
+  /sales/sales_order_entry.php
+  /sales/inquiry/customer_inquiry.php
+  
+22-Jan-2010 Tom Hallman/Joe Hunt
+# Exchange rate doesn't update table when adding new or deleting rate
+$ /gl/manage/exchange_rates.php
+! Small adjustments to Bank Statement and GL Transactions Reports
+$ /reporting/rep601.php
+  /reporting/rep704.php
+! Layout fix for Report Selectors in when running in Windows OS.
+$ /reporting/includes/reports_classes.inc
+
+20-Jan-2010 Joe Hunt
+! Put a heavy warning on marking the checkbox 'Allow Negative Inventory'.
+$ /admin/gl_setup.php
+
+18-Jan-2010 Joe Hunt
+# Demand was calculated double from Sales Quotation. Should be 0.
+$ /includes/db/manufacturing_db.inc
+# A back link was still in Bank Transfer.
+$ /gl/bank_transfer.php
+
+---------- End of changes from main trunk 2.2.4-2.2.5
+
+26-Jan-2010 Janusz Dobrowolski
++ Editable sales terms in sales orders and invoices, default terms from customer record.
+$ /admin/db/company_db.inc
+  /includes/ui/ui_lists.inc
+  /reporting/rep102.php
+  /reporting/rep108.php
+  /sales/create_recurrent_invoices.php
+  /sales/customer_delivery.php
+  /sales/customer_invoice.php
+  /sales/sales_order_entry.php
+  /sales/includes/cart_class.inc
+  /sales/includes/sales_db.inc
+  /sales/includes/db/cust_trans_db.inc
+  /sales/includes/db/sales_credit_db.inc
+  /sales/includes/db/sales_delivery_db.inc
+  /sales/includes/db/sales_invoice_db.inc
+  /sales/includes/db/sales_order_db.inc
+  /sales/includes/ui/sales_order_ui.inc
+  /sales/manage/sales_points.php
+  /sql/alter2.3.php
+  /sql/alter2.3.sql
+  /sql/en_US-demo.sql
+  /sql/en_US-new.sql
+
+26-Jan-2010 Janusz Dobrowolski
++ Full support for items with editable descriptions in sales documents
+$ /includes/ui/ui_lists.inc
+  /inventory/prices.php
+  /inventory/includes/db/items_db.inc
+  /inventory/manage/items.php
+  /js/inserts.js
+  /sales/customer_delivery.php
+  /sales/sales_order_entry.php
+  /sales/includes/cart_class.inc
+  /sales/includes/ui/sales_order_ui.inc
+  /sql/alter2.3.sql
+  /sql/en_US-demo.sql
+  /sql/en_US-new.sql
+# Fixed warning in debug mode
+$ /sales/inquiry/sales_deliveries_view.php
+  /sales/includes/db/cust_trans_db.inc
+
+23-Jan-2010 Janusz Dobrowolski
++ Improved locales checking
+$ /includes/lang/gettext.php
+  /includes/lang/language.php
++ Defaults for get_post also for array submits, added confirm dialog helper
+$ /includes/ui/ui_controls.inc
++ Added info label in error_log for warnings during upgrade process
+$ /includes/errors.inc
+! System preferences moved from company to new sys_prefs table
+$ /admin/company_preferences.php
+  /admin/display_prefs.php
+  /admin/gl_setup.php
+  /admin/users.php
+  /admin/db/company_db.inc
+  /admin/db/users_db.inc
+  /includes/current_user.inc
+  /includes/session.inc
+  /includes/prefs/sysprefs.inc
+  /includes/prefs/userprefs.inc
+  /sql/alter2.1.php
+  /sql/alter2.3.php
+  /sql/alter2.3.sql
+  /sql/en_US-demo.sql
+  /sql/en_US-new.sql
+  /install/save.php
+! Updated locales and database/src compatibility checks
+$ /admin/system_diagnostics.php
+! Added core version for checks against database version_id
+$ /config.default.php
+! System setup re-read after upgrade
+$  /admin/inst_upgrade.php
+! Cached company currency retrieval
+$ /includes/banking.inc
+! Removed sysprefs.inc include
+$ /includes/main.inc
+# Removed archaic error handling
+$ /includes/date_functions.inc
+# Missing path_to_root declaration in handle_submit().
+$ /admin/create_coy.php
+# Message box cleanup before ajax call
+$ /js/utils.js
+
+20-Jan-2010 Merged changes from main trunk 2.2.3-2.2.4 as follows
+
+------------------------------- Release 2.2.4 ----------------------------------
+17-Jan-2010 Joe Hunt
+! Release 2.2.4
+$ $config.default.php
+  update.html
+
+17-Jan-2010 Janusz Dobrowolski
+! Improved error checking.in company update/creation.
+$ /admin/create_coy.php
+# Fixed default value for stock_category.dflt_tax_type
+$ /sql/en_US-new.sql
+# Fixed errors display in ajax mode.
+$ /includes/errors.inc
+# Fixed checks for deleting POS
+$ /sales/manage/sales_points.php
+
+15-Jan-2010 Janusz Dobrowolski
+! Changed so GL Account Types id allows up to 10 digits.
+$ /gl/manage/gl_account_types.php
+# [0000187] Category and description reset after failed check;
+$ /inventory/manage/sales_kits.php
+# Cleaned warnings in errorlog.
+$ /sales/includes/sales_db.inc
+! Default 0 on empty amount fields
+$ /includes/data_checks.inc
+! Empty numeric input fields globaly defaulted to 0.
+$ /includes/data_checks.inc
+  /includes/ui/ui_input.inc
+
+15-Jan-2010 Joe Hunt
+# [0000190] Back link on confirmation only pages removed.
+$ /includes/page/footer.inc
+  /includes/ui/ui_view.inc
+  /includes/main.inc
+# Removed a comma after last item in structure for 0_tax_types, line 1596
+$ /sql/en_US-new.sql
+
+14-Jan-2010 Joe Hunt
+# A couple of small bugs were fixed in average material cost
+$ /purchasing/includes/db/grn_db.inc
+  /purchasing/includes/db/invoice_db.inc
+  /manufacturing/includes/db/work_orders_db.inc
+
+13-Jan-2010 Joe Hunt
+! Changed so also Item Adjustment and Cost Update allow more than 2 dec in price
+$ /inventory/cost_update.php
+  /inventory/includes/item_adjustments_ui.inc
+  /inventory/view/view_adjustment.php
+! Changed so GL Account Types id allows up to 6 digits.
+$ /gl/manage/gl_account_types.php
+  
+12-Jan-2010 Janusz Dobrowolski
+# Fixed buggy exemptions display
+$ /taxes/item_tax_types.php
+
+---------- End of changes from main trunk 2.2.3-2.2.4
+
+12-Jan-2010 Janusz Dobrowolski
+! Added sorting by branch_ref
+$ /sales/includes/db/branches_db.inc
+# Fixed misnamed function parameter.
+  /sales/includes/db/cust_trans_db.inc
+  /sales/inquiry/sales_deliveries_view.php
+
+12-Jan-2010 Merged changes from main trunk 2.2.2-2.2.3 as follows
+------------------------------- Release 2.2.3 ----------------------------------
+12-Jan-2010 Joe Hunt
+! Release 2.2.3
+! Allow using of multi level sub-types when digits are of same length in account types
+$ config.default.php
+  update.html
+  /gl/includes/db/gl_db_accounts.inc
+! Print COA also prints class id and account type id.
+$ /reporting/rep701.php
+
+
+11-Jan-2010 Janusz Dobrowolski
+# Removed invalid constraint on tax_types.
+$ /sql/en_US-new.sql
+
+10-Jan-2010 Janusz Dobrowolski
+! Small fix in new_doc_date()
+$ /includes/date_functions.inc
+# Prevent warnings for sql results without 'inactive' field
+$ /includes/ui/db_pager_view.inc
+# Fixed js error in IE7
+$ /js/inserts.js
++ Added support for customized doctext.inc/header2.inc
+$ /reporting/prn_redirect.php
+  /reporting/includes/pdf_report.inc
+! Increased number of decimals for tax calculations
+$ /taxes/tax_calc.inc
+! Code cleanup
+$ /includes/current_user.inc
+# Fixed check for missing POST in check_num()
+$ /includes/data_checks.inc
+# [0000187] Category and description reset after failed check;
+$ /inventory/manage/item_codes.php
+# [0000186] Timeout on Refresh button
+$ /sales/allocations/customer_allocate.php
+# [0000185] Update notification missing.
+$ inventory/reorder_level.php
+
+09-Jan-2010 Joe Hunt
+# Bugs in deleting fiscal year. Some transactions weren't deleted.
+$ /admin/fiscalyear.php
+
+07-Jan-2010 Joe Hunt
+! Changed to let the $doctypes in documents follow the types in types.inc
++ New document, Remittance, to print payment allocations to suppliers
+  Also print/email links from Supplier Payment and Supplier Inquiry.
+$ /purchasing/supplier_payment.php
+  /purchasing/inquiry/supplier_inquiry.php
+  /reporting/rep108.php
+  /reporting/rep109.php
+  /reporting/rep110.php
+  /reporting/rep111.php
+  /reporting/rep209.php
+  /reporting/rep210.php (New file)
+  /reporting/reports_main.php
+  /reporting/includes/doctext.inc
+  /reporting/includes/doctext2.inc
+  /reporting/includes/header2.inc
+  /reporting/includes/pdf_report.inc
+  /reporting/includes/reporting.inc
+  /reporting/includes/reports_classes.inc
+# Creating recurrent invoices with date outside fiscal year.  
+  /sales/create_recurrent_invoices.php
+  
+06-Jan-2010 Janusz Dobrowolski
+# Check on existence of locale.inc added to avoid blank pages when the file is broken.
+$ /includes/session.inc
+! Changed reference incrementation algorithm to preserve both number prefix and postfix.
+$ /includes/references.inc
+
+04-Jan-2010 Joe Hunt
+! Making the stretch parameter = 1 on default print pdf all over
+  Improved layout on documents.
+$ /reporting/includes/class.pdf.inc
+  /reporting/includes/pdf_report.inc
+  /reporting/includes/doctext.inc
+  /reporting/includes/doctext2.inc
+  /reporting/includes/header2.inc
+  
+31-Dec-2009 Joe Hunt
+# When updating tax rate, it didn't show and calculate correct in documents.
+$ /taxes/db/tax_groups_db.inc
+
+27-Dec-2009 Joe Hunt
+# Problems letting various currency bank accounts sharing the same GL account
+$ /gl/manage/bank_accounts.php
+  /gl/includes/db/gl_db_banking.inc
+
+---------- End of changes from main trunk 2.2.2-2.2.3
+
+11-Jan-2010 Janusz Dobrowolski
+! Optimized database indexes.
+$ /sql/alter2.3.sql
+  /sql/en_US-demo.sql
+  /sql/en_US-new.sql
+
+27-Dec-2009 Janusz Dobrowolski
++ Remote packages repository support for extensions and languages
+$ /config.default.php
+  /frontaccounting.php
+  /admin/inst_lang.php
+  /admin/inst_module.php
+  /includes/access_levels.inc
+  /includes/ui/ui_lists.inc
+  /sql/alter2.3.php
+# Small fix in handle_submit
+$ /admin/create_coy.php
+! Using var_dump function for storing variables in config files.
+$ /admin/db/maintenance_db.inc
++ Added copy_file(), check_write() helper functions.
+$ /includes/main.inc
++ Aded array_search_key() helper.
+$ /includes/lang/gettext.php
++ Added helper for checking langauge support.
+$ /includes/current_user.inc
++ Added helper for radio buttons.
+$ /includes/ui/ui_input.inc
+! Extension links support moved to application class.
+$ /applications/application.php
+  /applications/customers.php
+  /applications/dimensions.php
+  /applications/generalledger.php
+  /applications/inventory.php
+  /applications/manufacturing.php
+  /applications/setup.php
+  /applications/suppliers.php
+  /includes/archive.inc (new)
+  /includes/packages.inc (new)
++ Support for popup buttons
+$ /js/inserts.js
+
+24-Dec-2009 Merged changes from main trunk 2.2.1-2.2.2 as follows
+------------------------------- Release 2.2.2 ----------------------------------
+23-Dec-2009 Joe Hunt
+! Release 2.2.2
+$ /update.html
+! Changed so Printed Sales Order (Quotation) shows TOTAL VAT INCL. if it is.
+$ /reporting/rep109.php
+  /reporting/rep111.php
+  /reporting/includes/doctext.inc
+  /reporting/includes/doctext2.inc
+# Restoring journal entry sql to previous without join with bank_trans
+  due to error in joins. Tom Hallman works on it until 2.2.3
+$ /gl/inquiry/journal_inquiry.php  
+! Replaced all deprecated functions so FA runs in php >= 5.3.0 as well.
+$ /admin/db/maintenance_db.inc
+  /gl/gl_bank.php
+  /includes/db_pager.inc
+  /includes/session.inc
+  /includes/lang/language.php
+  /includes/page/header.inc
+  /install/save.php
+  /inventory/adjustments.php
+  /inventory/transfers.php
+  /purchasing/supplier_invoice.php
+  /purchasing/allocations/supplier_allocate.php
+  /purchasing/includes/ui/po_ui.inc
+  /reporting/includes/class.graphic.inc
+  /reporting/includes/tcpdf.php
+  /reporting/includes/Workbook.php
+  /sales/allocations/customer_allocate.php
+  
+22-Dec-2009 Joe Hunt
+! Some additional changes in pdf_report.inc for supporting report extensions.
+$ /reporting/includes/pdf_report.inc
+  /reporting/includes/excel_report.inc
+
+21-Dec-2009 Chaitanya/Janusz Dobrowolski
+# [0000184] Bad source document quantities update and invalid qtys during
+       derivative document entry.
+$ /sales/includes/cart_class.inc
+  /sales/includes/sales_db.inc
+# Fixed quantity columns descriptions in delivery edition.
+$ /sales/customer_delivery.php
+
+21-Dec-2009 Joe Hunt
+# Function money_format function doesn't exist in OS Win. Fix in current_user.inc
+  Some errors in header3() in pdf_report.inc.
+$ /includes/current_user.inc
+  /reporting/includes/pdf_report.inc
+
+18-Dec-2009 Joe Hunt
+# Allowing a quantity of 0 in a PO item line when modifying caused strange result.
+  Fixed depending on the decimals in the stock item to not allow less than minimum.
+$ /purchasing/po_entry_items.php
+
+12-Dec-2009 Joe Hunt
+! Implemented search on categories as well in sales_items_list...
+$ /includes/ui/ui_lists.inc
+
+09-Dec-2009 Janusz Dobrowolski
++ Added system diagnostics page
+$ /admin/system_diagnostics.php
+  /applications/setup.php
+
+08-Dec-2009 Tom Hallman/Joe Hunt
++ Extended the Report Engine to better support own reports
+$ /reporting/includes/class.pdf.inc
+  /reporting/includes/excel_report.inc
+  /reporting/includes/pdf_report.inc
+  /reporting/includes/tcpdf.php
+  /reporting/fonts/courier.php (new file)
+  /reporting/fonts/times.php (new file)
+  /reporting/fonts/timesb.php (new file)
+  /reporting/fonts/timesbi.php (new file)
+  /reporting/fonts/timesi.php (new file)
+  /reporting/fonts/symbol.php (new file)
+  /reporting/fonts/zapfdingbats.php (new file)
+  
+07-Dec-2009 Joe Hunt
+! Providing use of alternative providers for exchange rates.
+$ /gl/includes/db/gl_db_rates.inc
+
+06-Dec-2009 Janusz Dobrowolski
+# Safer algorithm for company removal, additional prefix check on company add.
+$ /admin/create_coy.php
+  /admin/db/maintenance_db.inc
+
+04-Dec-2009 Janusz Dobrowolski
+# [0000179] Cannot allocate ST_BANKPAYMENT type payments
+$ /includes/ui/allocation_cart.inc
+# False currency rate error on first opening of sales order page when customer_list is off.
+$ /sales/includes/cart_class.inc
+
+04-Dec-2009 Joe Hunt
+# Print Statement prints balances in wrong place.
+$ /reporting/rep108.php
+! Better date2sql in date_functions.inc
+$ /includes/date_functions.inc
+
+03-Dec-2009 Janusz Dobrowolski
+# Fixed bug [0000178] data error in supplier allocations
+$ /includes/ui/allocation_cart.inc
+
+---------- End of changes from main trunk 2.2.1-2.2.2
+
+10-Dec-2009 Joe Hunt
++ Enhanced Quick Entries to also support Balance Based source amount. Monthly or Yearly (all)
+  Only works with type Journal Entry.
+$ /gl/manage/gl_quick_entries.php
+  /gl/includes/ui/gl_journal_ui.inc
+  /includes/ui/ui_view.inc
+  /sql/alter2.3.sql
+  /sql/en_US-new.sql
+  /sql/en_US-demo.sql
+  .
+05-Dec-2009 Joe Hunt
+! Moved all SQL statements from PHP files into relevant *_db.inc files.
+  All folders done, except reporting/repXXX.php and reporting/includes/reports_classes.inc
+  Awaiting change in report mechanism
+$ /includes/ui/allocation_cart.inc
+  /reporting/includes/header2.inc
+  /reporting/includes/reports_classes.inc (partly)
+  /sales/create_recurrent_invoices.php
+  /sales/customer_payments.php
+  /sales/allocations/customer_allocate.php
+  /sales/includes/sales_db.inc
+  /sales/includes/db/branches_db.inc
+  /sales/includes/db/custalloc_db.inc
+  /sales/includes/db/customers_db.inc
+  /sales/includes/db/cust_trans_db.inc
+  /sales/includes/db/recurrent_invoices_db.inc (new file)
+  /sales/includes/db/sales_groups_db.inc (new file)
+  /sales/includes/db/sales_order_db.inc
+  /sales/inquiry/customer_allocation_inquiry.php
+  /sales/inquiry/customer_inquiry.php
+  /sales/inquiry/sales_deliveries_view.php
+  /sales/inquiry/sales_orders_view.php
+  /sales/manage/credit_status.php
+  /sales/manage/customers.php
+  /sales/manage/customer_branches.php
+  /sales/manage/recurrent_invoices.php
+  /sales/manage/sales_areas.php
+  /sales/manage/sales_groups.php
+  /sales/manage/sales_people.php
+  /sales/manage/sales_points.php
+  /sales/manage/sales_types.php
+  /sales/view/view_sales_order.php
+  /taxes/item_tax_types.php
+  /taxes/tax_groups.php
+  /taxes/tax_types.php
+  /taxes/db/tax_types_db.inc
+
+04-Dec-2009 Janusz Dobrowolski
++ Next release upgrade skeleton files.
+$ /sql/alter2.3.php (new)
+  /sql/alter2.3.sql (new)
+
+04-Dec-2009 Tom Hallman
+# Added key on type, id in comments to improve performance
+$ /sql/en_US-demo.sql
+  /sql/en_US-new.sql
+
+04-Dec-2009 Joe Hunt
+! Moved all SQL statements from PHP files into relevant *_db.inc files.
+  Included purchasing folder
+$ /includes/db/manufacturing_db.inc
+  /manufacturing/search_work_orders.php
+  /manufacturing/work_order_costs.php
+  /manufacturing/includes/db/work_orders_db.inc
+  /manufacturing/inquiry/where_used_inquiry.php
+  /manufacturing/manage/bom_edit.php
+  /manufacturing/manage/work_centres.php
+  /purchasing/po_entry_items.php
+  /purchasing/supplier_credit.php
+  /purchasing/supplier_invoice.php
+  /purchasing/includes/db/invoice_db.inc
+  /purchasing/includes/db/po_db.inc
+  /purchasing/includes/db/suppalloc_db.inc
+  /purchasing/includes/db/supp_trans_db.inc
+  /purchasing/inquiry/po_search.php
+  /purchasing/inquiry/po_search_completed.php
+  /purchasing/inquiry/supplier_allocations_inquiry.php
+  /purchasing/inquiry/supplier_inquiry.php
+  /purchasing/manage/suppliers.php
+
+03-Dec-2009 Joe Hunt
+! Moved all SQL statements from PHP files into relevant *_db.inc files.
+  Included inventory folder
+$ /admin/payment_terms.php
+  /admin/printers.php
+  /admin/print_profiles.php
+  /admin/shipping_companies.php
+  /admin/db/company_db.inc
+  /admin/db/printers_db.inc
+  /admin/db/shipping_db.inc
+  /dimensions/includes/dimens_db.inc
+  /gl/gl_bank.php
+  /gl/includes/db/gl_db_accounts.inc
+  /gl/includes/db/gl_db_account_types.inc
+  /gl/includes/db/gl_db_bank_accounts.inc
+  /gl/includes/db/gl_db_curriencies.inc
+  /gl/manage/bank_accounts.php
+  /gl/manage/currencies.php
+  /gl/manage/gl_accounts.php
+  /gl/manage/gl_account_classes.php
+  /gl/manage/gl_account_types.php
+  /inventory/purchasing_data.php
+  /inventory/includes/inventory_db.inc
+  /inventory/includes/db/items_category_db.inc
+  /inventory/includes/db/items_db.inc
+  /inventory/includes/db/items_locations_db.inc
+  /inventory/includes/db/items_purchases_db.inc (New file)
+  /inventory/includes/db/movement_types_db.inc
+  /inventory/inquiry/stock_movements.php
+  /inventory/manage/items_php
+  /inventory/manage/item_categories.php
+  /inventory/manage/locations.php
+  /inventory/manage/movement_types.php
+  
+02-Dec-2009 Janusz Dobrowolski
+! Merged changed from trunk up to 2.2.1 ---------------------------------------
+
+$ /sql/en_US-demo.sql
+# Fixed to store default null values on export
+$ /admin/db/maintenance_db.inc
+! Display sql in case of duplicate data error when go_debug=1 - redone
+$ /includes/errors.inc
+# Display settings are restored in every login in demo mode.
+$ /admin/display_prefs.php
+  /includes/current_user.inc
+# Fixed view/download backup
+$ /admin/backups.php
+
+$ config.default.php
+  /lang/new_language_template/LC_MESSAGES/empty.po
+  /lang/en_US/LC_MESSAGES/en_US.mo
+# More restrictions on deleting gl_accounts
+$ /gl/manage/gl_accounts.php
+! Changed 'delete' to 'deldump' in backups.php to better satisfy IE8 (Yes!)
+$ /admin/backups.php
+
+01-Dec-2009 Janusz Dobrowolski
+# Removing config.php after error during install. Otherwise misleading message is displayed.
+$ /install/save.php
+! Display sql in case of duplicate data error when go_debug=1.
+$ /includes/errors.inc
+! Next transaction numbers retrieved from transaction table instead of sys_types
+$ /includes/systypes.inc
+
+29-Nov-2009 Janusz Dobrowolski
+# Fixed change of language in display preferences. Removed sparse $_SESSION['languages'] variable
+$ /includes/lang/language.php
+  /includes/session.inc
+! Array helpers moved to current_user. Added array_search_key and array_search_key helpers.
+$ /includes/current_user.inc
+  /includes/main.inc
+
+28-Nov-2009 Chaitanya/Joe Hunt
+# Missing ajax trigger in stock_purchasable_items_list_cells. Prices not updated instantly.
+$ /purchasing/includes/ui/po_ui.inc
+
+26-Nov-2009 Joe Hunt
+# Round to nearest value of 0 produced a division by zero error
+$ /admin/company_preferences.php
+# When printing reference numbers instead of internal numbers on documents
+  it should also refer to reference numbers in deliveries and orders.
+$ /reporting/includes/header2.inc
+
+25-Nov-2009 Joe Hunt/Tom Hallman
+# Fixed so total amount cannot be 0 in Bank Payments/Deposits
+$ /gl/gl_bank.php
+
+21-Nov-2009 Janusz Dobrowolski
+# Fixed bug [0000178] data error in supplier allocations
+$ /includes/ui/allocation_cart.inc
+! Fixed type constant usage.
+$ /purchasing/includes/db/supp_trans_db.inc
+
+--------------
+
+01-Dec-2009 Joe Hunt
+! Moved all SQL statements from PHP files into relevant *_db.inc files.
+  included gl folder
+$ /dimensions/includes/dimensions_db.inc
+  /dimensions/includes/dimensions_ui.inc
+  /dimensions/inquiry/search_dimensions.php
+  /gl/bank_account_reconcile.pph
+  /gl/gl_budget.php
+  /gl/includes/db/gl_db_accounts.inc
+  /gl/includes/db/gl_db_account_types.inc
+  /gl/includes/db/gl_db_bank_accounts.inc
+  /gl/includes/db/gl_db_bank_trans.inc
+  /gl/includes/db/gl_db_currencies.inc
+  /gl/includes/db/gl_db_rates.inc
+  /gl/includes/db/gl_db_trans.inc
+  /gl/inquiry/bank_inquiry.php
+  /gl/inquiry/journal_inquiry.php
+  /gl/manage/bank_accounts.php
+  /gl/manage/currencies.php
+  /gl/manage/exchange_rates.php
+  /gl/manage/gl_accounts.php
+  /gl/manage/gl_account_classes.php
+  /gl/manage/gl_account_types.php
+  /gl/view/gl_trans_view.php
+  
+30-Nov-2009 Joe Hunt
+! Moved all SQL statements from PHP files into relevant *_db.inc files.
+  admin folder
+$ /admin/attachments.php
+  /admin/create_coy.php
+  /admin/fiscalyears.php
+  /admin/gl_setup.php
+  /admin/payment_terms.php
+  /admin/printers.php
+  /admin/shipping_companies.php
+  /admin/view_print_transaction.php
+  /admin/db/attachments_db.inc (New file)
+  /admin/db/company_db.inc
+  /admin/db/fiscalyears_db.inc (New file)
+  /admin/db/maintenance_db.inc
+  /admin/db/printers_db.inc
+  /admin/db/shipping_db.inc (New file)
+  /admin/db/transactions_db.inc (New file)
+  /includes/date_functions.inc
+  /reporting/includes/excel_report.inc
+  /reporting/includes/pdf_report.inc
+
+------------------------------- Release 2.2 ----------------------------------
+18-Nov-2009 Joe Hunt
+! Release 2.2
+$ config.default.php
+# Allow null references in trans to show up in gl_trans_view
+$ /gl/view/gl_trans_view.php
+# Fixed side bug after last sql update.
+$ /gl/bank_account_reconcile.php
+
+17-Nov-2009 Joe Hunt/Tom Hallman
+! Moved payment terms in documents for better view. Increased
+  space for legal text.
+$ /reporting/includes/header2.inc
+  /reporting/includes/pdf_report.inc
+! Changed sorting in get_gl_transactions to sort by tran_date, counter
+  Changed period in Journal Entries to one month instead of one year.
+$ /gl/includes/db/gl_db_trans.inc
+  /gl/inquiry/journal_inquiry.php
+! Changed rep705 to show fiscal year instead of year
+$ /reporting/rep705.php
+  /reporting/includes/reports_classes.inc
+! updated fles
+$ update.html
+  /lang/new_language_template/LC_MESSAGES/empty.po
+  
+15-Nov-2009 Janusz Dobrowolski
++ Added integration of custom and extended reports into reporting module; optimizations.
+$ /reporting/prn_redirect.php
+  /reporting/reports_main.php
+  /reporting/includes/reports_classes.inc
+! All *_list() helper functions now return html code, while *_list_cells/*_list_row() display the controls directly.
+$ /includes/ui/ui_lists.inc
+  /admin/backups.php
+  /admin/inst_module.php
+  /admin/print_profiles.php
+  /gl/includes/ui/gl_bank_ui.inc
+  /gl/includes/ui/gl_journal_ui.inc
+  /gl/manage/exchange_rates.php
+  /includes/ui/ui_input.inc
+  /inventory/cost_update.php
+  /inventory/prices.php
+  /inventory/purchasing_data.php
+  /inventory/reorder_level.php
+  /inventory/inquiry/stock_status.php
+  /inventory/manage/item_codes.php
+  /inventory/manage/items.php
+  /inventory/manage/sales_kits.php
+  /manufacturing/inquiry/where_used_inquiry.php
+  /manufacturing/manage/bom_edit.php
+  /purchasing/allocations/supplier_allocation_main.php
+  /purchasing/includes/ui/invoice_ui.inc
+  /purchasing/includes/ui/po_ui.inc
+  /sales/allocations/customer_allocation_main.php
+  /sales/manage/customer_branches.php
+
 13-Nov-2009 Tom Hallman/Joe Hunt
 ! Allow editing account when editing a row in GL Bank and GL Journal Entry
 $ /gl/gl_bank.php