Commit graph

136 commits

Author SHA1 Message Date
Dany De Bontridder
f49b43bb2b cosmetic 2011-11-17 00:34:03 +00:00
Dany De Bontridder
8910c69842 Fix small bugs + add payment method by ledger 2011-11-15 20:40:50 +00:00
Dany De Bontridder
427db197ee #452 : change parseFormula and checkFormula in a OO Way + renaming of functions and file, create a new class : Impress 2011-11-15 11:32:03 +00:00
Dany De Bontridder
dae4eb4374 Update security, add PARSTR
New function xml_error (for ajax_misc.php)
2011-11-14 13:57:44 +00:00
Dany De Bontridder
c16c32ca48 improve CSS
Finish new security + clean table action
2011-11-13 13:28:19 +00:00
Dany De Bontridder
8a2ee1f092 0000390 réécriture de include/extension.inc.php
0000424 	Plugin traité comme des modules ou des menus
0000240 	Sécurité par profile
0000438 	Modularité : avoir les écrans pour gérer les menus, profiles et les liaisons
0000435 	Form direct action : améliorer apparence
2011-11-10 15:49:57 +00:00
Dany De Bontridder
58f3e38e84 Extension : change for security, now based on MENU_REF
Update the script to put the extension into menu_ref + profile_menu
2011-11-08 23:04:55 +00:00
Dany De Bontridder
4cee45d624 Security remove all $user->can_request except for extension 2011-11-08 19:45:07 +00:00
Dany De Bontridder
4379add3f7 432: Modularité: impact sur la sécurité des impressions et export CSV
Add new_line for menu & module 
Improve javascript support (module + menu)
2011-11-07 21:16:45 +00:00
Dany De Bontridder
3090ee508d Modularité : ajout du javascript 2011-11-04 21:27:21 +00:00
Dany De Bontridder
33e0885e72 0434: Form direct action : add the form 2011-11-03 22:44:23 +00:00
Dany De Bontridder
0f3c11ef4d improve #jrn_name +(div)
improve appearance predefined operation
finish financial ledger
2011-11-03 22:03:53 +00:00
Dany De Bontridder
a400513385 html_page and load_all_script can be called only once. Otherwise, there are problem with calendar.js 2011-10-30 19:32:17 +00:00
Dany De Bontridder
733883f2eb replace FormatString by sql_string 2011-10-29 14:46:13 +00:00
Dany De Bontridder
80e5c54b0e 421: bilan.php moved 2011-10-29 12:53:53 +00:00
Dany De Bontridder
d30bfb2b3b 424 : plugin dans les menus ou modules 2011-10-29 02:36:11 +00:00
Dany De Bontridder
80d8c73a1d #418: Menu directement choisi s'il n'y en a qu'un 2011-10-29 01:10:52 +00:00
Dany De Bontridder
db129f9b21 #422 Module by default. Set the $_POST,$_GET,$_REQUEST 2011-10-29 00:10:54 +00:00
Dany De Bontridder
aee5707dc6 #422 Module by default 2011-10-28 23:58:49 +00:00
Dany De Bontridder
5c497d5092 Merged revisions 4209,4229-4232,4234,4237-4249 via svnmerge from
svn+ssh://ns352270.ovh.net/svn/phpcompta/branches/rel600-dynamic-menu

........
  r4209 | danydb | 2011-10-13 22:06:13 +0200 (Thu, 13 Oct 2011) | 1 line
  
  Add new files
........
  r4229 | danydb | 2011-10-23 20:51:09 +0200 (Sun, 23 Oct 2011) | 1 line
  
  Dynamic menu: impress works
........
  r4230 | danydb | 2011-10-24 22:38:15 +0200 (Mon, 24 Oct 2011) | 2 lines
  
  #241 : modularity for SALE ledger
........
  r4231 | danydb | 2011-10-24 22:47:02 +0200 (Mon, 24 Oct 2011) | 2 lines
  
  #241 : modularity for PURCHASE ledger
