altocompta/html/annulation.php
Dany De Bontridder 7144ae423d Merged revisions 2574-2901 via svnmerge from
svn+ssh://danydb@svn/svn/phpcompta/branches/rel500

................
  r2574 | danydb | 2009-10-08 20:25:39 +0200 (Thu, 08 Oct 2009) | 3 lines
  
  Initialized merge tracking via "svnmerge" with revisions "1-2572" from 
  svn+ssh://danydb@svn/svn/phpcompta/branches/rel500
................
  r2575 | danydb | 2009-10-08 21:02:08 +0200 (Thu, 08 Oct 2009) | 1 line
  
  javascript : Remove useless files and regroup differently
................
  r2576 | danydb | 2009-10-09 00:36:13 +0200 (Fri, 09 Oct 2009) | 1 line
  
  Rename search_post to account_item + code rewriting
................
  r2577 | danydb | 2009-10-09 00:36:27 +0200 (Fri, 09 Oct 2009) | 1 line
  
  Rename search_post to account_item + code rewriting
................
  r2578 | danydb | 2009-10-09 00:36:49 +0200 (Fri, 09 Oct 2009) | 1 line
  
  Rename search_card to card + code rewriting
................
  r2579 | danydb | 2009-10-09 00:38:02 +0200 (Fri, 09 Oct 2009) | 1 line
  
  put ajax op into anc_script
................
  r2580 | danydb | 2009-10-09 00:40:14 +0200 (Fri, 09 Oct 2009) | 1 line
  
  Add the Ajax object + encodeJSON function
................
  r2581 | danydb | 2009-10-09 00:40:39 +0200 (Fri, 09 Oct 2009) | 1 line
  
  rewrite code
................
  r2582 | danydb | 2009-10-09 00:42:37 +0200 (Fri, 09 Oct 2009) | 2 lines
  
  Remove obsolete javascript file 
  and test for javascript into test.php
................
  r2584 | danydb | 2009-10-17 14:49:41 +0200 (Sat, 17 Oct 2009) | 1 line
  
  ReAdd prototype.js
................
  r2585 | danydb | 2009-10-17 16:47:44 +0200 (Sat, 17 Oct 2009) | 2 lines
  
  access : Fix size report for IE
................
  r2586 | danydb | 2009-10-17 17:16:58 +0200 (Sat, 17 Oct 2009) | 4 lines
  
  Sort and regroup the javascript
  Replace PNG image with GIF image for compatibility with IE
  Modify CSS for compatibility with IE
................
  r2587 | danydb | 2009-10-17 17:18:25 +0200 (Sat, 17 Oct 2009) | 9 lines
  
  Merged revisions 2583 via svnmerge from 
  svn+ssh://danydb@svn/svn/phpcompta/branches/rel500
  
  ........
    r2583 | danydb | 2009-10-14 23:41:11 +0200 (Wed, 14 Oct 2009) | 1 line
    
    Add the function encodeURI to avoid problem with JSON
  ........
................
  r2588 | danydb | 2009-10-17 17:26:43 +0200 (Sat, 17 Oct 2009) | 2 lines
  
  Fix Bug with the add button
................
  r2589 | danydb | 2009-10-17 19:01:10 +0200 (Sat, 17 Oct 2009) | 1 line
  
  Remove obsolete image files
................
  r2590 | danydb | 2009-10-19 19:46:21 +0200 (Mon, 19 Oct 2009) | 2 lines
  
  Modify echo_error
................
  r2596 | danydb | 2009-10-20 23:34:31 +0200 (Tue, 20 Oct 2009) | 3 lines
  
  FIX IE 7 Cosmetic BUG
  Avoid connection with IE6
  Add the ipopupsearchcard
................
  r2597 | danydb | 2009-10-21 14:56:29 +0200 (Wed, 21 Oct 2009) | 1 line
  
  Add new version of prototype
................
  r2599 | danydb | 2009-10-24 18:16:43 +0200 (Sat, 24 Oct 2009) | 2 lines
  
  Doc
................
  r2600 | danydb | 2009-10-25 11:22:04 +0100 (Sun, 25 Oct 2009) | 1 line
  
  Add create_script and js_include function 
................
  r2601 | danydb | 2009-10-25 11:23:29 +0100 (Sun, 25 Oct 2009) | 3 lines
  
  Finished the autocomplete feature for the ledger of sales
................
  r2602 | danydb | 2009-10-25 11:34:45 +0100 (Sun, 25 Oct 2009) | 1 line
  
  Update Documentation 
................
  r2603 | danydb | 2009-10-25 12:19:40 +0100 (Sun, 25 Oct 2009) | 2 lines
  
  Cosmetic : add a limit for autocomplete card (12)
................
  r2604 | danydb | 2009-10-25 13:44:06 +0100 (Sun, 25 Oct 2009) | 1 line
  
  Delay to be redirected is reduce to 1 sec 
................
  r2605 | danydb | 2009-10-25 18:11:50 +0100 (Sun, 25 Oct 2009) | 8 lines
  
  This version contains the icard with autocomplete working
  Only implemented in Ledger of sale
  
  Some bugs and questions remain 
  * the payment by must be improved
  * verify if the tva_id is updated
  * Nothing happens if we don't selected in the hint list
................
  r2606 | danydb | 2009-10-25 18:22:50 +0100 (Sun, 25 Oct 2009) | 3 lines
  
  Autocomplete in Ledger of sales
  Improve ICard : add an onchange event
................
  r2607 | danydb | 2009-10-25 18:33:58 +0100 (Sun, 25 Oct 2009) | 8 lines
  
  Autocomplete in Ledger of sales
  
  Improve ICard 
  =============
  *  add an error message if the card is not found when card is not selected into the list
  * remove the animated indicator
................
  r2608 | danydb | 2009-10-25 18:37:44 +0100 (Sun, 25 Oct 2009) | 2 lines
  
  Fix small bug due the removal of the animation
................
  r2609 | danydb | 2009-10-27 14:23:23 +0100 (Tue, 27 Oct 2009) | 1 line
  
  add phpcompta_psql_host is the config_file, this variable is the postgresql host in case it is not in local, fix the return carriage for windows
................
  r2611 | danydb | 2009-10-27 21:42:41 +0100 (Tue, 27 Oct 2009) | 1 line
  
  Add variable phpcompta_psql_host in config.inc.php
................
  r2612 | danydb | 2009-10-27 21:45:10 +0100 (Tue, 27 Oct 2009) | 8 lines
  
  Blocked revisions 2610 via svnmerge
  
  ........
    r2610 | danydb | 2009-10-27 21:07:16 +0100 (Tue, 27 Oct 2009) | 1 line
    
    add variable phpcompta_psql_host to set the postgres server on another server
  ........
................
  r2613 | danydb | 2009-10-27 21:47:44 +0100 (Tue, 27 Oct 2009) | 2 lines
  
  Add script.aculous script
................
  r2614 | danydb | 2009-10-27 22:14:15 +0100 (Tue, 27 Oct 2009) | 2 lines
  
  get_by_qcode remove the heading and trailing space
................
  r2615 | danydb | 2009-10-27 22:42:32 +0100 (Tue, 27 Oct 2009) | 2 lines
  
  Remove trailing and heading space for insert_quant_purchase and insert_quant_sold
................
  r2616 | danydb | 2009-10-27 22:46:26 +0100 (Tue, 27 Oct 2009) | 1 line
  
  Fix bug : if there is no file to upload, returns immediately
................
  r2617 | danydb | 2009-10-27 22:46:54 +0100 (Tue, 27 Oct 2009) | 1 line
  
  Add documentation 
................
  r2618 | danydb | 2009-10-27 22:48:14 +0100 (Tue, 27 Oct 2009) | 1 line
  
  Autocomplete in Ledger of purchase, still missing : detail and add card
................
  r2619 | danydb | 2009-10-28 12:08:19 +0100 (Wed, 28 Oct 2009) | 4 lines
  
  For the auto complete, we can now seek in the quick_code, in the name and in the description
  the part of string which is found is in bold
  Those feature must tested
................
  r2620 | danydb | 2009-10-28 15:34:34 +0100 (Wed, 28 Oct 2009) | 3 lines
  
  * Change the function Acc_Ledger_Purchase::display_form by Acc_Ledger_Purchase::input
  * change the name of form_ledger
................
  r2621 | danydb | 2009-10-28 15:35:10 +0100 (Wed, 28 Oct 2009) | 1 line
  
  Remove form_ledger_detail.php
................
  r2622 | danydb | 2009-10-28 15:35:42 +0100 (Wed, 28 Oct 2009) | 1 line
  
  Rename form_ledger_ven.php to form_ledger_detail.php
................
  r2623 | danydb | 2009-10-28 22:26:04 +0100 (Wed, 28 Oct 2009) | 6 lines
  
  Make the search in description qcode or name
  Add ICard autocomplete to :
  	- Financial ledger
  	- Gestion : details
................
  r2625 | danydb | 2009-10-28 23:30:49 +0100 (Wed, 28 Oct 2009) | 2 lines
  
  ICard autocomplete : add the price
