Side changes before final sales module commit
[fa-stable.git] / CHANGELOG.txt
1 /**
2 * @version $Id$
3 * @package FrontAccounting
4 * @copyright (C) 2005 - 2007 FrontAccounting
5 * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
6 * FrontAccounting is Free Software
7 */
8
9 1. Changelog
10 ------------
11 This is a changelog for FrontAccounting All releases.
12
13 Legend:
14
15 # -> Bug Fix
16 + -> Addition
17 ! -> Change
18 - -> Removed
19 ! -> Note
20 $ -> Affected files
21
22 06-Mar-2008 Janusz Dobrowolski
23 + Wiki help links integration
24 $ /config.php
25   /includes/page/header.inc
26   /includes/lang/language.php
27 + Optional debuging with xdebug enabled
28 $ /index.php
29   /includes/db/connect_db.inc
30 ! Concurrent edition fix
31 $  /includes/systypes.inc
32 # Table header fix
33 $  /manufacturing/manage/bom_edit.php
34 # Menu layout fixes
35 $ /themes/aqua/renderer.php
36   /themes/cool/renderer.php
37   /themes/default/renderer.php
38 # Removed warning about nonexistent $_GET variable
39 $ /dimensions/inquiry/search_dimensions.php
40 # MySQL 3.xx CAST bug fix
41 $ /includes/db/manufacturing_db.inc
42   /manufacturing/includes/db/work_order_requirements_db.inc
43   /manufacturing/inquiry/where_used_inquiry.php
44
45 04-Mar-2008 Joe Hunt
46 ! Changed so that average item material price is automatic updated whenever a PO Delivery is received.
47   Changed so that a Bill of Materiel, Parent's material price, is automatic updated from underlying items.
48 $ /inventory/cost_update.php
49   /purchasing/includes/db/grn_db.inc and
50   /manufacturing/manage/bom_edit.php. 
51   /manufacturing/includes/db/work_orders_db.inc
52   /manufacturing/includes/db/work_orders_quick_db.inc
53   /manufacturing/work_order_entry.php
54   
55 21-Feb-2008 Joe Hunt
56 + Added Print for documents in /admin/view_print_transaction.php (according to our new routines).
57 $ /admin/view_print_transaction.php
58   /applications/setup.php
59   
60 17-Feb-2008 Joe Hunt
61 ! Minor change in menu and function in view_print_transaction.php
62 $ /admin/view_print_transaction.php
63   /application/setup.php
64 + Preparing for print of single documents
65 $ /reporting/includes/reporting.inc
66 ! Removing 'out' field in table tax_types
67 $ /sql/alter.sql
68   /taxes/tax_types.php
69   /taxes/db/tax_types_db.inc
70 + Added 2 functions in ui_input.inc, button and button_cell
71   /includes/ui/ui_input.inc
72
73 11-Feb-2008 Joe Hunt
74 + Added file, update_db.php, for updating company databases from an SQL script.
75 $ update_db.php (New file)
76   update.html
77   
78 06-Fef-2008 Joe Hunt
79 + Added Report, Salesman Listing, rep106.php. 
80 $ /reporting/reports_main.php
81   /reporting/rep106.php
82   
83 06-Feb-2008 Janusz Dobrowolski
84 + Separation of customer invoice issue and goods delivery.
85 + Batch invoicing for more than one delivery
86 # Corrected inadequate shipping tax calculations.
87 ! Default debugging status changed to off.
88 $ /taxes/tax_calc.inc
89   /taxes/db/tax_groups_db.inc
90   /admin/db/voiding_db.inc
91   /applications/customers.php
92   /includes/systypes.inc
93   /includes/types.inc
94   /includes/ui/ui_controls.inc
95   /includes/ui/ui_lists.inc
96   /includes/ui/ui_view.inc
97   /inventory/inquiry/stock_status.php
98   /reporting/rep105.php
99   /reporting/rep107.php
100   /reporting/rep109.php
101   /reporting/rep110.php 
102   /reporting/rep209.php
103   /reporting/reports_main.php
104   /reporting/includes/doctext.inc
105   /reporting/includes/doctext2.inc
106   /reporting/includes/form_types.inc
107   /reporting/includes/pdf_report.inc
108   /reporting/includes/reports_classes.inc
109   /sales/customer_credit_invoice.php
110   /sales/customer_invoice.php
111   /sales/sales_order_entry.php
112   /sales/customer_delivery.php 
113   /sales/includes/db/sales_delivery_db.inc 
114   /sales/includes/ui/print_invoice.inc 
115   /sales/includes/cart_class.inc
116   /sales/includes/sales_db.inc
117   /sales/includes/db/cust_trans_db.inc
118   /sales/includes/db/cust_trans_details_db.inc
119   /sales/includes/db/sales_credit_db.inc
120   /sales/includes/db/sales_invoice_db.inc
121   /sales/includes/db/sales_order_db.inc
122   /sales/includes/ui/sales_order_ui.inc
123   /sales/inquiry/customer_allocation_inquiry.php
124   /sales/inquiry/customer_inquiry.php
125   /sales/inquiry/sales_orders_view.php
126   /sales/inquiry/sales_deliveries_view.php 
127   /sales/view/view_dispatch.php
128   /sales/view/view_invoice.php
129   /sales/view/view_sales_order.php
130   /sql/alter.sql
131   config.php
132   
133 01-Feb-2008 Joe Hunt
134  ! Changed so sales orders can have more than one row with the same stock_id. In alter.sql.
135  $ /sales/includes/cart_class.inc
136    /sales/includes/db/sales_credit_db.inc
137    /sales/includes/db/sales_invoice_db.inc
138    /sales/includes/db/sales_order_db.inc
139    /sales/includes/db/cust_trans_details_db.inc
140    /sales/includes/ui/sales_order_ui.inc
141    /sales/includes/ui/sales_credit_ui.inc
142    /sales/credit_note_entry.php
143    /sales/customer_credit_invoice.php
144    /sales/sales_order_entry.php
145    /sales/customer_invoice.php
146
147 31-Jan-2008 Joe Hunt
148  ! New Release 2.0 Pre Alpha
149  $ config.php
150  # Fixed a release 2 related bug in create_coy.php
151  $ /admin/create_coy.php
152  + An alter.sql file to use for updating databases. Until the update_db.php is ready, you can use the install/update companies
153    and select the companies one by one and upload the alter.sql file to all companies. You can still run the release 2
154    with these databases changes without any new files. They are coming as soon as possible.
155  $ /sql/alter.sql (New file)  
156  # Fixed a release 2 related bug. A field in supp_trans_items were declared as integer(11). Changed to VARCHAR(11) in alter.sql
157    and 2 related files
158  $ /purchasing/supplier_trans_gl.php
159    /purchasing/includes/db/invoice_items_db.inc
160  ! Moved variables $no_item_list, $no_customer_list and $no_supplier_list in config.php to company table
161  $ /includes/ui/ui_lists.inc
162    /purchasing/includes/ui/po_ui.inc
163    /sales/includes/ui/sales_order_ui.inc
164    /admin/company_preferences.php
165    /admin/db/company_db.inc
166    config.php
167  + Created 3 new fields in salesman table for provision, break point and provision2. Included in alter.sql. 
168    Update sales_people.php.Preparing for a new Salesman report with provision etc. Selected with time range. Should be very good.
169  $ /sales/manage/sales_people.php
170    /includes/ui/ui_input.inc
171  
172 -------------------- 2,0 Pre Alpha - above ----------------------------
173 31-Jan-2008 Janusz Dobrowolski
174  # Minor bugfix in db_import()
175  $ /admin/db/maintenance_db.inc
176  
177 30-Jan-2008 Janusz Dobrowolski
178  # Minor display fix in tax_types.php
179  $ /taxes/tax_types.php
180  ! Format cleanup on some files.
181  $ /gl/includes/gl_db.inc
182    /gl/includes/gl_ui.inc
183    /applications/application.php
184    frontaccounting.php
185    index.php
186    
187 -------------------- 1.16 Stable Released ----------------------
188 28-Jan-2008 Joe Hunt
189  + Added a possibility to replace the normal listboxes for items, customer and/or suppliers with a search box.
190    The listboxes can only hold about 1000 items. New variables in config.php, $no_item_list, $no_customer_list 
191    and $no_supplier_list. Default is the normal behavior for all listboxes.
192  $ /includes/ui/ui_lists.inc
193    /sales/includes/ui/sales_orders_ui.inc
194    /purchases/includes/ui/po_ui.inc
195    /themes/default/images/locate.png (New file)
196    config.php
197
198  + Added ALTER TABLE possibility in db_import. For future releases.
199  $ /admin/db/maintenence_db.inc  
200
201  # Removed warnings 'Call-time pass-by-reference' in /includes/db/connect_db.inc and /includes/ui/ui_lists.inc
202  # Fixed File not found when loading local stylesheet.css (for other languages) in /includes/page/header.inc
203  $ /includes/db/connect_db.inc
204    /includes/ui/ui_lists.inc
205    /includes/page/header.inc
206    /access/login.php
207    
208 16-Jan-2008 Joe Hunt
209  # When login screen is displayed after session timeout page content is broken. It
210    is because of NOT using absolute paths in href attribute theme elements.
211  $ /access/login.php
212  
213 30-Dec-2007 Joe Hunt
214  # Minor adjustments in function db_export on line 325
215  $ /admin/db/maintenance_db.inc
216  
217 29-Dec-2007 Joe Hunt
218  + Added a variable, $print_invoice_no, in config.php for printing the invoice number instead of invoice reference.
219  $ config.php
220  
221  # Fixed a bug when exporting database. Exported NULL field values from NO to empty field (from mysql version 5.0.32).
222    Also fixed a unneccessary str_replace when importing sql scripts.
223  ! Changed the PDF presentation to deleting the Javascript cache before presentation.
224  $ /admin/db/maintenance_db.inc
225    /reporting/includes/pdf_report.inc
226    
227 13-Dec-2007 Joe Hunt
228  # Still bugs in trial balances and account inquiry on screen when selecting non balance accounts. Fixed.
229  $ /gl/inquiry/gl_trial_balance.php
230    /gl/inquiry/gl_account_inquiry.php
231
232 13-Dec-2007 Joe Hunt
233  # Fixed a bug when voiding a transaction (Journal Entry). An eventually underlying bank transfer was not voided.
234  $ /admin/db/voiding_db.inc
235  
236 06-Dec-2007 Joe Hunt
237  # Fixed a bug when adding lines during Payments to suppliers, the supplier was set back to the first.
238  $ /gl/gl_payment.php
239    /gl/includes/ui/gl_payment_ui.inc
240    
241  ! Changed $loc_notification to be set to 0 instead of 1.
242  $ config.php
243  
244 -------------------- 1.15 Stable Released ----------------------
245 05-Dec-2007 Joe Hunt
246  + Added email notification to stock location when available stock is below reorder level
247  $ config.php
248    /sales/includes/db/sales_order_db.inc
249    
250  # Fixed bugs in Open balances when account is not a balance account
251  $ /gl/inquiry/gl_trial_balance.php
252    /gl/inquiry/gl_account_inquiry.php
253    /reporting/rep704.php
254    /reporting/rep708.php
255    
256 -------------------- 1.14 Stable Released ----------------------
257 01-Oct-2007 Joe Hunt
258  ! Major change in the installation of modules to also accept an SQL-file for upload.
259  $ config.php
260    /admin/inst_module.php
261    /admin/db/maintenance_db.inc
262    
263 30-Sep-2007 Joe Hunt
264  # The following files were still vulnerable. Fixed
265  $ /access/login.php
266    /includes/lang/language.php
267
268 -------------------- 1.13 Stable Released ----------------------
269 14-Sep-2007 Joe Hunt
270  + Added optional link for electronic payment on invoices (PayPal). 
271  ! Better support for install/update languages.  
272  ! Minor adjustments
273  # Fixed a vulnerable item in config.php
274  $ config.php
275
276 14-Sep-2007 Joe Hunt
277  # We forgot to upload the PO file when installing new language. Used when GETTEXT is not installed on Server.
278  # config.php has been vulnerable. Fixed.
279  $ /admin/inst_lang.php
280  $ config.php
281  
282 10-Sep-2007 Joe Hunt
283  ! Changed Bank Address field from text to textarea (multirows)
284  $ /gl/manage/bank_accounts.php
285  
286 06-Sep-2007 Joe Hunt
287  + Added optional link for electronic payment on invoices (PayPal)
288  $ /reporting/reports_main.php
289    /reporting/rep107.php
290    /reporting/includes/report_classes.inc
291    /reporting/includes/pdf_report.inc
292    /reporting/includes/doc_text.inc
293    /reporting/includes/doc_text2.inc
294    
295 23-Aug-2007 Joe Hunt
296  # Unnecessary parameter ($db) in check_for_recursive_bom
297  $ /manufacturing/manage/bom_edit.php
298  
299 21-Aug-2007 Joe Hunt
300  # Bug in /includes/lang/gettext.php (249) affecting changing language!
301  $ /includes/lang/gettext.php
302  
303 08-Aug-2007 Joe Hunt
304  # Minor adjustments
305  $ config.php
306    /access/login.php
307    /admin/create_coy.php
308    /reporting/includes/pdf_report.inc
309    
310 04-Aug-2007 Joe Hunt
311  + Added a default fiscal year in the en_US-new.sql and start references.
312  $ /sql/en_US-new.sql
313  ! Changed some specific text strings in en_US.po (E.g. TAX instead of VAT)
314  $ /lang/en_US/LC_MESSAGES/en_US.mo
315  
316 03-Aug-2007 Joe Hunt
317  # A bug in Direct Invoicing (wrong Invoice Date) has been fixed.
318  $ /sales/includes/db/sales_order_db.inc
319  
320 23-Jul-2007 Joe Hunt
321  # Changed <? in front of 2 files to <?php.
322  $ /purchasing/includes/purchasing_ui.inc
323    /reporting/includes/class.mail.inc
324    
325 -------------------- 1.12 Stable Released ----------------------
326 21-Jul-2007 Joe Hunt
327  + Added option to handle Jalali and Islamic Calendars
328  ! Minor adjustments
329  $ config.php
330    /gl/includes/db/gl_db_trans.inc
331    /includes/date_functions.inc
332    /includes/ui/ui_input.inc
333    /includes/ui/ui_lists.inc
334    /includes/ui/ui_view.inc
335    /purchasing/po_receive_items.php
336    /purchasing/includes/ui/invoice_ui.inc
337    /purchasing/includes/ui/po_ui.inc
338    /reporting/rep705.php
339    /sales/includes/db/sales_order_db.inc
340    /sales/includes/ui/sales_order_ui.inc
341    
342 20-Jul-2007 Joe Hunt
343  ! Changed parameters on report Sales Order. Option to print as Quote.
344  $ /reporting/reports_main.php
345    /reporting/rep109.php
346    /reporting/includes/pdf_report.inc
347    /reporting/includes/doctext.inc
348    /reporting/includes/doctext2.inc
349  
350 19-Jul-2007 Joe Hunt
351  + Added Budget Entry in General Ledger. Includes Dimensions.
352  $ config.php
353    /applications/generalledger.php
354    /gl/gl_budget.php (New File!)
355    /gl/includes/db/gl_db_trans.inc
356    /includes/date_functions.inc
357    /reporting/report_classes.inc
358    
359 -------------------- 1.11 Stable Released ----------------------
360 04-Jul-2007 Joe Hunt
361  ! Option for using alpha numeric chart of accounts.
362  $ config.php
363    /gl/manage/gl_accounts.php
364    /gl/includes/db/gl_db_accounts.inc
365    /gl/includes/db/gl_db_bank_trans.inc
366    /gl/includes/db/gl_db_trans.inc
367    /gl/inquiry/gl_trial_balance.inc
368    /admin/db/company_db.inc
369    /inventory/includes/db/items_db.inc
370    /sales/manage/customer_branches.inc
371
372 04-Jul-2007 Joe Hunt
373  # Problems retrieving language texts for poEdit in long javascripts
374  $ /includes/ui/ui_view.inc
375  
376 04-May-2007 Joe Hunt
377  # Database error when updating more than one item row in Sales Orders.
378  $ /sales/includes/db/sales_order_db.inc
379  # Database error when inserting work order issues. Fixed.
380  $ /manufacturing/includes/db/work_order_issues_db.inc
381  
382 03-May-2007 Joe Hunt
383  # Multiple tables and JOIN's have syntax changes in MySQL 5.0.12. Need parentheses.
384  $ /includes/db/manufacturing_db.inc
385    /manufacturing/includes/db/work_order_requirements_db.inc
386
387 02-May-2007 Joe Hunt
388  # Missing details on Purchase Order when emailing and printing
389  $ /reporting/rep209.php
390  
391 -------------------- 1.1 Stable Released ----------------------
392 02-May-2007 Joe Hunt
393  + Enabled module addons and all the below bugfixes. No changes in database structure.
394  - Removed /sql/basic.sql (included in the other sql files)
395  - Removed /themes/default/images/left.gif and /themes/default/images/right.gif 
396    (not needed anymore).
397  + Addition of update.html  
398  $ /admin/inst_module.php (New file!)
399    /applications/customers.php
400    /applications/dimensions.php
401    /applications/generalledger.php
402    /applications/inventory.php
403    /applications/manufacturing.php
404    /applications/setup.php
405    /applications/suppliers.php
406    /install/index.php
407    /install/save.php
408    /modules/inst_modules.php (New folder and new file!)
409    /modules/index.php (New file!)
410    /sql/en_US-demo.sql
411    /sql/en_US-new.sql
412    install.html
413    update.html (New file!)
414    
415 01-May-2007 Joe Hunt
416  # Missing measure of units when printing sales orders
417  # Update of Sales People caused a database error
418  $ /sales/manage/sales_people.php
419    /reporting/rep109.php
420  
421 30-Apr-2007 Joe Hunt
422  + The selected menu tab is now shown with same background as hover color.
423  $ config.php (default tab line 77. Change if you want)
424    /includes/page/header.inc
425    
426 28-Apr-2007 Joe Hunt
427  # When saving work order entries a lot of debug boxes appeared. Fixed
428  # When clicking on the link, Issue, on work order inquires an empty screen appeared. Fixed
429  # When retrieving work centres id's there was a database error. Fixed by casting string to unsigned
430  $ /includes/db/manufacturing_db.inc
431    /manufacturing/work_order_entry.php
432    /manufacturing/includes/work_order_issue_ui.inc
433    /manufacturing/includes/db/work_order_requirements_db.inc
434    /manufacturing/includes/db/work_orders_quick_db.inc
435    /manufacturing/inquiry/where_used_inquiry.php
436    
437 25-Apr-2007 Joe Hunt
438  # Missing Date Picker
439  $ /sales/customer_invoice.php
440  # No JS popup window
441  $ /sales/view/view_invoice.php
442  
443 24-Apr-2007 Joe Hunt
444  ! New and better Date Picker, better cool theme.
445  $ /includes/ui/ui_input.inc
446    /includes/ui/ui_view.inc
447    /reporting/includes/reports_classes.inc
448    /themes/cool/default.css
449
450 -------------------- 1.0.1 Stable Released ----------------------
451 23-Apr-2007 Joe Hunt
452  ! Release 1.0.1 established on SourceForge, fixing the bugs and including a Date Picker,
453    the changes for selection lists customers/suppliers and the Audit Trail.
454
455 22-Apr-2007 Joe Hunt
456  ! Changed the two selection lists for customers/suppliers in reports to a single one with
457    No Filter
458  ! Changed the sort order in these selection lists from id to name.
459  + Added Audit Trail in GL trans. A switch in config.php, $use_audit_trail, must be set to 1.
460  $ /reporting/reports_main.php
461    /reporting/rep101.php
462    /reporting/rep102.php
463    /reporting/rep201.php
464    /reporting/rep202.php
465    /reporting/rep203.php
466    /reporting/rep204.php
467    /reporting/includes/reports_classes.inc
468    /includes/ui/ui_lists.inc
469    /gl/includes/db/gl_db_trans.inc
470    config.php
471    
472 22-Apr-2007 Joe Hunt
473  + Date Picker for all date fields.
474  $ config.php
475    /admin/fiscalyears.php
476    /admin/void_transaction.php
477    /includes/ui/ui_view.inc
478    /includes/ui/ui_input.inc
479    /dimensions/dimension_entry.php
480    /dimensions/inquiry/search_dimensions.php
481    /gl/gl_journal.php
482    /gl/gl_deposit.php
483    /gl/gl_payment.php
484    /gl/bank_transfer.php
485    /gl/inquiry/bank_inquiry.php
486    /gl/inquiry/gl_account_inquiry.php
487    /gl/inquiry/gl_trial_balance.php
488    /gl/manage/exchange_rates.php
489    /inventory/adjustments.php
490    /inventory/transfers.php
491    /inventory/inquiry/stock_movements.php
492    /inventory/manage/items.php
493    /manufacturing/work_order_add_finished.php
494    /manufacturing/work_order_entry.php
495    /manufacturing/work_order_issue.php
496    /manufacturing/work_order_release.php
497    /purchasing/supplier_payment.php
498    /purchasing/po_entry_items.php
499    /purchasing/po_receive_items.php
500    /purchasing/supplier_credit.php
501    /purchasing/supplier_credit_grns.php
502    /purchasing/supplier_invoice.php
503    /purchasing/supplier_invoice_grns.php
504    /purchasing/supplier_trans_gl.php
505    /purchasing/includes/ui/po_ui.inc
506    /purchasing/inquity/po_search.php
507    /purchasing/inquiry/po_search_completed.php
508    /purchasing/inquiry/supplier_allocation_inquiry.php
509    /purchasing/inquiry/supplier_inquiry.php
510    /reporting/reports_main.php
511    /reporting/includes/reports_classes.inc
512    /sales/credit_note_entry.php
513    /sales/customer_credit_invoice.php
514    /sales/customer_payments.php
515    /sales/sales_order_entry.php
516    /sales/includes/ui/sales_order_ui.inc
517    /sales/inquiry/customer_allocation_inquiry.php
518    /sales/inquiry/customer_inquiry.php
519    /sales/inquiry/sales_orders_view.php
520    New image files:
521    /themes/default/images/cal.gif
522    /themes/default/images/next.gif
523    /themes/default/images/prev.gif
524
525 19-Apr-2007 Joe Hunt
526  # Bug no 1703895, Account numbers are varchars, need quotes, fixed
527  # Bug no 1703891, Reserved MySQL words used as column names, fixed
528  $ /taxes/db/tax_types_db.inc
529
530  # Bug no 1703888, Apostrophes and other unescaped characters, fixed
531  $ /gl/manage/gl_accounts.php
532    /gl/includes/db/gl_db_accounts.inc
533    /includes/ui/ui_input.inc
534
535 18-Apr-2007 Joe Hunt
536  # Bug no 1702594, Logon Loop, fixed
537  $ config.php
538
539 -------------------- 1.0a Stable Released ----------------------
540 10-Apr-2007 Joe Hunt
541  ! Release 1.0a established on SourceForge, fixing the bugs.
542
543 11-Apr-2007 Joe Hunt
544  # Bug No 1698214, Creating Items, fixed
545  $ /includes/ui/ui_lists.inc
546  # Bug no 1698216, Item Movements, fixed
547  $ /inventory/manage/items.php
548
549 -------------------- 1.0 Stable Released ----------------------
550 10-Apr-2007 Joe Hunt
551  ! Release 1.0 established on SourceForge.
552
553 2. Copyright and disclaimer
554 ---------------------------
555 This application is opensource software released under the GPL.  Please
556 see source code and the LICENSE file