........
  r4232 | danydb | 2011-10-25 23:03:53 +0200 (Tue, 25 Oct 2011) | 2 lines
  
  #241 : modularity for FINANCIAL ledger
........
  r4234 | danydb | 2011-10-26 01:09:02 +0200 (Wed, 26 Oct 2011) | 2 lines
  
  #241 : modularity for CARD ledger + alphanum prob
........
  r4237 | danydb | 2011-10-27 20:59:39 +0200 (Thu, 27 Oct 2011) | 2 lines
  
  #241 : modularity for lettering
........
  r4238 | danydb | 2011-10-27 21:10:19 +0200 (Thu, 27 Oct 2011) | 3 lines
  
  #241 :adapt width submenu
........
  r4239 | danydb | 2011-10-27 21:40:42 +0200 (Thu, 27 Oct 2011) | 3 lines
  
  #241 : modularity : old user_advanced.php
........
  r4240 | danydb | 2011-10-27 21:44:27 +0200 (Thu, 27 Oct 2011) | 3 lines
  
  #241 : modularity : deprecated function
........
  r4241 | danydb | 2011-10-27 21:46:26 +0200 (Thu, 27 Oct 2011) | 3 lines
  
  #241 : modularity : remove obsolete files
........
  r4242 | danydb | 2011-10-27 21:54:39 +0200 (Thu, 27 Oct 2011) | 3 lines
  
  #241 : modularity : gestion card + gestion IMP
........
  r4243 | danydb | 2011-10-27 22:28:36 +0200 (Thu, 27 Oct 2011) | 3 lines
  
  #241 : modularity : gestion customer + supplier + forecast + follow up
........
  r4244 | danydb | 2011-10-28 00:47:55 +0200 (Fri, 28 Oct 2011) | 5 lines
  
  #241 : modularity : parameter 
  company
  periode
  misc : tva , card attr, middle of payment, accounting,cat of doc, cat of card
........
  r4245 | danydb | 2011-10-28 00:51:43 +0200 (Fri, 28 Oct 2011) | 1 line
  
  update menu_ref, profile_menu
........
  r4246 | danydb | 2011-10-28 00:52:13 +0200 (Fri, 28 Oct 2011) | 1 line
  
  rewriting : change ShowMenuPcmn by menu_acc_plan
........
  r4247 | danydb | 2011-10-28 20:04:01 +0200 (Fri, 28 Oct 2011) | 1 line
  
  #241 : modularity : parameter  Document
........
  r4248 | danydb | 2011-10-28 22:00:42 +0200 (Fri, 28 Oct 2011) | 1 line
  
  #241 : modularity : préférence
........
  r4249 | danydb | 2011-10-28 22:16:44 +0200 (Fri, 28 Oct 2011) | 1 line
  
  last fix
........
2011-10-28 20:59:25 +00:00
Dany De Bontridder
f1b1d42df5 Code cleaniing : remove myereg and ereg function 2011-09-28 14:19:20 +00:00
Dany De Bontridder
2372709c7b Merged revisions 4147-4160 via svnmerge from
svn+ssh://danydb@svn/svn/phpcompta/branches/rel560

........
  r4147 | danydb | 2011-05-31 21:27:49 +0200 (Tue, 31 May 2011) | 2 lines
  
  revoke from ... cause problem on MAC
........
  r4148 | danydb | 2011-05-31 23:36:28 +0200 (Tue, 31 May 2011) | 1 line
  
  better error message with database::get_value
........
  r4149 | danydb | 2011-06-01 02:12:08 +0200 (Wed, 01 Jun 2011) | 1 line
  
  Ajax disconnected
........
  r4150 | danydb | 2011-06-01 23:44:53 +0200 (Wed, 01 Jun 2011) | 1 line
  
  update SQL script
........
  r4151 | danydb | 2011-06-01 23:46:25 +0200 (Wed, 01 Jun 2011) | 2 lines
  
  update database version