................
  r2626 | danydb | 2009-10-29 14:53:26 +0100 (Thu, 29 Oct 2009) | 12 lines
  
  Merged revisions 2595 via svnmerge from 
  file:///home/developper/svn/phpcompta/trunk
  
  ........
    r2595 | danydb | 2009-10-20 20:28:01 +0200 (Tue, 20 Oct 2009) | 5 lines
    
    Fix IE7 : cosmetic size of report in access
    FIX IE7 : bug with infobulle
    Improve infobulle with mouseover and mouseclick
    Check browser version and refuse to work if using IE < 7
  ........
................
  r2627 | danydb | 2009-10-29 14:57:50 +0100 (Thu, 29 Oct 2009) | 9 lines
  
  Merged revisions 2461-2465,2467-2470,2472-2476,2478,2480-2487,2496-2500,2503-2505,2509-2514,2516-2525,2527,2529-2540,2542,2544-2557,2560-2568,2570-2594,2596-2609,2611-2626 via svnmerge from 
  file:///home/developper/svn/phpcompta/trunk
  
  ........
    r2624 | danydb | 2009-10-28 22:55:29 +0100 (Wed, 28 Oct 2009) | 2 lines
    
    Add a new VMS Keytrade from jch
  ........
................
  r2628 | danydb | 2009-10-31 02:42:15 +0100 (Sat, 31 Oct 2009) | 10 lines
  
  Improve the facture HTML in the contrib
  Fix bug in generate invoice 
  Manual VAT amount in the ledger of sales
  Add ICard to Ledger Sales, purchase and fin
  Rewrite of javascript for ledger
  Ledger purchase use template
  Fix prob with infobulle in FIN ledger
  Improve ICard and make it work with IE7 and IE8
  Improve support of IE7 and IE8
................
  r2629 | danydb | 2009-10-31 03:03:43 +0100 (Sat, 31 Oct 2009) | 4 lines
  
  Add ajax_saldo
  Fix bug with amount computing
  Improve CSS : input text with 2 px of margin
................
  r2630 | danydb | 2009-10-31 13:17:05 +0100 (Sat, 31 Oct 2009) | 2 lines
  
  Set redirect if disconnected to 1 sec
................
  r2631 | danydb | 2009-10-31 20:07:10 +0100 (Sat, 31 Oct 2009) | 1 line
  
  rewrite of the listing of ledger, with a hidden div for the search
................
  r2632 | danydb | 2009-10-31 20:32:08 +0100 (Sat, 31 Oct 2009) | 1 line
  
  Add name of ledger into list_operation
................
  r2633 | danydb | 2009-10-31 20:33:39 +0100 (Sat, 31 Oct 2009) | 1 line
  
  Add search form for ledger
................
  r2634 | danydb | 2009-10-31 20:39:13 +0100 (Sat, 31 Oct 2009) | 2 lines
  
  Add documentation for new functions
................
  r2635 | danydb | 2009-11-01 12:44:56 +0100 (Sun, 01 Nov 2009) | 7 lines
  
  search : 
  	* by default the search is on the default period, 
  	* move openrecherche into scripts
  	* search ok for list VEN ACH ALL
  	* rewrite of recherche.php
  	* deprecated function showMenuRecherche
................
  r2636 | danydb | 2009-11-01 12:54:12 +0100 (Sun, 01 Nov 2009) | 3 lines
  
  Add in attr_def a nr of customer by default
  Clean code constant.php
................
  r2637 | danydb | 2009-11-01 14:26:52 +0100 (Sun, 01 Nov 2009) | 2 lines
  
  Icard + new search : working for quick_writing
................
  r2638 | danydb | 2009-11-01 14:43:31 +0100 (Sun, 01 Nov 2009) | 2 lines
  
  remove debug info
................
  r2639 | danydb | 2009-11-01 17:48:39 +0100 (Sun, 01 Nov 2009) | 3 lines
  
  For each ledger it is now possible to see the details of card
  when double-clicking on the field
................
  r2640 | danydb | 2009-11-01 18:34:02 +0100 (Sun, 01 Nov 2009) | 2 lines
  
  todo : bug IE cannot solved : bad position IPOPUP
................
  r2641 | danydb | 2009-11-01 18:34:41 +0100 (Sun, 01 Nov 2009) | 1 line
  
  Try to fix problem with IE, IPopup does not WORK !!
................
  r2642 | danydb | 2009-11-01 19:00:24 +0100 (Sun, 01 Nov 2009) | 1 line
  
  Fix position IPopup for card
................
  r2643 | danydb | 2009-11-01 19:55:26 +0100 (Sun, 01 Nov 2009) | 1 line
  
  Fix Problem IE with XML handling; add INum in each ledger
................
  r2644 | danydb | 2009-11-01 22:12:40 +0100 (Sun, 01 Nov 2009) | 2 lines
  
  Improve cosmetic
................
  r2645 | danydb | 2009-11-02 17:36:14 +0100 (Mon, 02 Nov 2009) | 3 lines
  
  Add a button for adding card inside a ledger form, there is no 
  popup window any more for adding a card
................
  r2649 | danydb | 2009-11-03 21:35:59 +0100 (Tue, 03 Nov 2009) | 13 lines
  
  Merged revisions 2646-2647 via svnmerge from 
  svn+ssh://danydb@svn/svn/phpcompta/trunk
  
  ........
    r2646 | danydb | 2009-11-03 14:35:04 +0100 (Tue, 03 Nov 2009) | 1 line
    
    Bug : javascript function GetID rename to g
  ........
    r2647 | danydb | 2009-11-03 21:21:44 +0100 (Tue, 03 Nov 2009) | 1 line
    
    Remove some IE javascript bug
  ........
................
  r2650 | danydb | 2009-11-03 23:27:30 +0100 (Tue, 03 Nov 2009) | 1 line
  
  ICard : add a new static method for creating the IPopup ICard::ipopup()
................
  r2651 | danydb | 2009-11-04 00:46:05 +0100 (Wed, 04 Nov 2009) | 1 line
  
  Change javascript for IE compatibility for adding row in table
................
  r2652 | danydb | 2009-11-04 10:20:48 +0100 (Wed, 04 Nov 2009) | 1 line
  
  Rename button_href to button_anchor
................
  r2654 | danydb | 2009-11-04 10:29:07 +0100 (Wed, 04 Nov 2009) | 3 lines
  
  Removed merge tracking for "svnmerge" for 
  file:///home/developper/svn/phpcompta/branches/rel500
................
  r2657 | danydb | 2009-11-04 10:56:21 +0100 (Wed, 04 Nov 2009) | 1 line
  
  Update Changelog svn2cl -r 2351:HEAD, 2351 was the start on rel500 branch
................
  r2658 | danydb | 2009-11-04 18:30:35 +0100 (Wed, 04 Nov 2009) | 4 lines
  
  
  Javascript prob.
  Put the javascript script file in the top of the file
................
  r2659 | danydb | 2009-11-04 18:33:19 +0100 (Wed, 04 Nov 2009) | 4 lines
  
  
  Rename ajax_get.php to ajax_card.js
................
  r2660 | danydb | 2009-11-04 19:36:52 +0100 (Wed, 04 Nov 2009) | 2 lines
  
  complete documentation of ajax_card
................
  r2661 | danydb | 2009-11-04 19:57:36 +0100 (Wed, 04 Nov 2009) | 2 lines
  
  add the function escape_xml
................
  r2662 | danydb | 2009-11-05 16:14:02 +0100 (Thu, 05 Nov 2009) | 1 line
  
  Remove useless comment
................
  r2663 | danydb | 2009-11-05 21:34:52 +0100 (Thu, 05 Nov 2009) | 6 lines
  
  Improve IPopup
  --------------
  Add the draggable feature for all ipopup
  Fix position problem with IE
................
  r2664 | danydb | 2009-11-07 00:07:24 +0100 (Sat, 07 Nov 2009) | 2 lines
  
  fix bug in get_row : order must appear in the select
................
  r2665 | danydb | 2009-11-07 01:00:08 +0100 (Sat, 07 Nov 2009) | 6 lines
  
  Accounting 
  ===========
  * finish to add everywhere the ICard
  * finish to add everywhere the IPost
................
  r2666 | danydb | 2009-11-07 12:38:30 +0100 (Sat, 07 Nov 2009) | 1 line
  
  Correct cosmetic + Tabel CSS
................
  r2667 | danydb | 2009-11-07 12:40:21 +0100 (Sat, 07 Nov 2009) | 1 line
  
  Respond to ajax request to manager Accouting item (search)
................
  r2668 | danydb | 2009-11-08 18:39:02 +0100 (Sun, 08 Nov 2009) | 12 lines
  
  Gestion Client
  ==============
  Add the operations 
  add the contacts
  
  General
  =======
  Improve search  into ledger (accouting item + quick code card)
  Improve search  into ledger (internal number)
................
  r2669 | danydb | 2009-11-09 14:12:38 +0100 (Mon, 09 Nov 2009) | 2 lines
  
  Split action.inc.php into 2 parts, the second is usable from anywhere
