Removed editable rate field in tax_group_items.
[fa-stable.git] / CHANGELOG.txt
index eb2fd3cf2127f73e4cd8c51bd8750e39c85ae300..6fba00ee66fb0f9c3ba9d9c7ba8b83efdb02062d 100644 (file)
@@ -19,6 +19,839 @@ Legend:
 ! -> Note
 $ -> Affected files
 
+20-Sep-2009 Joe Hunt
+! Removed editable rate field in tax_group_items.
+# A start_form and end_form was missing
+$ /taxes/tax_groups.php
+
+20-Sep-2009 Janusz Dobrowolski
++ Optional demo data checkbox on install page.
+$ /install/index.php
+  /install/save.php
+
+19-Sep-2009 Janusz Dobrowolski
++ Support for inactive record control added, optimizations.
+$ /includes/db_pager.inc
+  /includes/ui/db_pager_view.inc
+! db_pager instead of simple table used for table of branches
+$ /sales/manage/customer_branches.php
+! Cleanup after db_pager optimization
+$ /admin/view_print_transaction.php
+  /dimensions/inquiry/search_dimensions.php
+  /gl/bank_account_reconcile.php
+  /gl/inquiry/journal_inquiry.php
+  /gl/manage/exchange_rates.php
+  /manufacturing/search_work_orders.php
+  /manufacturing/inquiry/where_used_inquiry.php
+  /purchasing/allocations/supplier_allocation_main.php
+  /purchasing/inquiry/po_search.php
+  /purchasing/inquiry/po_search_completed.php
+  /purchasing/inquiry/supplier_allocation_inquiry.php
+  /purchasing/inquiry/supplier_inquiry.php
+  /sales/allocations/customer_allocation_main.php
+  /sales/inquiry/customer_allocation_inquiry.php
+  /sales/inquiry/customer_inquiry.php
+  /sales/inquiry/sales_deliveries_view.php
+  /sales/inquiry/sales_orders_view.php
+# Additional fix after removal of bank account report parameter
+$ /sales/create_recurrent_invoices.php
+  /reporting/rep107.php
+
+19-Sep-2009 Joe Hunt
+# Eliminate PT_WORKORDER from payment_person_types_list
+$ /includes/ui/ui_lists.inc
+! Error msg in Bank Transfer if no Bank Charge Account set.
+$ /gl/bank_transfer.php
+
+18-Sep-2009 Janusz Dobrowolski
++ Added currency default bank accounts used in reporting instead of manual account selector.
+$ /gl/includes/db/gl_db_bank_accounts.inc
+  /gl/manage/bank_accounts.php
+  /reporting/rep107.php
+  /reporting/rep108.php
+  /reporting/rep109.php
+  /reporting/rep111.php
+  /reporting/rep209.php
+  /reporting/reports_main.php
+  /reporting/includes/reporting.inc
+  /sql/alter2.2.sql
+  /sql/en_US-demo.sql
+  /sql/en_US-new.sql
+
+17-Sep-2009 Joe Hunt
++ Added release note file for 2.2.
+$ /doc/2.2-Beta.txt
+
+16-Sep-2009 Joe Hunt
+! Clean ups in default themes.
+$ config.php
+  /admin/display_prefs.php
+  /themes/default/default.css
+  /themes/aqua/default.css
+  /themes/cool/default.css
+# Removing php5 date warnings
+$ /includes/date_functions.inc
+  
+15-Sep-2009 Janusz Dobrowolski/Joe Hunt
+# Fixed journal entry type and systype selectors
+# Restore of the 4 include files in types.inc
+$ /includes/types.inc
+! Cleanup
+$ /includes/ui/ui_lists.inc
+  /reporting/includes/reports_classes.inc
+! Changed security roles in default COAs.
+$ /sql/en_US-demo.sql
+  /sql/en_US-new.sql
+# Fixed GET call continuation after timeout and logout page access without authorization
+$ /access/login.php
+  /includes/session.inc
+  /includes/prefs/userprefs.inc
+
+14-Sep-2009 Joe Hunt
+! Changed all numeric constants to the new defined constants. A huge task.
+$ /admin/fiscalyears.php
+  /admin/forms_setup.php
+  /admin/view_print_transaction.php
+  /admin/void_transaction.php
+  /gl/includes/db/gl_db_banking.inc
+  /gl_includes/db/gl_db_trans.inc
+  /gl/inquiry/journal_inquiry.php
+  /includes/systypes.inc
+  /includes/ui/allocation_cart.inc
+  /includes/ui/ui_view.inc
+  /inventory/inquiry/stock_movements.php
+  /manufacturing/includes/db/work_order_issues_db.inc
+  /manufacturing/includes/db/work_order_produce_items.inc
+  /manufacturing/view/wo_production_view.php
+  /purchasing/po_receive_items.php
+  /purchasing/supplier_credit.php
+  /purchasing/supplier_invoice.php
+  /purchasing/supplier_payment.php
+  /purchasing/allocations/supplier_allocation_main.php
+  /purchasing/includes/db/grn_db.inc
+  /purchasing/includes/db/invoice_db.inc
+  /purchasing/includes/db/suballoc_db.inc
+  /purchasing/includes/db/suppliers_db.inc
+  /purchasing/includes/db/supp_payment_db.inc
+  /purchasing/includes/db/supp_trans_db.inc
+  /purchasing/includes/ui/grn_ui.inc
+  /purchasing/includes/ui/invoice_ui.inc
+  /purchasing/inquiry/supplier_allocation_inquiry.php
+  /purchasing/inquiry/supplier_inquiry.php
+  /purchasing/view/view_grn.php
+  /purchasing/view/view_po.php
+  /purchasing/view/view_supp_credit.php
+  /purchasing/view/view_supp_invoice.php
+  /purchasing/view/view_supp_payment.php
+  /reporting/rep101.php
+  /reporting/rep102.php
+  /reporting/rep103.php
+  /reporting/rep105.php
+  /reporting/rep106.php
+  /reporting/rep107.php
+  /reporting/rep108.php
+  /reporting/rep109.php
+  /reporting/rep110.php
+  /reporting/rep111.php
+  /reporting/rep201.php
+  /reporting/rep202.php
+  /reporting/rep203.php
+  /reporting/rep304.php
+  /reporting/rep409.php
+  /reporting/rep709.php
+  /reporting/includes/reporting.inc
+  /reporting/includes/reports_classes.inc
+  /sales/create_recurrent_invoices.php
+  /sales/credit_note_entry.php
+  /sales/customer_credit_invoice.php
+  /sales/customer_delivery.php
+  /sales/customer_invoice.php
+  /sales/customer_payments.php
+  /sales/sales_order_entry.php
+  /sales/includes/cart_class.inc
+  /sales/includes/sales_db.inc
+  /sales/includes/db/custalloc_db.inc
+  /sales/includes/db/cust_trans_db.inc
+  /sales/includes/db/payment_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/inquiry/customer_allocation_inquiry.php
+  /sales/inquiry/customer_inquiry.php
+  /sales/inquiry/sales_deliveries_view.php
+  /sales/inquiry/sales_orders_view.php
+  /sales/manage/recurrent_invoices.php
+  /sales/view/view_credit.php
+  /sales/view/view_dispatch.php
+  /sales/view/view_invoice.php
+  /sales/view/view_sales_order.php
+  
+13-Sep-2009 Janusz Dobrowolski
+! Eliminated non-static method calls and some more fixes to avoid log warnings on both php 4 and 5:
+ Classes systypes, bank_account_types, payment_person_types, wo_types, reserved replaced by
+simple arrays and defines, removed wrapper get_text class, static method calls replaced by
+calls to singleton variables or defines. Suppressed warnings generated by html_entity_decode()
+and htmlspecialchars() for unsupported encodings.
+$ /frontaccounting.php
+  /admin/display_prefs.php
+  /admin/fiscalyears.php
+  /admin/forms_setup.php
+  /admin/view_print_transaction.php
+  /admin/void_transaction.php
+  /admin/db/voiding_db.inc
+  /dimensions/dimension_entry.php
+  /dimensions/includes/dimensions_db.inc
+  /dimensions/inquiry/search_dimensions.php
+  /dimensions/view/view_dimension.php
+  /gl/bank_account_reconcile.php
+  /gl/bank_transfer.php
+  /gl/gl_bank.php
+  /gl/gl_journal.php
+  /gl/includes/db/gl_db_banking.inc
+  /gl/includes/db/gl_db_trans.inc
+  /gl/includes/ui/gl_bank_ui.inc
+  /gl/inquiry/bank_inquiry.php
+  /gl/inquiry/gl_account_inquiry.php
+  /gl/inquiry/journal_inquiry.php
+  /gl/manage/bank_accounts.php
+  /gl/manage/gl_account_types.php
+  /gl/view/bank_transfer_view.php
+  /gl/view/gl_deposit_view.php
+  /gl/view/gl_payment_view.php
+  /gl/view/gl_trans_view.php
+  /includes/reserved.inc (Removed)
+  /includes/JsHttpRequest.php
+  /includes/banking.inc
+  /includes/errors.inc
+  /includes/main.inc
+  /includes/references.inc
+  /includes/session.inc
+  /includes/types.inc
+  /includes/lang/gettext.php
+  /includes/lang/language.php
+  /includes/page/footer.inc
+  /includes/prefs/sysprefs.inc
+  /includes/prefs/userprefs.inc
+  /includes/ui/allocation_cart.inc
+  /includes/ui/items_cart.inc
+  /includes/ui/ui_globals.inc
+  /includes/ui/ui_lists.inc
+  /includes/ui/ui_view.inc
+  /inventory/adjustments.php
+  /inventory/cost_update.php
+  /inventory/transfers.php
+  /inventory/includes/item_adjustments_ui.inc
+  /inventory/includes/stock_transfers_ui.inc
+  /inventory/includes/db/items_adjust_db.inc
+  /inventory/includes/db/items_trans_db.inc
+  /inventory/includes/db/items_transfer_db.inc
+  /inventory/inquiry/stock_movements.php
+  /inventory/manage/movement_types.php
+  /inventory/view/view_adjustment.php
+  /inventory/view/view_transfer.php
+  /manufacturing/search_work_orders.php
+  /manufacturing/work_order_add_finished.php
+  /manufacturing/work_order_costs.php
+  /manufacturing/work_order_entry.php
+  /manufacturing/work_order_issue.php
+  /manufacturing/work_order_release.php
+  /manufacturing/includes/manufacturing_ui.inc
+  /manufacturing/includes/work_order_issue_ui.inc
+  /manufacturing/includes/db/work_order_issues_db.inc
+  /manufacturing/includes/db/work_order_produce_items_db.inc
+  /manufacturing/includes/db/work_orders_db.inc
+  /manufacturing/includes/db/work_orders_quick_db.inc
+  /manufacturing/view/wo_issue_view.php
+  /manufacturing/view/wo_production_view.php
+  /manufacturing/view/work_order_view.php
+  /purchasing/po_entry_items.php
+  /purchasing/po_receive_items.php
+  /purchasing/supplier_credit.php
+  /purchasing/supplier_invoice.php
+  /purchasing/supplier_payment.php
+  /purchasing/allocations/supplier_allocate.php
+  /purchasing/allocations/supplier_allocation_main.php
+  /purchasing/includes/purchasing_db.inc
+  /purchasing/includes/db/grn_db.inc
+  /purchasing/includes/db/invoice_db.inc
+  /purchasing/includes/db/po_db.inc
+  /purchasing/includes/db/supp_payment_db.inc
+  /purchasing/includes/db/suppalloc_db.inc
+  /purchasing/includes/ui/grn_ui.inc
+  /purchasing/includes/ui/invoice_ui.inc
+  /purchasing/includes/ui/po_ui.inc
+  /purchasing/inquiry/po_search.php
+  /purchasing/inquiry/po_search_completed.php
+  /purchasing/inquiry/supplier_allocation_inquiry.php
+  /purchasing/inquiry/supplier_inquiry.php
+  /purchasing/view/view_supp_credit.php
+  /purchasing/view/view_supp_payment.php
+  /reporting/rep101.php
+  /reporting/rep102.php
+  /reporting/rep103.php
+  /reporting/rep104.php
+  /reporting/rep105.php
+  /reporting/rep108.php
+  /reporting/rep201.php
+  /reporting/rep202.php
+  /reporting/rep203.php
+  /reporting/rep204.php
+  /reporting/rep301.php
+  /reporting/rep302.php
+  /reporting/rep303.php
+  /reporting/rep304.php
+  /reporting/rep409.php
+  /reporting/rep601.php
+  /reporting/rep702.php
+  /reporting/rep704.php
+  /reporting/rep709.php
+  /reporting/rep710.php
+  /reporting/includes/header2.inc
+  /reporting/includes/reporting.inc
+  /reporting/includes/reports_classes.inc
+  /sales/create_recurrent_invoices.php
+  /sales/credit_note_entry.php
+  /sales/customer_credit_invoice.php
+  /sales/customer_delivery.php
+  /sales/customer_invoice.php
+  /sales/customer_payments.php
+  /sales/sales_order_entry.php
+  /sales/allocations/customer_allocate.php
+  /sales/allocations/customer_allocation_main.php
+  /sales/includes/cart_class.inc
+  /sales/includes/sales_db.inc
+  /sales/includes/db/cust_trans_db.inc
+  /sales/includes/db/custalloc_db.inc
+  /sales/includes/db/payment_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_credit_ui.inc
+  /sales/includes/ui/sales_order_ui.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/customers.php
+  /sales/view/view_credit.php
+  /sales/view/view_dispatch.php
+  /sales/view/view_invoice.php
+  /sales/view/view_receipt.php
+  /taxes/tax_groups.php
+
+11-Sep-2009 Joe Hunt
+! Changed so deleting of fiscal year also handles sales quotations
+! Check that new closing accounts have been set before closure.
+$ /admin/fiscalyears.php
+! Check that new bank charge account have been set before adding bank charge.
+$ /sales/customer_payments.php
+  /purchasing/supplier_payment.php
+
+10-Sep-2009 Joe Hunt
+! By changing a simple sentence in allocation_cart.inc, the customer/supplier payments works with prompt payment discounts
+$ /includes/ui/allocation_cart.inc
+# Small typo error in types.inc
+/includes/types.inc
+
+09-Sep-2009 Janusz Dobrowolski
+# Added two special access areas for bank gl postings and grn removal.
+$ /gl/gl_journal.php
+  /gl/includes/ui/gl_journal_ui.inc
+  /includes/access_levels.inc
+  /purchasing/supplier_invoice.php
+  /purchasing/includes/ui/invoice_ui.inc
+  /sql/alter2.2.php
+! Added generic access level checking function can_access().
+$ /includes/current_user.inc
+! Code cleanup
+$ /admin/users.php
+# Activated javascript confirm dialogs
+$ /js/inserts.js
+# Fixed dialogs containing newlines.
+$ /includes/ui/ui_input.inc
++ Added js confirm dialogs for deleting and restoring backup files.
+$ /admin/backups.php
+
+08-Sep-2009 Joe Hunt
+! Changed so voiding and view/print is working with the new Sales Order/Sales Quotation
+$ /admin/view_print_transaction.php
+  /admin/void_transaction.php
+  /admin/db/voiding_db.inc
+  /sales/includes/db/sales_order_db.inc
+  /sales/view/view_sales_order.php
+  
+08-Sep-2009 Janusz Dobrowolski
++ Added detection of partial db upgrade.
+$ /admin/inst_upgrade.php
+  /sql/alter2.1.php
+  /sql/alter2.2.php
+# Small fixes to db upgrade for quotations
+$ /sql/alter2.2.php
+  /sql/alter2.2.sql
+# Added missing sys info for quotations, fixed reference for SO
+$ /includes/systypes.inc
+# Removed obsolete field in sys_types
+$ /sql/en_US-demo.sql
+  /sql/en_US-new.sql
+# date_diff function name changed to date_diff2 for php5.3 compatibility 
+$ /dimensions/inquiry/search_dimensions.php
+  /includes/date_functions.inc
+  /manufacturing/search_work_orders.php
+  /manufacturing/work_order_add_finished.php
+  /manufacturing/work_order_costs.php
+  /sales/sales_order_entry.php
+  /sales/includes/cart_class.inc
+  /sales/includes/ui/sales_order_ui.inc
+
+08-Sep-2009 Joe Hunt
++ Added Sales Quotations, inquiry and report
+$ /applications/customers.php
+  /includes/types.inc
+  /includes/ui/ui_view.inc
+  /reporting/rep105.php
+  /reporting/rep107.php
+  /reporting/rep109.php
+  /reporting/rep110.php
+  /reporting/rep111.php (new file)
+  /reporting/reports_main.php
+  /reporting/includes/doctext.php
+  /reporting/includes/doctext2.php
+  /reporting/includes/header2.inc
+  /reporting/includes/reporting.inc
+  /reporting/includes/reports_classes.inc
+  /sales/customer_delivery.php
+  /sales/customer_invoice.php
+  /sales/sales_order_entry.php
+  /sales/includes/cart_class.inc
+  /sales/includes/db/sales_delivery_db.inc
+  /sales/includes/db/sales_order_db.inc
+  /sales/includes/ui/sales_order_ui.inc
+  /sales/inquiry/sales_orders_view.php
+  /sales/view/view_dispatch.php
+  /sales/view/view_invoice.php
+  /sales/view/view_sales_order.php
+  /sql/alter2.2.sql
+  /sql/en_US-demo.sql
+  /sql/en_US-new.sql
+! Allow re-opening of Dimensions
+$ /dimensions/dimension_entry.php
+  /dimensions/includes/dimensions_db.inc
+  /dimensions/inquiry/search_dimensions.php
+  
+01-Sep-2009 Janusz Dobrowolski
+# Fixed security sections db update.
+$ /admin/security_roles.php
+# Fixed ui behaviour during FA ugrade.
+$ /includes/current_user.inc
+  /includes/session.inc
+  /access/login.php
+# Company directory where not deleted during company removal.
+$ /admin/create_coy.php
+  /includes/main.inc
+# Fixed old security settings import.
+  /sql/alter2.2.php
+  /sql/alter2.2.sql
+
+31-Aug-2009 Janusz Dobrowolski
+! gl accounts selector ordered by account class id
+$ /includes/ui/ui_lists.inc
+! Changed security modules to sections
+$ /admin/security_roles.php
+  /admin/db/security_db.inc
+! Fine tuned security sections/areas.
+$ /includes/access_levels.inc
++ Optimized js compressor (up to 5 times faster)
+$ /includes/main.inc
+! Changed order of gl account selector, added security roles list.
+$ /includes/ui/ui_lists.inc
+! Switch to new access levels system
+$ /config.php
+  /index.php
+  /access/logout.php
+  /access/timeout.php
+  /admin/*.php
+  /admin/db/users_db.inc
+  /applications/application.php
+  /applications/setup.php
+  /dimensions/dimension_entry.php
+  /dimensions/inquiry/search_dimensions.php
+  /dimensions/view/view_dimension.php
+  /gl/*.php
+  /gl/inquiry/*.php
+  /gl/manage/*.php
+  /gl/view/*.php
+  /includes/current_user.inc
+  /includes/session.inc
+  /inventory/*.php
+  /inventory/inquiry/*.php
+  /inventory/manage/*.php
+  /inventory/view/*.php
+  /manufacturing/*.php
+  /manufacturing/inquiry/*.php
+  /manufacturing/manage/*.php
+  /manufacturing/view/*.php
+  /purchasing/*.php
+  /purchasing/allocations/*.php
+  /purchasing/inquiry/*.php
+  /purchasing/manage/suppliers.php
+  /purchasing/view/*.php
+  /reporting/prn_redirect.php
+  /reporting/rep*.php
+  /reporting/reports_main.php
+  /reporting/includes/pdf_report.inc
+  /sales/*.php
+  /sales/allocations/*.php
+  /sales/inquiry/*.php
+  /sales/manage/*.php
+  /sales/view/*.php
+  /sql/alter2.2.php
+  /sql/alter2.2.sql
+  /sql/en_US-demo.sql
+  /sql/en_US-new.sql
+  /taxes/*.php
+
+28-Aug-2009 Joe Hunt
+# The reference for deposits and payments didn't show up in Tax Report
+$ /reporting/rep709.php
+# Minor bug in Quick Entries display
+$ /includes/ui/ui_view.inc
+  
+27-Aug-2009 Joe Hunt
+# bank_trans_type_id removed from bank_trans in en_US-demo.sql and en_US-new.sql.
+$ /sql/en_US-demo.sql
+  /sql/en_US-new.sql
+  
+26-Aug-2009 Janusz Dobrowolski
+! Merged changes from main trunk  2.1.4-2.1.5 (see below)
+
+$ /config.php
+  /includes/ui/ui_view.inc
+  /includes/current_user.inc
+  /includes/ui/ui_input.inc
+  /inventory/purchasing_data.php
+  /install/save.php
+  /gl/manage/gl_accounts.php
+  /gl/includes/gl_db_accounts.inc
+  /gl/includes/db/gl_db_bank_accounts.inc
+  /gl/manage/gl_quick_entries.php
+  /gl/manage/gl_account_classes.php
+  /gl/includes/db/gl_db_bank_trans.inc
+  /purchasing/includes/db/invoice_db.inc
+  /purchasing/includes/ui/invoice_ui.inc
+  /purchasing/includes/ui/po_ui.inc
+  /purchasing/includes/supp_trans_class.inc
+  /purchasing/po_receive_items.php
+  /purchasing/view/view_grn.php
+  /purchasing/view/view_po.php
+  /purchasing/supplier_payment.php
+  /purchasing/includes/purchasing_db.inc
+  /purchasing/includes/db/invoice_db.inc
+  /reporting/reports_main.php
+  /reporting/includes/header2.inc
+  /reporting/rep209.php
+  /reporting/rep109.php
+  /reporting/rep702.php
+  /sales/customer_payments.php
+  /sales/customer_credit_invoice.php
+  /sales/customer_delivery.php
+  /sales/customer_invoice.php
+  /sales/includes/db/payments_db.inc
+  /sales/includes/db/sales_order_db.inc
+  /sales/manage/sales_points.php
+  /taxes/tax_calc.inc
+
+26-Aug-2009 Joe Hunt
+# Changed the text Manifactoring => Manifacturing
+$ /reporting/reports_main.php
+
+25-Aug-2009 Joe Hunt
++ Added reference number in report List of Journal Entries.
+$ /reporting/rep702.php
+! Changed default startup_up app to be in user preferences. Default 'Sales'.
+  Moved tab_list_row to ui_lists.inc and changed the global $tabs to be in types.inc
+$ config.php
+  /admin/display_prefs.php
+  /admin/inst_module.php
+  /admin/db/users_db.inc
+  /includes/current_user.inc
+  /includes/types.inc
+  /includes/page/header.inc
+  /includes/prefs/userprefs.inc
+  /includes/ui/ui_lists.inc
+  /sql/alter2.2.sql
+  /sql/en_US-demo.sql
+  /sql/en_US-new.sql
+  
+
+24-Aug-2009 Janusz Dobrowolski
+# Fixed warning displayed before db upgrade.
+$ /includes/current_user.inc
+# Small final page layout fix
+$ /purchasing/po_entry_items.php
++ Additional links to next document on final pages.
+$ /purchasing/po_receive_items.php
+  /purchasing/supplier_invoice.php
+# Fixed focus issues on hyperlinks
+$ /includes/ui/ui_controls.inc
+
+23-Aug-2009 Janusz Dobrowolski
++ Implemented customizable authentication timeout.
+$ /access/timeout.php (new)
+  /access/login.php
+  /admin/company_preferences.php
+  /admin/db/company_db.inc
+  /includes/current_user.inc
+  /includes/session.inc
+  /includes/ui/ui_input.inc
+  /sql/alter2.2.php
+  /sql/alter2.2.sql
+  /sql/en_US-demo.sql
+  /sql/en_US-new.sql
+! Reorganized access control structures for easier customizing.
+$ /includes/access_levels.inc
+  /admin/security_roles.php
+
+20-Aug-2009 Janusz Dobrowolski
+! Tax Item Types moved to Setup module
+$ /applications/inventory.php
+  /applications/setup.php
++ Partial changes for new access control.
+$ /admin/security_roles.php (new)
+  /admin/db/security_db.inc (new)
+  /includes/access_levels.inc
+  /includes/ui/ui_lists.inc
+  /sql/alter2.2.sql
+  /sql/en_US-demo.sql
+
+04-Aug-2009 Joe Hunt
++ Added email links after creating documents
+$ /includes/ui/ui_controls.inc
+  /manufacturing/work_order_entry.php
+  /purchasing/po_entry_items.php
+  /reporting/reports_main.php
+  /reporting/includes/reporting.inc
+  /sales/create_recurrent_invoices.php
+  /sales/credit_note_entry.php
+  /sales/customer_delivery.php
+  /sales/customer_invoice.php
+  /sales/sales_order_entry.php
+! Added new access levels
+$ /includes/access_levels.inc (new file)
+  
+03-Aug-2009 Janusz Dobrowolski
++ Clone record option added.
+$ /includes/ui/ui_input.inc
+  /inventory/manage/item_categories.php
+  /inventory/manage/items.php
+# Fixed default focus for some controls
+$ /includes/ui/ui_input.inc
+# Fixed popup top placement on FF2
+$ /js/inserts.js
+! Default submit changed
+$ /purchasing/po_receive_items.php
+
++ Customer/branch/supplier selectable by additional short name instead of full name.
+$ /purchasing/manage/suppliers.php
+  /sales/manage/customer_branches.php
+  /sales/manage/customers.php
+  /includes/ui/ui_lists.inc
+  /sql/alter2.2.sql
+  /sql/en_US-demo.sql
+  /sql/en_US-new.sql
+
+01-Aug-2009 Joe Hunt
+! Reduced size of the icons to 12 pix.
+$ /includes/ui/ui_input.inc
+
+31-Jul-2009 Janusz Dobrowolski
+! Merged changes from main trunk  2.1.3-2.1.4 (see below)
+$ /admin/attachments.php
+  /inventory/purchasing_data.php
+  /includes/db/manufacturing.inc
+  /gl/manage/bank_accounts.php
+  /gl/includes/db/gl_db_banking.inc
+  /gl/includes/db/gl_db_trans.inc
+  /purchasing/includes/purchasing_db.inc
+  /purchasing/manage/suppliers.php
+  /purchasing/view/view_grn.php
+  /purchasing/includes/db/invoice_db.inc
+  /purchasing/view/view_supp_payment.php
+  /reporting/reports_main.php
+  /reporting/includes/doctext.inc
+  /reporting/includes/doctext2.inc
+  /reporting/includes/header2.inc
+  /reporting/includes/pdf_report.inc
+  /reporting/rep101.php
+  /reporting/rep109.php
+  /reporting/rep201.php
+  /reporting/rep304.php
+  /reporting/rep709.php
+  /sales/includes/db/cust_trans_db.inc
+  /sales/create_recurrent_invoices.php
+  /sales/sales_order_entry.php
+  /sales/view/view_receipt.php
+
+27-Jul-2009 Janusz Dobrowolski
+# Fixed default selection in popup
+$ /js/inserts.js
+# Fixed branch selection by url
+$ /sales/manage/customer_branches.php
+# Fixed print links's default class.
+$ /reporting/includes/reporting.inc
+
+25-Jul-2009 Janusz Dobrowolski
+! Popup editor now available as option for some list selectors.
+$ /includes/ui/ui_lists.inc
+  /gl/gl_bank.php
+  /gl/includes/ui/gl_bank_ui.inc
+  /includes/session.inc
+  /includes/page/footer.inc
+  /includes/ui/ui_controls.inc
+  /inventory/purchasing_data.php
+  /js/inserts.js
+  /purchasing/po_entry_items.php
+  /purchasing/supplier_credit.php
+  /purchasing/supplier_invoice.php
+  /purchasing/supplier_payment.php
+  /purchasing/allocations/supplier_allocation_main.php
+  /purchasing/includes/ui/po_ui.inc
+  /sales/credit_note_entry.php
+  /sales/customer_payments.php
+  /sales/sales_order_entry.php
+  /sales/allocations/customer_allocation_main.php
+  /sales/includes/ui/sales_credit_ui.inc
+  /sales/includes/ui/sales_order_ui.inc
+  /themes/aqua/default.css
+  /themes/aqua/renderer.php
+  /themes/cool/default.css
+  /themes/cool/renderer.php
+  /themes/default/default.css
+  /themes/default/renderer.php
+
+21-Jul-2009 Janusz Dobrowolski
+! Asynchronous customer/supplier/item selection now use popup window.
+$ /index.php
+  /gl/gl_bank.php
+  /includes/session.inc
+  /includes/page/footer.inc
+  /includes/ui/ui_controls.inc
+  /includes/ui/ui_input.inc
+  /includes/ui/ui_lists.inc
+  /inventory/purchasing_data.php
+  /inventory/manage/items.php
+  /js/inserts.js
+  /js/utils.js
+  /purchasing/po_entry_items.php
+  /purchasing/supplier_credit.php
+  /purchasing/supplier_invoice.php
+  /purchasing/supplier_payment.php
+  /purchasing/allocations/supplier_allocation_main.php
+  /purchasing/manage/suppliers.php
+  /sales/credit_note_entry.php
+  /sales/customer_payments.php
+  /sales/sales_order_entry.php
+  /sales/allocations/customer_allocation_main.php
+  /sales/manage/customer_branches.php
+  /sales/manage/customers.php
+
+15-Jul-2009 Joe Hunt
+! Replaced sys_types names from table to systypes::name in reports
+  Now the English names in table are never used in inquiries or reports
+$ /reporting/rep101.php
+  /reporting/rep102.php
+  /reporting/rep108.php
+  /reporting/rep201.php
+  /reporting/rep202.php
+  /reporting/rep203.php
+  /reporting/rep709.php
+  /sql/alter2.2.sql
+! Audit-Trail report (systypes selector should include all systypes, extra parameter to function dup_systypes_list.
+$ /reporting/rep710.php
+  /reporting/reports_main.php
+  /reporting/includes/reports_classes.inc
+# Removed warning from COA report
+$ /gl/includes/db/gl_db_accounts.inc
+  /includes/date_functions.inc
+  /reporting/rep701.php
+  
+13-Jul-2009 Joe Hunt
++ Added Audit Trail Report
+$ /reporting/rep710.php (new file)
+$ /reporting/reports_main.php
+! Changed so $page_security works with reports (displays an error message on top)
+$ /reporting/includes/pdf_report.inc
+  /reporting/includes/excel_report.inc
+  
+10-Jul-2009 Janusz Dobrowolski
++ Added direct allocations in payments.
+$ /purchasing/supplier_payment.php
+  /sales/customer_payments.php
+! Allocations related code reuse.
+$ /includes/ui/allocation_cart.inc
+  /purchasing/allocations/supplier_allocate.php
+  /sales/allocations/customer_allocate.php
+
+02-Jul-2009 Joe Hunt
+! Always show 0.00 in debit column when using display_debit_or_credit
+$ /includes/ui/ui_view.inc
+
+01-Jul-2009 Joe Hunt
+! Small adjustment in /inventory/prices.php to see the calculated prices if they are set.
+$ /inventory/prices.php
+# Small bug/layout fixes
+$ /inventory/manage/item_categories.php
+  /inventory/manage/locations.php
+  /sql/en_US-demo.sql
+  /sql/en_US-new.sql
+
+30-Jun-2009 Joe Hunt
+# Small annoying bug-fixes in items.php and items_trans_db.inc
+$ /inventory/manage/items.php
+  /inventory/includes/db/items_trans_db.inc
+  
+30-Jun-2009 Joe Hunt
++ Implemented automatic price calculation of items from std. cost.
+$ /admin/company_preferences.php
+  /admin/db/company_db.inc
+  /doc/calculate_price.txt (new file)
+  /sales/includes/sales_db.inc
+  /sql/alter2.2.sql
+  /sql/en_US-demo.sql
+  /sql/en_US-new.sql
+  
+29-Jun-2009 Joe Hunt
+! Small layout improments in Customer Payments
+$ /sales/customer_payments.php
+
+28-Jun-2009 Joe Hunt
+# Fixed link bugs in sales order entry and optimized a couple of functions in ui_controls.inc
+$ /includes/ui/ui_controls.inc
+  /sales/sales_order_entry.php
+  
+27-Jun-2009 Joe Hunt
+# Corrections to default COAs.
+$ /sql/alter2.2.sql
+  /sql/en_US-new.sql
+  /sql/en_US-demo.sql
+  
+26-Jun-2009 Joe Hunt
++ Added Print of Work Order and GRN Valuation Report
+# Small bug in company preferences
+$ /admin/company_preferences.php
+  /manufacturing/includes/db/work_orders_db.inc
+  /manufacturing/work_order_entry.php
+  /reporting/rep305.php (new file)
+  /reporting/rep409.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/reports_classes.inc
+  
 26-Jun-2009 Joe Hunt
 + Added Bank Charge field to Customer Payment, Supplier Payment and Bank Transfer and a new default bank charge account in gl_setup.
 $ /admin/gl_setup.php
@@ -674,6 +1507,179 @@ $ /.htaccess
   /sales/inquiry/sales_deliveries_view.php
   /sales/inquiry/sales_orders_view.php
 
+------------------------------- Release 2.1.5 ----------------------------------
+26-Aug-2009 Joe Hung
+! Release 2.1.5
+$ config.php
+# If no dimensions in system, then there were 2 destination selectors in report Balance Sheet
+$ /reporting/reports_main.php
+! Code cleanup
+$ /taxes/tax_calc.inc
+  /lang/new_language_template/LC_MESSAGES/empty.po (new extraction)
+  
+24-Aug-2009 Joe Hunt
+# A Purchasing Price of 12.34 with a conversion factor of 100,0000 caused a false internal rounding error of 12.00.
+! The Purchasing Price, price can now have up to 6 decimals (fractions of hundredth's) and are presented correctly.
+  If you need to increase the decimals in a current value, then you have to delete it and create it again with new values.
+  This is for safety reasons.
+$ /includes/current_user.inc
+  /includes/ui/ui_input.inc
+  /inventory/purchasing_data.php
+  /purchasing/po_receive_items.php
+  /purchasing/includes/ui/invoice_ui.inc
+  /purchasing/includes/ui/po_ui.inc
+  /purchasing/view/view_grn.php
+  /purchasing/view/view_po.php
+  /reporting/rep209.php
+  
+21-Aut-2009 Joe Hunt
+# [0000162] Deleting a GL account may cause problems with quick entries 
+$ /gl/manage/gl_accounts.php
+
+20-Aug-2009 Joe Hunt
+# If account code2 is used in the accounts the report Chart of Accounts gave a bad index and didn't print the code.
+$ /gl/includes/gl_db_accounts.inc
+# If setting the delivered items in PO Receive Items to 0 the value is not updated 
+$ /purchasing/po_receive_items.php
+
+19-Aug-2009 Joe Hunt
+! Change of Quick Entries to use the Tax Types instead, due to complexity using the Tax Groups in EU.
+  If you for need more than one Tax Type row in a Quick Entry, please keep the rows together and use the same action type.
+$ /gl/includes/db/gl_db_bank_accounts.inc
+  /gl/manage/gl_quick_entries.php
+  /includes/ui/ui_view.inc
+  
+18-Aug-2009 Joe Hunt
+! When using Quick Entries in Supplier Invoices/credit notes the tax sum now shows correctly.
+$ /purchasing/includes/db/invoice_db.inc
+  /purchasing/includes/ui/invoice_ui.inc
+  /purchasing/includes/supp_trans_class.inc
+  
+18-Aug-2009 Joe Hunt
+! Quick Entries uses Tax Groups instead of Item Tax Types for calculating taxes (Please change the item lines for tax).
+  Quick Entry Lines of type Supplier Invoice. When using, the Supplier Tax Group Id overrides the The Tax Group set on the line.
+$ /gl/includes/db/gl_db_bank_accounts.inc
+  /gl/manage/gl_quick_entries.php
+  /includes/ui/ui_view.inc
+  /taxes/tax_calc.inc
+  
+17-Aug-2009 Janusz Dobrowolski
+# [0000158] Added missing check for POS usage before deletion.
+$ /sales/manage/sales_points.php
+
+17-Aug-2009 Joe Hunt
+# [0000160] Customer payments in different currencies (bank account exchange error). Fixed so diff bank_curr/home_curr and cust/supp curr is readonly.
+$ /gl/includes/db/gl_db_bank_trans.inc
+  /purchasing/supplier_payment.php
+  /sales/customer_payments.php
+  /sales/includes/db/payments_db.inc
+
+14-Aug-2009 Janusz Dobrowolski
+# [0000161] Fixed reference edition on sales invoice/deliery/credit.
+$ /sales/customer_credit_invoice.php
+  /sales/customer_delivery.php
+  /sales/customer_invoice.php
+
+12-Aug-2009 Joe Hunt
+# [0000159] Memo field's GL entries are not saved (gl_trans) in supplier invoice
+$ /purchasing/includes/purchasing_db.inc
+  /purchasing/includes/db/invoice_db.inc
+# memo field was not written in list of journal entries.
+$ /reporting/rep702.php
+  
+08-Aug-2009 Janusz Dobrowolski
+# Fixed bug in calculation of taxes for quick entries using multiply tax rates
+$ /includes/ui/ui_view.inc
+
+08-Aug-2009 Janusz Dobrowolski
+# [0000152] Config_db.php changed after failed company database creation
+$ /install/save.php
+
+08-Aug-2009 Joe Hunt
+# [0000153] not possible to make a new balance sheet GL account cl (old style)
+$ /gl/manage/gl_account_classes.php
+
+04-Aug-2009 Joe Hunt
+# [0000150] Logo on printed papers is placed on top of the adress rule nr 1
+$ /reporting/includes/header2.inc
+# [0000145] Email sales order doesn't work if no email on branch but on customer
+$ /sales/includes/db/sales_order_db.inc
+  /reporting/rep109.php
+! Changed so $use_oldstyle_convert=1 variable in config.php (line 78) gives fully backwards compatibility in 
+  Balance Sheet, PL Statements and Monthly Bread Down reports.
+$ /gl/manage/gl_account_classes.php.  
+
+------------------------------- Release 2.1.4 ----------------------------------
+30-Jul-2009 Joe Hunt
+! Release 2.1.4
+$ config.php
+# Bad right margin on Tax Report (papersize A4)
+$ /reporting/rep709.php
+# [0000146] Purch data description with a ' (apostrophe) fails
+$ /inventory/purchasing_data.php
+  /purchasing/includes/purchasing_db.inc
+
+28-Jul-2009 Joe Hunt
+# Bugs in sending documents as email. Seems to land in the spam filter due to bad text and scrambled name on attached documents
+$ /reporting/rep109.php
+  /reporting/includes/doctext.inc
+  /reporting/includes/doctext2.inc
+  /reporting/includes/header2.inc
+  /reporting/includes/pdf_report.inc
+
+18-Jul-2009 Joe Hunt
+# When saving a Payment to a Customer in Bank Payments (normally payment to suppliers) it was saved with wrong sign in debtor_trans (very rare).
+$ /sales/includes/db/cust_trans_db.inc
+# Wrong presentation in customer/supplier balance if using bank payments for customers and bank deposits for suppliers (very rare)
+$ /reporting/rep101.php
+  /reporting/rep201.php
+  
+13-Jul-2009 Joe Hunt
+# Bug in Tax Inquiry and Tax Report when entering in Journal Entry
+$ /gl/includes/db/gl_db_banking.inc
+  /gl/includes/db/gl_db_trans.inc
+  /reporting/rep709.php
+! Comments should follow templates and recurrent invoices.
+$ /sales/create_recurrent_invoices.php
+  /sales/sales_order_entry.php
+  
+12-Jul-2009 Joe Hunt
+# Wrong presentation of left to allocate if discount was given
+$ /sales/view/view_receipt.php
+  /purchasing/view/view_supp_payment.php
+  
+11-Jul-2009 Joe Hunt
+! Improved Inventory Sales Report. Now by Customer and quantities as well.
+$ /reporting/rep304.php
+  /reporting/reports_main.php
+
+10-Jul-2009 Joe Hunt
+# [0000142] Purchase Order use the same header as Sales Order
+$ /reporting/includes/doctext.inc
+  /reporting/includes/doctext2.inc
+# Bug in demand qty
+$ /includes/db/manufacturing.inc
+
+10-Jul-2009 Janusz Dobrowolski
+# [0000141] Attachment view/download bug.
+$ /admin/attachments.php
+# [0000140] Numeric format bug in credit limit input.
+$ /purchasing/manage/suppliers.php
+# [0000143] Bad format of PO popup window (Softechmatrix).
+$ /purchasing/view/view_grn.php
+
+09-Jul-2009 Janusz Dobrowolski
+# [0000139] Change of bank account type after creation should not be allowed.
+$ /gl/manage/bank_accounts.php
+
+01-Jul-2009 Joe Hunt
+# Guess what :) [0000137] Material Cost Averaging Problem (again again again) when voiding.
+$ /purchasing/includes/db/invoice_db.inc
+
+26-Jun-2009 Joe Hunt
+# [0000137] Material Cost Averaging Problem (again again) when voiding.
+$ /purchasing/includes/db/invoice_db.inc
+
 ------------------------------- Release 2.1.3 ----------------------------------
 25-Jun-2009 Joe Hunt
 ! Release 2.1.3