........
  r4152 | danydb | 2011-06-04 12:39:20 +0200 (Sat, 04 Jun 2011) | 1 line
  
   0000281: Ajax : déconnecté
........
  r4153 | danydb | 2011-06-04 12:40:37 +0200 (Sat, 04 Jun 2011) | 1 line
  
  Better error message 
........
  r4154 | danydb | 2011-06-04 12:41:30 +0200 (Sat, 04 Jun 2011) | 1 line
  
  Bug for MacOSX
........
  r4155 | danydb | 2011-06-04 12:58:06 +0200 (Sat, 04 Jun 2011) | 1 line
  
  remove debug info
........
  r4156 | danydb | 2011-06-04 16:24:57 +0200 (Sat, 04 Jun 2011) | 2 lines
  
  Fix bug with debug flag
........
  r4157 | danydb | 2011-06-04 16:25:44 +0200 (Sat, 04 Jun 2011) | 1 line
  
  remove debug 
........
  r4158 | danydb | 2011-06-06 21:30:08 +0200 (Mon, 06 Jun 2011) | 2 lines
  
  Alert : show the missing accounting
........
  r4159 | danydb | 2011-06-06 23:30:08 +0200 (Mon, 06 Jun 2011) | 2 lines
  
  bug fixed : settype transform SQL NULL into 0
........
  r4160 | danydb | 2011-06-07 23:24:54 +0200 (Tue, 07 Jun 2011) | 2 lines
  
  0000283: Compte contrepartie
........
2011-06-08 17:58:47 +00:00
Dany De Bontridder
0ad70ad1e1 remove span body_info 2011-02-25 13:26:50 +00:00
Dany De Bontridder
091222a220 Bug ajax_disconnected 2011-02-25 13:26:01 +00:00
Dany De Bontridder
e4e750e4bd Modify message 2011-02-21 15:57:25 +00:00
Dany De Bontridder
08cf314785 Do not reset filter when marking operation as paid 2011-01-19 21:20:07 +00:00
Dany De Bontridder
60bc07d293 Add function h2 2011-01-17 20:49:28 +00:00
Dany De Bontridder
1ae1c3c945 Bug when a card name contains a quote, it breaks the javascript, the function j has been changed 2010-11-10 20:28:28 +00:00
Dany De Bontridder
9d72c3e1e0 task #9
0000009: ereg n'est plus supporté, a changer par preg_match, preg_match_all,preg_*
2010-10-30 15:27:34 +00:00
Dany De Bontridder
de5aa678f9 Amélioration des nombres dans les détails des opérations
nb pour les CSV
nbm pour l'html
2010-10-29 23:56:56 +00:00
Dany De Bontridder
c8e0df3906 Amélioration des nombres dans les détails des opérations
nb pour les CSV
nbm pour l'html
2010-10-29 23:37:48 +00:00
Dany De Bontridder
e431f3f3e9 Amélioration des nombres dans les détails des opérations 2010-10-29 23:25:05 +00:00
Dany De Bontridder
ff6ccd5e3d change nb par number_format 2010-10-29 22:53:06 +00:00
Dany De Bontridder
0e5fcddfc1 Reformat the code with
- astyle --style=ansi
Broke : the <<<<EOF
.
2010-09-14 15:27:31 +00:00
Dany De Bontridder
1bb5bd3fd9 The calc is now in a small div, available everywhere 2010-08-02 19:14:01 +00:00
Dany De Bontridder
1430273585 add a utility span 2010-08-01 22:24:29 +00:00
Dany De Bontridder
285cefec44 ac_common::showitem() add javascript for the menu 2010-07-23 20:13:47 +00:00
Dany De Bontridder
9c8f8b483f fs#135 number in cvs are formatted thanks the function ac_common::nb, it wil help
the users who are using excel
2010-07-17 16:49:54 +00:00
Dany De Bontridder
eb39186c0a function td has optional parameter 2010-07-05 20:05:42 +00:00
Dany De Bontridder
ad0deb4751 Format properly the date and add a footer to some table 2010-07-04 00:07:28 +00:00
Dany De Bontridder
17a8b3c777 Merged revisions 3235-3245 via svnmerge from
file:///home/developper/svn/phpcompta/branches/rel510