................
  r2670 | danydb | 2009-11-09 18:31:07 +0100 (Mon, 09 Nov 2009) | 6 lines
  
  Firefox XML
  =============
  
  Firefox split the XML answer in a 4k block, IE doesn't. 
  We add a function to retrieve the full content of a XML node
................
  r2671 | danydb | 2009-11-10 14:23:16 +0100 (Tue, 10 Nov 2009) | 7 lines
  
  Firefox XML
  =============
  
  Firefox split the XML answer in a 4k block, IE doesn't.
  We add a function to retrieve the full content of a XML node
................
  r2672 | danydb | 2009-11-11 16:56:47 +0100 (Wed, 11 Nov 2009) | 5 lines
  
  Todo List
  =========
  To avoid any problem, the JSON format has been dropped and replaced by 
  the XML format
................
  r2673 | danydb | 2009-11-12 16:16:47 +0100 (Thu, 12 Nov 2009) | 7 lines
  
  Dev. Scripts
  ============
  * delete old useless scripts
  * add comments to scripts (purpose, gpl...)
  * add scripts for adding languages
................
  r2674 | danydb | 2009-11-12 21:12:50 +0100 (Thu, 12 Nov 2009) | 5 lines
  
  Translation 
  ===========
  Start translation to English
................
  r2675 | danydb | 2009-11-14 00:58:37 +0100 (Sat, 14 Nov 2009) | 5 lines
  
  Card search button
  -------------------
  Add a search button in accountancy
................
  r2676 | danydb | 2009-11-14 16:57:01 +0100 (Sat, 14 Nov 2009) | 2 lines
  
  Class database : with postgresql > 8.2 the sequence can be less than 1
................
  r2677 | danydb | 2009-11-14 17:00:13 +0100 (Sat, 14 Nov 2009) | 6 lines
  
  Bug
  ===
  Fix Bug in the creation of ledger, and add the new IPoste class
  for searching for an accounting item
................
  r2678 | danydb | 2009-11-15 17:12:59 +0100 (Sun, 15 Nov 2009) | 3 lines
  
  remove debug code 
  Add translation
................
  r2679 | danydb | 2009-11-15 21:48:05 +0100 (Sun, 15 Nov 2009) | 7 lines
  
  Fiche cat
  =========
  Add IPoste, 
  Add correction of accounting item for the cat
  Add correction of auto create for the cat
................
  r2680 | danydb | 2009-11-16 16:06:55 +0100 (Mon, 16 Nov 2009) | 1 line
  
  Add translations
................
  r2681 | danydb | 2009-11-17 20:51:18 +0100 (Tue, 17 Nov 2009) | 5 lines
  
  Card
  ====
  Fix bug with the accounting item when it is not automatically 
  computed
................
  r2682 | danydb | 2009-11-17 21:13:13 +0100 (Tue, 17 Nov 2009) | 1 line
  
  remove debug info and correct the printing of account 
................
  r2683 | danydb | 2009-11-17 21:49:31 +0100 (Tue, 17 Nov 2009) | 4 lines
  
  Report
  ======
  Fix bug with report, add IPoste for helping in creation of new report
................
  r2684 | danydb | 2009-11-18 17:02:36 +0100 (Wed, 18 Nov 2009) | 3 lines
  
  Translation of the template
................
  r2685 | danydb | 2009-11-18 17:20:00 +0100 (Wed, 18 Nov 2009) | 5 lines
  
  BUDGET
  ======
  Remove completely the old BUDGET module
................
  r2686 | danydb | 2009-11-18 17:31:49 +0100 (Wed, 18 Nov 2009) | 1 line
  
  Cosmetic : size of span as row
................
  r2687 | danydb | 2009-11-18 17:32:05 +0100 (Wed, 18 Nov 2009) | 1 line
  
  Typo 
................
  r2688 | danydb | 2009-11-19 12:21:12 +0100 (Thu, 19 Nov 2009) | 2 lines
  
  redirect faster
................
  r2689 | danydb | 2009-11-19 12:22:27 +0100 (Thu, 19 Nov 2009) | 2 lines
  
  Change Liste des tâches to Pense Bete
................
  r2690 | danydb | 2009-11-19 16:58:27 +0100 (Thu, 19 Nov 2009) | 5 lines
  
  Ledger VEN & ACH
  ================
  Translation 
................
  r2691 | danydb | 2009-11-19 22:55:15 +0100 (Thu, 19 Nov 2009) | 2 lines
  
  Fix bug with f_id_Dest
................
  r2692 | danydb | 2009-11-19 23:13:20 +0100 (Thu, 19 Nov 2009) | 1 line
  
  Fix small bug in "gestion"
................
  r2693 | danydb | 2009-11-20 11:57:39 +0100 (Fri, 20 Nov 2009) | 2 lines
  
  Doxygen : introduction in English
................
  r2694 | danydb | 2009-11-20 12:20:43 +0100 (Fri, 20 Nov 2009) | 1 line
  
  Typo in SQL
................
  r2695 | danydb | 2009-11-20 15:30:09 +0100 (Fri, 20 Nov 2009) | 2 lines
  
  Add comment to database
................
  r2696 | danydb | 2009-11-22 11:02:14 +0100 (Sun, 22 Nov 2009) | 1 line
  
  Dashboad
................
  r2697 | danydb | 2009-11-22 11:02:46 +0100 (Sun, 22 Nov 2009) | 1 line
  
  Dashboad
................
  r2698 | danydb | 2009-11-22 11:03:09 +0100 (Sun, 22 Nov 2009) | 1 line
  
  Reconciliation : fix bug
................
  r2699 | danydb | 2009-11-22 11:21:56 +0100 (Sun, 22 Nov 2009) | 2 lines
  
  fix bug for period and show the selected language
................
  r2700 | danydb | 2009-11-22 11:40:10 +0100 (Sun, 22 Nov 2009) | 2 lines
  
  IPeriod improve doc and add javascript
................
  r2701 | danydb | 2009-11-22 11:50:24 +0100 (Sun, 22 Nov 2009) | 5 lines
  
  class ICard
  -----------
  No button search if readOnly  is true
  display  show the value and add a hidden value
................
  r2702 | danydb | 2009-11-22 12:20:22 +0100 (Sun, 22 Nov 2009) | 6 lines
  
  Import Bank
  -----------
  Fix bug import bank
  Add possibility to select directly the period
................
  r2703 | danydb | 2009-11-22 14:10:49 +0100 (Sun, 22 Nov 2009) | 6 lines
  
  Customer
  ---------
  Add a new card in a popup
  Reload window after adding card
................
  r2704 | danydb | 2009-11-22 18:48:07 +0100 (Sun, 22 Nov 2009) | 5 lines
  
  Customer
  ==========
  Add category by ipopup
................
  r2705 | danydb | 2009-11-22 18:59:44 +0100 (Sun, 22 Nov 2009) | 4 lines
  
  Deprecated
  ==========
  remove deprecated function code
................
  r2706 | danydb | 2009-11-22 19:01:53 +0100 (Sun, 22 Nov 2009) | 1 line
  
  code cleaning : remove dead code
................
  r2707 | danydb | 2009-11-22 19:06:34 +0100 (Sun, 22 Nov 2009) | 1 line
  
  remove useless option
................
  r2708 | danydb | 2009-11-22 19:12:53 +0100 (Sun, 22 Nov 2009) | 1 line
  
  Code cleaning : remove dead code
................
  r2709 | danydb | 2009-11-22 22:32:12 +0100 (Sun, 22 Nov 2009) | 1 line
  
  fix bug char set and update translation
................
  r2710 | danydb | 2009-11-23 15:23:09 +0100 (Mon, 23 Nov 2009) | 4 lines
  
  Code cleaning
  =============
  Remove Dead Code 
................
  r2711 | danydb | 2009-11-23 16:09:54 +0100 (Mon, 23 Nov 2009) | 1 line
  
  ICard : improve doc and remove dead code
................
  r2712 | danydb | 2009-11-23 23:36:41 +0100 (Mon, 23 Nov 2009) | 2 lines
  
  Improve appearance
................
  r2713 | danydb | 2009-11-24 00:42:25 +0100 (Tue, 24 Nov 2009) | 7 lines
  
  Acc_Ledger Sales and Expense
  -----------------------------
  * Fix last bugs
  * Add 2 columns : total without VAT, total with VAT
  * Improve INum, the readonly TAGS are in light grey
................
  r2714 | danydb | 2009-11-24 14:48:59 +0100 (Tue, 24 Nov 2009) | 1 line
  
  Generate Doc : clean table document after generating
................
  r2715 | danydb | 2009-11-24 17:28:48 +0100 (Tue, 24 Nov 2009) | 6 lines
  
  Doxygen 
  change setting : 
  	remove code in the documentation
  	Show comment
................
  r2716 | danydb | 2009-11-24 17:29:55 +0100 (Tue, 24 Nov 2009) | 2 lines
  
  Backup - restore : Add the flag --no-owner to avoid some security issues
