|
************************* File = admin_dossier.php **************** |
|
1 |
************************* File = admin_repo.php **************** |
************************* File = admin_repo.php **************** |
|
************************* File = advanced.php **************** |
|
2 |
************************* File = annulation.php **************** |
************************* File = annulation.php **************** |
|
************************* File = a.php **************** |
|
3 |
************************* File = bal_csv.php **************** |
************************* File = bal_csv.php **************** |
4 |
************************* File = b.php **************** |
************************* File = bilan.php **************** |
5 |
************************* File = central.php **************** |
************************* File = central.php **************** |
|
************************* File = class.ezpdf.php **************** |
|
|
************************* File = class.pdf.php **************** |
|
|
************************* File = c.php **************** |
|
6 |
************************* File = dossier_prefs.php **************** |
************************* File = dossier_prefs.php **************** |
|
************************* File = d.php **************** |
|
|
************************* File = e.php **************** |
|
7 |
************************* File = facturation.php **************** |
************************* File = facturation.php **************** |
8 |
************************* File = fiche_csv.php **************** |
************************* File = fiche_csv.php **************** |
9 |
************************* File = fiche_new.php **************** |
************************* File = fiche_new.php **************** |
12 |
************************* File = form_csv.php **************** |
************************* File = form_csv.php **************** |
13 |
************************* File = form_pdf.php **************** |
************************* File = form_pdf.php **************** |
14 |
************************* File = form.php **************** |
************************* File = form.php **************** |
|
************************* File = f.php **************** |
|
|
************************* File = g.php **************** |
|
|
************************* File = html_balance.php **************** |
|
15 |
************************* File = index.php **************** |
************************* File = index.php **************** |
16 |
************************* File = jrn_add.php **************** |
************************* File = jrn_add.php **************** |
17 |
************************* File = jrn_csv.php **************** |
************************* File = jrn_csv.php **************** |
21 |
************************* File = jrn_search.php **************** |
************************* File = jrn_search.php **************** |
22 |
************************* File = jrn_update.php **************** |
************************* File = jrn_update.php **************** |
23 |
************************* File = line_update.php **************** |
************************* File = line_update.php **************** |
24 |
|
************************* File = listing_client.php **************** |
25 |
************************* File = login.php **************** |
************************* File = login.php **************** |
26 |
************************* File = logout.php **************** |
************************* File = logout.php **************** |
27 |
************************* File = modify_op.php **************** |
************************* File = modify_op.php **************** |
33 |
************************* File = print_balance.php **************** |
************************* File = print_balance.php **************** |
34 |
************************* File = print_invoice.php **************** |
************************* File = print_invoice.php **************** |
35 |
************************* File = priv_user.php **************** |
************************* File = priv_user.php **************** |
|
************************* File = readme.php **************** |
|
36 |
************************* File = recherche.php **************** |
************************* File = recherche.php **************** |
37 |
************************* File = sec_pdf.php **************** |
************************* File = sec_pdf.php **************** |
38 |
************************* File = send_jrn_pdf.php **************** |
************************* File = send_jrn_pdf.php **************** |
41 |
************************* File = show_tva.php **************** |
************************* File = show_tva.php **************** |
42 |
************************* File = stock.php **************** |
************************* File = stock.php **************** |
43 |
************************* File = test.php **************** |
************************* File = test.php **************** |
|
************************* File = t.php **************** |
|
44 |
************************* File = user_advanced.php **************** |
************************* File = user_advanced.php **************** |
45 |
************************* File = user_compta.php **************** |
************************* File = user_compta.php **************** |
46 |
************************* File = user_impress.php **************** |
************************* File = user_impress.php **************** |
48 |
************************* File = user_login.php **************** |
************************* File = user_login.php **************** |
49 |
************************* File = user_pref.php **************** |
************************* File = user_pref.php **************** |
50 |
************************* File = user_sec.php **************** |
************************* File = user_sec.php **************** |
|
************************* File = verif.php **************** |
|
|
************************* File = 1.php **************** |
|
51 |
************************* File = ac_common.php **************** |
************************* File = ac_common.php **************** |
52 |
ac_common.php /* function cmpDate |
ac_common.php /* function cmpDate |
53 |
ac_common.php * Purpose : |
ac_common.php * Purpose : |
140 |
ac_common.php * - |
ac_common.php * - |
141 |
ac_common.php * return: |
ac_common.php * return: |
142 |
ac_common.php */ |
ac_common.php */ |
|
ac_common.php /* function GetUserType |
|
|
ac_common.php * Purpose : get the type of an user (compta,developper or user) |
|
|
ac_common.php * |
|
|
ac_common.php * parm : |
|
|
ac_common.php * - param $p_user user_login |
|
|
ac_common.php * gen : |
|
|
ac_common.php * - none |
|
|
ac_common.php * return: the type of the user |
|
|
ac_common.php */ |
|
143 |
ac_common.php /* function ShowItem($p_array) */ |
ac_common.php /* function ShowItem($p_array) */ |
144 |
ac_common.php /* function echo_warning |
ac_common.php /* function echo_warning |
145 |
ac_common.php * Purpose : warns |
ac_common.php * Purpose : warns |
175 |
ac_common.php * - |
ac_common.php * - |
176 |
ac_common.php * return: string |
ac_common.php * return: string |
177 |
ac_common.php */ |
ac_common.php */ |
178 |
|
ac_common.php /* function getPeriodeFromMonth |
179 |
|
ac_common.php ************************************************** |
180 |
|
ac_common.php * Purpose : Return the period corresponding to the |
181 |
|
ac_common.php * date |
182 |
|
ac_common.php * |
183 |
|
ac_common.php * parm : |
184 |
|
ac_common.php * - p_cn database connection |
185 |
|
ac_common.php * - the month + year 'MM.YYYY' |
186 |
|
ac_common.php * gen : |
187 |
|
ac_common.php * - none |
188 |
|
ac_common.php * |
189 |
|
ac_common.php * return: |
190 |
|
ac_common.php * parm_periode.p_id |
191 |
|
ac_common.php */ |
192 |
ac_common.php /* function getPeriodeFromDate |
ac_common.php /* function getPeriodeFromDate |
193 |
ac_common.php ************************************************** |
ac_common.php ************************************************** |
194 |
ac_common.php * Purpose : Return the period corresponding to the |
ac_common.php * Purpose : Return the period corresponding to the |
196 |
ac_common.php * |
ac_common.php * |
197 |
ac_common.php * parm : |
ac_common.php * parm : |
198 |
ac_common.php * - p_cn database connection |
ac_common.php * - p_cn database connection |
199 |
ac_common.php * - the date 'MM.YYYY' |
ac_common.php * - the date 'DD.MM.YYYY' |
200 |
ac_common.php * gen : |
ac_common.php * gen : |
201 |
ac_common.php * - none |
ac_common.php * - none |
202 |
ac_common.php * |
ac_common.php * |
299 |
class_attribut.php * return: the ordered array |
class_attribut.php * return: the ordered array |
300 |
class_attribut.php */ |
class_attribut.php */ |
301 |
************************* File = class_balance.php **************** |
************************* File = class_balance.php **************** |
302 |
|
************************* File = class_customer.php **************** |
303 |
|
class_customer.php /* function ListingVat |
304 |
|
class_customer.php ************************************************** |
305 |
|
class_customer.php * Purpose : Get all the info for making a vat listing |
306 |
|
class_customer.php * for the vat administration |
307 |
|
class_customer.php * |
308 |
|
class_customer.php * parm : |
309 |
|
class_customer.php * - periode |
310 |
|
class_customer.php * |
311 |
|
class_customer.php * return: |
312 |
|
class_customer.php * |
313 |
|
class_customer.php * - array |
314 |
|
class_customer.php */ |
315 |
************************* File = class_fiche.php **************** |
************************* File = class_fiche.php **************** |
316 |
class_fiche.php /* function GetAttribut |
class_fiche.php /* function GetAttribut |
317 |
class_fiche.php ************************************************** |
class_fiche.php ************************************************** |
345 |
class_fiche.php * - none |
class_fiche.php * - none |
346 |
class_fiche.php * return: an array of fiche_def object |
class_fiche.php * return: an array of fiche_def object |
347 |
class_fiche.php */ |
class_fiche.php */ |
348 |
************************* File = class_form.php **************** |
class_fiche.php /* function HasAttribute |
349 |
|
class_fiche.php ************************************************** |
350 |
|
class_fiche.php * Purpose : Check in vw_fiche_def if a fiche has |
351 |
|
class_fiche.php * a attribut X |
352 |
|
class_fiche.php * |
353 |
|
class_fiche.php * parm : |
354 |
|
class_fiche.php * - attribut to check |
355 |
|
class_fiche.php * gen : |
356 |
|
class_fiche.php * - none |
357 |
|
class_fiche.php * return: true or false |
358 |
|
class_fiche.php */ |
359 |
************************* File = class_jrn.php **************** |
************************* File = class_jrn.php **************** |
360 |
class_jrn.php /* function GetRow |
class_jrn.php /* function GetRow |
361 |
class_jrn.php * Purpose : Get The data for the pdf printing |
class_jrn.php * Purpose : Get The data |
362 |
class_jrn.php * |
class_jrn.php * |
363 |
class_jrn.php * parm : |
class_jrn.php * parm : |
364 |
class_jrn.php * - connection |
class_jrn.php * - connection |
372 |
class_jrn.php * - Array with the asked data |
class_jrn.php * - Array with the asked data |
373 |
class_jrn.php * |
class_jrn.php * |
374 |
class_jrn.php */ |
class_jrn.php */ |
375 |
|
class_jrn.php /* function GetRowSimple |
376 |
|
class_jrn.php ************************************************** |
377 |
|
class_jrn.php * Purpose : Get simplified row |
378 |
|
class_jrn.php * |
379 |
|
class_jrn.php * parm : |
380 |
|
class_jrn.php * - connection |
381 |
|
class_jrn.php * - array |
382 |
|
class_jrn.php * - p_limit starting line |
383 |
|
class_jrn.php * - p_offset number of lines |
384 |
|
class_jrn.php * |
385 |
|
class_jrn.php * gen : |
386 |
|
class_jrn.php * - none |
387 |
|
class_jrn.php * return: |
388 |
|
class_jrn.php * - Array with the asked data |
389 |
|
class_jrn.php * |
390 |
|
class_jrn.php */ |
391 |
************************* File = class_operation.php **************** |
************************* File = class_operation.php **************** |
392 |
|
************************* File = class_own.php **************** |
393 |
|
class_own.php /* function UpdateRow |
394 |
|
class_own.php ************************************************** |
395 |
|
class_own.php * Purpose : Update a row |
396 |
|
class_own.php * |
397 |
|
class_own.php * parm : |
398 |
|
class_own.php * - give the attribut name |
399 |
|
class_own.php * gen : |
400 |
|
class_own.php * - none |
401 |
|
class_own.php * return: |
402 |
|
class_own.php * -none |
403 |
|
class_own.php */ |
404 |
|
class_own.php /* function Save |
405 |
|
class_own.php ************************************************** |
406 |
|
class_own.php * Purpose : save data |
407 |
|
class_own.php * |
408 |
|
class_own.php * parm : |
409 |
|
class_own.php * - none |
410 |
|
class_own.php * gen : |
411 |
|
class_own.php * - none |
412 |
|
class_own.php * return: |
413 |
|
class_own.php * - nothing |
414 |
|
class_own.php */ |
415 |
************************* File = class_poste.php **************** |
************************* File = class_poste.php **************** |
416 |
class_poste.php /* function GetRow |
class_poste.php /* function GetRow |
417 |
class_poste.php * Purpose : Get dat for poste |
class_poste.php * Purpose : Get dat for poste |
437 |
class_poste.php * - balance of the account |
class_poste.php * - balance of the account |
438 |
class_poste.php * |
class_poste.php * |
439 |
class_poste.php */ |
class_poste.php */ |
440 |
|
class_poste.php /* function GetSoldeDetail |
441 |
|
class_poste.php * Purpose : give the balance of an account |
442 |
|
class_poste.php * |
443 |
|
class_poste.php * parm : |
444 |
|
class_poste.php * - cond |
445 |
|
class_poste.php * gen : |
446 |
|
class_poste.php * - none |
447 |
|
class_poste.php * return: |
448 |
|
class_poste.php * - balance of the account |
449 |
|
class_poste.php * |
450 |
|
class_poste.php */ |
451 |
|
************************* File = class_rapport.php **************** |
452 |
************************* File = class_user.php **************** |
************************* File = class_user.php **************** |
453 |
class_user.php /* function CheckAdmin |
class_user.php /* function Admin |
454 |
class_user.php ************************************************** |
class_user.php ************************************************** |
455 |
class_user.php * Purpose : Check if an user is an admin |
class_user.php * Purpose : Check if an user is an admin |
456 |
class_user.php * |
class_user.php * |
511 |
class_user.php * - 1 priv granted |
class_user.php * - 1 priv granted |
512 |
class_user.php * |
class_user.php * |
513 |
class_user.php */ |
class_user.php */ |
514 |
|
class_user.php /* function GetGlobalPref |
515 |
|
class_user.php ************************************************** |
516 |
|
class_user.php * Purpose : Get the global preferences from user_global_pref |
517 |
|
class_user.php * in the account_repository db |
518 |
|
class_user.php * parm : |
519 |
|
class_user.php * - set g_variable |
520 |
|
class_user.php * gen : |
521 |
|
class_user.php * - none |
522 |
|
class_user.php * return: |
523 |
|
class_user.php * - none |
524 |
|
class_user.php */ |
525 |
|
class_user.php /* function insert_default_global_pref |
526 |
|
class_user.php ************************************************** |
527 |
|
class_user.php * Purpose : insert default pref |
528 |
|
class_user.php * if no parameter are given insert all the existing |
529 |
|
class_user.php * parameter otherwise only the requested |
530 |
|
class_user.php * parm : |
531 |
|
class_user.php * - parameter's type or nothing |
532 |
|
class_user.php * gen : |
533 |
|
class_user.php * - none |
534 |
|
class_user.php * return: nothing |
535 |
|
class_user.php */ |
536 |
|
class_user.php /* function update_global_pref |
537 |
|
class_user.php ************************************************** |
538 |
|
class_user.php * Purpose : update default pref |
539 |
|
class_user.php * if value is not given then use the default value |
540 |
|
class_user.php * parm : |
541 |
|
class_user.php * - parameter's type |
542 |
|
class_user.php * - parameter's value value of the type |
543 |
|
class_user.php * gen : |
544 |
|
class_user.php * - none |
545 |
|
class_user.php * return: nothing |
546 |
|
class_user.php */ |
547 |
************************* File = class_widget.php **************** |
************************* File = class_widget.php **************** |
548 |
************************* File = constant.php **************** |
************************* File = constant.php **************** |
549 |
************************* File = debug.php **************** |
************************* File = debug.php **************** |
550 |
|
************************* File = decla.BE.inc.php **************** |
551 |
|
decla.BE.inc.php /* function MakeListingVat |
552 |
|
decla.BE.inc.php ************************************************** |
553 |
|
decla.BE.inc.php * Purpose : Créer le fichier à déposer pour la TVA |
554 |
|
decla.BE.inc.php * voir le fichier BE_fr_list_client_nonpapier.pdf |
555 |
|
decla.BE.inc.php * |
556 |
|
decla.BE.inc.php * parm : |
557 |
|
decla.BE.inc.php * -array |
558 |
|
decla.BE.inc.php * gen : |
559 |
|
decla.BE.inc.php * -none |
560 |
|
decla.BE.inc.php * return: |
561 |
|
decla.BE.inc.php * - none |
562 |
|
decla.BE.inc.php */ |
563 |
************************* File = error.php **************** |
************************* File = error.php **************** |
564 |
error.php /* function AnalyzeError |
error.php /* function AnalyzeError |
565 |
error.php * Purpose : Following the error code |
error.php * Purpose : Following the error code |
633 |
fiche_inc.php * |
fiche_inc.php * |
634 |
fiche_inc.php * NOTE STAN: je ne trouve pas le nom "EncodeFiche" super claire pour une fonction qui affiche les détails d'une fiche... |
fiche_inc.php * NOTE STAN: je ne trouve pas le nom "EncodeFiche" super claire pour une fonction qui affiche les détails d'une fiche... |
635 |
fiche_inc.php * on ne changerait pas en "DisplayFiche" ? |
fiche_inc.php * on ne changerait pas en "DisplayFiche" ? |
636 |
|
fiche_inc.php * NOTE DANY: Oui je suis assez d'accord avec toi |
637 |
fiche_inc.php * |
fiche_inc.php * |
638 |
fiche_inc.php */ |
fiche_inc.php */ |
639 |
fiche_inc.php /* function GetBaseFiche |
fiche_inc.php /* function GetBaseFiche |
1006 |
fiche_inc.php * return 1 if the fiche is in the range otherwise 0 |
fiche_inc.php * return 1 if the fiche is in the range otherwise 0 |
1007 |
fiche_inc.php * |
fiche_inc.php * |
1008 |
fiche_inc.php */ |
fiche_inc.php */ |
|
************************* File = fin.php **************** |
|
|
fin.php /* function FormODS($p_cn,$p_jrn,$p_user,$p_array=null,$view_only=true,$p_article=1) |
|
|
fin.php * Purpose : Display the miscellaneous operation |
|
|
fin.php * Used to show detail, encode a new oper |
|
|
fin.php * or update one |
|
|
fin.php * |
|
|
fin.php * parm : |
|
|
fin.php * - p_array which can be empty |
|
|
fin.php * - the "journal" |
|
|
fin.php * - $p_user = $g_user |
|
|
fin.php * - $p_submit contains the submit string |
|
|
fin.php * - view_only if we cannot change it (no right or centralized op) |
|
|
fin.php * - $p_article number of article |
|
|
fin.php * gen : |
|
|
fin.php * - |
|
|
fin.php * return: string with the form |
|
|
fin.php */ |
|
|
fin.php /* function RecordAchat |
|
|
fin.php ************************************************** |
|
|
fin.php * Purpose : Record an buy in the table jrn & |
|
|
fin.php * jrnx |
|
|
fin.php * |
|
|
fin.php * parm : |
|
|
fin.php * - $p_cn Database connection |
|
|
fin.php * - $p_array contains all the invoice data |
|
|
fin.php * e_date => e : 01.01.2003 |
|
|
fin.php * e_client => e : 3 |
|
|
fin.php * nb_item => e : 3 |
|
|
fin.php * e_march0 => e : 6 |
|
|
fin.php * e_quant0 => e : 0 |
|
|
fin.php * e_march0_sell=>e:1 |
|
|
fin.php * e_march1 => e : 6 |
|
|
fin.php * e_quant1 => e : 2 |
|
|
fin.php * e_march1_sell=>e:1 |
|
|
fin.php * e_march2 => e : 7 |
|
|
fin.php * e_quant2 => e : 3 |
|
|
fin.php * e_march2_sell=>e:1 |
|
|
fin.php V : view_invoice => e : Voir cette facture |
|
|
fin.php V : record_invoice => e : Sauver |
|
|
fin.php * - $p_user userid |
|
|
fin.php * - $p_jrn current folder (journal) |
|
|
fin.php * gen : |
|
|
fin.php * - none |
|
|
fin.php * return: |
|
|
fin.php * true on success |
|
|
fin.php */ |
|
1009 |
************************* File = form_inc.php **************** |
************************* File = form_inc.php **************** |
1010 |
form_inc.php /* function EncodeForm |
form_inc.php /* function EncodeForm |
1011 |
form_inc.php * Purpose : |
form_inc.php * Purpose : |
1034 |
form_inc.php * - none |
form_inc.php * - none |
1035 |
form_inc.php * |
form_inc.php * |
1036 |
form_inc.php */ |
form_inc.php */ |
1037 |
|
form_inc.php /* function ViewForm |
1038 |
|
form_inc.php * Purpose : Show the details of a form |
1039 |
|
form_inc.php * |
1040 |
|
form_inc.php * parm : |
1041 |
|
form_inc.php * - $p_cn connection |
1042 |
|
form_inc.php * - $p_id gives the formdef.fr_id |
1043 |
|
form_inc.php * - sessid for the search window |
1044 |
|
form_inc.php * gen : |
1045 |
|
form_inc.php * - none |
1046 |
|
form_inc.php * return: |
1047 |
|
form_inc.php * - none |
1048 |
|
form_inc.php * |
1049 |
|
form_inc.php */ |
1050 |
form_inc.php /* function GetDataForm |
form_inc.php /* function GetDataForm |
1051 |
form_inc.php * Purpose : |
form_inc.php * Purpose : |
1052 |
form_inc.php * Get data from a form |
form_inc.php * Get data from a form |
1109 |
form_inc.php * - none |
form_inc.php * - none |
1110 |
form_inc.php * |
form_inc.php * |
1111 |
form_inc.php */ |
form_inc.php */ |
1112 |
************************* File = form_input.php **************** |
************************* File = impress_bilan.php **************** |
|
form_input.php /* function InputType |
|
|
form_input.php * Purpose : Create the tag <INPUT TYPE=... Name=...> |
|
|
form_input.php * |
|
|
form_input.php * parm : |
|
|
form_input.php * - Label question |
|
|
form_input.php * - The type (text, select, text_big |
|
|
form_input.php * - Name of the variable |
|
|
form_input.php * - Default Value |
|
|
form_input.php * - View_only |
|
|
form_input.php * - $p_list for the select, give the possible values item[0] is the val and item[1] |
|
|
form_input.php * is the label or for the js_search p_list is a string (cred |
|
|
form_input.php * or deb or the fiche_def_type |
|
|
form_input.php * gen : |
|
|
form_input.php * - None |
|
|
form_input.php * return: string |
|
|
form_input.php */ |
|
|
form_input.php /* function FormVente |
|
|
form_input.php * Purpose : Display the form for a sell |
|
|
form_input.php * Used to show detail, encode a new invoice |
|
|
form_input.php * or update one |
|
|
form_input.php * |
|
|
form_input.php * parm : |
|
|
form_input.php * - p_array which can be empty |
|
|
form_input.php * - the "journal" |
|
|
form_input.php * - $p_user = $g_user |
|
|
form_input.php * - view_only if we cannot change it (no right or centralized op) |
|
|
form_input.php * - $p_article number of article |
|
|
form_input.php * gen : |
|
|
form_input.php * - |
|
|
form_input.php * return: string with the form |
|
|
form_input.php * TODO Add in parameters the infos about the company for making the invoice |
|
|
form_input.php */ |
|
|
form_input.php /* function FormVenteView ($p_cn,$p_jrn,$p_user,$p_array,$p_number,$p_doc='html',$p_comment='') |
|
|
form_input.php ************************************************** |
|
|
form_input.php * Purpose : Show the invoice before inserting it |
|
|
form_input.php * the database |
|
|
form_input.php * |
|
|
form_input.php * parm : |
|
|
form_input.php * - p_cn database connection |
|
|
form_input.php * - p_jrn journal |
|
|
form_input.php * - p_user |
|
|
form_input.php * - array of value |
|
|
form_input.php * - nb of item |
|
|
form_input.php * - p_doc type pdf or html |
|
|
form_input.php * gen : |
|
|
form_input.php * - none |
|
|
form_input.php * return: |
|
|
form_input.php * - string |
|
|
form_input.php * |
|
|
form_input.php */ |
|
|
form_input.php /* function RecordInvoice |
|
|
form_input.php ************************************************** |
|
|
form_input.php * Purpose : Record an invoice in the table jrn & |
|
|
form_input.php * jrnx |
|
|
form_input.php * |
|
|
form_input.php * parm : |
|
|
form_input.php * - $p_cn Database connection |
|
|
form_input.php * - $p_array contains all the invoice data |
|
|
form_input.php * e_date => e : 01.01.2003 |
|
|
form_input.php * e_client => e : 3 |
|
|
form_input.php * nb_item => e : 3 |
|
|
form_input.php * e_march0 => e : 6 |
|
|
form_input.php * e_quant0 => e : 0 |
|
|
form_input.php * e_march0_sell=>e:1 |
|
|
form_input.php * e_march1 => e : 6 |
|
|
form_input.php * e_quant1 => e : 2 |
|
|
form_input.php * e_march1_sell=>e:1 |
|
|
form_input.php * e_march2 => e : 7 |
|
|
form_input.php * e_quant2 => e : 3 |
|
|
form_input.php * e_march2_sell=>e:1 |
|
|
form_input.php V : view_invoice => e : Voir cette facture |
|
|
form_input.php V : record_invoice => e : Sauver |
|
|
form_input.php * - $p_user userid |
|
|
form_input.php * - $p_jrn current folder (journal) |
|
|
form_input.php * gen : |
|
|
form_input.php * - none |
|
|
form_input.php * return: |
|
|
form_input.php * true on success |
|
|
form_input.php */ |
|
|
form_input.php /* function FormAch($p_cn,$p_jrn,$p_user,$p_array=null,$view_only=true,$p_article=1) |
|
|
form_input.php * Purpose : Display the form for buying |
|
|
form_input.php * Used to show detail, encode a new invoice |
|
|
form_input.php * or update one |
|
|
form_input.php * |
|
|
form_input.php * parm : |
|
|
form_input.php * - p_array which can be empty |
|
|
form_input.php * - the "journal" |
|
|
form_input.php * - $p_user = $g_user |
|
|
form_input.php * - $p_submit contains the submit string |
|
|
form_input.php * - view_only if we cannot change it (no right or centralized op) |
|
|
form_input.php * - $p_article number of article |
|
|
form_input.php * gen : |
|
|
form_input.php * - |
|
|
form_input.php * return: string with the form |
|
|
form_input.php * TODO Add in parameters the infos about the company for making the invoice |
|
|
form_input.php */ |
|
|
form_input.php /* function RecordAchat |
|
|
form_input.php ************************************************** |
|
|
form_input.php * Purpose : Record an buy in the table jrn & |
|
|
form_input.php * jrnx |
|
|
form_input.php * |
|
|
form_input.php * parm : |
|
|
form_input.php * - $p_cn Database connection |
|
|
form_input.php * - $p_array contains all the invoice data |
|
|
form_input.php * e_date => e : 01.01.2003 |
|
|
form_input.php * e_client => e : 3 |
|
|
form_input.php * nb_item => e : 3 |
|
|
form_input.php * e_march0 => e : 6 |
|
|
form_input.php * e_quant0 => e : 0 |
|
|
form_input.php * e_march0_sell=>e:1 |
|
|
form_input.php * e_march1 => e : 6 |
|
|
form_input.php * e_quant1 => e : 2 |
|
|
form_input.php * e_march1_sell=>e:1 |
|
|
form_input.php * e_march2 => e : 7 |
|
|
form_input.php * e_quant2 => e : 3 |
|
|
form_input.php * e_march2_sell=>e:1 |
|
|
form_input.php V : view_invoice => e : Voir cette facture |
|
|
form_input.php V : record_invoice => e : Sauver |
|
|
form_input.php * - $p_user userid |
|
|
form_input.php * - $p_jrn current folder (journal) |
|
|
form_input.php * gen : |
|
|
form_input.php * - none |
|
|
form_input.php * return: |
|
|
form_input.php * true on success |
|
|
form_input.php */ |
|
|
form_input.php /* function FormFin($p_cn,$p_jrn,$p_user,$p_array=null,$view_only=true,$p_item=1) |
|
|
form_input.php * Purpose : Display the form for financial |
|
|
form_input.php * Used to show detail, encode a new fin op |
|
|
form_input.php * or update one |
|
|
form_input.php * |
|
|
form_input.php * parm : |
|
|
form_input.php * - p_array which can be empty |
|
|
form_input.php * - the "journal" |
|
|
form_input.php * - $p_user = $g_user |
|
|
form_input.php * - $p_submit contains the submit string |
|
|
form_input.php * - view_only if we cannot change it (no right or centralized op) |
|
|
form_input.php * - $p_item number of article |
|
|
form_input.php * gen : |
|
|
form_input.php * - |
|
|
form_input.php * return: string with the form |
|
|
form_input.php */ |
|
|
form_input.php /* function RecordFin |
|
|
form_input.php ************************************************** |
|
|
form_input.php * Purpose : Record an invoice in the table jrn & |
|
|
form_input.php * jrnx |
|
|
form_input.php * |
|
|
form_input.php * parm : |
|
|
form_input.php * - $p_cn Database connection |
|
|
form_input.php * - $p_array contains all the invoice data |
|
|
form_input.php * e_date => e : 01.01.2003 |
|
|
form_input.php * e_bank_account => e : 3 |
|
|
form_input.php * - $p_user userid |
|
|
form_input.php * - $p_jrn current folder (journal) |
|
|
form_input.php * - array e_other$i, e_other$i_amount, e_other$i_label |
|
|
form_input.php * gen : |
|
|
form_input.php * - none |
|
|
form_input.php * return: |
|
|
form_input.php * true on success |
|
|
form_input.php */ |
|
|
form_input.php /* function FormODS($p_cn,$p_jrn,$p_user,$p_array=null,$view_only=true,$p_article=1) |
|
|
form_input.php * Purpose : Display the miscellaneous operation |
|
|
form_input.php * Used to show detail, encode a new oper |
|
|
form_input.php * or update one |
|
|
form_input.php * |
|
|
form_input.php * parm : |
|
|
form_input.php * - p_array which can be empty |
|
|
form_input.php * - the "journal" |
|
|
form_input.php * - $p_user = $g_user |
|
|
form_input.php * - $p_submit contains the submit string |
|
|
form_input.php * - view_only if we cannot change it (no right or centralized op) |
|
|
form_input.php * - $p_article number of article |
|
|
form_input.php * gen : |
|
|
form_input.php * - |
|
|
form_input.php * return: string with the form |
|
|
form_input.php */ |
|
|
form_input.php /* function RecordODS |
|
|
form_input.php ************************************************** |
|
|
form_input.php * Purpose : Record an buy in the table jrn & |
|
|
form_input.php * jrnx |
|
|
form_input.php * |
|
|
form_input.php * parm : |
|
|
form_input.php * - $p_cn Database connection |
|
|
form_input.php * - $p_array contains all the invoice data |
|
|
form_input.php * e_date => e : 01.01.2003 |
|
|
form_input.php * nb_item => e : 3 |
|
|
form_input.php * e_account0 => e : 6 |
|
|
form_input.php * e_account0_amount=>e:1 |
|
|
form_input.php * - $p_user userid |
|
|
form_input.php * - $p_jrn current folder (journal) |
|
|
form_input.php * gen : |
|
|
form_input.php * - none |
|
|
form_input.php * return: |
|
|
form_input.php * true on success |
|
|
form_input.php */ |
|
1113 |
************************* File = impress_fiche.php **************** |
************************* File = impress_fiche.php **************** |
|
************************* File = impress_form.php **************** |
|
1114 |
************************* File = impress_inc.php **************** |
************************* File = impress_inc.php **************** |
1115 |
impress_inc.php /* function ViewImp |
impress_inc.php /* function ViewImp |
1116 |
impress_inc.php * Purpose : Create the form where the period |
impress_inc.php * Purpose : Create the form where the period |
1236 |
impress_inc.php * - $p_cn connexion |
impress_inc.php * - $p_cn connexion |
1237 |
impress_inc.php * - $p_label |
impress_inc.php * - $p_label |
1238 |
impress_inc.php * - $p_formula |
impress_inc.php * - $p_formula |
1239 |
|
impress_inc.php * - $p_eval true if we eval here otherwise the function returns |
1240 |
|
impress_inc.php * a string which must be evaluated |
1241 |
impress_inc.php * gen : |
impress_inc.php * gen : |
1242 |
impress_inc.php * - none |
impress_inc.php * - none |
1243 |
impress_inc.php * return: |
impress_inc.php * return: |
1244 |
impress_inc.php * - array |
impress_inc.php * - array |
1245 |
impress_inc.php * |
impress_inc.php * |
1246 |
|
impress_inc.php * |
1247 |
impress_inc.php */ |
impress_inc.php */ |
1248 |
impress_inc.php /* function GetFormulaValue |
impress_inc.php /* function GetFormulaValue |
1249 |
impress_inc.php * Purpose : Parse the formula contained in the fo_formula |
impress_inc.php * Purpose : Parse the formula contained in the fo_formula |
1257 |
impress_inc.php * - none |
impress_inc.php * - none |
1258 |
impress_inc.php * return: |
impress_inc.php * return: |
1259 |
impress_inc.php * - array |
impress_inc.php * - array |
1260 |
|
impress_inc.php * |
1261 |
impress_inc.php * |
impress_inc.php * |
1262 |
impress_inc.php */ |
impress_inc.php */ |
1263 |
|
impress_inc.php /* function CheckFormula |
1264 |
|
impress_inc.php ************************************************** |
1265 |
|
impress_inc.php * Purpose : Check if formula doesn't contain |
1266 |
|
impress_inc.php * php injection |
1267 |
|
impress_inc.php * |
1268 |
|
impress_inc.php * parm : |
1269 |
|
impress_inc.php * - string |
1270 |
|
impress_inc.php * gen : |
1271 |
|
impress_inc.php * - |
1272 |
|
impress_inc.php * return: none : stop on error |
1273 |
|
impress_inc.php */ |
1274 |
************************* File = impress_jrn.php **************** |
************************* File = impress_jrn.php **************** |
1275 |
|
************************* File = impress_listing_client.php **************** |
1276 |
************************* File = impress_poste.php **************** |
************************* File = impress_poste.php **************** |
1277 |
|
************************* File = impress_rapport.php **************** |
1278 |
************************* File = jrn.php **************** |
************************* File = jrn.php **************** |
1279 |
jrn.php /* function RecordJrn |
jrn.php /* function RecordJrn |
1280 |
jrn.php * Purpose : Record an entry in the selected journal |
jrn.php * Purpose : Record an entry in the selected journal |
1366 |
jrn.php * - an array containing properties |
jrn.php * - an array containing properties |
1367 |
jrn.php * |
jrn.php * |
1368 |
jrn.php */ |
jrn.php */ |
|
jrn.php /* function GetNextId($p_cn,$p_name) |
|
|
jrn.php * Purpose : |
|
|
jrn.php * |
|
|
jrn.php * parm : |
|
|
jrn.php * - |
|
|
jrn.php * gen : |
|
|
jrn.php * - |
|
|
jrn.php * return: |
|
|
jrn.php * - |
|
|
jrn.php * |
|
|
jrn.php */ |
|
|
jrn.php /* function GetNextJrnId($p_cn,$p_name) |
|
|
jrn.php * Purpose : |
|
|
jrn.php * |
|
|
jrn.php * parm : |
|
|
jrn.php * - |
|
|
jrn.php * gen : |
|
|
jrn.php * - |
|
|
jrn.php * return: |
|
|
jrn.php * - |
|
|
jrn.php * |
|
|
jrn.php */ |
|
1369 |
jrn.php /* function ViewJrn |
jrn.php /* function ViewJrn |
1370 |
jrn.php * Purpose : Vue des écritures comptables |
jrn.php * Purpose : Vue des écritures comptables |
1371 |
jrn.php * |
jrn.php * |
1495 |
jrn.php * - return array |
jrn.php * - return array |
1496 |
jrn.php * |
jrn.php * |
1497 |
jrn.php */ |
jrn.php */ |
|
************************* File = ods.php **************** |
|
|
ods.php /* function FormODS($p_cn,$p_jrn,$p_user,$p_array=null,$view_only=true,$p_article=1) |
|
|
ods.php * Purpose : Display the miscellaneous operation |
|
|
ods.php * Used to show detail, encode a new oper |
|
|
ods.php * or update one |
|
|
ods.php * |
|
|
ods.php * parm : |
|
|
ods.php * - p_array which can be empty |
|
|
ods.php * - the "journal" |
|
|
ods.php * - $p_user = $g_user |
|
|
ods.php * - $p_submit contains the submit string |
|
|
ods.php * - view_only if we cannot change it (no right or centralized op) |
|
|
ods.php * - $p_article number of article |
|
|
ods.php * gen : |
|
|
ods.php * - |
|
|
ods.php * return: string with the form |
|
|
ods.php */ |
|
|
ods.php /* function RecordAchat |
|
|
ods.php ************************************************** |
|
|
ods.php * Purpose : Record an buy in the table jrn & |
|
|
ods.php * jrnx |
|
|
ods.php * |
|
|
ods.php * parm : |
|
|
ods.php * - $p_cn Database connection |
|
|
ods.php * - $p_array contains all the invoice data |
|
|
ods.php * e_date => e : 01.01.2003 |
|
|
ods.php * nb_item => e : 3 |
|
|
ods.php * e_account0 => e : 6 |
|
|
ods.php * e_account0_amount=>e:1 |
|
|
ods.php * - $p_user userid |
|
|
ods.php * - $p_jrn current folder (journal) |
|
|
ods.php * gen : |
|
|
ods.php * - none |
|
|
ods.php * return: |
|
|
ods.php * true on success |
|
|
ods.php */ |
|
1498 |
************************* File = poste.php **************** |
************************* File = poste.php **************** |
1499 |
poste.php /* function GetPosteLibelle |
poste.php /* function GetPosteLibelle |
1500 |
poste.php * Purpose : Return the label of a poste |
poste.php * Purpose : Return the label of a poste |
1610 |
postgres.php * return: an array |
postgres.php * return: an array |
1611 |
postgres.php * containing use_admin |
postgres.php * containing use_admin |
1612 |
postgres.php * use_usertype |
postgres.php * use_usertype |
1613 |
postgres.php * use_theme |
postgres.php * g_theme |
1614 |
postgres.php * use_name |
postgres.php * use_name |
1615 |
postgres.php * use_login |
postgres.php * use_login |
1616 |
postgres.php */ |
postgres.php */ |
1668 |
preference.php * form |
preference.php * form |
1669 |
preference.php * |
preference.php * |
1670 |
preference.php */ |
preference.php */ |
|
preference.php /* function SetUserPeriode |
|
|
preference.php * Purpose : Set the selected periode in the user's preferences |
|
|
preference.php * |
|
|
preference.php * parm : |
|
|
preference.php * - $p_cn connexion |
|
|
preference.php * - $p_periode |
|
|
preference.php * - $p_user |
|
|
preference.php * gen : |
|
|
preference.php * - none |
|
|
preference.php * return: |
|
|
preference.php * - none |
|
|
preference.php * |
|
|
preference.php */ |
|
|
preference.php /* function GetUserPeriode |
|
|
preference.php * Purpose : Get the default periode from the user's preferences |
|
|
preference.php * |
|
|
preference.php * parm : |
|
|
preference.php * - $p_cn connexion |
|
|
preference.php * - $p_user |
|
|
preference.php * gen : |
|
|
preference.php * - none |
|
|
preference.php * return: |
|
|
preference.php * - the default periode |
|
|
preference.php * |
|
|
preference.php */ |
|
|
preference.php /* function SetUserPreferences |
|
|
preference.php * Purpose : Get the default user's preferences |
|
|
preference.php * |
|
|
preference.php * parm : |
|
|
preference.php * - $p_cn connexion |
|
|
preference.php * - $p_user |
|
|
preference.php * gen : |
|
|
preference.php * - none |
|
|
preference.php * return: |
|
|
preference.php * - none |
|
|
preference.php * |
|
|
preference.php */ |
|
1671 |
preference.php /* function GetPeriode |
preference.php /* function GetPeriode |
1672 |
preference.php * Purpose :Give the start & end date of a periode |
preference.php * Purpose :Give the start & end date of a periode |
1673 |
preference.php * |
preference.php * |
1775 |
stock_inc.php * |
stock_inc.php * |
1776 |
stock_inc.php * Return number or NULL |
stock_inc.php * Return number or NULL |
1777 |
stock_inc.php */ |
stock_inc.php */ |
|
************************* File = top_menu_compta.php **************** |
|
|
top_menu_compta.php /* function ShowMenu |
|
|
top_menu_compta.php * Purpose : Show The login menu |
|
|
top_menu_compta.php * |
|
|
top_menu_compta.php * parm : |
|
|
top_menu_compta.php * - $p_admin 1 if admin |
|
|
top_menu_compta.php * - $p_item item to add |
|
|
top_menu_compta.php * gen : |
|
|
top_menu_compta.php * - none |
|
|
top_menu_compta.php * return: |
|
|
top_menu_compta.php * - nothing |
|
|
top_menu_compta.php * |
|
|
top_menu_compta.php */ |
|
|
top_menu_compta.php /* function ShowMenuCompta |
|
|
top_menu_compta.php * Purpose : Montre le menu du haut |
|
|
top_menu_compta.php * |
|
|
top_menu_compta.php * parm : |
|
|
top_menu_compta.php * - dossier |
|
|
top_menu_compta.php * - $p_user array ($g_UserProperty) |
|
|
top_menu_compta.php * gen : |
|
|
top_menu_compta.php * - none |
|
|
top_menu_compta.php * return: |
|
|
top_menu_compta.php * - none |
|
|
top_menu_compta.php * |
|
|
top_menu_compta.php */ |
|
|
top_menu_compta.php /* function |
|
|
top_menu_compta.php * Purpose : |
|
|
top_menu_compta.php * |
|
|
top_menu_compta.php * parm : |
|
|
top_menu_compta.php * - |
|
|
top_menu_compta.php * gen : |
|
|
top_menu_compta.php * - |
|
|
top_menu_compta.php * return: |
|
|
top_menu_compta.php * - |
|
|
top_menu_compta.php * |
|
|
top_menu_compta.php */ |
|
|
top_menu_compta.php /* function ShowMenuComptaRight |
|
|
top_menu_compta.php * Purpose : Display menu on the Right |
|
|
top_menu_compta.php * (preference, logout and admin) |
|
|
top_menu_compta.php * parm : |
|
|
top_menu_compta.php * - $p_dossier the current dossier |
|
|
top_menu_compta.php * - $p_auser array $g_UserProperty |
|
|
top_menu_compta.php * - $p_more code |
|
|
top_menu_compta.php * gen : |
|
|
top_menu_compta.php * - none |
|
|
top_menu_compta.php * return: |
|
|
top_menu_compta.php * - none |
|
|
top_menu_compta.php * |
|
|
top_menu_compta.php */ |
|
|
top_menu_compta.php /* function ShowMenuAdminGlobalRight($p_dossier=0) |
|
|
top_menu_compta.php * Purpose : |
|
|
top_menu_compta.php * Same as previous : show the right menu |
|
|
top_menu_compta.php * parm : |
|
|
top_menu_compta.php * - p_dossier |
|
|
top_menu_compta.php * gen : |
|
|
top_menu_compta.php * - none |
|
|
top_menu_compta.php * return: |
|
|
top_menu_compta.php * - none |
|
|
top_menu_compta.php * |
|
|
top_menu_compta.php */ |
|
|
top_menu_compta.php /* function ShowMenuPcmn($p_start=1) |
|
|
top_menu_compta.php * Purpose : Show the menu from the pcmn page |
|
|
top_menu_compta.php * |
|
|
top_menu_compta.php * parm : |
|
|
top_menu_compta.php * - $p_start class start |
|
|
top_menu_compta.php * gen : |
|
|
top_menu_compta.php * - none |
|
|
top_menu_compta.php * return: |
|
|
top_menu_compta.php * - none |
|
|
top_menu_compta.php * |
|
|
top_menu_compta.php */ |
|
|
top_menu_compta.php /* function ShowMenuJrn($p_dossier) |
|
|
top_menu_compta.php * Purpose : Show the menu in the jrn page |
|
|
top_menu_compta.php * |
|
|
top_menu_compta.php * parm : |
|
|
top_menu_compta.php * - $p_dossier |
|
|
top_menu_compta.php * gen : |
|
|
top_menu_compta.php * - none |
|
|
top_menu_compta.php * return: |
|
|
top_menu_compta.php * - none |
|
|
top_menu_compta.php * |
|
|
top_menu_compta.php */ |
|
|
top_menu_compta.php /* function ShowMenuJrnUser($p_dossier,$p_user) |
|
|
top_menu_compta.php * Purpose : Display and Show the Menu from the jrn encode |
|
|
top_menu_compta.php * page following the use_usertype (compta,user,...) |
|
|
top_menu_compta.php * |
|
|
top_menu_compta.php * parm : |
|
|
top_menu_compta.php * - $p_dossier |
|
|
top_menu_compta.php * - $p_auser |
|
|
top_menu_compta.php * - $p_type (ACH, BQE, VEN) |
|
|
top_menu_compta.php * - $p_jrn what journal |
|
|
top_menu_compta.php * gen : |
|
|
top_menu_compta.php * - none |
|
|
top_menu_compta.php * return: |
|
|
top_menu_compta.php * - none |
|
|
top_menu_compta.php * |
|
|
top_menu_compta.php */ |
|
|
top_menu_compta.php /* function ShowMenuRecherche |
|
|
top_menu_compta.php * Purpose : |
|
|
top_menu_compta.php * |
|
|
top_menu_compta.php * parm : |
|
|
top_menu_compta.php * - $p_dossier, |
|
|
top_menu_compta.php * - $p_jrn jrn id |
|
|
top_menu_compta.php * - $p_array=null previous search |
|
|
top_menu_compta.php * gen : |
|
|
top_menu_compta.php * - none |
|
|
top_menu_compta.php * return: |
|
|
top_menu_compta.php * - none |
|
|
top_menu_compta.php * |
|
|
top_menu_compta.php */ |
|
|
top_menu_compta.php /* function |
|
|
top_menu_compta.php * Purpose : |
|
|
top_menu_compta.php * |
|
|
top_menu_compta.php * parm : |
|
|
top_menu_compta.php * - |
|
|
top_menu_compta.php * gen : |
|
|
top_menu_compta.php * - |
|
|
top_menu_compta.php * return: |
|
|
top_menu_compta.php * - |
|
|
top_menu_compta.php * |
|
|
top_menu_compta.php */ |
|
|
top_menu_compta.php /* function ShowMenuJrnUserImp( |
|
|
top_menu_compta.php * |
|
|
top_menu_compta.php * |
|
|
top_menu_compta.php * Purpose : Show the menu of jrn to print |
|
|
top_menu_compta.php * |
|
|
top_menu_compta.php * parm : |
|
|
top_menu_compta.php * - $p_cn, connection |
|
|
top_menu_compta.php * $p_user, user |
|
|
top_menu_compta.php * $p_dossier dossier |
|
|
top_menu_compta.php * gen : |
|
|
top_menu_compta.php * - none |
|
|
top_menu_compta.php * return: |
|
|
top_menu_compta.php * - none |
|
|
top_menu_compta.php * |
|
|
top_menu_compta.php */ |
|
|
************************* File = top_menu.php **************** |
|
1778 |
************************* File = user_action_ach.php **************** |
************************* File = user_action_ach.php **************** |
1779 |
************************* File = user_action_fin.php **************** |
************************* File = user_action_fin.php **************** |
1780 |
************************* File = user_action_gl.php **************** |
************************* File = user_action_gl.php **************** |
1803 |
user_common.php * |
user_common.php * |
1804 |
user_common.php * parm : |
user_common.php * parm : |
1805 |
user_common.php * - database connection |
user_common.php * - database connection |
1806 |
user_common.php * - fiche id array |
user_common.php * - fiche id array |
1807 |
user_common.php * - quantity array |
user_common.php * 1- quantity array |
1808 |
user_common.php * - price array |
user_common.php * - price array |
1809 |
user_common.php * - $ap_vat Array of tva id |
user_common.php * - $ap_vat Array of tva id |
1810 |
user_common.php * gen : |
user_common.php * gen : |
1811 |
user_common.php * - |
user_common.php * - |
1812 |
user_common.php * return: array |
user_common.php * return: array |
1901 |
user_common.php * return: |
user_common.php * return: |
1902 |
user_common.php * none |
user_common.php * none |
1903 |
user_common.php */ |
user_common.php */ |
1904 |
user_common.php /* function VerifyDate ($p_cn,$p_user,$p_date) |
user_common.php /* function VerifyOperationDate ($p_cn,$p_user,$p_date) |
1905 |
user_common.php ************************************************** |
user_common.php ************************************************** |
1906 |
user_common.php * Purpose : Verify if |
user_common.php * Purpose : Verify if |
1907 |
user_common.php * the date is a valid date |
user_common.php * the date is a valid date |
1994 |
user_common.php * 1 is valid |
user_common.php * 1 is valid |
1995 |
user_common.php * 0 is not valid |
user_common.php * 0 is not valid |
1996 |
user_common.php */ |
user_common.php */ |
1997 |
|
user_common.php /* function jrn_navigation_bar |
1998 |
|
user_common.php ************************************************** |
1999 |
|
user_common.php * Purpose : |
2000 |
|
user_common.php * Create a navigation_bar (pagesize) |
2001 |
|
user_common.php * |
2002 |
|
user_common.php * parm : |
2003 |
|
user_common.php * - p_current first record number |
2004 |
|
user_common.php * - p_line total of returned row |
2005 |
|
user_common.php * - p_size current g_pagesize |
2006 |
|
user_common.php * - p_page number of the page |
2007 |
|
user_common.php * gen : |
2008 |
|
user_common.php * -none |
2009 |
|
user_common.php * return: |
2010 |
|
user_common.php * string |
2011 |
|
user_common.php */ |
2012 |
|
************************* File = user_form_ach.php **************** |
2013 |
|
user_form_ach.php /* function FormAchInput |
2014 |
|
user_form_ach.php * Purpose : Display the form for a sell |
2015 |
|
user_form_ach.php * Used to show detail, encode a new invoice |
2016 |
|
user_form_ach.php * or update one |
2017 |
|
user_form_ach.php * |
2018 |
|
user_form_ach.php * parm : |
2019 |
|
user_form_ach.php * - $p_array which can be empty (normally = $_POST) |
2020 |
|
user_form_ach.php * - $p_jrn the ledger |
2021 |
|
user_form_ach.php * - $p_periode = periode |
2022 |
|
user_form_ach.php * - $pview_only if we cannot change it (no right or centralized op) |
2023 |
|
user_form_ach.php * - $p_article number of article |
2024 |
|
user_form_ach.php * gen : |
2025 |
|
user_form_ach.php * - |
2026 |
|
user_form_ach.php * return: string with the form |
2027 |
|
user_form_ach.php */ |
2028 |
|
user_form_ach.php /* function form_verify_input |
2029 |
|
user_form_ach.php ************************************************** |
2030 |
|
user_form_ach.php * Purpose : verify if the data to insert are valid |
2031 |
|
user_form_ach.php * |
2032 |
|
user_form_ach.php * parm : |
2033 |
|
user_form_ach.php * - p_cn database connection |
2034 |
|
user_form_ach.php * - p_jrn concerned ledger |
2035 |
|
user_form_ach.php * - User periode |
2036 |
|
user_form_ach.php * - array with the post data |
2037 |
|
user_form_ach.php * - p_number number of items |
2038 |
|
user_form_ach.php * gen : |
2039 |
|
user_form_ach.php * - |
2040 |
|
user_form_ach.php * return: |
2041 |
|
user_form_ach.php */ |
2042 |
|
user_form_ach.php /* function FormAchView ($p_cn,$p_jrn,$p_periode,$p_array,$p_number,$p_doc='html',$p_comment='') |
2043 |
|
user_form_ach.php ************************************************** |
2044 |
|
user_form_ach.php * Purpose : Show the invoice before inserting it |
2045 |
|
user_form_ach.php * the database |
2046 |
|
user_form_ach.php * |
2047 |
|
user_form_ach.php * parm : |
2048 |
|
user_form_ach.php * - p_cn database connection |
2049 |
|
user_form_ach.php * - p_jrn journal |
2050 |
|
user_form_ach.php * - p_periode |
2051 |
|
user_form_ach.php * - array of value |
2052 |
|
user_form_ach.php * - nb of item |
2053 |
|
user_form_ach.php * - p_doc type pdf or html |
2054 |
|
user_form_ach.php * gen : |
2055 |
|
user_form_ach.php * - none |
2056 |
|
user_form_ach.php * return: |
2057 |
|
user_form_ach.php * - string |
2058 |
|
user_form_ach.php * |
2059 |
|
user_form_ach.php */ |
2060 |
|
user_form_ach.php /* function RecordSell |
2061 |
|
user_form_ach.php ************************************************** |
2062 |
|
user_form_ach.php * Purpose : Record an invoice in the table jrn & |
2063 |
|
user_form_ach.php * jrnx |
2064 |
|
user_form_ach.php * |
2065 |
|
user_form_ach.php * parm : |
2066 |
|
user_form_ach.php * - $p_cn Database connection |
2067 |
|
user_form_ach.php * - $p_array contains all the invoice data |
2068 |
|
user_form_ach.php * e_date => e : 01.01.2003 |
2069 |
|
user_form_ach.php * e_client => e : 3 |
2070 |
|
user_form_ach.php * nb_item => e : 3 |
2071 |
|
user_form_ach.php * e_march0 => e : 6 |
2072 |
|
user_form_ach.php * e_quant0 => e : 0 |
2073 |
|
user_form_ach.php * e_march0_sell=>e:1 |
2074 |
|
user_form_ach.php * e_march1 => e : 6 |
2075 |
|
user_form_ach.php * e_quant1 => e : 2 |
2076 |
|
user_form_ach.php * e_march1_sell=>e:1 |
2077 |
|
user_form_ach.php * e_march2 => e : 7 |
2078 |
|
user_form_ach.php * e_quant2 => e : 3 |
2079 |
|
user_form_ach.php * e_march2_sell=>e:1 |
2080 |
|
user_form_ach.php V : view_invoice => e : Voir cette facture |
2081 |
|
user_form_ach.php V : record_invoice => e : Sauver |
2082 |
|
user_form_ach.php * - $p_periode periode |
2083 |
|
user_form_ach.php * - $p_jrn current folder (journal) |
2084 |
|
user_form_ach.php * gen : |
2085 |
|
user_form_ach.php * - none |
2086 |
|
user_form_ach.php * return: |
2087 |
|
user_form_ach.php * true on success |
2088 |
|
user_form_ach.php */ |
2089 |
|
************************* File = user_form_fin.php **************** |
2090 |
|
user_form_fin.php /* function FormFin($p_cn,$p_jrn,$p_user,$p_array=null,$pview_only=true,$p_item=1) |
2091 |
|
user_form_fin.php * Purpose : Display the form for financial |
2092 |
|
user_form_fin.php * Used to show detail, encode a new fin op |
2093 |
|
user_form_fin.php * or update one |
2094 |
|
user_form_fin.php * |
2095 |
|
user_form_fin.php * parm : |
2096 |
|
user_form_fin.php * - p_array which can be empty |
2097 |
|
user_form_fin.php * - the "journal" |
2098 |
|
user_form_fin.php * - $p_user = $g_user |
2099 |
|
user_form_fin.php * - $p_submit contains the submit string |
2100 |
|
user_form_fin.php * - view_only if we cannot change it (no right or centralized op) |
2101 |
|
user_form_fin.php * - $p_item number of article |
2102 |
|
user_form_fin.php * gen : |
2103 |
|
user_form_fin.php * - |
2104 |
|
user_form_fin.php * return: string with the form |
2105 |
|
user_form_fin.php */ |
2106 |
|
user_form_fin.php /* function RecordFin |
2107 |
|
user_form_fin.php ************************************************** |
2108 |
|
user_form_fin.php * Purpose : Record an invoice in the table jrn & |
2109 |
|
user_form_fin.php * jrnx |
2110 |
|
user_form_fin.php * |
2111 |
|
user_form_fin.php * parm : |
2112 |
|
user_form_fin.php * - $p_cn Database connection |
2113 |
|
user_form_fin.php * - $p_array contains all the invoice data |
2114 |
|
user_form_fin.php * e_date => e : 01.01.2003 |
2115 |
|
user_form_fin.php * e_bank_account => e : 3 |
2116 |
|
user_form_fin.php * - $p_user userid |
2117 |
|
user_form_fin.php * - $p_jrn current folder (journal) |
2118 |
|
user_form_fin.php * - array e_other$i, e_other$i_amount, e_other$i_label |
2119 |
|
user_form_fin.php * gen : |
2120 |
|
user_form_fin.php * - none |
2121 |
|
user_form_fin.php * return: |
2122 |
|
user_form_fin.php * true on success |
2123 |
|
user_form_fin.php */ |
2124 |
|
************************* File = user_form_ods.php **************** |
2125 |
|
user_form_ods.php /* function FormODS($p_cn,$p_jrn,$p_user,$p_array=null,$pview_only=true,$p_article=1) |
2126 |
|
user_form_ods.php * Purpose : Display the miscellaneous operation |
2127 |
|
user_form_ods.php * Used to show detail, encode a new oper |
2128 |
|
user_form_ods.php * or update one |
2129 |
|
user_form_ods.php * |
2130 |
|
user_form_ods.php * parm : |
2131 |
|
user_form_ods.php * - p_array which can be empty |
2132 |
|
user_form_ods.php * - the "journal" |
2133 |
|
user_form_ods.php * - $p_user = $g_user |
2134 |
|
user_form_ods.php * - $p_submit contains the submit string |
2135 |
|
user_form_ods.php * - view_only if we cannot change it (no right or centralized op) |
2136 |
|
user_form_ods.php * - $p_article number of article |
2137 |
|
user_form_ods.php * gen : |
2138 |
|
user_form_ods.php * - |
2139 |
|
user_form_ods.php * return: string with the form |
2140 |
|
user_form_ods.php */ |
2141 |
|
user_form_ods.php /* function RecordODS |
2142 |
|
user_form_ods.php ************************************************** |
2143 |
|
user_form_ods.php * Purpose : Record an buy in the table jrn & |
2144 |
|
user_form_ods.php * jrnx |
2145 |
|
user_form_ods.php * |
2146 |
|
user_form_ods.php * parm : |
2147 |
|
user_form_ods.php * - $p_cn Database connection |
2148 |
|
user_form_ods.php * - $p_array contains all the invoice data |
2149 |
|
user_form_ods.php * e_date => e : 01.01.2003 |
2150 |
|
user_form_ods.php * nb_item => e : 3 |
2151 |
|
user_form_ods.php * e_account0 => e : 6 |
2152 |
|
user_form_ods.php * e_account0_amount=>e:1 |
2153 |
|
user_form_ods.php * - $p_user userid |
2154 |
|
user_form_ods.php * - $p_jrn current folder (journal) |
2155 |
|
user_form_ods.php * gen : |
2156 |
|
user_form_ods.php * - none |
2157 |
|
user_form_ods.php * return: |
2158 |
|
user_form_ods.php * true on success |
2159 |
|
user_form_ods.php */ |
2160 |
|
************************* File = user_form_ven.php **************** |
2161 |
|
user_form_ven.php /* function FormVenInput |
2162 |
|
user_form_ven.php * Purpose : Display the form for a sell |
2163 |
|
user_form_ven.php * Used to show detail, encode a new invoice |
2164 |
|
user_form_ven.php * or update one |
2165 |
|
user_form_ven.php * |
2166 |
|
user_form_ven.php * parm : |
2167 |
|
user_form_ven.php * - p_array which can be empty |
2168 |
|
user_form_ven.php * - the "journal" |
2169 |
|
user_form_ven.php * - $p_periode = periode |
2170 |
|
user_form_ven.php * - view_only if we cannot change it (no right or centralized op) |
2171 |
|
user_form_ven.php * - $p_article number of article |
2172 |
|
user_form_ven.php * gen : |
2173 |
|
user_form_ven.php * - |
2174 |
|
user_form_ven.php * return: string with the form |
2175 |
|
user_form_ven.php * TODO Add in parameters the infos about the company for making the invoice |
2176 |
|
user_form_ven.php */ |
2177 |
|
user_form_ven.php /* function form_verify_input |
2178 |
|
user_form_ven.php ************************************************** |
2179 |
|
user_form_ven.php * Purpose : verify if the data to insert are valid |
2180 |
|
user_form_ven.php * |
2181 |
|
user_form_ven.php * parm : |
2182 |
|
user_form_ven.php * - p_cn database connection |
2183 |
|
user_form_ven.php * - p_jrn concerned ledger |
2184 |
|
user_form_ven.php * - User periode |
2185 |
|
user_form_ven.php * - array with the post data |
2186 |
|
user_form_ven.php * - p_number number of items |
2187 |
|
user_form_ven.php * gen : |
2188 |
|
user_form_ven.php * - |
2189 |
|
user_form_ven.php * return: |
2190 |
|
user_form_ven.php */ |
2191 |
|
user_form_ven.php /* function FormVenteView ($p_cn,$p_jrn,$p_periode,$p_array,$p_number,$p_doc='html',$p_comment='') |
2192 |
|
user_form_ven.php ************************************************** |
2193 |
|
user_form_ven.php * Purpose : Show the invoice before inserting it |
2194 |
|
user_form_ven.php * the database |
2195 |
|
user_form_ven.php * |
2196 |
|
user_form_ven.php * parm : |
2197 |
|
user_form_ven.php * - p_cn database connection |
2198 |
|
user_form_ven.php * - p_jrn journal |
2199 |
|
user_form_ven.php * - p_periode |
2200 |
|
user_form_ven.php * - array of value |
2201 |
|
user_form_ven.php * - nb of item |
2202 |
|
user_form_ven.php * - p_doc type pdf or html |
2203 |
|
user_form_ven.php * gen : |
2204 |
|
user_form_ven.php * - none |
2205 |
|
user_form_ven.php * return: |
2206 |
|
user_form_ven.php * - string |
2207 |
|
user_form_ven.php * |
2208 |
|
user_form_ven.php */ |
2209 |
|
user_form_ven.php /* function RecordInvoice |
2210 |
|
user_form_ven.php ************************************************** |
2211 |
|
user_form_ven.php * Purpose : Record an invoice in the table jrn & |
2212 |
|
user_form_ven.php * jrnx |
2213 |
|
user_form_ven.php * |
2214 |
|
user_form_ven.php * parm : |
2215 |
|
user_form_ven.php * - $p_cn Database connection |
2216 |
|
user_form_ven.php * - $p_array contains all the invoice data |
2217 |
|
user_form_ven.php * e_date => e : 01.01.2003 |
2218 |
|
user_form_ven.php * e_client => e : 3 |
2219 |
|
user_form_ven.php * nb_item => e : 3 |
2220 |
|
user_form_ven.php * e_march0 => e : 6 |
2221 |
|
user_form_ven.php * e_quant0 => e : 0 |
2222 |
|
user_form_ven.php * e_march0_sell=>e:1 |
2223 |
|
user_form_ven.php * e_march1 => e : 6 |
2224 |
|
user_form_ven.php * e_quant1 => e : 2 |
2225 |
|
user_form_ven.php * e_march1_sell=>e:1 |
2226 |
|
user_form_ven.php * e_march2 => e : 7 |
2227 |
|
user_form_ven.php * e_quant2 => e : 3 |
2228 |
|
user_form_ven.php * e_march2_sell=>e:1 |
2229 |
|
user_form_ven.php V : view_invoice => e : Voir cette facture |
2230 |
|
user_form_ven.php V : record_invoice => e : Sauver |
2231 |
|
user_form_ven.php * - $p_periode periode |
2232 |
|
user_form_ven.php * - $p_jrn current folder (journal) |
2233 |
|
user_form_ven.php * gen : |
2234 |
|
user_form_ven.php * - none |
2235 |
|
user_form_ven.php * return: |
2236 |
|
user_form_ven.php * true on success |
2237 |
|
user_form_ven.php */ |
2238 |
************************* File = user_menu.php **************** |
************************* File = user_menu.php **************** |
2239 |
user_menu.php /* function u_ShowDossier |
user_menu.php /* function u_ShowDossier |
2240 |
user_menu.php * Purpose : Show all the available folder |
user_menu.php * Purpose : Show all the available folder |
2311 |
user_menu.php * - none |
user_menu.php * - none |
2312 |
user_menu.php * |
user_menu.php * |
2313 |
user_menu.php */ |
user_menu.php */ |
2314 |
user_menu.php /* function u_ShowMenuJrn |
user_menu.php /* function ShowMenuJrn |
2315 |
user_menu.php * Purpose : Show the menu of the jrn depending of its type |
user_menu.php * Purpose : Show the menu of the jrn depending of its type |
2316 |
user_menu.php * |
user_menu.php * |
2317 |
user_menu.php * parm : |
user_menu.php * parm : |
2436 |
user_menu.php * |
user_menu.php * |
2437 |
user_menu.php */ |
user_menu.php */ |
2438 |
************************* File = user_update.php **************** |
************************* File = user_update.php **************** |
|
************************* File = viewjrn.php **************** |
|
|
viewjrn.php /* function ViewJrn |
|
|
viewjrn.php * Purpose : Vue des écritures comptables |
|
|
viewjrn.php * |
|
|
viewjrn.php * parm : |
|
|
viewjrn.php * - p_dossier, |
|
|
viewjrn.php * - p_user, |
|
|
viewjrn.php * - p_jrn |
|
|
viewjrn.php * - array |
|
|
viewjrn.php * gen : |
|
|
viewjrn.php * - |
|
|
viewjrn.php * return: |
|
|
viewjrn.php * - |
|
|
viewjrn.php * |
|
|
viewjrn.php */ |
|