........
  r3236 | danydb | 2010-05-21 20:43:57 +0200 (Fri, 21 May 2010) | 1 line
  
  change place button exit
........
  r3237 | danydb | 2010-05-21 20:44:11 +0200 (Fri, 21 May 2010) | 1 line
  
  change place button exit
........
  r3238 | danydb | 2010-05-21 20:44:54 +0200 (Fri, 21 May 2010) | 1 line
  
  cosmetic : Button appearance button
........
  r3239 | danydb | 2010-05-21 20:46:01 +0200 (Fri, 21 May 2010) | 1 line
  
  Print : add receipt# for cat. of card
........
  r3240 | danydb | 2010-05-21 20:46:19 +0200 (Fri, 21 May 2010) | 1 line
  
  Update documentation
........
  r3241 | danydb | 2010-05-21 21:05:51 +0200 (Fri, 21 May 2010) | 1 line
  
  add function sql_string to protect 
........
  r3242 | danydb | 2010-05-22 00:50:31 +0200 (Sat, 22 May 2010) | 1 line
  
  bug in sql_string function : typo
........
  r3243 | danydb | 2010-05-22 12:03:49 +0200 (Sat, 22 May 2010) | 1 line
  
  Fix problem with quote for the TMP_PCMN function (ajax search accounting + add / remove and modify accounting)
........
  r3244 | danydb | 2010-05-22 12:27:19 +0200 (Sat, 22 May 2010) | 2 lines
  
  Bug in ajax_poste : change set_value(pcm_val,pcm_lib) by set_value(pcm_val,g('lib').innerHTML)
........
  r3245 | danydb | 2010-05-24 21:33:53 +0200 (Mon, 24 May 2010) | 2 lines
  
  Fix bug card cannot move due to a typo in Fiche::move_to function
........
2010-05-25 14:35:08 +00:00
Dany De Bontridder
4207ae1425 Total D/C for cat. of cards
Detail let. for card and account
2010-05-12 20:46:52 +00:00
Dany De Bontridder
8eb47d8afd Remove the function echo_debug which is now obsolete 2010-05-11 23:40:42 +00:00
Dany De Bontridder
b4186b3ca0 ereg is deprecated and must be replaced by preg_match
the function which mimic ereg is myereg
2010-05-11 21:30:03 +00:00
Dany De Bontridder
746fd2e1c4 Add the function shrink_date to reduce the size of a date 2010-05-04 20:23:14 +00:00
Dany De Bontridder
c0c2a9085d Change function tr and td : only 2 parameters 2010-05-03 17:08:07 +00:00
Dany De Bontridder
a57fcade4f change :
* td function add a third parameter for fine setting
* th function add a second parameter for fine setting
2010-05-02 19:07:14 +00:00
Dany De Bontridder
a7999c308a Merged revisions 3017-3033 via svnmerge from
file:///home/developper/svn/phpcompta/branches/rel500

........
  r3018 | danydb | 2010-04-16 12:45:48 +0200 (Fri, 16 Apr 2010) | 4 lines
  
  Quick_writing
  =============
  Advanced->direct writing remove the flag direct_write
........
  r3019 | danydb | 2010-04-16 13:11:06 +0200 (Fri, 16 Apr 2010) | 7 lines
  
  Advanced->Periode
  ==================
  * give the number of operation
  * do not propose to remove a used periode
  * fix cosmetic
  * add confirm for "cloture" and "remove"
........
  r3020 | danydb | 2010-04-16 15:31:03 +0200 (Fri, 16 Apr 2010) | 2 lines
  
  IPoste : add documentation : sample of code
........
  r3021 | danydb | 2010-04-16 15:31:32 +0200 (Fri, 16 Apr 2010) | 2 lines
  
  Iposte update doc : typo