................
  r2717 | danydb | 2009-11-24 17:31:04 +0100 (Tue, 24 Nov 2009) | 8 lines
  
  Action - customer
  ==================
  Add the search button
  Add the detail double click
  Improve documentation
  Improve search build_sql
................
  r2718 | danydb | 2009-11-24 22:51:53 +0100 (Tue, 24 Nov 2009) | 1 line
  
  Fix char set 
................
  r2719 | danydb | 2009-11-24 23:52:39 +0100 (Tue, 24 Nov 2009) | 1 line
  
  cosmetic
................
  r2720 | danydb | 2009-11-24 23:52:41 +0100 (Tue, 24 Nov 2009) | 1 line
  
  Class fiche: add toArray
................
  r2721 | danydb | 2009-11-24 23:53:38 +0100 (Tue, 24 Nov 2009) | 1 line
  
   add button for the search of action
................
  r2722 | danydb | 2009-11-24 23:54:01 +0100 (Tue, 24 Nov 2009) | 2 lines
  
  Improve ISpan : add the attribute style
................
  r2723 | danydb | 2009-11-26 16:58:23 +0100 (Thu, 26 Nov 2009) | 1 line
  
  Improve doc + test card
................
  r2724 | danydb | 2009-11-28 01:22:43 +0100 (Sat, 28 Nov 2009) | 6 lines
  
  Fix bug in GESTION
  Add search in Recherche (acc_ledger)
  Improve doc and style
  Create file for extension
................
  r2725 | danydb | 2009-11-29 18:13:07 +0100 (Sun, 29 Nov 2009) | 1 line
  
  Card Search in the ledger for all the cards
................
  r2726 | danydb | 2009-11-29 18:26:30 +0100 (Sun, 29 Nov 2009) | 1 line
  
  Add check to avoid to enter twice the same name for cat. of card 
................
  r2727 | danydb | 2009-11-29 18:30:13 +0100 (Sun, 29 Nov 2009) | 1 line
  
  Finish customer 
................
  r2728 | danydb | 2009-11-29 18:35:46 +0100 (Sun, 29 Nov 2009) | 1 line
  
  Operatio customer
................
  r2729 | danydb | 2009-11-29 18:55:34 +0100 (Sun, 29 Nov 2009) | 5 lines
  
  SUPPLIER
  ========
  Add Supplier
................
  r2730 | danydb | 2009-11-29 19:31:42 +0100 (Sun, 29 Nov 2009) | 1 line
  
  Add security for Administration
................
  r2731 | danydb | 2009-11-29 19:32:13 +0100 (Sun, 29 Nov 2009) | 1 line
  
  Add security for Administration
................
  r2732 | danydb | 2009-11-29 19:39:50 +0100 (Sun, 29 Nov 2009) | 2 lines
  
  Change client by supplier
................
  r2733 | danydb | 2009-11-29 20:17:36 +0100 (Sun, 29 Nov 2009) | 5 lines
  
  Administration
  ==============
  Add administration follow-up, detail, history 
................
  r2734 | danydb | 2009-11-29 20:24:46 +0100 (Sun, 29 Nov 2009) | 1 line
  
  Strict Contact::Summary not correct
................
  r2735 | danydb | 2009-11-29 20:31:05 +0100 (Sun, 29 Nov 2009) | 1 line
  
  Fix bug in follow up and ADM
................
  r2736 | danydb | 2009-11-29 20:36:34 +0100 (Sun, 29 Nov 2009) | 1 line
  
  Show the search in Follow up in a criteria exist
................
  r2737 | danydb | 2009-11-30 15:52:21 +0100 (Mon, 30 Nov 2009) | 1 line
  
  Improve ShowPopup: keep the Dialog Box in the current view
................
  r2738 | danydb | 2009-12-01 21:56:24 +0100 (Tue, 01 Dec 2009) | 7 lines
  
  Dashboard
  ---------
  Add last action
  Add Calendar
  Add last operation
................
  r2739 | danydb | 2009-12-01 22:07:12 +0100 (Tue, 01 Dec 2009) | 1 line
  
  Fix bug in middle of payment
................
  r2740 | danydb | 2009-12-01 22:09:28 +0100 (Tue, 01 Dec 2009) | 2 lines
  
  Use gettext
................
  r2741 | danydb | 2009-12-01 22:13:11 +0100 (Tue, 01 Dec 2009) | 2 lines
  
  Add gettext
................
  r2742 | danydb | 2009-12-01 22:15:28 +0100 (Tue, 01 Dec 2009) | 2 lines
  
  Fix bug : add row : 9 col instead of 6
................
  r2743 | danydb | 2009-12-01 22:42:10 +0100 (Tue, 01 Dec 2009) | 1 line
  
  Adapt for MS IE7µ
................
  r2744 | danydb | 2009-12-04 16:15:36 +0100 (Fri, 04 Dec 2009) | 1 line
  
  add iposte, fix size in css
................
  r2745 | danydb | 2009-12-05 01:52:50 +0100 (Sat, 05 Dec 2009) | 8 lines
  
  Parameters
  ==========
  * Move VAT into Divers
  * Update doc iposte
  * Add iposte to Parm Code
  * Add security for extension
................
  r2746 | danydb | 2009-12-06 21:36:16 +0100 (Sun, 06 Dec 2009) | 1 line
  
  Remove autocomplete from the Acc_Ledger::search_form due to a bug in the autocompleter
................
  r2747 | danydb | 2009-12-06 22:12:24 +0100 (Sun, 06 Dec 2009) | 2 lines
  
  add security
................
  r2748 | danydb | 2009-12-06 22:15:23 +0100 (Sun, 06 Dec 2009) | 2 lines
  
  Add documentation
................
  r2749 | danydb | 2009-12-06 22:27:27 +0100 (Sun, 06 Dec 2009) | 4 lines
  
  EXtension
  =========
  Add structure for extension
................
  r2750 | danydb | 2009-12-06 22:35:26 +0100 (Sun, 06 Dec 2009) | 1 line
  
  Fix cosmetic
................
  r2751 | danydb | 2009-12-09 16:36:39 +0100 (Wed, 09 Dec 2009) | 2 lines
  
  remove richtext.js which is obsolete
................
  r2752 | danydb | 2009-12-09 16:52:56 +0100 (Wed, 09 Dec 2009) | 4 lines
  
  Bug in restore
  ===============
  Can not upload a file, the _POST array is empty, because the post_max_size was too small
................
  r2753 | danydb | 2009-12-10 21:05:55 +0100 (Thu, 10 Dec 2009) | 8 lines
  
  Dashboard
  =========
  Improve Layout : size of comment = 20 char
  Follow-up
  =========
  Set default values
................
  r2754 | danydb | 2009-12-10 21:25:05 +0100 (Thu, 10 Dec 2009) | 2 lines
  
  Add the month year in calendar
................
  r2755 | danydb | 2009-12-10 21:25:40 +0100 (Thu, 10 Dec 2009) | 2 lines
  
  Calendar : add documentation and fill from todo list
................
  r2756 | danydb | 2009-12-11 00:12:15 +0100 (Fri, 11 Dec 2009) | 5 lines
  
  Extension
  =========
  Add the class
  Adapt code and template
................
  r2757 | danydb | 2009-12-12 00:38:37 +0100 (Sat, 12 Dec 2009) | 4 lines
  
  Extension
  =========
  Menu for manage extension
................
  r2758 | danydb | 2009-12-12 00:39:27 +0100 (Sat, 12 Dec 2009) | 1 line
  
  add todo : remove plugin
................
  r2759 | danydb | 2009-12-15 21:57:19 +0100 (Tue, 15 Dec 2009) | 2 lines
  
  add documentation
................
  r2760 | danydb | 2009-12-16 19:54:22 +0100 (Wed, 16 Dec 2009) | 1 line
  
  Extension : add security and item in the menu
................
  r2761 | danydb | 2009-12-16 19:58:15 +0100 (Wed, 16 Dec 2009) | 2 lines
  
  typo
................
  r2762 | danydb | 2009-12-16 20:05:26 +0100 (Wed, 16 Dec 2009) | 3 lines
  
  Gestion
  Add printing
................
  r2763 | danydb | 2009-12-16 20:14:13 +0100 (Wed, 16 Dec 2009) | 2 lines
  
  Add prevision to security
................
  r2764 | danydb | 2009-12-16 20:14:28 +0100 (Wed, 16 Dec 2009) | 2 lines
  
  Add prevision to security
................
  r2765 | danydb | 2009-12-16 20:14:44 +0100 (Wed, 16 Dec 2009) | 2 lines
  
  Add prevision to security
................
  r2766 | danydb | 2009-12-16 20:18:22 +0100 (Wed, 16 Dec 2009) | 2 lines
  
  security prevision : mod and consultation
................
  r2767 | danydb | 2009-12-16 20:45:24 +0100 (Wed, 16 Dec 2009) | 1 line
  
  Add security for prevision
................
  r2768 | danydb | 2009-12-18 20:30:59 +0100 (Fri, 18 Dec 2009) | 1 line
  
  Compatible with IE
................
  r2769 | danydb | 2009-12-18 20:36:03 +0100 (Fri, 18 Dec 2009) | 1 line
  
  Remove debug info
................
  r2770 | danydb | 2009-12-18 21:00:02 +0100 (Fri, 18 Dec 2009) | 2 lines
  
  remove debug information
................
  r2771 | danydb | 2009-12-18 21:03:55 +0100 (Fri, 18 Dec 2009) | 2 lines
  
  Add todo 
................
  r2772 | danydb | 2009-12-18 21:28:06 +0100 (Fri, 18 Dec 2009) | 1 line
  
  resize todo list and maximize windows when logon
................
  r2773 | danydb | 2009-12-23 22:48:59 +0100 (Wed, 23 Dec 2009) | 1 line
  
  Action : Improve location button generate document
................
  r2774 | danydb | 2009-12-27 14:26:16 +0100 (Sun, 27 Dec 2009) | 1 line
  
  clean up
................
  r2775 | danydb | 2009-12-27 14:26:32 +0100 (Sun, 27 Dec 2009) | 2 lines
  
  cleanup
................
  r2776 | danydb | 2009-12-27 19:05:53 +0100 (Sun, 27 Dec 2009) | 1 line
  
  Add Documentation 
................
  r2777 | danydb | 2009-12-27 19:51:29 +0100 (Sun, 27 Dec 2009) | 1 line
  
  Start Forecast
................
  r2778 | danydb | 2009-12-28 02:27:56 +0100 (Mon, 28 Dec 2009) | 1 line
  
  Add the class for managing the tables forecast, forecast_cat and forecast_item
................
  r2779 | danydb | 2009-12-30 05:55:38 +0100 (Wed, 30 Dec 2009) | 1 line
  
  Bug : missing the search card popup
................
  r2780 | danydb | 2010-01-02 16:48:25 +0100 (Sat, 02 Jan 2010) | 1 line
  
  Code cleaning : remove blank lines
................
  r2781 | danydb | 2010-01-02 16:50:20 +0100 (Sat, 02 Jan 2010) | 1 line
  
  Change filename prevision.inc.php by forecast.inc.php
................
  r2782 | danydb | 2010-01-02 16:50:53 +0100 (Sat, 02 Jan 2010) | 1 line
  
  remove trailing space
................
  r2783 | danydb | 2010-01-02 16:51:28 +0100 (Sat, 02 Jan 2010) | 1 line
  
  remove trailing space
................
  r2784 | danydb | 2010-01-02 16:51:54 +0100 (Sat, 02 Jan 2010) | 1 line
  
  remove trailing space
................
  r2785 | danydb | 2010-01-02 16:57:19 +0100 (Sat, 02 Jan 2010) | 4 lines
  
  Business Forecast 
  =================
  
  The BF module is now finished 
................
  r2786 | danydb | 2010-01-02 16:57:46 +0100 (Sat, 02 Jan 2010) | 4 lines
  
  Business Forecast 
  =================
  
  The BF module is now finished 
................
  r2787 | danydb | 2010-01-02 21:46:48 +0100 (Sat, 02 Jan 2010) | 2 lines
  
  Analytic accountancy : fixed bug
  Cosmetic bugs
................
  r2788 | danydb | 2010-01-02 22:14:56 +0100 (Sat, 02 Jan 2010) | 2 lines
  
  Analytic accountancy : fixed bug
  Cosmetic bugs
................
  r2789 | danydb | 2010-01-03 00:53:28 +0100 (Sun, 03 Jan 2010) | 1 line
................
  r2790 | danydb | 2010-01-03 01:24:42 +0100 (Sun, 03 Jan 2010) | 1 line
  
  Remove files
................
  r2791 | danydb | 2010-01-03 01:50:21 +0100 (Sun, 03 Jan 2010) | 5 lines
  
  Class periode :
  =============
  change id by p_id
................
  r2792 | danydb | 2010-01-03 02:03:41 +0100 (Sun, 03 Jan 2010) | 1 line
  
  Ad for firefox
................
  r2793 | danydb | 2010-01-03 17:52:58 +0100 (Sun, 03 Jan 2010) | 1 line
  
  Bug : last date was not shown
................
  r2794 | danydb | 2010-01-03 17:58:05 +0100 (Sun, 03 Jan 2010) | 1 line
  
  Translate
................
  r2795 | danydb | 2010-01-03 18:07:24 +0100 (Sun, 03 Jan 2010) | 1 line
  
  Bug : ISelect
................
  r2796 | danydb | 2010-01-03 18:17:41 +0100 (Sun, 03 Jan 2010) | 1 line
  
  Bug : Costing accountancy
................
  r2797 | danydb | 2010-01-03 18:23:13 +0100 (Sun, 03 Jan 2010) | 1 line
  
  Fix bug and correct translation
................
  r2798 | danydb | 2010-01-04 14:58:51 +0100 (Mon, 04 Jan 2010) | 1 line
  
  Cosmetic bug 
................
  r2799 | danydb | 2010-01-04 15:37:02 +0100 (Mon, 04 Jan 2010) | 1 line
  
  Cosmetic fix problem button anchor
................
  r2800 | danydb | 2010-01-04 19:30:31 +0100 (Mon, 04 Jan 2010) | 2 lines
  
  Update Doc
................
  r2801 | danydb | 2010-01-04 19:57:41 +0100 (Mon, 04 Jan 2010) | 2 lines
  
  Fix bug : report : if a  FROM clause do not exist (for example from a previous year) then the report failed with a SQL error
................
  r2802 | danydb | 2010-01-04 20:11:19 +0100 (Mon, 04 Jan 2010) | 1 line
  
  Code cleaning
................
  r2803 | danydb | 2010-01-04 20:11:47 +0100 (Mon, 04 Jan 2010) | 1 line
  
  Change setting for generating doc
................
  r2804 | danydb | 2010-01-04 20:12:25 +0100 (Mon, 04 Jan 2010) | 1 line
  
  Code improve + translation
................
  r2805 | danydb | 2010-01-06 14:50:09 +0100 (Wed, 06 Jan 2010) | 1 line
  
  Dashboad : add card name in last action
................
  r2806 | danydb | 2010-01-06 15:00:06 +0100 (Wed, 06 Jan 2010) | 1 line
  
  Parameter : move Poste to Divers
................
  r2807 | danydb | 2010-01-06 15:22:48 +0100 (Wed, 06 Jan 2010) | 4 lines
  
  Parameters
  Move Extension from Divers to Main
  Move Cat of card from Main to Divers
................
  r2808 | danydb | 2010-01-06 18:08:43 +0100 (Wed, 06 Jan 2010) | 1 line
  
  Extension : plugin in the folder ext
................
  r2809 | danydb | 2010-01-06 19:16:17 +0100 (Wed, 06 Jan 2010) | 1 line
  
  Plugin : locate into the folder ext
................
  r2810 | danydb | 2010-01-06 19:59:55 +0100 (Wed, 06 Jan 2010) | 1 line
  
  CSS : modify button
................
  r2811 | danydb | 2010-01-07 18:55:07 +0100 (Thu, 07 Jan 2010) | 2 lines
  
  Cosmetic : quick code in upper case
................
  r2812 | danydb | 2010-01-07 19:00:07 +0100 (Thu, 07 Jan 2010) | 2 lines
  
  If there is no document template, then hide the generate button
................
  r2813 | danydb | 2010-01-07 19:50:44 +0100 (Thu, 07 Jan 2010) | 2 lines
  
  Cosmetic change TODO
................
  r2814 | danydb | 2010-01-07 20:17:33 +0100 (Thu, 07 Jan 2010) | 1 line
  
  set color to todo in the calendar
................
  r2815 | danydb | 2010-01-07 20:18:22 +0100 (Thu, 07 Jan 2010) | 1 line
  
  Problem with round
................
  r2816 | danydb | 2010-01-07 20:18:37 +0100 (Thu, 07 Jan 2010) | 1 line
  
  set color to todo in the calendar
................
  r2817 | danydb | 2010-01-07 20:26:09 +0100 (Thu, 07 Jan 2010) | 2 lines
  
  Opening entries : account is never found
................
  r2818 | danydb | 2010-01-07 20:32:42 +0100 (Thu, 07 Jan 2010) | 2 lines
  
  Fix Bug : If the name is empty, we don't go backward to correct the name
................
  r2819 | danydb | 2010-01-07 20:36:51 +0100 (Thu, 07 Jan 2010) | 2 lines
  
  Fix Bug: Extension show several times the same user
................
  r2820 | danydb | 2010-01-07 20:59:59 +0100 (Thu, 07 Jan 2010) | 1 line
  
  Modify func alert 
................
  r2821 | danydb | 2010-01-07 21:00:59 +0100 (Thu, 07 Jan 2010) | 1 line
  
  Fix Bug : the extension can be saved with an empty name or code
................
  r2822 | danydb | 2010-01-07 21:01:42 +0100 (Thu, 07 Jan 2010) | 2 lines
  
  indent code
................
  r2823 | danydb | 2010-01-07 21:18:16 +0100 (Thu, 07 Jan 2010) | 2 lines
  
  Protect against forbidden char (javascript attack)