........
  r3022 | danydb | 2010-04-16 21:12:47 +0200 (Fri, 16 Apr 2010) | 2 lines
  
  Add info for error
........
  r3023 | danydb | 2010-04-17 00:37:08 +0200 (Sat, 17 Apr 2010) | 2 lines
  
  ac_common.php add a function h2info
........
  r3024 | danydb | 2010-04-17 01:19:21 +0200 (Sat, 17 Apr 2010) | 2 lines
  
  Button is not printed
........
  r3025 | danydb | 2010-04-17 01:20:14 +0200 (Sat, 17 Apr 2010) | 2 lines
  
  extension :Logout button and name plugin is not printed
........
  r3026 | danydb | 2010-04-17 01:40:01 +0200 (Sat, 17 Apr 2010) | 1 line
  
  Appearance : improve disable html elt appearance
........
  r3027 | danydb | 2010-04-17 01:43:05 +0200 (Sat, 17 Apr 2010) | 1 line
  
  Periode : improve usuability
........
  r3028 | danydb | 2010-04-17 01:43:21 +0200 (Sat, 17 Apr 2010) | 1 line
  
  Fix several bugs in itva_popup
........
  r3029 | danydb | 2010-04-17 14:12:47 +0200 (Sat, 17 Apr 2010) | 2 lines
  
  New Manuel for windows
........
  r3030 | danydb | 2010-04-17 15:18:25 +0200 (Sat, 17 Apr 2010) | 6 lines
  
  
  Document modele
  ===============
  New : can decide if a document must be used with the ledger of sales, purchase or follow up
........
  r3031 | danydb | 2010-04-18 00:05:25 +0200 (Sun, 18 Apr 2010) | 1 line
  
  Add function tr
........
  r3032 | danydb | 2010-04-18 00:06:15 +0200 (Sun, 18 Apr 2010) | 1 line
  
  Correct style : you can now click on the selected menu
........
  r3033 | danydb | 2010-04-18 19:58:24 +0200 (Sun, 18 Apr 2010) | 3 lines
  
  
  scripts.js : add function deleteRow(tablename, object) to use with IButton
........
2010-04-19 09:24:02 +00:00
Dany De Bontridder
8ed6f7f707 Merged revisions 2994-3000 via svnmerge from
svn+ssh://danydb@svn/svn/phpcompta/branches/rel500

........
  r2994 | danydb | 2010-04-09 19:11:55 +0200 (Fri, 09 Apr 2010) | 2 lines
  
  Fix Bug : stock good avoid the record of a new card
........
  r2995 | danydb | 2010-04-09 23:15:57 +0200 (Fri, 09 Apr 2010) | 2 lines
  
  For windows, improve the installation (correct default values)
........
  r2996 | danydb | 2010-04-09 23:16:38 +0200 (Fri, 09 Apr 2010) | 1 line
  
  For windows improve installation
........
  r2997 | danydb | 2010-04-09 23:21:07 +0200 (Fri, 09 Apr 2010) | 1 line
  
  what_os is redefined
........
  r2998 | danydb | 2010-04-11 20:52:52 +0200 (Sun, 11 Apr 2010) | 1 line
  
  improve appearance
........
  r2999 | danydb | 2010-04-11 20:53:06 +0200 (Sun, 11 Apr 2010) | 1 line
  
  improve appearance
........
  r3000 | danydb | 2010-04-11 20:57:35 +0200 (Sun, 11 Apr 2010) | 1 line
  
  echo_warning use the CSS class error instead of info
........
2010-04-12 09:36:01 +00:00
Dany De Bontridder
6ddf85aee2 Merged revisions 2939-2962 via svnmerge from
svn+ssh://danydb@svn/svn/phpcompta/branches/rel500

........
  r2940 | danydb | 2010-02-11 19:20:28 +0100 (Thu, 11 Feb 2010) | 1 line
  
  Acc_Payment : "paiement par" is getting simpler