................
  r2824 | danydb | 2010-01-07 21:21:10 +0100 (Thu, 07 Jan 2010) | 1 line
  
  Protect again javascript attack + alert if save extension failed
................
  r2825 | danydb | 2010-01-07 21:25:13 +0100 (Thu, 07 Jan 2010) | 2 lines
  
  Protect against javascript attack
................
  r2826 | danydb | 2010-01-07 21:32:44 +0100 (Thu, 07 Jan 2010) | 1 line
  
  Protect against forb. char
................
  r2827 | danydb | 2010-01-07 22:53:13 +0100 (Thu, 07 Jan 2010) | 1 line
  
  AJAX : add security to ajax file
................
  r2828 | danydb | 2010-01-07 22:57:24 +0100 (Thu, 07 Jan 2010) | 2 lines
  
  Cosmetic
................
  r2829 | danydb | 2010-01-07 23:11:42 +0100 (Thu, 07 Jan 2010) | 2 lines
  
  Fix Bug : cannot update name of cost accounting
................
  r2830 | danydb | 2010-01-07 23:12:52 +0100 (Thu, 07 Jan 2010) | 1 line
  
  Add forgotten file for extension
................
  r2831 | danydb | 2010-01-08 14:03:03 +0100 (Fri, 08 Jan 2010) | 1 line
  
  Fix Bug : too many error in the table TVA for France
................
  r2832 | danydb | 2010-01-08 14:04:12 +0100 (Fri, 08 Jan 2010) | 1 line
  
  Fix Bug : too many error in the table TVA for France
................
  r2833 | danydb | 2010-01-08 14:50:15 +0100 (Fri, 08 Jan 2010) | 1 line
  
  Update Belgium accountancy
................
  r2834 | danydb | 2010-01-08 16:53:40 +0100 (Fri, 08 Jan 2010) | 1 line
  
  Improve replace periode by date in print Poste 
................
  r2835 | danydb | 2010-01-08 19:20:38 +0100 (Fri, 08 Jan 2010) | 2 lines
  
  correct tva_FR
................
  r2836 | danydb | 2010-01-08 19:21:11 +0100 (Fri, 08 Jan 2010) | 1 line
  
  Cosmetic CSS
................
  r2837 | danydb | 2010-01-08 19:53:12 +0100 (Fri, 08 Jan 2010) | 1 line
  
  fix bug tva_france
................
  r2838 | danydb | 2010-01-08 20:11:53 +0100 (Fri, 08 Jan 2010) | 1 line
  
  Correct order for printing accounting
................
  r2839 | danydb | 2010-01-08 20:18:18 +0100 (Fri, 08 Jan 2010) | 2 lines
  
  Bug : Printing ledger simple, show always the same line
................
  r2840 | danydb | 2010-01-10 15:16:48 +0100 (Sun, 10 Jan 2010) | 1 line
  
  Fix problem accentuated char + view vw_fiche_def
................
  r2841 | danydb | 2010-01-10 15:19:19 +0100 (Sun, 10 Jan 2010) | 2 lines
  
  Remove owner SQL command
................
  r2842 | danydb | 2010-01-10 15:37:37 +0100 (Sun, 10 Jan 2010) | 1 line
  
  Improve Detail operation : simple
................
  r2843 | danydb | 2010-01-11 13:59:49 +0100 (Mon, 11 Jan 2010) | 2 lines
  
  Fix bug  : when type an sale and a payment, user gets a warning about unknown variable mt
................
  r2844 | danydb | 2010-01-11 14:17:22 +0100 (Mon, 11 Jan 2010) | 2 lines
  
  Fix Bug : double click in "middle of payment" does not work
................
  r2845 | danydb | 2010-01-11 14:26:19 +0100 (Mon, 11 Jan 2010) | 1 line
  
  Improve popup detail operation : align amount to right
................
  r2846 | danydb | 2010-01-11 18:59:29 +0100 (Mon, 11 Jan 2010) | 1 line
  
  Bug : generate document does not work
................
  r2847 | danydb | 2010-01-11 19:25:57 +0100 (Mon, 11 Jan 2010) | 1 line
  
  Bug : after creating an invoice or a fee note, the link does not show the generated document
................
  r2848 | danydb | 2010-01-11 19:30:08 +0100 (Mon, 11 Jan 2010) | 1 line
  
  Bug Cosmetic : improve link for Receipt
................
  r2849 | danydb | 2010-01-11 19:32:47 +0100 (Mon, 11 Jan 2010) | 1 line
  
  Bug : no security on remove or consult a document
................
  r2850 | danydb | 2010-01-11 21:29:32 +0100 (Mon, 11 Jan 2010) | 2 lines
  
  Bug : does not show accounting when po_description is null (costing accounting)
................
  r2851 | danydb | 2010-01-12 14:02:32 +0100 (Tue, 12 Jan 2010) | 1 line
  
  Update StyleSheet
................
  r2852 | danydb | 2010-01-12 14:16:16 +0100 (Tue, 12 Jan 2010) | 1 line
  
  Update EN translation
................
  r2853 | danydb | 2010-01-12 15:14:08 +0100 (Tue, 12 Jan 2010) | 1 line
  
  Remove deprecated functions
................
  r2854 | danydb | 2010-01-12 15:43:52 +0100 (Tue, 12 Jan 2010) | 1 line
  
  Complete all the todo
................
  r2855 | danydb | 2010-01-12 21:11:45 +0100 (Tue, 12 Jan 2010) | 1 line
  
  Cosmetic : add the calc in ACH + move button, bug in recherche.php, the qcode does not appear after request
................
  r2856 | danydb | 2010-01-13 12:16:01 +0100 (Wed, 13 Jan 2010) | 1 line
  
  Dashboard: add the possibility to change the periode
................
  r2857 | danydb | 2010-01-13 14:15:45 +0100 (Wed, 13 Jan 2010) | 3 lines
  
  add translation
  Fix Bug : The query in follow up does not work when a part of the title was specified
................
  r2863 | danydb | 2010-01-13 16:02:28 +0100 (Wed, 13 Jan 2010) | 3 lines
  
  Removed merge tracking for "svnmerge" for 
  file:///home/developper/svn/phpcompta/trunk
................
  r2866 | danydb | 2010-01-13 16:08:42 +0100 (Wed, 13 Jan 2010) | 2 lines
  
  Rename the branch
................
  r2867 | danydb | 2010-01-13 20:52:52 +0100 (Wed, 13 Jan 2010) | 2 lines
  
  Add the difference between old and new balance
................
  r2869 | danydb | 2010-01-14 14:41:25 +0100 (Thu, 14 Jan 2010) | 1 line
  
  Bug :  fiche_attribut_synchro is really low, solution is to create 2 indexes
................
  r2874 | danydb | 2010-01-15 15:52:38 +0100 (Fri, 15 Jan 2010) | 3 lines
  
  The extra info are now available for ledger purchase, opportunity to clean
  code
................
  r2875 | danydb | 2010-01-15 19:51:33 +0100 (Fri, 15 Jan 2010) | 2 lines
  
  Fix bug : in rapport, the from doesn't work, the result is always 0
................
  r2876 | danydb | 2010-01-16 17:17:50 +0100 (Sat, 16 Jan 2010) | 1 line
  
  For Comptabilité->ACH and Comptabilité->VEN add shortcut to printing and customer/supplier
................
  r2877 | danydb | 2010-01-16 17:30:56 +0100 (Sat, 16 Jan 2010) | 2 lines
  
  Action : add search by type of documents
................
  r2878 | danydb | 2010-01-17 00:31:03 +0100 (Sun, 17 Jan 2010) | 1 line
  
  Fix bug : cannot choose a tva rate
................
  r2879 | danydb | 2010-01-20 22:37:11 +0100 (Wed, 20 Jan 2010) | 6 lines
  
  Action
  ======
  add a button for adding a card there is no filter on the category
  You can add whatever you want
................
  r2880 | danydb | 2010-01-21 16:10:57 +0100 (Thu, 21 Jan 2010) | 1 line
  
  Correct stylesheet : todo list 
................
  r2882 | danydb | 2010-01-21 16:15:54 +0100 (Thu, 21 Jan 2010) | 1 line
  
  Change Suivi Courrier by Suivi
................
  r2883 | danydb | 2010-01-21 16:38:42 +0100 (Thu, 21 Jan 2010) | 1 line
  
  Style color is now a copy of style light
................
  r2884 | danydb | 2010-01-22 12:54:57 +0100 (Fri, 22 Jan 2010) | 3 lines
  
  Bug: cannot see all the follow up in the list
  Improve : border orange for today
................
  r2885 | danydb | 2010-01-22 13:03:36 +0100 (Fri, 22 Jan 2010) | 2 lines
  
  Remove debug info
................
  r2886 | danydb | 2010-01-22 13:12:54 +0100 (Fri, 22 Jan 2010) | 2 lines
  
  Fix bug : date order in todo list
................
  r2887 | danydb | 2010-01-22 13:14:02 +0100 (Fri, 22 Jan 2010) | 2 lines
  
  Improve fix order for todo list
................
  r2888 | danydb | 2010-01-22 15:30:39 +0100 (Fri, 22 Jan 2010) | 8 lines
  
  Fix bug : 
  * show all actions (no filter anymore)
  * Show interne if in an action there is no card
  Improve : 
  * todo list highlight today
  * calendar highlight today
            
................
  r2889 | danydb | 2010-01-22 23:21:39 +0100 (Fri, 22 Jan 2010) | 1 line
  
  Improve action : description can be enlarged for big note
................
  r2890 | danydb | 2010-01-22 23:39:28 +0100 (Fri, 22 Jan 2010) | 2 lines
  
  Improve : enlarge if description > 300 char
................
  r2891 | danydb | 2010-01-22 23:40:20 +0100 (Fri, 22 Jan 2010) | 2 lines
  
  improve : big desc if > 300 char
................
  r2892 | danydb | 2010-01-22 23:40:49 +0100 (Fri, 22 Jan 2010) | 1 line
  
  Improve Item forecast = 50
................
  r2893 | danydb | 2010-01-23 17:12:33 +0100 (Sat, 23 Jan 2010) | 1 line
  
  Update Documentation
................
  r2894 | danydb | 2010-01-23 19:36:53 +0100 (Sat, 23 Jan 2010) | 1 line
  
  Fix Bug : unknow tag for document : vent_art_tva_code
................
  r2895 | danydb | 2010-01-23 22:19:29 +0100 (Sat, 23 Jan 2010) | 1 line
  
  Add Example of invoice
................
  r2896 | danydb | 2010-01-23 22:20:22 +0100 (Sat, 23 Jan 2010) | 1 line
  
  Update logo
................
  r2898 | danydb | 2010-01-24 19:49:05 +0100 (Sun, 24 Jan 2010) | 6 lines
  
  Annulation
  ==========
  When an operation is avoided, in simple printing of the ledger
  you will have a negative amount
................
  r2899 | danydb | 2010-01-24 20:07:58 +0100 (Sun, 24 Jan 2010) | 5 lines
  
  Annulation
  ==========
  Available for strict mode
  Update manuel
................
2010-01-24 19:24:39 +00:00

462 lines
14 KiB
PHP