........
  r2941 | danydb | 2010-02-11 19:41:39 +0100 (Thu, 11 Feb 2010) | 1 line
  
  Add a logout button to extension
........
  r2942 | danydb | 2010-02-11 20:49:25 +0100 (Thu, 11 Feb 2010) | 1 line
  
  Translation dutch
........
  r2943 | danydb | 2010-02-12 11:40:28 +0100 (Fri, 12 Feb 2010) | 1 line
  
  Add dutch translation
........
  r2944 | danydb | 2010-02-12 17:09:59 +0100 (Fri, 12 Feb 2010) | 1 line
  
   Fix Bug : in quick writing you have now access to the listing
........
  r2945 | danydb | 2010-02-13 14:11:36 +0100 (Sat, 13 Feb 2010) | 1 line
  
  Bug : it is not possible to change the limit of paiment : Fixed
........
  r2946 | danydb | 2010-02-13 14:12:05 +0100 (Sat, 13 Feb 2010) | 1 line
  
  remove debug
........
  r2947 | danydb | 2010-02-13 14:26:27 +0100 (Sat, 13 Feb 2010) | 2 lines
  
  Update Documentation
........
  r2948 | danydb | 2010-02-13 17:27:07 +0100 (Sat, 13 Feb 2010) | 1 line
  
  Correction bilan belge
........
  r2949 | danydb | 2010-02-13 18:07:46 +0100 (Sat, 13 Feb 2010) | 1 line
  
  Bug fixed : cannot type a middle of payment
........
  r2950 | danydb | 2010-02-13 18:12:49 +0100 (Sat, 13 Feb 2010) | 1 line
  
  Fixed Bug: the amount in quant_sold in not rounded
........
  r2951 | danydb | 2010-02-13 19:31:17 +0100 (Sat, 13 Feb 2010) | 1 line
  
  Add translation for payment
........
  r2952 | danydb | 2010-02-13 19:40:32 +0100 (Sat, 13 Feb 2010) | 1 line
  
  Fixed Bug cannot add a new account
........
  r2953 | danydb | 2010-02-21 20:31:52 +0100 (Sun, 21 Feb 2010) | 1 line
  
  Translation completed for english
........
  r2954 | danydb | 2010-02-22 23:06:47 +0100 (Mon, 22 Feb 2010) | 9 lines
  
  
  Fix bugs :
  * Security was not respected, user can write in Readonly ledgers
  * Cannot modify or delete accounting entry with more than 8 digits
  * Cannot record information when not VAT
  * VMSKeytrade failed with ExecSql
  * ledger creation : cannot save the card on deb side
........
  r2955 | danydb | 2010-02-22 23:17:33 +0100 (Mon, 22 Feb 2010) | 3 lines
  
  Improve
  Import bank must be able to import into CASH
........
  r2956 | danydb | 2010-02-23 18:16:01 +0100 (Tue, 23 Feb 2010) | 1 line
  
  Fix Bug = Feb has 28 days and every 4 years 29
........
  r2957 | danydb | 2010-02-24 21:57:04 +0100 (Wed, 24 Feb 2010) | 3 lines
  
  Fix bug : warning messages when phpcompta is installed on windows about the languages
........
  r2958 | danydb | 2010-02-25 23:37:40 +0100 (Thu, 25 Feb 2010) | 3 lines
  
  Update for windows
........
  r2959 | danydb | 2010-02-26 00:29:06 +0100 (Fri, 26 Feb 2010) | 2 lines
  
  Fix Bug : cannot give an account to a card
........
  r2960 | danydb | 2010-02-28 20:54:32 +0100 (Sun, 28 Feb 2010) | 1 line
  
  Bug Return button for IE 
........
  r2961 | danydb | 2010-02-28 20:54:51 +0100 (Sun, 28 Feb 2010) | 1 line
  
  Progress for Dutch translation
........
2010-03-01 20:43:11 +00:00