<?php
/*
* This file is part of PhpCompta.
*
* PhpCompta is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* PhpCompta is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with PhpCompta; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
// Copyright Author Dany De Bontridder ddebontridder@yahoo.fr
/* $Revision$ */
/*! \file
* \brief in a popup window manage the removal of the operations
*/
include_once ("ac_common.php");
include_once("central_inc.php");
include_once("user_common.php");
require_once('class_database.php');
include_once("jrn.php");
require_once("class_itext.php");
require_once("class_ibutton.php");
require_once("class_acc_ledger.php");
require_once("class_acc_operation.php");
require_once ('class_periode.php');
require_once('class_acc_reconciliation.php');
/* Admin. Dossier */
include_once ("class_user.php");
require_once('class_dossier.php');
$gDossier=dossier::id();
$cn=new Database($gDossier);
$User=new User($cn);
$User->Check();
$User->check_dossier(dossier::id());
if ($User->check_action(GEOP,0) == 0 ) {
alert("Cette action n'est pas autorisée");
echo '<script>window.close();<script>';
}
html_page_start($User->theme,"onLoad='window.focus();'");
echo JS_LEDGER;
if ( isset( $_REQUEST['p_jrn'] )) {
$p_jrn=$_GET['p_jrn'];
}
// Check privilege
if ( $User->check_jrn($_GET['p_jrn']) != 'W') {
alert("Vous ne pouvez pas accèder en écriture à ce journal");
echo '<script>window.close();</script>';
exit -1;
}
$operation=new Acc_Operation($cn);
list ($l_array,$max_deb,$max_cred)=$operation->get_data($_GET['jrn_op']);
extract ($l_array,EXTR_PREFIX_ALL,'e_');
foreach ($l_array as $key=>$element) { ${"e_".$key}=$element;}
// cancel an operation
if ( isset ($_POST['annul']) ) {
/* Confirm it first */
if ( ! isset ( $_POST['confirm'])) {
?>
<p>
<h2 class="info">Confirmation</h2>
<br>
<p><span class="error">Attention: l'effacement d'une op&eacute;ration peut rompre la s&eacute;quence de la num&eacute;rotation des factures surtout celles g&eacute;n&eacute;r&eacute;es automatiquement ainsi que celle des pièces justificatives, soyez tr&egrave;s prudent quand vous effacez. La pi&egrave;ce jointe sera elle aussi effac&eacute;e. Si vous utilisez la comptabilit&eacute; analytique les op&eacute;rations li&eacute;es seront effac&eacute;es.
</span>
</p>
<p> Voulez-vous vraiment annuler cette information soit par une remise &agrave; z&eacute;ro des montants
soit par son &eacute;criture inverse ?
</p>
<span>
<FORM METHOD="POST" ACTION="annulation.php?p_jrn=<?php echo $_GET['p_jrn'];?>&jrn_op=<?php echo $_GET['jrn_op'];?>">
<?php echo dossier::hidden(); ?>
<INPUT TYPE="HIDDEN" NAME="annul">
<INPUT TYPE="HIDDEN" NAME="p_id" value="<?php echo $_POST['p_id']; ?>">
Date pour l'écriture inverse
<?
$idate=new IDate("idate");
echo $idate->input();
?>
<span class="notice">Une écriture inverse sera faite si vous utilisez le mode strict ou si vous êtes dans une période fermée</span>
<br>
<INPUT TYPE="SUBMIT" NAME="confirm" value="Oui">
</FORM>
<FORM METHOD="GET" ACTION="annulation.php">
<?php echo dossier::hidden(); ?>
<INPUT TYPE="HIDDEN" NAME="p_jrn" value="<?php echo $_REQUEST['p_jrn']; ?>">
<INPUT TYPE="HIDDEN" NAME="p_id" value="<?php echo $_REQUEST['p_id']; ?>">
<INPUT TYPE="HIDDEN" NAME="jrn_op" value="<?php echo $_REQUEST['jrn_op']; ?>">
<INPUT TYPE="SUBMIT" NAME="not_confirm" value="non">
</form>
</span>
<?php
return;
} // end confirm'
// Remove is confirmed
if ( isset ($_POST['p_id'])) {
$p_id=$_POST['p_id'];
if ($p_id != -1 ) { // A
// Test whether date of the operation is in a closed periode
// get the period_id
$p=$cn->exec_sql("select jr_tech_per from jrn where jr_grpt_id=$1",array($_REQUEST['jrn_op']));
$period_id=Database::fetch_result($p,0,0);
// thanks jrn_op (jrn.jr_id) we find out the concerned ledger
$sql="select jr_def_id from jrn where jr_grpt_id=".$_REQUEST['jrn_op'];
$r=$cn->exec_sql($sql);
$nJrn=Database::fetch_result($r,0,0);
$per=new Periode($cn);
$per->set_jrn($nJrn);
$per->set_periode($period_id);
$own=new Own($cn);
// Check the period_id
if ( $per->is_open() == 0 || $own->MY_STRICT=='Y')
{
if ( isDate($_POST['idate'])== 0 ) {
alert(_('Date invalide'));
echo create_Script('window.close()');
exit();
}
// Find the periode of idate
try {
$periode=new Periode($cn);
$periode->find_periode($_POST['idate']);
} catch (Exception $e){
alert(_('Période ou date incorrecte'));
echo create_Script('window.close()');
exit();
}
// if this periode is closed => end
if ($periode->is_open()==0) {
alert(_('Cette période est fermée'));
echo create_Script('window.close()');
exit();
}
try
{
// if the operation is in a closed or centralized period
// the operation is voided thanks the opposite operation
$cn->start();
$grp_new=$cn->get_next_seq('s_grpt');
$seq=$cn->get_next_seq("s_jrn");
$oJrn=new Acc_Ledger($cn,$l_array['jr_def_id']);
$p_internal=$oJrn->compute_internal_code($seq);
$sql= "insert into jrn (
jr_id,jr_def_id,jr_montant,jr_comment,
jr_date,jr_grpt_id,jr_internal
,jr_tech_per, jr_valid
) select $seq,jr_def_id,jr_montant,'Annulation '||jr_comment,
to_date($1,'DD.MM.YYYY'),$grp_new,'$p_internal',
".$periode->p_id.", true
from
jrn
where jr_grpt_id=$2";
$Res=$cn->exec_sql($sql,array($_POST['idate'],$_POST['p_id']));
// Check return code
if ( $Res == false)
throw (new Exception(__FILE__.__LINE__."sql a echoue [ $sql ]"));
// Make also the change into jrnx
$sql= "insert into jrnx (
j_date,j_montant,j_poste,j_grpt,
j_jrn_def,j_debit,j_text,j_internal,j_tech_user,j_tech_per,j_qcode
) select now(),j_montant,j_poste,$grp_new,
j_jrn_def,not (j_debit),j_text,'$p_internal','".$User->id."',
".$periode->p_id.",j_qcode
from
jrnx
where j_grpt=".$_POST['p_id'];
$Res=$cn->exec_sql($sql);
// Check return code
if ( $Res == false)
throw (new Exception(__FILE__.__LINE__."sql a echoue [ $sql ]"));
// Mark the operation invalid into the ledger
// to avoid to nullify twice the same op.
$sql="update jrn set jr_comment='Annule : '||jr_comment where jr_grpt_id=".$_POST['p_id'];
$Res=$cn->exec_sql($sql);
// Check return code
if ( $Res == false)
throw (new Exception(__FILE__.__LINE__."sql a echoue [ $sql ]"));
// Set the record to A (annulate) in quant_sold and quand_purchase
$Res=$cn->exec_sql("update quant_sold set ".
" qs_valid='A' where qs_internal='".$l_array['jr_internal']."'"
);
if ( $Res == false)
throw (new Exception(__FILE__.__LINE__."sql a echoue [ $sql ]"));
$Res=$cn->exec_sql("update quant_purchase set ".
" qp_valid='A' where qp_internal='".$l_array['jr_internal']."'"
);
if ( $Res == false)
throw (new Exception(__FILE__.__LINE__."sql a echoue [ $sql ]"));
// Add a "concerned operation to bound these op.together
//
$rec=new Acc_Reconciliation ($cn);
$rec->set_jr_id($seq);
$rec->insert($l_array['jr_id']);
// Check return code
if ( $Res == false ) { throw (new Exception(__FILE__.__LINE__."sql a echoue [ $sql ]"));}
// the table stock must updated
// also in the stock table
$sql="delete from stock_goods where sg_id = any ( select sg_id
from stock_goods natural join jrnx where j_grpt=".$_POST['p_id'].")";
$Res=$cn->exec_sql($sql);
// Check return code
if ( $Res == false)
throw (new Exception(__FILE__.__LINE__."sql a echoue [ $sql ]"));
}
catch (Exception $e)
{
$cn->rollback();
$msg="D&eacute;sol&eacute; mais il n a pas &eacute;t&eacute; possible d'annuler ".
"cette op&eacute;ration";
echo "<SCRIPT>alert('$msg');</SCRIPT>";
echo '<span class="error">'.
'Erreur : '.
__FILE__.':'.__LINE__.' '.
$e->getMessage();
echo '<p>';
echo 'Postez ce message sur '.
'<A HREF="http://www.phpcompta.org/pmwiki.php/Forum/Forum">'.
'le forum de www.phpcompta.org</A> '.
'</p>';
$p_id=-1;
exit(-1);
}
$cn->commit();
// close the window
echo '<h2 class="info"> Op&eacute;ration Annul&eacute;e</h2>';
?>
<script>
window.close();
self.opener.RefreshMe();
</script>
<?php
} else {
// operation is not in a closed period
// Check only if a line is valid or not
if ( isValid($cn,$p_id) == 1 ) {
try
{
// Start Sql
$cn->start();
$sql="insert into del_action(del_name,del_time) values ($1,now());";
$cn->exec_sql($sql,array($_SESSION['g_user']));
// Set the record to A (annulate) in quant_sold and quand_purchase
// delete from the rapt table
$sql="delete from jrn_rapt where jr_id = any (select jr_id from jrn ".
" where jr_grpt_id = ".$_POST['p_id'].")";
$Res=$cn->exec_sql($sql);
if ( $Res == false)
throw (new Exception(__FILE__.__LINE__."sql a echoue [ $sql ]"));
$Res=$cn->exec_sql("delete from quant_sold ".
" where qs_internal='".$l_array['jr_internal']."'"
);
if ( $Res == false)
throw (new Exception(__FILE__.__LINE__."sql a echoue [ $sql ]"));
$Res=$cn->exec_sql("delete from quant_purchase ".
" where qp_internal='".$l_array['jr_internal']."'"
);
if ( $Res == false)
throw (new Exception(__FILE__.__LINE__."sql a echoue [ $sql ]"));
if ( isset($l_array['jr_pj']) && $l_array['jr_pj'] != "")
{
$Res=$cn->lo_unlink($l_array['jr_pj']);
if ( $Res == false)
throw (new Exception(__FILE__.__LINE__.
"Echec Effacement lob [ $sql ]"));
}
// delete from the stock table
$sql="delete from stock_goods where sg_id = any ( select sg_id
from stock_goods natural join jrnx where j_grpt=".$_POST['p_id'].")";
$Res=$cn->exec_sql($sql);
if ( $Res == false)
throw (new Exception(__FILE__.__LINE__."sql a echoue [ $sql ]"));
// delete from CA
$sql="delete from operation_analytique where j_id in (select j_id from";
$sql.=" jrnx where j_grpt=".$_POST['p_id'].")";
$Res=$cn->exec_sql($sql);
if ( $Res == false)
throw (new Exception(__FILE__.__LINE__."sql a echoue [ $sql ]"));
// delete from jrnx & jrn
$sql="delete from jrnx where j_grpt=".$_POST['p_id'];
$Res=$cn->exec_sql($sql);
if ( $Res == false)
throw (new Exception(__FILE__.__LINE__."sql a echoue [ $sql ]"));
// build the sql stmt for jrn
$sql= "delete from jrn where jr_grpt_id=".$_POST['p_id'];
$Res=$cn->exec_sql($sql);
if ( $Res == false)
throw (new Exception(__FILE__.__LINE__." sql a echoue [ $sql ]"));
}
catch (Exception $e)
{
$cn->rollback();
$msg="Desole mais il n a pas ete possible d'annuler ".
"cette operation";
echo "<SCRIPT>alert('$msg');</SCRIPT>";
echo '<span class="error">'.
'Erreur : '.
__FILE__.':'.__LINE__.' '.
$e->getMessage();
echo '<p>';
echo 'Postez ce message sur '.
'<A HREF="http://www.phpcompta.org/pmwiki.php/Forum/Forum">'.
'le forum de www.phpcompta.org</A> '.
'</p>';
$p_id=-1;
exit(-1);
}
$cn->commit();
echo '<h2 class="info"> Op&eacute;ration Annul&eacute;e</h2>';
?>
<script>
window.close();
self.opener.RefreshMe();
</script>
<?php
}// if isValid
} // else if period is closed
}//B p_id == -1
} // if Post['p_id']
}//confirm
//}// if annul
echo '<div align="center"> Op&eacute;ration '.$l_array['jr_internal'].'</div>
<div>
<form action="'.$_SERVER['REQUEST_URI'].'" method="post" >';
$a=new IText();
$a->setReadOnly(false);
echo '<div style="border-style:solid;border-width:1pt;">';
$a->size=40;
echo 'Description :'.$a->input("comment",$e_comment);
echo '</DIV>';
if ( isset ($e_ech) ) {
echo "<DIV> Echeance $e_ech </DIV>";
}
echo '<table width="95%">';
for ( $i = 0; $i < $max_deb;$i++) {
echo '<tr style="background-color:#BFC2D5;">';
if ( ${"e_qcode_deb".$i} == "-" ) {
$poste=new Acc_Account($cn,${"e_class_deb$i"});
$lib=$poste->get_lib();
} else {
$fiche=new Fiche($cn);
$fiche->get_by_qcode(${"e_qcode_deb".$i},false);
$lib=$fiche->getName();
}
echo td(${"e_class_deb$i"}).td(${"e_qcode_deb".$i}).td($lib).td("<B>".${"e_mont_deb$i"}."</B>").td(_('Débit'));
echo '</tr>';
}
for ( $i = 0; $i < $max_cred;$i++) {
if ( ${"e_qcode_cred".$i} == "-" ) {
$poste=new Acc_Account($cn,${"e_class_cred$i"});
$lib=$poste->get_lib();
} else {
$fiche=new Fiche($cn);
$fiche->get_by_qcode(${"e_qcode_cred".$i},false);
$lib=$fiche->getName();
}
echo '<tr>';
echo td(${"e_class_cred$i"}).td(${"e_qcode_cred".$i}).td($lib).td("<B>".${"e_mont_cred$i"}."</B>").td(_('Crédit'));
echo '</tr>';
}
echo '</table>';
/* concerned operation */
$rec=new Acc_Reconciliation($cn);
$rec->set_jr_id($e_jr_id);
$a=$rec->get();
if ( $a != null ) {
foreach ($a as $key => $element) {
echo "operation concern&eacute;e <br>";
$operation=new Acc_Operation($cn);
$operation->jr_id=$element;
$w=new IButton();
$w->label=$operation->get_internal();
$w->javascript="modifyOperation('".$element."','".$_REQUEST['PHPSESSID']."',".dossier::id().
','.$_REQUEST['p_jrn'].",'S')";
echo $w->input().'<br>';
}//for
}// if ( $a != null ) {
echo dossier::hidden().
'
<input type="hidden" name="p_id" value="'.$_GET['jrn_op'].'">
<input type="submit" name="annul" value="Mise &agrave; z&eacute;ro ou effacement">
<input type="button" name="cancel" value="Retour" onClick="window.close();">
</form>';
html_page_stop();
?>