From f0761196d6478ea2d6a8bd5cdc74ee1411d5d5eb Mon Sep 17 00:00:00 2001 From: sparkyx Date: Thu, 22 Jun 2006 22:26:26 +0000 Subject: [PATCH] =?UTF-8?q?Beta=20version=202.0=20-=20module=20de=20gestio?= =?UTF-8?q?n=20int=C3=A9gr=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- doc/developper/Doxyfile | 271 ++++++++ .../html/ac__common_8php-source.html | 2 +- doc/developper/html/ac__common_8php.html | 2 +- .../html/action_8inc_8php-source.html | 2 +- doc/developper/html/action_8inc_8php.html | 2 +- .../html/admin__repo_8php-source.html | 2 +- doc/developper/html/admin__repo_8php.html | 2 +- doc/developper/html/annotated.html | 2 +- .../html/annulation_8php-source.html | 2 +- doc/developper/html/annulation_8php.html | 2 +- doc/developper/html/bal__csv_8php-source.html | 2 +- doc/developper/html/bal__csv_8php.html | 2 +- doc/developper/html/balance_8php-source.html | 2 +- doc/developper/html/balance_8php.html | 2 +- doc/developper/html/bilan_8php-source.html | 2 +- doc/developper/html/bilan_8php.html | 2 +- .../html/cbc__be_8inc_8php-source.html | 2 +- doc/developper/html/cbc__be_8inc_8php.html | 2 +- doc/developper/html/central_8php-source.html | 2 +- doc/developper/html/central_8php.html | 2 +- .../html/central__inc_8php-source.html | 2 +- doc/developper/html/central__inc_8php.html | 2 +- .../html/check__priv_8php-source.html | 2 +- doc/developper/html/check__priv_8php.html | 2 +- doc/developper/html/classAttribut.html | 2 +- doc/developper/html/classBalance.html | 2 +- doc/developper/html/classCezpdf.html | 2 +- doc/developper/html/classCpdf.html | 2 +- doc/developper/html/classCreport.html | 2 +- doc/developper/html/classCustomer.html | 2 +- doc/developper/html/classDocument.html | 570 ++++++++++++++++ .../html/classDocument__modele.html | 2 +- doc/developper/html/classDocument__type.html | 100 +++ doc/developper/html/classInvoice.html | 2 +- doc/developper/html/classOwn.html | 2 +- .../html/class_8ezpdf_8php-source.html | 2 +- doc/developper/html/class_8ezpdf_8php.html | 2 +- .../html/class_8pdf_8php-source.html | 2 +- doc/developper/html/class_8pdf_8php.html | 2 +- .../html/class__action_8php-source.html | 335 +++++++++ doc/developper/html/class__action_8php.html | 36 + .../html/class__attribut_8php-source.html | 2 +- doc/developper/html/class__attribut_8php.html | 2 +- .../html/class__balance_8php-source.html | 2 +- doc/developper/html/class__balance_8php.html | 2 +- .../html/class__contact_8php-source.html | 126 ++++ doc/developper/html/class__contact_8php.html | 30 + .../html/class__customer_8php-source.html | 2 +- doc/developper/html/class__customer_8php.html | 2 +- .../html/class__document_8php-source.html | 512 ++++++++++++++ doc/developper/html/class__document_8php.html | 30 + .../class__document__modele_8php-source.html | 2 +- .../html/class__document__modele_8php.html | 2 +- .../class__document__type_8php-source.html | 51 ++ .../html/class__document__type_8php.html | 29 + .../html/class__fiche_8php-source.html | 2 +- doc/developper/html/class__fiche_8php.html | 2 +- .../html/class__fiche__def_8php-source.html | 2 +- .../html/class__fiche__def_8php.html | 2 +- .../html/class__invoice_8php-source.html | 2 +- doc/developper/html/class__invoice_8php.html | 2 +- .../html/class__jrn_8php-source.html | 2 +- doc/developper/html/class__jrn_8php.html | 2 +- .../html/class__operation_8php-source.html | 2 +- .../html/class__operation_8php.html | 2 +- .../html/class__own_8php-source.html | 2 +- doc/developper/html/class__own_8php.html | 2 +- .../html/class__parm__code_8php-source.html | 2 +- .../html/class__parm__code_8php.html | 2 +- .../html/class__poste_8php-source.html | 4 +- doc/developper/html/class__poste_8php.html | 2 +- .../html/class__rapport_8php-source.html | 2 +- doc/developper/html/class__rapport_8php.html | 2 +- .../html/class__user_8php-source.html | 2 +- doc/developper/html/class__user_8php.html | 2 +- .../html/class__widget_8php-source.html | 2 +- doc/developper/html/class__widget_8php.html | 2 +- doc/developper/html/classaction.html | 586 ++++++++++++++++ doc/developper/html/classcl__user.html | 2 +- doc/developper/html/classcontact.html | 152 +++++ doc/developper/html/classfiche.html | 2 +- doc/developper/html/classfiche__def.html | 2 +- doc/developper/html/classfiche__def__ref.html | 2 +- doc/developper/html/classjrn.html | 2 +- doc/developper/html/classparm__code.html | 2 +- doc/developper/html/classposte.html | 2 +- doc/developper/html/classrapport.html | 2 +- doc/developper/html/classwidget.html | 2 +- .../html/client_8inc_8php-source.html | 2 +- doc/developper/html/client_8inc_8php.html | 2 +- .../html/commercial_8php-source.html | 2 +- doc/developper/html/commercial_8php.html | 2 +- doc/developper/html/constant_8php-source.html | 2 +- doc/developper/html/constant_8php.html | 2 +- .../html/contact_8inc_8php-source.html | 193 ++++++ doc/developper/html/contact_8inc_8php.html | 302 +++++++++ doc/developper/html/debug_8php-source.html | 2 +- doc/developper/html/debug_8php.html | 2 +- .../html/decla_8BE_8inc_8php-source.html | 2 +- doc/developper/html/decla_8BE_8inc_8php.html | 2 +- doc/developper/html/demo_8php-source.html | 2 +- doc/developper/html/demo_8php.html | 2 +- doc/developper/html/dir_000000.html | 2 +- doc/developper/html/dir_000001.html | 2 +- doc/developper/html/dir_000002.html | 2 +- doc/developper/html/dir_000003.html | 2 +- doc/developper/html/dir_000004.html | 2 +- doc/developper/html/dir_000005.html | 2 +- doc/developper/html/dir_000006.html | 2 +- doc/developper/html/dirs.html | 2 +- .../document__modele_8inc_8php-source.html | 2 +- .../html/document__modele_8inc_8php.html | 2 +- .../html/ecrit__ouv_8php-source.html | 2 +- doc/developper/html/ecrit__ouv_8php.html | 2 +- doc/developper/html/error_8php-source.html | 2 +- doc/developper/html/error_8php.html | 2 +- .../html/eub__be_8inc_8php-source.html | 2 +- doc/developper/html/eub__be_8inc_8php.html | 2 +- .../html/export__ouv_8php-source.html | 2 +- doc/developper/html/export__ouv_8php.html | 2 +- .../html/facturation_8php-source.html | 2 +- doc/developper/html/facturation_8php.html | 2 +- .../html/facture_8inc_8php-source.html | 237 +++++++ doc/developper/html/facture_8inc_8php.html | 635 ++++++++++++++++++ doc/developper/html/fiche_8php-source.html | 2 +- doc/developper/html/fiche_8php.html | 2 +- .../html/fiche__csv_8php-source.html | 2 +- doc/developper/html/fiche__csv_8php.html | 2 +- .../html/fiche__def_8inc_8php-source.html | 2 +- doc/developper/html/fiche__def_8inc_8php.html | 2 +- .../html/fiche__inc_8php-source.html | 2 +- doc/developper/html/fiche__inc_8php.html | 2 +- .../html/fiche__new_8php-source.html | 2 +- doc/developper/html/fiche__new_8php.html | 2 +- .../html/fiche__search_8php-source.html | 2 +- doc/developper/html/fiche__search_8php.html | 2 +- doc/developper/html/files.html | 2 +- doc/developper/html/form_8php-source.html | 2 +- doc/developper/html/form_8php.html | 2 +- .../html/form__csv_8php-source.html | 2 +- doc/developper/html/form__csv_8php.html | 2 +- .../html/form__inc_8php-source.html | 2 +- doc/developper/html/form__inc_8php.html | 2 +- .../html/form__pdf_8php-source.html | 2 +- doc/developper/html/form__pdf_8php.html | 2 +- .../html/fortis__be_8inc_8php-source.html | 2 +- doc/developper/html/fortis__be_8inc_8php.html | 2 +- doc/developper/html/functions.html | 2 +- doc/developper/html/functions_0x61.html | 2 +- doc/developper/html/functions_0x62.html | 2 +- doc/developper/html/functions_0x63.html | 2 +- doc/developper/html/functions_0x64.html | 2 +- doc/developper/html/functions_0x65.html | 2 +- doc/developper/html/functions_0x66.html | 2 +- doc/developper/html/functions_0x67.html | 2 +- doc/developper/html/functions_0x68.html | 2 +- doc/developper/html/functions_0x69.html | 2 +- doc/developper/html/functions_0x6a.html | 2 +- doc/developper/html/functions_0x6c.html | 2 +- doc/developper/html/functions_0x6d.html | 2 +- doc/developper/html/functions_0x6e.html | 2 +- doc/developper/html/functions_0x6f.html | 2 +- doc/developper/html/functions_0x70.html | 2 +- doc/developper/html/functions_0x72.html | 2 +- doc/developper/html/functions_0x73.html | 2 +- doc/developper/html/functions_0x74.html | 2 +- doc/developper/html/functions_0x75.html | 2 +- doc/developper/html/functions_0x76.html | 2 +- doc/developper/html/functions_0x77.html | 2 +- doc/developper/html/functions_func.html | 2 +- doc/developper/html/functions_vars.html | 2 +- .../gestion__fiche__search_8php-source.html | 170 +++++ .../html/gestion__fiche__search_8php.html | 164 +++++ doc/developper/html/globals.html | 2 +- doc/developper/html/globals_0x5f.html | 2 +- doc/developper/html/globals_0x61.html | 2 +- doc/developper/html/globals_0x62.html | 2 +- doc/developper/html/globals_0x63.html | 2 +- doc/developper/html/globals_0x64.html | 2 +- doc/developper/html/globals_0x65.html | 2 +- doc/developper/html/globals_0x66.html | 2 +- doc/developper/html/globals_0x67.html | 2 +- doc/developper/html/globals_0x68.html | 2 +- doc/developper/html/globals_0x69.html | 2 +- doc/developper/html/globals_0x6a.html | 2 +- doc/developper/html/globals_0x6c.html | 2 +- doc/developper/html/globals_0x6d.html | 2 +- doc/developper/html/globals_0x6e.html | 2 +- doc/developper/html/globals_0x6f.html | 2 +- doc/developper/html/globals_0x70.html | 2 +- doc/developper/html/globals_0x72.html | 2 +- doc/developper/html/globals_0x73.html | 2 +- doc/developper/html/globals_0x74.html | 2 +- doc/developper/html/globals_0x75.html | 2 +- doc/developper/html/globals_0x76.html | 2 +- doc/developper/html/globals_0x77.html | 2 +- doc/developper/html/globals_0x79.html | 2 +- doc/developper/html/globals_enum.html | 2 +- doc/developper/html/globals_func.html | 2 +- doc/developper/html/globals_vars.html | 2 +- doc/developper/html/globals_vars_0x5f.html | 2 +- doc/developper/html/globals_vars_0x61.html | 21 + doc/developper/html/globals_vars_0x62.html | 2 +- doc/developper/html/globals_vars_0x63.html | 2 +- doc/developper/html/globals_vars_0x64.html | 2 +- doc/developper/html/globals_vars_0x65.html | 2 +- doc/developper/html/globals_vars_0x66.html | 2 +- doc/developper/html/globals_vars_0x68.html | 2 +- doc/developper/html/globals_vars_0x69.html | 2 +- doc/developper/html/globals_vars_0x6c.html | 2 +- doc/developper/html/globals_vars_0x6d.html | 2 +- doc/developper/html/globals_vars_0x6e.html | 2 +- doc/developper/html/globals_vars_0x70.html | 2 +- doc/developper/html/globals_vars_0x72.html | 2 +- doc/developper/html/globals_vars_0x73.html | 2 +- doc/developper/html/globals_vars_0x74.html | 2 +- doc/developper/html/globals_vars_0x76.html | 2 +- doc/developper/html/globals_vars_0x77.html | 2 +- doc/developper/html/hierarchy.html | 2 +- doc/developper/html/import_8php-source.html | 2 +- doc/developper/html/import_8php.html | 2 +- .../html/import__inc_8php-source.html | 2 +- doc/developper/html/import__inc_8php.html | 2 +- .../html/impress__bilan_8php-source.html | 2 +- doc/developper/html/impress__bilan_8php.html | 2 +- .../html/impress__fiche_8php-source.html | 2 +- doc/developper/html/impress__fiche_8php.html | 2 +- .../html/impress__inc_8php-source.html | 2 +- doc/developper/html/impress__inc_8php.html | 2 +- .../html/impress__jrn_8php-source.html | 2 +- doc/developper/html/impress__jrn_8php.html | 2 +- .../impress__listing__client_8php-source.html | 2 +- .../html/impress__listing__client_8php.html | 2 +- .../html/impress__poste_8php-source.html | 2 +- doc/developper/html/impress__poste_8php.html | 2 +- .../html/impress__rapport_8php-source.html | 2 +- .../html/impress__rapport_8php.html | 2 +- doc/developper/html/index.html | 2 +- doc/developper/html/index_8php-source.html | 2 +- doc/developper/html/index_8php.html | 2 +- doc/developper/html/info_8php-source.html | 17 + doc/developper/html/info_8php.html | 19 + .../html/ing__be_8inc_8php-source.html | 2 +- doc/developper/html/ing__be_8inc_8php.html | 2 +- doc/developper/html/jrn_8php-source.html | 2 +- doc/developper/html/jrn_8php.html | 2 +- doc/developper/html/jrn__add_8php-source.html | 2 +- doc/developper/html/jrn__add_8php.html | 2 +- doc/developper/html/jrn__csv_8php-source.html | 2 +- doc/developper/html/jrn__csv_8php.html | 2 +- .../html/jrn__detail_8php-source.html | 2 +- doc/developper/html/jrn__detail_8php.html | 2 +- .../html/jrn__op__detail_8php-source.html | 2 +- doc/developper/html/jrn__op__detail_8php.html | 2 +- doc/developper/html/jrn__pdf_8php-source.html | 2 +- doc/developper/html/jrn__pdf_8php.html | 2 +- .../html/jrn__search_8php-source.html | 2 +- doc/developper/html/jrn__search_8php.html | 2 +- .../html/jrn__update_8php-source.html | 2 +- doc/developper/html/jrn__update_8php.html | 2 +- .../html/line__update_8php-source.html | 2 +- doc/developper/html/line__update_8php.html | 2 +- .../html/listing__client_8php-source.html | 2 +- doc/developper/html/listing__client_8php.html | 2 +- doc/developper/html/login_8php-source.html | 2 +- doc/developper/html/login_8php.html | 2 +- doc/developper/html/logout_8php-source.html | 2 +- doc/developper/html/logout_8php.html | 2 +- .../html/modify__op_8php-source.html | 2 +- doc/developper/html/modify__op_8php.html | 2 +- doc/developper/html/namespaceCpdf.html | 2 +- doc/developper/html/namespaces.html | 2 +- .../html/not__implemented_8php-source.html | 2 +- .../html/not__implemented_8php.html | 2 +- doc/developper/html/pages.html | 16 + .../html/parametre_8php-source.html | 2 +- doc/developper/html/parametre_8php.html | 2 +- .../html/pcmn__update_8php-source.html | 2 +- doc/developper/html/pcmn__update_8php.html | 2 +- .../html/periode_8inc_8php-source.html | 2 +- doc/developper/html/periode_8inc_8php.html | 2 +- .../html/poste_8inc_8php-source.html | 2 +- doc/developper/html/poste_8inc_8php.html | 2 +- doc/developper/html/poste_8php-source.html | 4 +- doc/developper/html/poste_8php.html | 2 +- .../html/poste__csv_8php-source.html | 2 +- doc/developper/html/poste__csv_8php.html | 2 +- .../html/poste__pdf_8php-source.html | 2 +- doc/developper/html/poste__pdf_8php.html | 2 +- .../html/poste__search_8php-source.html | 2 +- doc/developper/html/poste__search_8php.html | 2 +- doc/developper/html/postgres_8php-source.html | 2 +- doc/developper/html/postgres_8php.html | 2 +- .../html/pref_8inc_8php-source.html | 2 +- doc/developper/html/pref_8inc_8php.html | 2 +- .../html/preference_8php-source.html | 2 +- doc/developper/html/preference_8php.html | 2 +- .../html/print__balance_8php-source.html | 2 +- doc/developper/html/print__balance_8php.html | 2 +- .../html/print__invoice_8php-source.html | 2 +- doc/developper/html/print__invoice_8php.html | 2 +- .../html/priv__user_8php-source.html | 2 +- doc/developper/html/priv__user_8php.html | 2 +- doc/developper/html/readme_8php-source.html | 2 +- doc/developper/html/readme_8php.html | 2 +- .../html/recherche_8php-source.html | 2 +- doc/developper/html/recherche_8php.html | 2 +- doc/developper/html/sec__pdf_8php-source.html | 2 +- doc/developper/html/sec__pdf_8php.html | 2 +- .../html/send__jrn__pdf_8php-source.html | 2 +- doc/developper/html/send__jrn__pdf_8php.html | 2 +- .../html/send__poste__pdf_8php-source.html | 2 +- .../html/send__poste__pdf_8php.html | 2 +- doc/developper/html/setup_8php-source.html | 2 +- doc/developper/html/setup_8php.html | 2 +- .../html/show__document_8php-source.html | 2 +- doc/developper/html/show__document_8php.html | 2 +- .../show__document__modele_8php-source.html | 76 +++ .../html/show__document__modele_8php.html | 223 ++++++ doc/developper/html/show__pj_8php-source.html | 91 +++ doc/developper/html/show__pj_8php.html | 320 +++++++++ .../html/show__tva_8php-source.html | 2 +- doc/developper/html/show__tva_8php.html | 2 +- doc/developper/html/stock_8php-source.html | 2 +- doc/developper/html/stock_8php.html | 2 +- .../html/stock__inc_8php-source.html | 2 +- doc/developper/html/stock__inc_8php.html | 2 +- doc/developper/html/test_8php-source.html | 2 +- doc/developper/html/test_8php.html | 2 +- .../html/test__smarty_8php-source.html | 2 +- doc/developper/html/test__smarty_8php.html | 2 +- doc/developper/html/todo.html | 120 ++++ doc/developper/html/tva_8inc_8php-source.html | 2 +- doc/developper/html/tva_8inc_8php.html | 2 +- .../html/user__action__ach_8php-source.html | 2 +- .../html/user__action__ach_8php.html | 2 +- .../html/user__action__fin_8php-source.html | 2 +- .../html/user__action__fin_8php.html | 2 +- .../html/user__action__gl_8php-source.html | 2 +- .../html/user__action__gl_8php.html | 2 +- .../html/user__action__ods_8php-source.html | 2 +- .../html/user__action__ods_8php.html | 2 +- .../html/user__action__ven_8php-source.html | 2 +- .../html/user__action__ven_8php.html | 2 +- .../html/user__advanced_8php-source.html | 2 +- doc/developper/html/user__advanced_8php.html | 2 +- .../html/user__common_8php-source.html | 2 +- doc/developper/html/user__common_8php.html | 2 +- .../html/user__compta_8php-source.html | 2 +- doc/developper/html/user__compta_8php.html | 2 +- .../html/user__form__ach_8php-source.html | 2 +- doc/developper/html/user__form__ach_8php.html | 2 +- .../html/user__form__fin_8php-source.html | 2 +- doc/developper/html/user__form__fin_8php.html | 2 +- .../html/user__form__ods_8php-source.html | 2 +- doc/developper/html/user__form__ods_8php.html | 2 +- .../html/user__form__ven_8php-source.html | 2 +- doc/developper/html/user__form__ven_8php.html | 2 +- .../html/user__impress_8php-source.html | 2 +- doc/developper/html/user__impress_8php.html | 2 +- .../html/user__jrn_8php-source.html | 2 +- doc/developper/html/user__jrn_8php.html | 2 +- .../html/user__login_8php-source.html | 2 +- doc/developper/html/user__login_8php.html | 2 +- .../html/user__menu_8php-source.html | 2 +- doc/developper/html/user__menu_8php.html | 2 +- .../html/user__pref_8php-source.html | 2 +- doc/developper/html/user__pref_8php.html | 2 +- .../html/user__sec_8php-source.html | 2 +- doc/developper/html/user__sec_8php.html | 2 +- .../html/user__update_8php-source.html | 2 +- doc/developper/html/user__update_8php.html | 2 +- include/class_action.php | 390 +++++++++++ include/class_contact.php | 129 ++++ include/class_document_type.php | 52 ++ include/class_invoice.php | 151 +++++ include/contact.inc.php | 191 ++++++ include/facture.inc.php | 241 +++++++ 378 files changed, 6932 insertions(+), 346 deletions(-) create mode 100644 doc/developper/Doxyfile create mode 100644 doc/developper/html/classDocument.html create mode 100644 doc/developper/html/classDocument__type.html create mode 100644 doc/developper/html/class__action_8php-source.html create mode 100644 doc/developper/html/class__action_8php.html create mode 100644 doc/developper/html/class__contact_8php-source.html create mode 100644 doc/developper/html/class__contact_8php.html create mode 100644 doc/developper/html/class__document_8php-source.html create mode 100644 doc/developper/html/class__document_8php.html create mode 100644 doc/developper/html/class__document__type_8php-source.html create mode 100644 doc/developper/html/class__document__type_8php.html create mode 100644 doc/developper/html/classaction.html create mode 100644 doc/developper/html/classcontact.html create mode 100644 doc/developper/html/contact_8inc_8php-source.html create mode 100644 doc/developper/html/contact_8inc_8php.html create mode 100644 doc/developper/html/facture_8inc_8php-source.html create mode 100644 doc/developper/html/facture_8inc_8php.html create mode 100644 doc/developper/html/gestion__fiche__search_8php-source.html create mode 100644 doc/developper/html/gestion__fiche__search_8php.html create mode 100644 doc/developper/html/globals_vars_0x61.html create mode 100644 doc/developper/html/info_8php-source.html create mode 100644 doc/developper/html/info_8php.html create mode 100644 doc/developper/html/pages.html create mode 100644 doc/developper/html/show__document__modele_8php-source.html create mode 100644 doc/developper/html/show__document__modele_8php.html create mode 100644 doc/developper/html/show__pj_8php-source.html create mode 100644 doc/developper/html/show__pj_8php.html create mode 100644 doc/developper/html/todo.html create mode 100644 include/class_action.php create mode 100644 include/class_contact.php create mode 100644 include/class_document_type.php create mode 100644 include/class_invoice.php create mode 100644 include/contact.inc.php create mode 100644 include/facture.inc.php diff --git a/doc/developper/Doxyfile b/doc/developper/Doxyfile new file mode 100644 index 000000000..0b2500e64 --- /dev/null +++ b/doc/developper/Doxyfile @@ -0,0 +1,271 @@ +# Doxyfile 1.4.4 + +#--------------------------------------------------------------------------- +# Project related configuration options +#--------------------------------------------------------------------------- +PROJECT_NAME = phpcompta +PROJECT_NUMBER = 1 +OUTPUT_DIRECTORY = /home/dany/developpement/phpcompta-dev/phpcompta/doc/developper +CREATE_SUBDIRS = NO +OUTPUT_LANGUAGE = English +USE_WINDOWS_ENCODING = NO +BRIEF_MEMBER_DESC = YES +REPEAT_BRIEF = YES +ABBREVIATE_BRIEF = "The $name class" \ + "The $name widget" \ + "The $name file" \ + is \ + provides \ + specifies \ + contains \ + represents \ + a \ + an \ + the +ALWAYS_DETAILED_SEC = NO +INLINE_INHERITED_MEMB = NO +FULL_PATH_NAMES = YES +STRIP_FROM_PATH = /home/dany/tmp/doxygen-1.4.6/bin/ +STRIP_FROM_INC_PATH = +SHORT_NAMES = NO +JAVADOC_AUTOBRIEF = NO +MULTILINE_CPP_IS_BRIEF = NO +DETAILS_AT_TOP = NO +INHERIT_DOCS = YES +DISTRIBUTE_GROUP_DOC = NO +SEPARATE_MEMBER_PAGES = NO +TAB_SIZE = 8 +ALIASES = +OPTIMIZE_OUTPUT_FOR_C = YES +OPTIMIZE_OUTPUT_JAVA = NO +SUBGROUPING = YES +#--------------------------------------------------------------------------- +# Build related configuration options +#--------------------------------------------------------------------------- +EXTRACT_ALL = YES +EXTRACT_PRIVATE = NO +EXTRACT_STATIC = NO +EXTRACT_LOCAL_CLASSES = YES +EXTRACT_LOCAL_METHODS = YES +HIDE_UNDOC_MEMBERS = YES +HIDE_UNDOC_CLASSES = YES +HIDE_FRIEND_COMPOUNDS = NO +HIDE_IN_BODY_DOCS = NO +INTERNAL_DOCS = NO +CASE_SENSE_NAMES = YES +HIDE_SCOPE_NAMES = NO +SHOW_INCLUDE_FILES = YES +INLINE_INFO = YES +SORT_MEMBER_DOCS = YES +SORT_BRIEF_DOCS = NO +SORT_BY_SCOPE_NAME = NO +GENERATE_TODOLIST = YES +GENERATE_TESTLIST = YES +GENERATE_BUGLIST = YES +GENERATE_DEPRECATEDLIST= YES +ENABLED_SECTIONS = +MAX_INITIALIZER_LINES = 30 +SHOW_USED_FILES = YES +SHOW_DIRECTORIES = YES +FILE_VERSION_FILTER = +#--------------------------------------------------------------------------- +# configuration options related to warning and progress messages +#--------------------------------------------------------------------------- +QUIET = NO +WARNINGS = YES +WARN_IF_UNDOCUMENTED = YES +WARN_IF_DOC_ERROR = YES +WARN_NO_PARAMDOC = NO +WARN_FORMAT = "$file:$line: $text" +WARN_LOGFILE = +#--------------------------------------------------------------------------- +# configuration options related to the input files +#--------------------------------------------------------------------------- +INPUT = /home/dany/developpement/phpcompta-dev/phpcompta/include /home/dany/developpement/phpcompta-dev/phpcompta/html +FILE_PATTERNS = *.c \ + *.cc \ + *.cxx \ + *.cpp \ + *.c++ \ + *.d \ + *.java \ + *.ii \ + *.ixx \ + *.ipp \ + *.i++ \ + *.inl \ + *.h \ + *.hh \ + *.hxx \ + *.hpp \ + *.h++ \ + *.idl \ + *.odl \ + *.cs \ + *.php \ + *.php3 \ + *.inc \ + *.m \ + *.mm \ + *.dox \ + *.C \ + *.CC \ + *.C++ \ + *.II \ + *.I++ \ + *.H \ + *.HH \ + *.H++ \ + *.CS \ + *.PHP \ + *.PHP3 \ + *.M \ + *.MM \ + *.inc.php +RECURSIVE = YES +EXCLUDE = +EXCLUDE_SYMLINKS = NO +EXCLUDE_PATTERNS = a?.php b?.php ?.php +EXAMPLE_PATH = +EXAMPLE_PATTERNS = * +EXAMPLE_RECURSIVE = NO +IMAGE_PATH = +INPUT_FILTER = +FILTER_PATTERNS = +FILTER_SOURCE_FILES = NO +#--------------------------------------------------------------------------- +# configuration options related to source browsing +#--------------------------------------------------------------------------- +SOURCE_BROWSER = YES +INLINE_SOURCES = NO +STRIP_CODE_COMMENTS = YES +REFERENCED_BY_RELATION = YES +REFERENCES_RELATION = YES +USE_HTAGS = NO +VERBATIM_HEADERS = YES +#--------------------------------------------------------------------------- +# configuration options related to the alphabetical class index +#--------------------------------------------------------------------------- +ALPHABETICAL_INDEX = NO +COLS_IN_ALPHA_INDEX = 5 +IGNORE_PREFIX = +#--------------------------------------------------------------------------- +# configuration options related to the HTML output +#--------------------------------------------------------------------------- +GENERATE_HTML = YES +HTML_OUTPUT = html +HTML_FILE_EXTENSION = .html +HTML_HEADER = +HTML_FOOTER = +HTML_STYLESHEET = +HTML_ALIGN_MEMBERS = YES +GENERATE_HTMLHELP = NO +CHM_FILE = +HHC_LOCATION = +GENERATE_CHI = NO +BINARY_TOC = NO +TOC_EXPAND = NO +DISABLE_INDEX = NO +ENUM_VALUES_PER_LINE = 4 +GENERATE_TREEVIEW = NO +TREEVIEW_WIDTH = 250 +#--------------------------------------------------------------------------- +# configuration options related to the LaTeX output +#--------------------------------------------------------------------------- +GENERATE_LATEX = YES +LATEX_OUTPUT = latex +LATEX_CMD_NAME = latex +MAKEINDEX_CMD_NAME = makeindex +COMPACT_LATEX = NO +PAPER_TYPE = a4wide +EXTRA_PACKAGES = +LATEX_HEADER = +PDF_HYPERLINKS = YES +USE_PDFLATEX = YES +LATEX_BATCHMODE = YES +LATEX_HIDE_INDICES = NO +#--------------------------------------------------------------------------- +# configuration options related to the RTF output +#--------------------------------------------------------------------------- +GENERATE_RTF = NO +RTF_OUTPUT = rtf +COMPACT_RTF = NO +RTF_HYPERLINKS = NO +RTF_STYLESHEET_FILE = +RTF_EXTENSIONS_FILE = +#--------------------------------------------------------------------------- +# configuration options related to the man page output +#--------------------------------------------------------------------------- +GENERATE_MAN = NO +MAN_OUTPUT = man +MAN_EXTENSION = .3 +MAN_LINKS = NO +#--------------------------------------------------------------------------- +# configuration options related to the XML output +#--------------------------------------------------------------------------- +GENERATE_XML = NO +XML_OUTPUT = xml +XML_SCHEMA = +XML_DTD = +XML_PROGRAMLISTING = YES +#--------------------------------------------------------------------------- +# configuration options for the AutoGen Definitions output +#--------------------------------------------------------------------------- +GENERATE_AUTOGEN_DEF = NO +#--------------------------------------------------------------------------- +# configuration options related to the Perl module output +#--------------------------------------------------------------------------- +GENERATE_PERLMOD = NO +PERLMOD_LATEX = NO +PERLMOD_PRETTY = YES +PERLMOD_MAKEVAR_PREFIX = +#--------------------------------------------------------------------------- +# Configuration options related to the preprocessor +#--------------------------------------------------------------------------- +ENABLE_PREPROCESSING = YES +MACRO_EXPANSION = NO +EXPAND_ONLY_PREDEF = NO +SEARCH_INCLUDES = YES +INCLUDE_PATH = +INCLUDE_FILE_PATTERNS = +PREDEFINED = +EXPAND_AS_DEFINED = +SKIP_FUNCTION_MACROS = YES +#--------------------------------------------------------------------------- +# Configuration::additions related to external references +#--------------------------------------------------------------------------- +TAGFILES = +GENERATE_TAGFILE = +ALLEXTERNALS = NO +EXTERNAL_GROUPS = YES +PERL_PATH = /usr/bin/perl +#--------------------------------------------------------------------------- +# Configuration options related to the dot tool +#--------------------------------------------------------------------------- +CLASS_DIAGRAMS = YES +HIDE_UNDOC_RELATIONS = YES +HAVE_DOT = NO +CLASS_GRAPH = YES +COLLABORATION_GRAPH = YES +GROUP_GRAPHS = YES +UML_LOOK = NO +TEMPLATE_RELATIONS = NO +INCLUDE_GRAPH = YES +INCLUDED_BY_GRAPH = YES +CALL_GRAPH = NO +GRAPHICAL_HIERARCHY = YES +DIRECTORY_GRAPH = YES +DOT_IMAGE_FORMAT = png +DOT_PATH = +DOTFILE_DIRS = +MAX_DOT_GRAPH_WIDTH = 1024 +MAX_DOT_GRAPH_HEIGHT = 1024 +MAX_DOT_GRAPH_DEPTH = 1000 +DOT_TRANSPARENT = NO +DOT_MULTI_TARGETS = NO +GENERATE_LEGEND = YES +DOT_CLEANUP = YES +#--------------------------------------------------------------------------- +# Configuration::additions related to the search engine +#--------------------------------------------------------------------------- +SEARCHENGINE = NO diff --git a/doc/developper/html/ac__common_8php-source.html b/doc/developper/html/ac__common_8php-source.html index ddf76fc06..aa17071ed 100644 --- a/doc/developper/html/ac__common_8php-source.html +++ b/doc/developper/html/ac__common_8php-source.html @@ -247,7 +247,7 @@ 00364 } 00365 00366 ?> -
Generated on Thu Jun 22 23:54:03 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/ac__common_8php.html b/doc/developper/html/ac__common_8php.html index cac6ea714..03c98d40d 100644 --- a/doc/developper/html/ac__common_8php.html +++ b/doc/developper/html/ac__common_8php.html @@ -806,7 +806,7 @@ References $retMenuAdmin(), ShowJrn(), ShowMenuAdvanced(), ShowMenuCompta(), ShowMenuDocument(), and ShowMenuParam(). -
Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/action_8inc_8php-source.html b/doc/developper/html/action_8inc_8php-source.html index 135b0ca38..e65d6786e 100644 --- a/doc/developper/html/action_8inc_8php-source.html +++ b/doc/developper/html/action_8inc_8php-source.html @@ -257,7 +257,7 @@ 00262 echo $act->SaveStage3($d_id); 00263 } 00264 -
Generated on Thu Jun 22 23:54:03 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/action_8inc_8php.html b/doc/developper/html/action_8inc_8php.html index f73c3f1d7..4a24836d4 100644 --- a/doc/developper/html/action_8inc_8php.html +++ b/doc/developper/html/action_8inc_8php.html @@ -77,7 +77,7 @@ Referenced by action: Definition at line 36 of file action.inc.php. -
Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/admin__repo_8php-source.html b/doc/developper/html/admin__repo_8php-source.html index e3772098b..119e7700c 100644 --- a/doc/developper/html/admin__repo_8php-source.html +++ b/doc/developper/html/admin__repo_8php-source.html @@ -318,7 +318,7 @@ 00314 00315 html_page_stop(); 00316 ?> -
Generated on Thu Jun 22 23:54:03 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/admin__repo_8php.html b/doc/developper/html/admin__repo_8php.html index 310277507..e39ef6ee4 100644 --- a/doc/developper/html/admin__repo_8php.html +++ b/doc/developper/html/admin__repo_8php.html @@ -571,7 +571,7 @@ Definition at line 117< Definition at line 42 of file admin_repo.php. -
Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/annotated.html b/doc/developper/html/annotated.html index d2fe2a6af..f2eb9da5c 100644 --- a/doc/developper/html/annotated.html +++ b/doc/developper/html/annotated.html @@ -31,7 +31,7 @@ rapportClass rapport Create, view, modify and parse report widgetClass widget This class is used to create all the HTML INPUT TYPE and some specials which works with javascript like js_search -
Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:47 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/annulation_8php-source.html b/doc/developper/html/annulation_8php-source.html index f40638a70..d60d5539a 100644 --- a/doc/developper/html/annulation_8php-source.html +++ b/doc/developper/html/annulation_8php-source.html @@ -294,7 +294,7 @@ 00288 00289 html_page_stop(); 00290 ?> -
Generated on Thu Jun 22 23:54:03 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/annulation_8php.html b/doc/developper/html/annulation_8php.html index 5d11931b5..2118508cb 100644 --- a/doc/developper/html/annulation_8php.html +++ b/doc/developper/html/annulation_8php.html @@ -303,7 +303,7 @@ Definition at line 55251 of file annulation.php. -
Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/bal__csv_8php-source.html b/doc/developper/html/bal__csv_8php-source.html index e5037b964..03da6ebea 100644 --- a/doc/developper/html/bal__csv_8php-source.html +++ b/doc/developper/html/bal__csv_8php-source.html @@ -71,7 +71,7 @@ 00065 00066 00067 ?> -
Generated on Thu Jun 22 23:54:03 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/bal__csv_8php.html b/doc/developper/html/bal__csv_8php.html index 31f7ea4d8..60d327e5f 100644 --- a/doc/developper/html/bal__csv_8php.html +++ b/doc/developper/html/bal__csv_8php.html @@ -156,7 +156,7 @@ Definition at line 35 Definition at line 40 of file bal_csv.php. -
Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/balance_8php-source.html b/doc/developper/html/balance_8php-source.html index d5e51a9ba..66ab72bfb 100644 --- a/doc/developper/html/balance_8php-source.html +++ b/doc/developper/html/balance_8php-source.html @@ -133,7 +133,7 @@ 00132 }// end submit 00133 echo "</div>"; 00134 ?> -
Generated on Thu Jun 22 23:54:03 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/balance_8php.html b/doc/developper/html/balance_8php.html index ded50c6d7..368e3a19a 100644 --- a/doc/developper/html/balance_8php.html +++ b/doc/developper/html/balance_8php.html @@ -390,7 +390,7 @@ Definition at line 68 o Referenced by fiche::blank(), ListJrn(), Customer::Summary(), contact::Summary(), VerifImport(), ViewRecord(), and widget::widget(). -
Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/bilan_8php-source.html b/doc/developper/html/bilan_8php-source.html index f3a8faab3..013d27156 100644 --- a/doc/developper/html/bilan_8php-source.html +++ b/doc/developper/html/bilan_8php-source.html @@ -142,7 +142,7 @@ 00137 00138 }// rtf file is read 00139 ?> -
Generated on Thu Jun 22 23:54:03 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/bilan_8php.html b/doc/developper/html/bilan_8php.html index 6b119c8e4..2c72e9f68 100644 --- a/doc/developper/html/bilan_8php.html +++ b/doc/developper/html/bilan_8php.html @@ -324,7 +324,7 @@ Referenced by Cezpdf:: Definition at line 33 of file bilan.php. -
Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/cbc__be_8inc_8php-source.html b/doc/developper/html/cbc__be_8inc_8php-source.html index 8bb80119e..ebb00cd4c 100644 --- a/doc/developper/html/cbc__be_8inc_8php-source.html +++ b/doc/developper/html/cbc__be_8inc_8php-source.html @@ -64,7 +64,7 @@ 00064 fclose($handle); 00065 echo "Encore rien désolé"; 00066 ?> -
Generated on Thu Jun 22 23:54:03 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/cbc__be_8inc_8php.html b/doc/developper/html/cbc__be_8inc_8php.html index d505e306a..c856313f7 100644 --- a/doc/developper/html/cbc__be_8inc_8php.html +++ b/doc/developper/html/cbc__be_8inc_8php.html @@ -50,7 +50,7 @@ Definition at line 28< Referenced by Centralise(), cl_user::cl_user(), Cezpdf::ezTable(), Document::Generate(), parm_code::Get(), Invoice::Get(), fiche_def::Get(), Document_modele::Get(), Document::Get(), fiche_def::GetAll(), fiche::getAttribut(), fiche_def::GetAttribut(), fiche::GetByDef(), fiche::GetByType(), Customer::GetFromPoste(), cl_user::GetGlobalPref(), cl_user::GetPreferences(), ListJrn(), fiche_def_ref::LoadAll(), make_array(), Document_modele::myList(), action::myList(), Cpdf::openFont(), Own::Own(), ShowDossier(), and fiche::strAttribut(). -
Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/central_8php-source.html b/doc/developper/html/central_8php-source.html index 9cff66d14..3c72c227f 100644 --- a/doc/developper/html/central_8php-source.html +++ b/doc/developper/html/central_8php-source.html @@ -90,7 +90,7 @@ 00084 echo "</DIV>"; 00085 html_page_stop(); 00086 ?> -
Generated on Thu Jun 22 23:54:03 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/central_8php.html b/doc/developper/html/central_8php.html index 0ef87cd96..d69e45fba 100644 --- a/doc/developper/html/central_8php.html +++ b/doc/developper/html/central_8php.html @@ -102,7 +102,7 @@ Definition at line 35 o Definition at line 37 of file central.php. -
Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/central__inc_8php-source.html b/doc/developper/html/central__inc_8php-source.html index 26176906f..e52670d60 100644 --- a/doc/developper/html/central__inc_8php-source.html +++ b/doc/developper/html/central__inc_8php-source.html @@ -145,7 +145,7 @@ 00162 } 00163 00164 ?> -
Generated on Thu Jun 22 23:54:03 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/central__inc_8php.html b/doc/developper/html/central__inc_8php.html index f44912681..d9d78d4bc 100644 --- a/doc/developper/html/central__inc_8php.html +++ b/doc/developper/html/central__inc_8php.html @@ -127,7 +127,7 @@ Definition at line 159 References $Res, and ExecSql(). -
Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/check__priv_8php-source.html b/doc/developper/html/check__priv_8php-source.html index 9b7f6b52b..b256454b9 100644 --- a/doc/developper/html/check__priv_8php-source.html +++ b/doc/developper/html/check__priv_8php-source.html @@ -158,7 +158,7 @@ 00206 } 00207 00208 ?> -
Generated on Thu Jun 22 23:54:03 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/check__priv_8php.html b/doc/developper/html/check__priv_8php.html index 9760a6dc9..4b930223a 100644 --- a/doc/developper/html/check__priv_8php.html +++ b/doc/developper/html/check__priv_8php.html @@ -255,7 +255,7 @@ References $cn, Referenced by ShowMenuJrnUser(). -
Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/classAttribut.html b/doc/developper/html/classAttribut.html index afc4768b5..58eea39de 100644 --- a/doc/developper/html/classAttribut.html +++ b/doc/developper/html/classAttribut.html @@ -162,7 +162,7 @@ Definition at line
The documentation for this class was generated from the following file:
-
Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:47 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/classBalance.html b/doc/developper/html/classBalance.html index 9ea5f7b26..8bd5f0602 100644 --- a/doc/developper/html/classBalance.html +++ b/doc/developper/html/classBalance.html @@ -191,7 +191,7 @@ Definition at line 3
The documentation for this class was generated from the following file:
-
Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:47 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/classCezpdf.html b/doc/developper/html/classCezpdf.html index c61653cd4..716397a95 100644 --- a/doc/developper/html/classCezpdf.html +++ b/doc/developper/html/classCezpdf.html @@ -1522,7 +1522,7 @@ Referenced by ezPrvtTa
The documentation for this class was generated from the following file:
-
Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:47 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/classCpdf.html b/doc/developper/html/classCpdf.html index 2ada1c19a..0bdc9b3db 100644 --- a/doc/developper/html/classCpdf.html +++ b/doc/developper/html/classCpdf.html @@ -4719,7 +4719,7 @@ Definition at line 134
The documentation for this class was generated from the following file:
-
Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:48 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/classCreport.html b/doc/developper/html/classCreport.html index 2af44dfde..619c6a9c8 100644 --- a/doc/developper/html/classCreport.html +++ b/doc/developper/html/classCreport.html @@ -164,7 +164,7 @@ Definition at line 26 of
The documentation for this class was generated from the following file:
  • /home/dany/developpement/phpcompta-dev/phpcompta/html/addon/readme.php
-
Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:48 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/classCustomer.html b/doc/developper/html/classCustomer.html index 11ffc6a31..e3f7015f7 100644 --- a/doc/developper/html/classCustomer.html +++ b/doc/developper/html/classCustomer.html @@ -357,7 +357,7 @@ Definition at line
The documentation for this class was generated from the following file:
-
Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:48 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/classDocument.html b/doc/developper/html/classDocument.html new file mode 100644 index 000000000..36c2959af --- /dev/null +++ b/doc/developper/html/classDocument.html @@ -0,0 +1,570 @@ + + +phpcompta: Document Class Reference + + + + +

Document Class Reference

Class Document corresponds to the table document. +More... +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Member Functions

 Document ($p_cn, $p_d_id=0)
 Generate ()
 Generate the document, Call $this->Replace to replace tag by value.
 ParseDocument ($p_dir, $p_file)
 This function parse a document and replace all the predefined tags by a value. This functions generate diffent documents (invoice, order, letter) with the info from the database.
 SaveGenerated ($p_file)
 Save the generated Document.
 Upload ()
 Upload a file into document all the needed data are in $_FILES we don't increment the seq.
 a_ref ()
 create and compute a string for reference the doc <A ...>
 Get ()
 Replace ($p_tag)
 replace the TAG by the real value, this value can be into the database or in $_POST The possible tags are
    +
  • [CUST_NAME] customer's name
  • [CUST_ADDR_1] customer's address line 1
  • [CUST_CP] customer's ZIP code
  • [CUST_CO] customer's country
  • [CUST_VAT] customer's VAT
  • [MARCH_NEXT] end this item and increment the counter $i
  • [VEN_ART_NAME]
  • [VEN_ART_PRICE]
  • [VEN_ART_QUANT]
  • [VEN_ART_TVA_CODE]
  • [VEN_ART_TVA_AMOUNT]
  • [VEN_ART_STOCK_CODE]
  • [VEN_HTVA]
  • [VEN_TVAC]
  • [VEN_TVA]
  • [TOTAL_VEN_HTVA]
  • [DATE]
  • [NUMBER_ID]
  • [MY_NAME]
  • [MY_CP]
  • [MY_COMMUNE]
  • [MY_TVA]
  • [MY_STREET]
  • [MY_NUMBER]
+

Data Fields

 $db
 $ag_id
 $d_mimetype
 $d_filename
 $d_lob
 $d_number
 $md_id
+


Detailed Description

+Class Document corresponds to the table document. +

+ +

+Definition at line 27 of file class_document.php.


Constructor & Destructor Documentation

+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
Document::Document p_cn,
p_d_id = 0
+
+ + + + + +
+   + + +

+ +

+Definition at line 40 of file class_document.php. +

+Referenced by SaveGenerated().

+


Member Function Documentation

+

+ + + + +
+ + + + + + + + +
Document::a_ref  ) 
+
+ + + + + +
+   + + +

+create and compute a string for reference the doc <A ...> +

+a_ref

+

Returns:
a string
+ +

+Definition at line 284 of file class_document.php. +

+References $r.

+

+ + + + +
+ + + + + + + + +
Document::Generate  ) 
+
+ + + + + +
+   + + +

+Generate the document, Call $this->Replace to replace tag by value. +

+

Parameters:
+ + +
none 
+
+
Returns:
an array : the url where the generated doc can be found, the name of the file and his mimetype
+
Todo:
Carefull : the slash is not windows compliant
+ +

+Definition at line 55 of file class_document.php. +

+References $Res, $ret, $row, Commit(), echo_debug(), ExecSql(), NextSequence(), ParseDocument(), SaveGenerated(), and StartSql().

+

+ + + + +
+ + + + + + + + +
Document::Get  ) 
+
+ + + + + +
+   + + +

+ +

+Definition at line 295 of file class_document.php. +

+References $file, $ret, $row, $tmp, Commit(), ExecSql(), and StartSql().

+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
Document::ParseDocument p_dir,
p_file
+
+ + + + + +
+   + + +

+This function parse a document and replace all the predefined tags by a value. This functions generate diffent documents (invoice, order, letter) with the info from the database. +

+ParseDocument

+

Parameters:
+ + + +
$p_dir directory name
$p_file filename
+
+
Note:
Replace in the doc the tags by their values.
    +
  • MY_* table parameter
  • ART_VEN* table quant_sold for invoice
  • CUST_* table quant_sold and fiche for invoice
  • e_* for the invoice in the $_POST
+
+ +

+Definition at line 125 of file class_document.php. +

+References $h, echo_debug(), exit, Replace(), and value. +

+Referenced by Generate().

+

+ + + + +
+ + + + + + + + + +
Document::Replace p_tag  ) 
+
+ + + + + +
+   + + +

+replace the TAG by the real value, this value can be into the database or in $_POST The possible tags are

    +
  • [CUST_NAME] customer's name
  • [CUST_ADDR_1] customer's address line 1
  • [CUST_CP] customer's ZIP code
  • [CUST_CO] customer's country
  • [CUST_VAT] customer's VAT
  • [MARCH_NEXT] end this item and increment the counter $i
  • [VEN_ART_NAME]
  • [VEN_ART_PRICE]
  • [VEN_ART_QUANT]
  • [VEN_ART_TVA_CODE]
  • [VEN_ART_TVA_AMOUNT]
  • [VEN_ART_STOCK_CODE]
  • [VEN_HTVA]
  • [VEN_TVAC]
  • [VEN_TVA]
  • [TOTAL_VEN_HTVA]
  • [DATE]
  • [NUMBER_ID]
  • [MY_NAME]
  • [MY_CP]
  • [MY_COMMUNE]
  • [MY_TVA]
  • [MY_STREET]
  • [MY_NUMBER]
+ +

+

Parameters:
+ + +
TAG 
+
+
Returns:
String which must replace the tag
+
Todo:
verify that price and quant are numeric
+
Todo:
carefull round problem ?
+
Todo:
verify that price and quant are numeric
+
Todo:
carefull round problem ?
+ +

+Definition at line 363 of file class_document.php. +

+References $my, $qcode, $r, $tva, break, fiche, GetTvaRate(), MY_COMMUNE, MY_CP, MY_NAME, MY_NUMBER, MY_STREET, and MY_TVA. +

+Referenced by ParseDocument().

+

+ + + + +
+ + + + + + + + + +
Document::SaveGenerated p_file  ) 
+
+ + + + + +
+   + + +

+Save the generated Document. +

+SaveGenerated

Parameters:
+ + +
$p_file is the generated file
+
+
Returns:
0 if no error otherwise 1
+ +

+Definition at line 200 of file class_document.php. +

+References $doc, $sql, Commit(), Document(), echo_debug(), ExecSql(), GetSequence(), Rollback(), and StartSql(). +

+Referenced by Generate().

+

+ + + + +
+ + + + + + + + +
Document::Upload  ) 
+
+ + + + + +
+   + + +

+Upload a file into document all the needed data are in $_FILES we don't increment the seq. +

+Upload

+

Returns:
+ +

+Definition at line 231 of file class_document.php. +

+References $old_oid, $r, $ret, $sql, Commit(), ExecSql(), name, Rollback(), and StartSql().

+


Field Documentation

+

+ + + + +
+ + + + +
Document::$ag_id
+
+ + + + + +
+   + + +

+action_gestion.ag_id (pk) +

+Definition at line 31 of file class_document.php.

+

+ + + + +
+ + + + +
Document::$d_filename
+
+ + + + + +
+   + + +

+ +

+Definition at line 33 of file class_document.php.

+

+ + + + +
+ + + + +
Document::$d_lob
+
+ + + + + +
+   + + +

+the oid of the lob +

+Definition at line 34 of file class_document.php.

+

+ + + + +
+ + + + +
Document::$d_mimetype
+
+ + + + + +
+   + + +

+ +

+Definition at line 32 of file class_document.php.

+

+ + + + +
+ + + + +
Document::$d_number
+
+ + + + + +
+   + + +

+seq of action +

+Definition at line 35 of file class_document.php.

+

+ + + + +
+ + + + +
Document::$db
+
+ + + + + +
+   + + +

+Database connexion var $d_id; /*! +

+Definition at line 29 of file class_document.php.

+

+ + + + +
+ + + + +
Document::$md_id
+
+ + + + + +
+   + + +

+document's template +

+Definition at line 36 of file class_document.php.

+


The documentation for this class was generated from the following file: +
Generated on Fri Jun 23 00:12:48 2006 for phpcompta by  + +doxygen 1.4.4
+ + diff --git a/doc/developper/html/classDocument__modele.html b/doc/developper/html/classDocument__modele.html index 084b004cf..9479f05ee 100644 --- a/doc/developper/html/classDocument__modele.html +++ b/doc/developper/html/classDocument__modele.html @@ -467,7 +467,7 @@ Definition at line class_document_modele.php -
Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:48 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/classDocument__type.html b/doc/developper/html/classDocument__type.html new file mode 100644 index 000000000..a576f7b4b --- /dev/null +++ b/doc/developper/html/classDocument__type.html @@ -0,0 +1,100 @@ + + +phpcompta: Document_type Class Reference + + + + +

Document_type Class Reference

+ + + + + + + + +

Public Member Functions

 document_type ($p_cn)
 constructor
 get ()
 Get all the data for this dt_id.
+

Detailed Description

+ +

+ +

+Definition at line 29 of file class_document_type.php.


Member Function Documentation

+

+ + + + +
+ + + + + + + + + +
Document_type::document_type p_cn  ) 
+
+ + + + + +
+   + + +

+constructor +

+document_type

Parameters:
+ + +
$p_cn database connx
+
+ +

+Definition at line 35 of file class_document_type.php.

+

+ + + + +
+ + + + + + + + +
Document_type::get  ) 
+
+ + + + + +
+   + + +

+Get all the data for this dt_id. +

+ +

+Definition at line 43 of file class_document_type.php. +

+References $r, $sql, and ExecSql().

+


The documentation for this class was generated from the following file: +
Generated on Fri Jun 23 00:12:48 2006 for phpcompta by  + +doxygen 1.4.4
+ + diff --git a/doc/developper/html/classInvoice.html b/doc/developper/html/classInvoice.html index ff6fb6601..03c8c45f9 100644 --- a/doc/developper/html/classInvoice.html +++ b/doc/developper/html/classInvoice.html @@ -340,7 +340,7 @@ Definition at line 3
The documentation for this class was generated from the following file:
-
Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:49 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/classOwn.html b/doc/developper/html/classOwn.html index 2b77fe4d3..42fb8483e 100644 --- a/doc/developper/html/classOwn.html +++ b/doc/developper/html/classOwn.html @@ -162,7 +162,7 @@ Definition at line 29
The documentation for this class was generated from the following file:
  • /home/dany/developpement/phpcompta-dev/phpcompta/include/class_own.php
-
Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:49 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/class_8ezpdf_8php-source.html b/doc/developper/html/class_8ezpdf_8php-source.html index 85aca9d85..67f0cbeb8 100644 --- a/doc/developper/html/class_8ezpdf_8php-source.html +++ b/doc/developper/html/class_8ezpdf_8php-source.html @@ -1562,7 +1562,7 @@ 01553 01554 } 01555 ?> -
Generated on Thu Jun 22 23:54:03 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/class_8ezpdf_8php.html b/doc/developper/html/class_8ezpdf_8php.html index 583ae9df4..160842aac 100644 --- a/doc/developper/html/class_8ezpdf_8php.html +++ b/doc/developper/html/class_8ezpdf_8php.html @@ -15,7 +15,7 @@ class  Cezpdf -
Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/class_8pdf_8php-source.html b/doc/developper/html/class_8pdf_8php-source.html index fce95fc54..10287017c 100644 --- a/doc/developper/html/class_8pdf_8php-source.html +++ b/doc/developper/html/class_8pdf_8php-source.html @@ -2597,7 +2597,7 @@ 03073 } // end of class 03074 03075 ?> -
Generated on Thu Jun 22 23:54:03 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/class_8pdf_8php.html b/doc/developper/html/class_8pdf_8php.html index 3a563b8a4..8c87b727d 100644 --- a/doc/developper/html/class_8pdf_8php.html +++ b/doc/developper/html/class_8pdf_8php.html @@ -18,7 +18,7 @@ class  Cpdf -
Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/class__action_8php-source.html b/doc/developper/html/class__action_8php-source.html new file mode 100644 index 000000000..de3a15120 --- /dev/null +++ b/doc/developper/html/class__action_8php-source.html @@ -0,0 +1,335 @@ + + +phpcompta: /home/dany/developpement/phpcompta-dev/phpcompta/include/class_action.php Source File + + + + + +

class_action.php

Go to the documentation of this file.
00001 <?
+00002 /*
+00003  *   This file is part of PhpCompta.
+00004  *
+00005  *   PhpCompta is free software; you can redistribute it and/or modify
+00006  *   it under the terms of the GNU General Public License as published by
+00007  *   the Free Software Foundation; either version 2 of the License, or
+00008  *   (at your option) any later version.
+00009  *
+00010  *   PhpCompta is distributed in the hope that it will be useful,
+00011  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
+00012  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+00013  *   GNU General Public License for more details.
+00014  *
+00015  *   You should have received a copy of the GNU General Public License
+00016  *   along with PhpCompta; if not, write to the Free Software
+00017  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+00018 */
+00019 /* $Revision$ */
+00020 // Copyright Author Dany De Bontridder ddebontridder@yahoo.f
+00021 
+00022 require_once("class_fiche.php");
+00023 require_once("class_document.php");
+00024 require_once("class_document_type.php");
+00025 require_once("user_common.php");
+00047 class action 
+00048 {
+00060   var $db;
+00061   var $ag_desc;
+00062   var $ag_date;
+00063   var $d_lob;
+00064   var $dt_id;
+00065   var $d_state;
+00066   var $d_number;
+00067   var $d_filename;
+00068   var $d_mimetype;
+00069   var $ag_title;
+00070   var $f_id;
+00075   function action ($p_cn)
+00076     {
+00077       $this->db=$p_cn;
+00078       $this->f_id=0;
+00079     }
+00085   function Display() 
+00086     {
+00087       $r="";
+00088       // Compute the widget
+00089       // Date 
+00090       $date=new widget("text");
+00091       $date->readonly=true;
+00092       $date->name="ag_date";
+00093       $date->value=$this->ag_date;
+00094       // Doc Type
+00095       $doc_type=new widget("hidden");
+00096       $doc_type->name="dt_id";
+00097       $doc_type->value=$this->dt_id;
+00098       $a=ExecSql($this->db,"select dt_value from document_type where dt_id=".$this->dt_id);
+00099       $v=pg_fetch_array($a,0);
+00100       $str_type=$v[0];
+00101 
+00102       // state
+00103       // Retrieve the value
+00104       $a=ExecSql($this->db,"select s_value from document_state where s_id=".$this->d_state);
+00105       $v=pg_fetch_array($a,0);
+00106       $str_state=$v[0];
+00107       $state=new widget("hidden");
+00108       $state->name="d_state";
+00109       $state->value=$this->d_state;
+00110       // title
+00111       $title=new widget("text");
+00112       $title->readonly=true;
+00113       $title->name="ag_title";
+00114       $title->value=FormatString($this->ag_title);
+00115 
+00116       // Description
+00117       $desc=new widget('textarea');
+00118       $desc->name="ag_desc";
+00119       $desc->readonly=" disabled ";
+00120       $desc->value=$this->ag_desc;
+00121       // Propose to generate a document
+00122       $gen=new widget ("checkbox");
+00123       $gen->name="p_gen";
+00124       $doc_gen=new widget("select");
+00125       $doc_gen->name="gen_doc";
+00126       $doc_gen->value=make_array($this->db,
+00127                                  "select md_id,md_name from document_modele where md_type=".$this->dt_id);
+00128       // f_id
+00129       $tiers=new fiche($this->db);
+00130       $tiers->GetByQCode($this->qcode);
+00131       // Preparing the return string
+00132 
+00133       $r.="<p>Date : ".$date->IOValue()."</p>";
+00134       $r.="<p>Etat $str_state".$state->IOValue()."</p>";
+00135       $r.="<p>Type du document $str_type".$doc_type->IOValue()."</p>";
+00136       $r.="<p> Tiers : ".$this->qcode." ".$tiers->strAttribut(1).'</p>';
+00137       $r.="<p> Titre : ".$title->IOValue();
+00138       $r.="<p>Description :".urldecode($desc->IOValue())."</p>";
+00139       return $r;
+00140  
+00141     }
+00142 
+00151   function Confirm()
+00152     {
+00153       if ( isDate($this->ag_date) == NULL )
+00154         {
+00155           // if the date is invalid, default date is today
+00156           $this->ag_date=date("d.m.Y");
+00157         }
+00158       // Compute the widget
+00159       // Date 
+00160       $date=new widget("text");
+00161       $date->readonly=true;
+00162       $date->name="ag_date";
+00163       $date->value=$this->ag_date;
+00164       // Doc Type
+00165       $doc_type=new widget("hidden");
+00166       $doc_type->name="dt_id";
+00167       $doc_type->value=$this->dt_id;
+00168       $a=ExecSql($this->db,"select dt_value from document_type where dt_id=".$this->dt_id);
+00169       $v=pg_fetch_array($a,0);
+00170       $str_type=$v[0];
+00171       if ( isset ($_REQUEST['url'])) 
+00172         {
+00173           $retour=sprintf('<A HREF="%s"><input type="button" value="Retour"></A>',urldecode($_REQUEST['url']));
+00174           $h_url=sprintf('<input type="hidden" name="url" value="%s">',urldecode($_REQUEST['url']));
+00175         }
+00176       else 
+00177         { 
+00178           $retour="";
+00179           $h_url="";
+00180         }
+00181 
+00182       // state
+00183       // Retrieve the value
+00184       $a=ExecSql($this->db,"select s_value from document_state where s_id=".$this->d_state);
+00185       $v=pg_fetch_array($a,0);
+00186       $str_state=$v[0];
+00187       $state=new widget("hidden");
+00188       $state->name="d_state";
+00189       $state->value=$this->d_state;
+00190       // title
+00191       $title=new widget("text");
+00192       $title->readonly=true;
+00193       $title->name="ag_title";
+00194       $title->value=FormatString($this->ag_title);
+00195 
+00196       // Description
+00197       $desc=new widget('textarea');
+00198       $desc->name="ag_desc";
+00199       $desc->readonly=" disabled ";
+00200       $desc->value=$this->ag_desc;
+00201       // Propose to generate a document
+00202       $gen=new widget ("checkbox");
+00203       $gen->name="p_gen";
+00204       $doc_gen=new widget("select");
+00205       $doc_gen->name="gen_doc";
+00206       $doc_gen->value=make_array($this->db,
+00207                                  "select md_id,md_name from document_modele where md_type=".$this->dt_id);
+00208       // f_id
+00209       $tiers=new fiche($this->db);
+00210       $tiers->GetByQCode($this->qcode);
+00211       // Preparing the return string
+00212       $r=$retour."<form method=\"post\">";
+00213       $r.="<p>Date : ".$date->IOValue()."</p>";
+00214       $r.="<p>Etat $str_state".$state->IOValue()."</p>";
+00215       $r.="<p>Type du document $str_type".$doc_type->IOValue()."</p>";
+00216       $r.="<p> Tiers : ".$this->qcode." ".$tiers->strAttribut(1).'</p>';
+00217       $r.="<p> Titre : ".$title->IOValue();
+00218       $r.="<p>Description :".$desc->IOValue()."</p>";
+00219       // if no document exist for this type then do not display the question
+00220       if ( sizeof($doc_gen->value) != 0) 
+00221         $r.="<p> G&eacute;n&eacute;rer un document ".$gen->IOValue()." ".$doc_gen->IOValue()."</p>";
+00222 
+00223       // Add the hidden tag
+00224       $r.='<input type="hidden" name="sa" value="save_action_st2">';
+00225       $r.='<input type="hidden" name="p_action" value="suivi_courrier">';
+00226       $r.='<input type="hidden" name="tiers" value="'.$this->qcode.'">';
+00227       if ( $tiers->strAttribut(1) != "- ERROR -")
+00228         $r.=$desc->Submit("Save","Sauve");
+00229       $r.=$desc->Submit("corr","Corrige");
+00230 
+00231       $r.=$h_url."</form>";
+00232       return $r;
+00233     }
+00241   function SaveStage2() 
+00242     {
+00243       // Get The sequence id, 
+00244       $seq_name="seq_doc_type_".$this->dt_id;
+00245       $str_file="";
+00246       $add_file='';
+00247       // f_id
+00248       $tiers=new fiche($this->db);
+00249       $tiers->GetByQCode($this->qcode);
+00250       if ( trim($this->ag_title) == "") {
+00251         $doc_mod=new document_type($this->db);
+00252         $doc_mod->dt_id=$this->dt_id;
+00253         $doc_mod->get();
+00254         $this->ag_title=$doc_mod->dt_value;
+00255       }
+00256       echo_debug('class_action',__LINE__," tiers->id  ".$tiers->id);
+00257       $sql=sprintf("insert into action_gestion(ag_type,ag_title,f_id,ag_comment) values ('%s','%s',%d,'%s')",              $this->dt_id,
+00258                    FormatString($this->ag_title),
+00259                    $tiers->id,
+00260                    FormatString(urlencode($this->ag_desc)));
+00261       ExecSql($this->db,$sql);
+00262       $this->ag_id=GetSequence($this->db,'action_gestion_ag_id_seq');
+00263 
+00264       // the lob filename and the mimetype needed if we want to generate a doc.
+00265       if ( $this->gen == 'on' ) 
+00266         {
+00267           $doc=new Document($this->db);
+00268           $doc->f_id=$tiers->id;
+00269           $doc->md_id=$this->md_id;
+00270           $doc->ag_id=$this->ag_id;
+00271           $str_file=$doc->Generate();
+00272         }
+00273 
+00274       $r=$this->Display();
+00275       $r.="<hr>";
+00276       $r.='<form enctype="multipart/form-data" method="post">';
+00277       // Add the hidden tag
+00278       $r.='<input type="hidden" name="sa" value="save_action_st3">';
+00279       $r.='<input type="hidden" name="p_action" value="suivi_courrier">';
+00280       $r.='<input type="hidden" name="ag_id" value="'.$this->ag_id.'">';
+00281 
+00282       // Value for the generated document
+00283       if ( $this->gen == 'on' ) 
+00284         {
+00285           $r.='<input type="hidden" name="d_id" value="'.$doc->d_id.'">';
+00286           $r.="Sauver le document généré :";
+00287           $r.=$str_file;
+00288           $checkbox=new widget("checkbox");
+00289           $checkbox->name="save_generate";
+00290           $r.=$checkbox->IOValue();
+00291           $r.="<hr>";
+00292         }
+00293       $upload=new widget("file");
+00294       $upload->name="file_upload";
+00295       $upload->value="";
+00296       $r.="Enregistrer le fichier ".$upload->IOValue();
+00297       $r.=$upload->Submit("save","Sauve le fichier");
+00298       $r.="</form>";
+00299       return $r;
+00300     }
+00306   function SaveStage3($d_id) 
+00307     {
+00308       // no generated doc
+00309       if ( $d_id == 0 ) return;
+00310       // if we save the generated doc
+00311       if ( isset($_POST['save_generate']))
+00312         {
+00313           return;
+00314         }
+00315 
+00316       // Upload a new document
+00317       $doc=new Document($this->db);
+00318       $doc->d_id=$d_id;
+00319       $doc->Upload($this->ag_id);
+00320     }
+00329   function myList($p_filter="",$p_search="")
+00330     {
+00331       $sql="
+00332    select ag_id,to_char(ag_timestamp,'DD-MM-YYYY HH:MI') as my_date,f_id,ag_title,d_id,md_type,dt_value 
+00333    from action_gestion 
+00334       left outer join document using (ag_id)
+00335       left outer join document_modele on (ag_type=md_type) 
+00336       join document_type on (ag_type=dt_id)
+00337    where dt_id in ($p_filter) $p_search";
+00338       $max_line=CountSql($this->db,$sql);
+00339       $step=$_SESSION['g_pagesize'];
+00340       $page=(isset($_GET['offset']))?$_GET['page']:1;
+00341       $offset=(isset($_GET['offset']))?$_GET['offset']:0;
+00342       $limit=" LIMIT $step OFFSET $offset ";  
+00343       $bar=jrn_navigation_bar($offset,$max_line,$step,$page);
+00344 
+00345       $Res=ExecSql($this->db,$sql.$limit);
+00346       $a_row=pg_fetch_all($Res);
+00347       $r='<div class="u_redcontent">';
+00348       $r.=$bar;
+00349       $r.="<table>";
+00350       $r.="<tr>";
+00351       $r.="<th>Date</th>";
+00352       $r.="<th>Société</th>";
+00353       $r.="<th>Titre</th>";
+00354       $r.="<th>type</th>";
+00355       $r.="<th>Document</th>";
+00356       $r.="</tr>";
+00357 
+00358       // if there are no records return a message
+00359       if ( sizeof ($a_row) == 0 or $a_row == false ) 
+00360         {
+00361           $r='<div class="u_redcontent">';
+00362           $r.='<hr>Aucun enregistrement trouvé';
+00363           $r.="</div>";
+00364           return $r;
+00365 
+00366         }
+00367       foreach ($a_row as $row )
+00368         {
+00369           $r.="<tr>";
+00370           $r.="<td>".$row['my_date']."</td>";
+00371           $f=new fiche($this->db);
+00372           $f->id=$row['f_id'];
+00373           $r.="<td>".$f->getName()."</td>";
+00374           $r.="<td>".$row['ag_title']."</td>";
+00375           $r.="<td>".$row['dt_value']."</td>";
+00376 
+00377           $doc=new Document($this->db,$row['d_id']);
+00378           $r.="<td>".$doc->a_ref()."</td>";
+00379           $r.="</tr>";
+00380 
+00381         }
+00382       $r.="</table>";
+00383       $r.=$bar;
+00384       $r.="</div>";
+00385       return $r;
+00386     }
+00387 
+00388 
+00389 
+00390 }
+

Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  + +doxygen 1.4.4
+ + diff --git a/doc/developper/html/class__action_8php.html b/doc/developper/html/class__action_8php.html new file mode 100644 index 000000000..c3b8bfb9e --- /dev/null +++ b/doc/developper/html/class__action_8php.html @@ -0,0 +1,36 @@ + + +phpcompta: /home/dany/developpement/phpcompta-dev/phpcompta/include/class_action.php File Reference + + + + + +

class_action.php File Reference

class_action for manipulating actions action can be :
    +
  • an invoice
  • a meeting
  • an order
  • a letter
+More... +

+ +

+Go to the source code of this file. + + + + + +

Data Structures

class  action
 class_action for manipulating actions action can be :
    +
  • an invoice
  • a meeting
  • an order
  • a letter
+ More...
+


Detailed Description

+class_action for manipulating actions action can be :
    +
  • an invoice
  • a meeting
  • an order
  • a letter
+ +

+The table document_type are the possible actions +

+Definition in file class_action.php.


Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  + +doxygen 1.4.4
+ + diff --git a/doc/developper/html/class__attribut_8php-source.html b/doc/developper/html/class__attribut_8php-source.html index 09eebe60d..20391000b 100644 --- a/doc/developper/html/class__attribut_8php-source.html +++ b/doc/developper/html/class__attribut_8php-source.html @@ -52,7 +52,7 @@ 00060 00061 return $p_attribut; 00062 } -
Generated on Thu Jun 22 23:54:03 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/class__attribut_8php.html b/doc/developper/html/class__attribut_8php.html index 5b5801136..c6ef204e8 100644 --- a/doc/developper/html/class__attribut_8php.html +++ b/doc/developper/html/class__attribut_8php.html @@ -70,7 +70,7 @@ References $i, and fiche::getAttribut(). -
Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/class__balance_8php-source.html b/doc/developper/html/class__balance_8php-source.html index 557896ed5..352f07e2d 100644 --- a/doc/developper/html/class__balance_8php-source.html +++ b/doc/developper/html/class__balance_8php-source.html @@ -100,7 +100,7 @@ 00112 00113 } 00114 } -
Generated on Thu Jun 22 23:54:03 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/class__balance_8php.html b/doc/developper/html/class__balance_8php.html index acfbf47b5..c6a94dfb8 100644 --- a/doc/developper/html/class__balance_8php.html +++ b/doc/developper/html/class__balance_8php.html @@ -23,7 +23,7 @@ Class for manipulating data to print the balance of account.

-Definition in file class_balance.php.


Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +Definition in file class_balance.php.
Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/class__contact_8php-source.html b/doc/developper/html/class__contact_8php-source.html new file mode 100644 index 000000000..09f9f95fc --- /dev/null +++ b/doc/developper/html/class__contact_8php-source.html @@ -0,0 +1,126 @@ + + +phpcompta: /home/dany/developpement/phpcompta-dev/phpcompta/include/class_contact.php Source File + + + + + +

class_contact.php

Go to the documentation of this file.
00001 <?
+00002 /*
+00003  *   This file is part of PhpCompta.
+00004  *
+00005  *   PhpCompta is free software; you can redistribute it and/or modify
+00006  *   it under the terms of the GNU General Public License as published by
+00007  *   the Free Software Foundation; either version 2 of the License, or
+00008  *   (at your option) any later version.
+00009  *
+00010  *   PhpCompta is distributed in the hope that it will be useful,
+00011  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
+00012  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+00013  *   GNU General Public License for more details.
+00014  *
+00015  *   You should have received a copy of the GNU General Public License
+00016  *   along with PhpCompta; if not, write to the Free Software
+00017  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+00018 */
+00019 /* $Revision$ */
+00020 // Copyright Author Dany De Bontridder ddebontridder@yahoo.fr
+00022 require_once("class_fiche.php");
+00023 require_once("constant.php");
+00024 require_once("user_common.php");
+00032 class contact extends fiche
+00033 {
+00034   var $company; 
+00036   function contact($p_cn,$p_id=0)
+00037     {
+00038       $this->fiche_def_ref=FICHE_TYPE_CONTACT;
+00039       fiche::fiche($p_cn,$p_id) ;
+00040       $this->company="";
+00041     }
+00050   function Summary($p_search) 
+00051     {
+00052       $p_search=FormatString($p_search);
+00053       $extra_sql="";
+00054       if ( $this->company != "") 
+00055         {
+00056           $extra_sql="and f_id in (select f_id from jnt_fic_att_value join 
+00057 attr_value using (jft_id) where av_text='".$this->company."' and ad_id=".ATTR_DEF_COMPANY.") ";
+00058         }
+00059       $url=urlencode($_SERVER['REQUEST_URI']);
+00060       $script=$_SERVER['SCRIPT_NAME'];
+00061       // Creation of the nav bar
+00062       // Get the max numberRow
+00063       $all_contact=$this->CountByDef($this->fiche_def_ref,$p_search,$extra_sql); 
+00064       // Get offset and page variable
+00065       $offset=( isset ($_REQUEST['offset'] )) ?$_REQUEST['offset']:0;
+00066       $page=(isset($_REQUEST['page']))?$_REQUEST['page']:1;
+00067       $bar=jrn_navigation_bar($offset,$all_contact,$_SESSION['g_pagesize'],$page);
+00068       // set a filter ?
+00069       $search="";
+00070       if ( trim($p_search) != "" )
+00071         {
+00072           $search=" and f_id in
+00073 (select f_id from jnt_fic_att_value 
+00074                   join fiche using (f_id) 
+00075                   join attr_value using (jft_id)
+00076                 where
+00077                 ad_id=1 and av_text ~* '$p_search') ";
+00078         }
+00079       // Get The result Array
+00080       $step_contact=$this->GetAll($offset,$search.$extra_sql);
+00081       if ( $all_contact == 0 ) return "";
+00082       $r=$bar;
+00083       $r.='<table>
+00084 <TR style="background-color:lightgrey;">
+00085 <th>Nom</th>
+00086 <th>Téléphone</th>
+00087 <th>email</th>
+00088 <th>Fax</th>
+00089 <th>Société</th>
+00090 </TR>';
+00091       $base=$_SERVER['SCRIPT_NAME'];
+00092       // Compute the url
+00093       $url="";
+00094       $and="?";
+00095       $get=$_GET;
+00096       if ( isset ($get) ) {
+00097         foreach ($get as $name=>$value ) {
+00098           // we clean the parameter offset, step, page and size
+00099           if (  ! in_array($name,array('f_id','detail'))) {
+00100             $url.=$and.$name."=".$value;
+00101             $and="&";
+00102           }// if
+00103         }//foreach
+00104       }// if
+00105 
+00106       if ( sizeof ($step_contact ) == 0 )
+00107         return $r;
+00108       foreach ($step_contact as $contact ) {
+00109         $l_company=new fiche($this->cn);
+00110         $l_company->GetByQCode($contact->strAttribut(ATTR_DEF_COMPANY),false);
+00111         $l_company_name=$l_company->strAttribut(ATTR_DEF_NAME);
+00112         if ( $l_company_name == '- ERROR -' ) $l_company_name="";
+00113         $r.="<TR>";
+00114         $r.='<TD><A HREF="'.$url."&sa=detail&f_id=".$contact->id."\">".$contact->strAttribut(ATTR_DEF_NAME)."</A></TD>";
+00115         $r.="<TD>".$contact->strAttribut(ATTR_DEF_TEL)."</TD>";
+00116         $r.="<TD>".$contact->strAttribut(ATTR_DEF_EMAIL)."</TD>".
+00117             "<TD> ".$contact->strAttribut(ATTR_DEF_FAX)."</TD>".
+00118             "<TD> ".$l_company_name.
+00119           "</TD>";
+00120 
+00121         $r.="</TR>";
+00122 
+00123       }
+00124       $r.="</TABLE>";
+00125       $r.=$bar;
+00126       return $r;
+00127     }
+00128 
+00129 }
+

Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  + +doxygen 1.4.4
+ + diff --git a/doc/developper/html/class__contact_8php.html b/doc/developper/html/class__contact_8php.html new file mode 100644 index 000000000..2fb1769ea --- /dev/null +++ b/doc/developper/html/class__contact_8php.html @@ -0,0 +1,30 @@ + + +phpcompta: /home/dany/developpement/phpcompta-dev/phpcompta/include/class_contact.php File Reference + + + + + +

class_contact.php File Reference

class for the contact, contact are derived from ficheContact are a card which are own by a another card (customer, supplier...) More... +

+ +

+Go to the source code of this file. + + + + + +

Data Structures

class  contact
 Class contact (customer, supplier...). More...
+


Detailed Description

+class for the contact, contact are derived from ficheContact are a card which are own by a another card (customer, supplier...) +

+ +

+Definition in file class_contact.php.


Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  + +doxygen 1.4.4
+ + diff --git a/doc/developper/html/class__customer_8php-source.html b/doc/developper/html/class__customer_8php-source.html index 191f7aa81..ea716cefb 100644 --- a/doc/developper/html/class__customer_8php-source.html +++ b/doc/developper/html/class__customer_8php-source.html @@ -242,7 +242,7 @@ 00268 } 00269 00270 ?> -
Generated on Thu Jun 22 23:54:03 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/class__customer_8php.html b/doc/developper/html/class__customer_8php.html index 296414476..386826ea9 100644 --- a/doc/developper/html/class__customer_8php.html +++ b/doc/developper/html/class__customer_8php.html @@ -23,7 +23,7 @@ Derived from class fiche Customer ar

-Definition in file class_customer.php.


Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +Definition in file class_customer.php.
Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/class__document_8php-source.html b/doc/developper/html/class__document_8php-source.html new file mode 100644 index 000000000..d22e4a3f2 --- /dev/null +++ b/doc/developper/html/class__document_8php-source.html @@ -0,0 +1,512 @@ + + +phpcompta: /home/dany/developpement/phpcompta-dev/phpcompta/include/class_document.php Source File + + + + + +

class_document.php

Go to the documentation of this file.
00001 <?
+00002 /*
+00003  *   This file is part of PhpCompta.
+00004  *
+00005  *   PhpCompta is free software; you can redistribute it and/or modify
+00006  *   it under the terms of the GNU General Public License as published by
+00007  *   the Free Software Foundation; either version 2 of the License, or
+00008  *   (at your option) any later version.
+00009  *
+00010  *   PhpCompta is distributed in the hope that it will be useful,
+00011  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
+00012  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+00013  *   GNU General Public License for more details.
+00014  *
+00015  *   You should have received a copy of the GNU General Public License
+00016  *   along with PhpCompta; if not, write to the Free Software
+00017  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+00018 */
+00019 /* $Revision$ */
+00020 // Copyright Author Dany De Bontridder ddebontridder@yahoo.fr
+00021 require_once('class_own.php');
+00027 class Document 
+00028 {
+00029   var $db;          
+00031   var $ag_id;       
+00032   var $d_mimetype;  
+00033   var $d_filename;  
+00034   var $d_lob;       
+00035   var $d_number;    
+00036   var $md_id;       
+00037   /* Constructor
+00038    * \param $p_cn Database connection
+00039    */
+00040   function Document($p_cn,$p_d_id=0)
+00041     {
+00042       $this->db=$p_cn;
+00043       $this->d_id=$p_d_id;
+00044     } 
+00055   function Generate() 
+00056     {
+00057       // create a temp directory in /tmp to unpack file and to parse it
+00058       $dirname=tempnam('/tmp','doc_');
+00059       echo $dirname;
+00060       unlink($dirname);
+00061       mkdir ($dirname);
+00062       echo_debug('class_action',__LINE__,"Dirname is $dirname");
+00063       // Retrieve the lob and save it into $dirname
+00064       StartSql($this->db);
+00065       $dm_info="select md_lob,md_filename,md_mimetype 
+00066                    from document_modele where md_id=".$this->md_id;
+00067       $Res=ExecSql($this->db,$dm_info);
+00068 
+00069       $row=pg_fetch_array($Res,0);
+00070       $this->d_lob=$row['md_lob'];
+00071       $this->d_filename=$row['md_filename'];
+00072       $this->d_mimetype=$row['md_mimetype'];
+00073 
+00074       echo_debug('class_document',__LINE__,"OID is ".$row['md_lob']);
+00076       chdir($dirname);
+00077       $filename=$row['md_filename'];
+00078       pg_lo_export($this->db,$row['md_lob'],$filename);
+00079 
+00080       // if the doc is a OOo, we need to unzip it first
+00081       // and the name of the file to change is always content.xml
+00082       if ( substr($row['md_mimetype'],'vnd.oasis') != 0 )
+00083         {
+00084           system("unzip ".$filename);
+00085           // Remove the file we do  not need anymore
+00086           unlink($filename);
+00087           $file_to_parse="content.xml";
+00088         }
+00089       else 
+00090         $file_to_parse=$filename;
+00091       // affect a number
+00092       $this->d_number=NextSequence($this->db,"seq_doc_type_".$this->md_id);
+00093 
+00094 
+00095       // parse the document - return the doc number ?
+00096       $this->ParseDocument($dirname,$file_to_parse);
+00097 
+00098       Commit($this->db);
+00099       // if the doc is a OOo, we need to re-zip it 
+00100       if ( substr($row['md_mimetype'],'vnd.oasis') != 0 )
+00101         {
+00102           system ("zip -r ".$filename." *");
+00103           $file_to_parse=$filename;
+00104         }
+00105       // Create a directory 
+00106       mkdir ($_SERVER['DOCUMENT_ROOT'].$dirname);
+00107 
+00108       // we need to rename the new generated file
+00109       rename($dirname."/".$file_to_parse,$_SERVER['DOCUMENT_ROOT'].$dirname.'/'.$file_to_parse);
+00110       $ret=sprintf('<A HREF="%s">Document généré</A>',
+00111                    $dirname.'/'.$file_to_parse);
+00112       $this->SaveGenerated($_SERVER['DOCUMENT_ROOT'].$dirname."/".$file_to_parse);
+00113       return $ret;
+00114     }
+00115     
+00125   function ParseDocument($p_dir,$p_file)
+00126     {
+00127 
+00128       
+00129       
+00136       // open the document
+00137       $infile_name=$p_dir."/".$p_file;
+00138       echo_debug("class_document.php",__LINE__,"Open the document $p_dir/$p_file");
+00139       $h=fopen($infile_name,"r");
+00140       $output_name=tempnam($_SERVER["DOCUMENT_ROOT"]."/tmp","gen_doc_");
+00141       $output_file=fopen($output_name,"w+");
+00142       // check if the opening is sucessfull
+00143       if (  $h == false ) 
+00144         {
+00145           echo "cannot open $p_dir $p_file ";
+00146           exit();
+00147         }
+00148       if ( $output_file == false) 
+00149         {
+00150           echo "ne peut pas ouvrir le fichier de sortie";
+00151           exit();
+00152         }
+00153       //read the file
+00154       while(! feof($h)) 
+00155         {
+00156           // replace the tag
+00157           $buffer=fgets($h);
+00158           // search in the buffer the magic << and >>
+00159           // while ereg finds something to replace
+00160           while ( ereg ("<<[A-Z]+_*[A-Z]*_*[A-Z]*_*[0-9]*>>",$buffer,$f) )
+00161             {
+00162 
+00163             echo_debug('class_document',__LINE__,var_export( $f,true));
+00164             foreach ( $f as $pattern )
+00165               {
+00166                 echo_debug('class_document',__LINE__, "pattern");
+00167                 echo_debug('class_document',__LINE__, var_export($pattern,true));
+00168                 $to_remove=$pattern;
+00169                 // we remove the < and > from the pattern
+00170                 $pattern=str_replace('<','',$pattern);
+00171                 $pattern=str_replace('>','',$pattern);
+00172 
+00173 
+00174                 // if the pattern if found we replace it
+00175                 $value=$this->Replace($pattern);
+00176                 // replace into the $buffer
+00177                 $buffer=str_replace($to_remove,$value,$buffer);
+00178                 echo_debug('class_document',__LINE__, $buffer);
+00179                 // if the pattern if found we replace it
+00180                 echo_debug('class_document',__LINE__,"Transform $pattern by $value");
+00181               }
+00182           }
+00183           // write into the output_file
+00184           fwrite($output_file,$buffer);
+00185 
+00186         }
+00187       fclose($h);
+00188       fclose($output_file);
+00189       rename ($output_name,$infile_name);
+00190       // Save the document into the database
+00191 
+00192     }
+00200   function SaveGenerated($p_file) 
+00201     {
+00202       // We save the generated file
+00203       $doc=new Document($this->db);
+00204       StartSql($this->db);
+00205       $this->d_lob=pg_lo_import($this->db,$p_file);
+00206       if ( $this->d_lob == false ) { 
+00207         Rollback($this->db); echo_debug('class_document',__LINE__,"can't save file $p_file");
+00208         return 1; }
+00209     
+00210       $sql=sprintf("insert into document(ag_id,d_lob,d_number,d_filename,d_mimetype) 
+00211                         values (%d,%s,%d,'%s','%s')",
+00212                    $this->ag_id,
+00213                    $this->d_lob,
+00214                    $this->d_number,
+00215                    $this->d_filename,
+00216                    $this->d_mimetype
+00217                    );
+00218       ExecSql($this->db,$sql);
+00219       $this->d_id=GetSequence($this->db,"document_d_id_seq");
+00220 
+00221       Commit($this->db);
+00222       return 0;
+00223     }
+00231   function Upload() 
+00232     {
+00233 
+00234       // Start Transaction
+00235       StartSql($this->db);
+00236       $new_name=tempnam('/tmp','doc_');
+00237       var_dump($_FILES);
+00238       // nothing to save
+00239       if ( sizeof($_FILES) == 0 ) return;
+00240       // check if a file is submitted
+00241       if ( strlen($_FILES['file_upload']['tmp_name']) != 0 )
+00242         {
+00243           // upload the file and move it to temp directory
+00244           if ( move_uploaded_file($_FILES['file_upload']['tmp_name'],$new_name))
+00245           {
+00246             $oid=pg_lo_import($this->db,$new_name);
+00247             // check if the lob is in the database
+00248             if ( $oid == false ) 
+00249               {
+00250                 Rollback($this->db);
+00251                 return 1;
+00252               }
+00253           }
+00254           // the upload in the database is successfull
+00255           $this->d_lob=$oid;
+00256           $this->d_filename=$_FILES['file_upload']['name'];
+00257           $this->d_mimetype=$_FILES['file_upload']['type'];
+00258           // now we have to update the col.
+00259           // We retrieve the row to remove a possible existing lob (replace)
+00260           $sql="select d_lob from document where d_id=".$this->d_id;
+00261           $ret=ExecSql($this->db,$sql);
+00262 
+00263           if (pg_num_rows($ret) != 0)  
+00264             {
+00265               // a result is found, the old oid is keept in order to
+00266               // remove it later
+00267               $r=pg_fetch_array($ret,0) ;
+00268               $old_oid=$r['d_lob'] ;
+00269               if (strlen($old_oid) != 0) { pg_lo_unlink ($this->db,$old_oid);}
+00270             }
+00271           // Update the table
+00272           $sql=sprintf("update document set d_lob=%s,d_filename='%s',d_mimetype='%s' where d_id=%d",
+00273                        $this->d_lob,$this->d_filename,$this->d_mimetype,$this->d_id);
+00274           ExecSql($this->db,$sql);
+00275           Commit($this->db);
+00276         }
+00277 
+00278     }
+00284   function a_ref() 
+00285     {
+00286       if ( $this->d_id == 0 )
+00287         return '';
+00288       $r="";
+00289       $r='<A HREF="show_document.php?d_id='.$this->d_id.'">Document</A>';
+00290       return $r;
+00291     }
+00292   /* ! Get
+00293    * \brief Retrieve the document
+00294    */
+00295   function Get() 
+00296     {
+00297       // retrieve the template and generate document
+00298       StartSql($this->db);
+00299       $ret=ExecSql($this->db,
+00300                    "select d_id,d_lob,d_filename,d_mimetype from document where d_id=".$this->d_id );
+00301       if ( pg_num_rows ($ret) == 0 )
+00302         return;
+00303       $row=pg_fetch_array($ret,0);
+00304       //the document  is saved into file $tmp
+00305       $tmp=tempnam('/tmp/','document_');
+00306       pg_lo_export($this->db,$row['d_lob'],$tmp);
+00307       $this->d_mimetype=$row['d_mimetype'];
+00308       $this->d_filename=$row['d_filename'];
+00309 
+00310       // send it to stdout
+00311       ini_set('zlib.output_compression','Off');
+00312       header("Pragma: public");
+00313       header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
+00314       header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
+00315       header("Cache-Control: must-revalidate");
+00316       header('Content-type: "'.$this->d_mimetype.'"');
+00317       header('Content-Disposition: attachment;filename="'.$this->d_filename.'"',FALSE);
+00318       header("Accept-Ranges: bytes");
+00319       $file=fopen($tmp,'r');
+00320       while ( !feof ($file) )
+00321         {
+00322           echo fread($file,8192);
+00323         }
+00324       fclose($file);
+00325       
+00326       unlink ($tmp);
+00327       
+00328       Commit($this->db);
+00329       
+00330     }
+00363   function Replace($p_tag)
+00364     {
+00365       $r="Tag inconnu";
+00366       static $counter=0;
+00367       switch ($p_tag)
+00368         {
+00369         case 'DATE':
+00370           $r=' Date inconnue ';
+00371           // Date are in $_REQUEST['ag_date'] 
+00372           // or $_POST['e_date']
+00373           if ( isset ($_REQUEST['ag_date']))
+00374             $r=$_REQUEST['ag_date'];
+00375           if ( isset ($_REQUEST['e_date']))
+00376             $r=$_REQUEST['e_date'];
+00377 
+00378           break; 
+00379           //
+00380           //  the company priv
+00381 
+00382         case 'MY_NAME':
+00383           $my=new own($this->db);
+00384           $r=$my->MY_NAME;
+00385           break;
+00386         case 'MY_CP':
+00387           $my=new own($this->db);
+00388           $r=$my->MY_CP;
+00389           break;
+00390         case 'MY_COMMUNE':
+00391           $my=new own($this->db);
+00392           $r=$my->MY_COMMUNE;
+00393           break;
+00394         case 'MY_TVA':
+00395           $my=new own($this->db);
+00396           $r=$my->MY_TVA;
+00397           break;
+00398         case 'MY_STREET':
+00399           $my=new own($this->db);
+00400           $r=$my->MY_STREET;
+00401           break;
+00402         case 'MY_NUMBER':
+00403           $my=new own($this->db);
+00404           $r=$my->MY_NUMBER;
+00405           break;
+00406           // customer 
+00407           /*\note The CUST_* are retrieved thx the $_REQUEST['tiers'] 
+00408            * which contains the quick_code
+00409            */
+00410         case 'CUST_NAME':
+00411           $tiers=new fiche($this->db);
+00412           $qcode=isset($_REQUEST['tiers'])?$_REQUEST['tiers']:$_REQUEST['e_client'];
+00413           $tiers->getByQcode($qcode,false);
+00414           $r=$tiers->strAttribut(ATTR_DEF_NAME);
+00415           break;
+00416         case 'CUST_ADDR_1':
+00417           $tiers=new fiche($this->db);
+00418           $qcode=isset($_REQUEST['tiers'])?$_REQUEST['tiers']:$_REQUEST['e_client'];
+00419           $tiers->getByQcode($qcode,false);
+00420           $r=$tiers->strAttribut(ATTR_DEF_ADRESS);
+00421           
+00422           break ;
+00423         case 'CUST_CP':
+00424           $tiers=new fiche($this->db);
+00425           $qcode=isset($_REQUEST['tiers'])?$_REQUEST['tiers']:$_REQUEST['e_client'];
+00426           $tiers->getByQcode($qcode,false);
+00427           $r=$tiers->strAttribut(ATTR_DEF_CP);
+00428 
+00429           break;
+00430         case 'CUST_CO':
+00431           $tiers=new fiche($this->db);
+00432           $qcode=isset($_REQUEST['tiers'])?$_REQUEST['tiers']:$_REQUEST['e_client'];
+00433           $tiers->getByQcode($qcode,false);
+00434           $r=$tiers->strAttribut(ATTR_DEF_PAYS);
+00435 
+00436           break; 
+00437         case 'CUST_VAT':
+00438           $tiers=new fiche($this->db);
+00439           $qcode=isset($_REQUEST['tiers'])?$_REQUEST['tiers']:$_REQUEST['e_client'];
+00440           $tiers->getByQcode($qcode,false);
+00441           $r=$tiers->strAttribut(ATTR_DEF_NUMTVA);
+00442           break; 
+00443           // Marchandise in $_POST['e_march*']
+00444           // \see user_form_achat.php or user_form_ven.php
+00445         case 'NUMBER':
+00446           $r=$this->d_number;
+00447           break;
+00448           /*
+00449            *  - [VEN_ART_NAME]
+00450            *  - [VEN_ART_PRICE]
+00451            *  - [VEN_ART_QUANT]
+00452            *  - [VEN_ART_TVA_CODE]
+00453            *  - [VEN_ART_TVA_AMOUNT]
+00454            *  - [VEN_ART_STOCK_CODE]
+00455            *  - [VEN_HTVA]
+00456            *  - [VEN_TVAC]
+00457            *  - [VEN_TVA]
+00458            *  - [TOTAL_VEN_HTVA]
+00459            */
+00460         case 'MARCH_NEXT':
+00461           $counter++;
+00462           $r='';
+00463           break;
+00464           
+00465         case 'VEN_ART_NAME':
+00466           extract ($_POST);
+00467           $id='e_march'.$counter;
+00468           // check if the march exists
+00469           if ( ! isset (${$id})) return "";
+00470           // check that something is sold
+00471           if ( ${'e_march'.$counter.'_sell'} != 0 && ${'e_quant'.$counter} != 0 )
+00472             {
+00473               $f=new fiche($this->db);
+00474               $f->GetByQCode(${$id},false);
+00475               $r=$f->strAttribut(ATTR_DEF_NAME);
+00476             } else $r = "";
+00477           break;
+00478 
+00479         case 'VEN_ART_PRICE':
+00480           extract ($_POST);
+00481           $id='e_march'.$counter.'_sell' ;
+00482           if ( !isset (${$id}) ) return "";
+00483           $r=${$id};
+00484           break;
+00485 
+00486         case 'VEN_ART_TVA_CODE':
+00487           extract ($_POST);
+00488           $id='e_march'.$counter.'_tva_id';
+00489           if ( !isset (${$id}) ) return "";
+00490           $r=${$id};
+00491           break;
+00492 
+00493         case 'VEN_ART_TVA_LABEL':
+00494           extract ($_POST);
+00495           $id='e_march'.$counter.'_tva_id';
+00496           if ( !isset (${$id}) ) return "";
+00497           $tva=GetTvaRate($this->db,${$id});
+00498           if ( $tva == null || $tva==0 ) return "";
+00499           $r=$tva['tva_label'];
+00500           break;
+00501 
+00502 
+00503         case 'VEN_ART_TVA_AMOUNT':
+00504           extract ($_POST);
+00505           $qt='e_quant'.$counter;
+00506           $price='e_march'.$counter.'_sell' ;
+00507           $tva='e_march'.$counter.'_tva_id';
+00508           if ( !isset (${'e_march'.$counter}) ) return "";
+00509           // check that something is sold
+00510           if ( ${'e_march'.$counter.'_sell'} == 0 && ${'e_quant'.$counter} == 0 )
+00511             return "";
+00512           $a_tva=GetTvaRate($this->db,${$tva});
+00513           // if no vat returns 0
+00514           if ( $a_tva == null || $a_tva == 0 ) return 0;
+00515           $r=round($price,2)*$qt*$a_tva['tva_rate'];
+00516           $r=round($r,2);
+00517           break;
+00518 
+00519         case 'VEN_ART_QUANT':
+00520           extract ($_POST);
+00521           $id='e_quant'.$counter;
+00522           if ( !isset (${$id}) ) return "";
+00523           // check that something is sold
+00524           if ( ${'e_march'.$counter.'_sell'} == 0 && ${'e_quant'.$counter} == 0 )
+00525             return "";
+00526           $r=${$id};
+00527           break;
+00528 
+00529         case 'VEN_HTVA':
+00530           extract ($_POST);
+00531           $id='e_march'.$counter.'_sell' ;
+00532           $quant='e_quant'.$counter;
+00533           // check that something is sold
+00534           if ( ${'e_march'.$counter.'_sell'} == 0 && ${'e_quant'.$counter} == 0 )
+00535             return "";
+00541           $r=round(${$id}*${$quant},2); 
+00542           break;
+00543 
+00544         case 'VEN_TVAC':
+00545           extract ($_POST);
+00546           $id='e_march'.$counter.'_sell' ;
+00547           $quant='e_quant'.$counter;
+00548           // check that something is sold
+00549           if ( ${'e_march'.$counter.'_sell'} == 0 && ${'e_quant'.$counter} == 0 )
+00550             return "";
+00555           $r=${$id}*${$quant}; 
+00556           $tva=GetTvaRate($this->db,${'e_march'.$counter.'_tva_id'});
+00557           // if there is no vat we return now
+00558           if ( $tva == null || $tva == 0 ) return $r;
+00559           // we compute with the vat included
+00560           $r=$r+$tva['tva_rate'];
+00561           $r=round($r,2);
+00562           break;
+00563         case 'TOTAL_VEN_HTVA':
+00564           extract($_POST);
+00565           $sum=0.0;
+00566           for ($i=0;$i<$nb_item;$i++)
+00567             {
+00568               $sum+=${'e_march'.$i.'_sell'}*$e{'e_quant'.$i};
+00569             }
+00570           $r=round($sum,2);
+00571           break;
+00572         case 'TOTAL_VEN_TVAC':
+00573           extract($_POST);
+00574           $sum=0.0;
+00575           for ($i=0;$i<$nb_item;$i++)
+00576             {
+00577               $tva=GetTvaRate($this->db,${'e_march'.$i.'_tva_id'});
+00578               $tva_rate=( $tva == null || $tva == 0 )?0.0:$tva['tva_rate'];
+00579               $sum+=${'e_march'.$i.'_sell'}*${'e_quant'.$i}*(1+$tva_rate);
+00580             }
+00581           $r=round($sum,2);
+00582 
+00583           break;
+00584 
+00585         }
+00586       return $r;
+00587     }
+00588 
+00589 
+00590 }
+

Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  + +doxygen 1.4.4
+ + diff --git a/doc/developper/html/class__document_8php.html b/doc/developper/html/class__document_8php.html new file mode 100644 index 000000000..f4114503f --- /dev/null +++ b/doc/developper/html/class__document_8php.html @@ -0,0 +1,30 @@ + + +phpcompta: /home/dany/developpement/phpcompta-dev/phpcompta/include/class_document.php File Reference + + + + + +

class_document.php File Reference

Class Document corresponds to the table document. More... +

+ +

+Go to the source code of this file. + + + + + +

Data Structures

class  Document
 Class Document corresponds to the table document. More...
+


Detailed Description

+Class Document corresponds to the table document. +

+ +

+Definition in file class_document.php.


Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  + +doxygen 1.4.4
+ + diff --git a/doc/developper/html/class__document__modele_8php-source.html b/doc/developper/html/class__document__modele_8php-source.html index e84c48036..d206019b4 100644 --- a/doc/developper/html/class__document__modele_8php-source.html +++ b/doc/developper/html/class__document__modele_8php-source.html @@ -241,7 +241,7 @@ 00281 00282 } 00283 ?> -
Generated on Thu Jun 22 23:54:03 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/class__document__modele_8php.html b/doc/developper/html/class__document__modele_8php.html index f3f9cac8e..ae441f259 100644 --- a/doc/developper/html/class__document__modele_8php.html +++ b/doc/developper/html/class__document__modele_8php.html @@ -23,7 +23,7 @@ Class for the document template.

-Definition in file class_document_modele.php.


Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +Definition in file class_document_modele.php.
Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/class__document__type_8php-source.html b/doc/developper/html/class__document__type_8php-source.html new file mode 100644 index 000000000..5a0452d4e --- /dev/null +++ b/doc/developper/html/class__document__type_8php-source.html @@ -0,0 +1,51 @@ + + +phpcompta: /home/dany/developpement/phpcompta-dev/phpcompta/include/class_document_type.php Source File + + + + + +

class_document_type.php

Go to the documentation of this file.
00001 <?
+00002 /*
+00003  *   This file is part of PhpCompta.
+00004  *
+00005  *   PhpCompta is free software; you can redistribute it and/or modify
+00006  *   it under the terms of the GNU General Public License as published by
+00007  *   the Free Software Foundation; either version 2 of the License, or
+00008  *   (at your option) any later version.
+00009  *
+00010  *   PhpCompta is distributed in the hope that it will be useful,
+00011  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
+00012  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+00013  *   GNU General Public License for more details.
+00014  *
+00015  *   You should have received a copy of the GNU General Public License
+00016  *   along with PhpCompta; if not, write to the Free Software
+00017  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+00018 */
+00019 /* $Revision$ */
+00020 // Copyright Author Dany De Bontridder ddebontridder@yahoo.fr
+00029 class Document_type
+00030 {
+00035   function document_type($p_cn)
+00036     {
+00037       $this->db=$p_cn;
+00038       $this->dt_id=-1;
+00039     }
+00043   function get()
+00044     {
+00045       $sql="select * from document_type where dt_id=".$this->dt_id;
+00046       $R=ExecSql($this->db,$sql);
+00047       $r=pg_fetch_array($R,0);
+00048       $this->dt_id=$r['dt_id'];
+00049       $this->dt_value=$r['dt_value'];
+00050     }
+00051 
+00052 }
+

Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  + +doxygen 1.4.4
+ + diff --git a/doc/developper/html/class__document__type_8php.html b/doc/developper/html/class__document__type_8php.html new file mode 100644 index 000000000..e9f9dff8d --- /dev/null +++ b/doc/developper/html/class__document__type_8php.html @@ -0,0 +1,29 @@ + + +phpcompta: /home/dany/developpement/phpcompta-dev/phpcompta/include/class_document_type.php File Reference + + + + + +

class_document_type.php File Reference

class for the table document_type More... +

+ +

+Go to the source code of this file. + + + + +

Data Structures

class  Document_type
+


Detailed Description

+class for the table document_type +

+ +

+Definition in file class_document_type.php.


Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  + +doxygen 1.4.4
+ + diff --git a/doc/developper/html/class__fiche_8php-source.html b/doc/developper/html/class__fiche_8php-source.html index dde6b99fc..eb5761cda 100644 --- a/doc/developper/html/class__fiche_8php-source.html +++ b/doc/developper/html/class__fiche_8php-source.html @@ -639,7 +639,7 @@ 00774 } 00775 } 00776 ?> -
Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/class__fiche_8php.html b/doc/developper/html/class__fiche_8php.html index 213580777..362eee7d3 100644 --- a/doc/developper/html/class__fiche_8php.html +++ b/doc/developper/html/class__fiche_8php.html @@ -26,7 +26,7 @@ define Class fiche and fiche def, those class are using class attribut

-Definition in file class_fiche.php.


Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +Definition in file class_fiche.php.
Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/class__fiche__def_8php-source.html b/doc/developper/html/class__fiche__def_8php-source.html index 74bb880d5..219ea266a 100644 --- a/doc/developper/html/class__fiche__def_8php-source.html +++ b/doc/developper/html/class__fiche__def_8php-source.html @@ -103,7 +103,7 @@ 00141 00142 } 00143 ?> -
Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/class__fiche__def_8php.html b/doc/developper/html/class__fiche__def_8php.html index 814cb93c0..015843526 100644 --- a/doc/developper/html/class__fiche__def_8php.html +++ b/doc/developper/html/class__fiche__def_8php.html @@ -23,7 +23,7 @@

-Definition in file class_fiche_def.php.


Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +Definition in file class_fiche_def.php.
Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/class__invoice_8php-source.html b/doc/developper/html/class__invoice_8php-source.html index a1de1b221..8e8953f39 100644 --- a/doc/developper/html/class__invoice_8php-source.html +++ b/doc/developper/html/class__invoice_8php-source.html @@ -148,7 +148,7 @@ 00149 } 00150 } 00151 ?> -
Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/class__invoice_8php.html b/doc/developper/html/class__invoice_8php.html index bd7a192c9..f04aaa647 100644 --- a/doc/developper/html/class__invoice_8php.html +++ b/doc/developper/html/class__invoice_8php.html @@ -24,7 +24,7 @@ Class invoice to manage the customer invoice.
Todo:
obsolete ? then delete it

-Definition in file class_invoice.php.


Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +Definition in file class_invoice.php.
Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/class__jrn_8php-source.html b/doc/developper/html/class__jrn_8php-source.html index bf0628ed0..594ae6ac4 100644 --- a/doc/developper/html/class__jrn_8php-source.html +++ b/doc/developper/html/class__jrn_8php-source.html @@ -297,7 +297,7 @@ 00329 return $Res[0]['value']; 00330 } 00331 } -
Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/class__jrn_8php.html b/doc/developper/html/class__jrn_8php.html index 2ce4d97e4..21bc47a0b 100644 --- a/doc/developper/html/class__jrn_8php.html +++ b/doc/developper/html/class__jrn_8php.html @@ -16,7 +16,7 @@  Class for jrn. More...
-
Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/class__operation_8php-source.html b/doc/developper/html/class__operation_8php-source.html index 08b614098..5f7f93641 100644 --- a/doc/developper/html/class__operation_8php-source.html +++ b/doc/developper/html/class__operation_8php-source.html @@ -118,7 +118,7 @@ 00119 echo '</FORM>'; 00120 echo '</div>'; 00121 ?> -
Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/class__operation_8php.html b/doc/developper/html/class__operation_8php.html index 9c1335226..e488f68b4 100644 --- a/doc/developper/html/class__operation_8php.html +++ b/doc/developper/html/class__operation_8php.html @@ -354,7 +354,7 @@ Referenced by ExecuteScript() Definition at line 98 of file class_operation.php. -
Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/class__own_8php-source.html b/doc/developper/html/class__own_8php-source.html index 9687d7e3d..d3b59959e 100644 --- a/doc/developper/html/class__own_8php-source.html +++ b/doc/developper/html/class__own_8php-source.html @@ -58,7 +58,7 @@ 00070 } 00071 00072 } -
Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/class__own_8php.html b/doc/developper/html/class__own_8php.html index 7db14745e..f47e72abf 100644 --- a/doc/developper/html/class__own_8php.html +++ b/doc/developper/html/class__own_8php.html @@ -23,7 +23,7 @@ Class to manage the company parameter (address, name...).

-Definition in file class_own.php.


Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +Definition in file class_own.php.
Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/class__parm__code_8php-source.html b/doc/developper/html/class__parm__code_8php-source.html index 748af1f99..bc32f2907 100644 --- a/doc/developper/html/class__parm__code_8php-source.html +++ b/doc/developper/html/class__parm__code_8php-source.html @@ -114,7 +114,7 @@ 00152 } 00153 00154 } -
Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/class__parm__code_8php.html b/doc/developper/html/class__parm__code_8php.html index 2075effda..52b7b5d81 100644 --- a/doc/developper/html/class__parm__code_8php.html +++ b/doc/developper/html/class__parm__code_8php.html @@ -23,7 +23,7 @@ Manage the table parm_code which c

-Definition in file class_parm_code.php.


Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +Definition in file class_parm_code.php.
Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/class__poste_8php-source.html b/doc/developper/html/class__poste_8php-source.html index c05164470..a6a22bda1 100644 --- a/doc/developper/html/class__poste_8php-source.html +++ b/doc/developper/html/class__poste_8php-source.html @@ -97,7 +97,7 @@ 00113 return abs($r['sum_deb']-$r['sum_cred']); 00114 } 00121 function GetSoldeDetail($p_cond="") { -00122 if ( $p_cond != "") $p_cond.=" and "; +00122 if ( $p_cond != "") $p_cond=" and ".$p_cond; 00123 $Res=ExecSql($this->db,"select sum(deb) as sum_deb, sum(cred) as sum_cred from 00124 ( select j_poste, 00125 case when j_debit='t' then j_montant else 0 end as deb, @@ -116,7 +116,7 @@ 00138 'solde'=>abs($r['sum_deb']-$r['sum_cred'])); 00139 } 00140 } -
Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/class__poste_8php.html b/doc/developper/html/class__poste_8php.html index edb107bdb..26fa5ccd8 100644 --- a/doc/developper/html/class__poste_8php.html +++ b/doc/developper/html/class__poste_8php.html @@ -23,7 +23,7 @@ Manage the account.

-Definition in file class_poste.php.


Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +Definition in file class_poste.php.
Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/class__rapport_8php-source.html b/doc/developper/html/class__rapport_8php-source.html index c49cf3ae5..29d792c5f 100644 --- a/doc/developper/html/class__rapport_8php-source.html +++ b/doc/developper/html/class__rapport_8php-source.html @@ -72,7 +72,7 @@ 00079 } 00080 } 00081 ?> -
Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/class__rapport_8php.html b/doc/developper/html/class__rapport_8php.html index 94b7e034d..15af0d0ef 100644 --- a/doc/developper/html/class__rapport_8php.html +++ b/doc/developper/html/class__rapport_8php.html @@ -23,7 +23,7 @@ Create, view, modify and parse report.

-Definition in file class_rapport.php.


Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +Definition in file class_rapport.php.
Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/class__user_8php-source.html b/doc/developper/html/class__user_8php-source.html index 902d5916e..a27371251 100644 --- a/doc/developper/html/class__user_8php-source.html +++ b/doc/developper/html/class__user_8php-source.html @@ -269,7 +269,7 @@ 00342 }//end function 00343 } 00344 ?> -
Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/class__user_8php.html b/doc/developper/html/class__user_8php.html index 827cf385a..f736167e3 100644 --- a/doc/developper/html/class__user_8php.html +++ b/doc/developper/html/class__user_8php.html @@ -23,7 +23,7 @@ Data & function about connected users.

-Definition in file class_user.php.


Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +Definition in file class_user.php.
Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/class__widget_8php-source.html b/doc/developper/html/class__widget_8php-source.html index 4b48fff8b..ccae64d43 100644 --- a/doc/developper/html/class__widget_8php-source.html +++ b/doc/developper/html/class__widget_8php-source.html @@ -358,7 +358,7 @@ 00382 } 00383 00384 } -
Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/class__widget_8php.html b/doc/developper/html/class__widget_8php.html index 10dcd60f7..f3d7c51ea 100644 --- a/doc/developper/html/class__widget_8php.html +++ b/doc/developper/html/class__widget_8php.html @@ -23,7 +23,7 @@ This class is used to create all the HTML INPUT TYPE.

-Definition in file class_widget.php.


Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +Definition in file class_widget.php.
Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/classaction.html b/doc/developper/html/classaction.html new file mode 100644 index 000000000..6cc3b6261 --- /dev/null +++ b/doc/developper/html/classaction.html @@ -0,0 +1,586 @@ + + +phpcompta: action Class Reference + + + + +

action Class Reference

class_action for manipulating actions action can be :
    +
  • an invoice
  • a meeting
  • an order
  • a letter
+ +More... +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Member Functions

 action ($p_cn)
 constructor
 Display ()
 Display the object.
 Confirm ()
 Display the encoded data and ask a confirmation this correspond to the stage 1, before the generation or the upload of document.
 SaveStage2 ()
 Save the document and propose to save the generated document or to upload one, the data are included except the file. Temporary the generated document is save.
 SaveStage3 ($d_id)
 Upload the document or save the generated document.
 myList ($p_filter="", $p_search="")
 Show list of action.

Data Fields

 $db
 $ag_desc
 $ag_date
 $d_lob
 $dt_id
 $d_state
 $d_number
 $d_filename
 $d_mimetype
 $ag_title
 $f_id
+


Detailed Description

+class_action for manipulating actions action can be :
    +
  • an invoice
  • a meeting
  • an order
  • a letter
+ +

+The table document_type are the possible actions +

+ +

+Definition at line 47 of file class_action.php.


Constructor & Destructor Documentation

+

+ + + + +
+ + + + + + + + + +
action::action p_cn  ) 
+
+ + + + + +
+   + + +

+constructor +

+constructor

Parameters:
+ + +
p_cn database connection
+
+ +

+Definition at line 75 of file class_action.php. +

+References f_id.

+


Member Function Documentation

+

+ + + + +
+ + + + + + + + +
action::Confirm  ) 
+
+ + + + + +
+   + + +

+Display the encoded data and ask a confirmation this correspond to the stage 1, before the generation or the upload of document. +

+Confirm

+

Returns:
string containing the form
+ +

+Definition at line 151 of file class_action.php. +

+References $a, $desc, $h_url, $r, $retour, ExecSql(), fiche, FormatString(), isDate(), make_array(), name, and value.

+

+ + + + +
+ + + + + + + + +
action::Display  ) 
+
+ + + + + +
+   + + +

+Display the object. +

+Display

+

Returns:
string containing the html code
+ +

+Definition at line 85 of file class_action.php. +

+References $a, $desc, $r, ExecSql(), fiche, FormatString(), and make_array(). +

+Referenced by SaveStage2().

+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
action::myList p_filter = "",
p_search = ""
+
+ + + + + +
+   + + +

+Show list of action. +

+myList($p_filter="")

Parameters:
+ + + +
$p_filter filters on the document_type
$p_search must a valid sql command ( ex 'and ag_title like upper('hjkh'))
+
+
Returns:
string containing html code
+ +

+Definition at line 329 of file class_action.php. +

+References $_SESSION, $bar, $doc, $limit, $offset, $page, $r, $Res, $row, $sql, $step, CountSql(), ExecSql(), f_id, fiche, and jrn_navigation_bar().

+

+ + + + +
+ + + + + + + + +
action::SaveStage2  ) 
+
+ + + + + +
+   + + +

+Save the document and propose to save the generated document or to upload one, the data are included except the file. Temporary the generated document is save. +

+SaveStage2

+

Returns:
+ +

+Definition at line 241 of file class_action.php. +

+References $doc, $r, $sql, $str_file, ag_id, Display(), echo_debug(), ExecSql(), fiche, FormatString(), GetSequence(), md_id, name, and value.

+

+ + + + +
+ + + + + + + + + +
action::SaveStage3 d_id  ) 
+
+ + + + + +
+   + + +

+Upload the document or save the generated document. +

+SaveStage3

Parameters:
+ + +
$d_id document_id when we upload we don't increment seq. if = 0 then no file
+
+ +

+Definition at line 306 of file class_action.php. +

+References $doc.

+


Field Documentation

+

+ + + + +
+ + + + +
action::$ag_date
+
+ + + + + +
+   + + +

+document date (ag_gestion.ag_date) +

+Definition at line 62 of file class_action.php.

+

+ + + + +
+ + + + +
action::$ag_desc
+
+ + + + + +
+   + + +

+description (ag_gestion.ag_desc) +

+Definition at line 61 of file class_action.php.

+

+ + + + +
+ + + + +
action::$ag_title
+
+ + + + + +
+   + + +

+title document +

+Definition at line 69 of file class_action.php.

+

+ + + + +
+ + + + +
action::$d_filename
+
+ + + + + +
+   + + +

+filename's document +

+Definition at line 67 of file class_action.php.

+

+ + + + +
+ + + + +
action::$d_lob
+
+ + + + + +
+   + + +

+ +

+Definition at line 63 of file class_action.php.

+

+ + + + +
+ + + + +
action::$d_mimetype
+
+ + + + + +
+   + + +

+document's filename +

+Definition at line 68 of file class_action.php.

+

+ + + + +
+ + + + +
action::$d_number
+
+ + + + + +
+   + + +

+number of the document +

+Definition at line 66 of file class_action.php.

+

+ + + + +
+ + + + +
action::$d_state
+
+ + + + + +
+   + + +

+stage of the document (printed, send to client...) +

+Definition at line 65 of file class_action.php.

+

+ + + + +
+ + + + +
action::$db
+
+ + + + + +
+   + + +

+database connexion +

+Definition at line 60 of file class_action.php.

+

+ + + + +
+ + + + +
action::$dt_id
+
+ + + + + +
+   + + +

+type of the document (document_type.dt_id) +

+Definition at line 64 of file class_action.php.

+

+ + + + +
+ + + + +
action::$f_id
+
+ + + + + +
+   + + +

+fiche id +

+Definition at line 70 of file class_action.php.

+


The documentation for this class was generated from the following file: +
Generated on Fri Jun 23 00:12:47 2006 for phpcompta by  + +doxygen 1.4.4
+ + diff --git a/doc/developper/html/classcl__user.html b/doc/developper/html/classcl__user.html index 457b86dca..16a98c96a 100644 --- a/doc/developper/html/classcl__user.html +++ b/doc/developper/html/classcl__user.html @@ -687,7 +687,7 @@ Definition at line 38
The documentation for this class was generated from the following file:
-
Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:47 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/classcontact.html b/doc/developper/html/classcontact.html new file mode 100644 index 000000000..86f27fa10 --- /dev/null +++ b/doc/developper/html/classcontact.html @@ -0,0 +1,152 @@ + + +phpcompta: contact Class Reference + + + + +

contact Class Reference

Class contact (customer, supplier...). +More... +

+

Inheritance diagram for contact: +

+ +fiche + + + + + + + + + + + + + +

Public Member Functions

 contact ($p_cn, $p_id=0)
 constructor
 Summary ($p_search)
 show the default screen

Data Fields

 $company
+

Detailed Description

+Class contact (customer, supplier...). +

+ +

+Definition at line 32 of file class_contact.php.


Constructor & Destructor Documentation

+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
contact::contact p_cn,
p_id = 0
+
+ + + + + +
+   + + +

+constructor +

+ +

+Definition at line 36 of file class_contact.php. +

+References fiche::fiche().

+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + +
contact::Summary p_search  ) 
+
+ + + + + +
+   + + +

+show the default screen +

+Summary

+

Parameters:
+ + +
p_search (filter)
+
+
Returns:
string to display
+ +

+Definition at line 50 of file class_contact.php. +

+References $bar, $offset, $page, $r, $search, $url, fiche::CountByDef(), f_id, fiche::fiche(), FormatString(), fiche::GetAll(), jrn_navigation_bar(), name, table, and value.

+


Field Documentation

+

+ + + + +
+ + + + +
contact::$company
+
+ + + + + +
+   + + +

+company of the contact (ad_id=ATTR_DEF_COMPANY) +

+Definition at line 34 of file class_contact.php.

+


The documentation for this class was generated from the following file: +
Generated on Fri Jun 23 00:12:48 2006 for phpcompta by  + +doxygen 1.4.4
+ + diff --git a/doc/developper/html/classfiche.html b/doc/developper/html/classfiche.html index 8fa1671d9..6ce5dc96b 100644 --- a/doc/developper/html/classfiche.html +++ b/doc/developper/html/classfiche.html @@ -950,7 +950,7 @@ Definition at line 150
The documentation for this class was generated from the following file:
-
Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:49 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/classfiche__def.html b/doc/developper/html/classfiche__def.html index 440e6b2ac..82407e2e8 100644 --- a/doc/developper/html/classfiche__def.html +++ b/doc/developper/html/classfiche__def.html @@ -474,7 +474,7 @@ Definition at line 33<
The documentation for this class was generated from the following file:
-
Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:49 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/classfiche__def__ref.html b/doc/developper/html/classfiche__def__ref.html index bf72fa26a..1ce8ddf87 100644 --- a/doc/developper/html/classfiche__def__ref.html +++ b/doc/developper/html/classfiche__def__ref.html @@ -369,7 +369,7 @@ Definition at line class_fiche_def.php -
Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:49 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/classjrn.html b/doc/developper/html/classjrn.html index 4ff4af0ed..d1d605c36 100644 --- a/doc/developper/html/classjrn.html +++ b/doc/developper/html/classjrn.html @@ -398,7 +398,7 @@ Definition at line 28
The documentation for this class was generated from the following file:
  • /home/dany/developpement/phpcompta-dev/phpcompta/include/class_jrn.php
-
Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:49 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/classparm__code.html b/doc/developper/html/classparm__code.html index 375b99567..462fe6718 100644 --- a/doc/developper/html/classparm__code.html +++ b/doc/developper/html/classparm__code.html @@ -367,7 +367,7 @@ Definition at line class_parm_code.php -
Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:49 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/classposte.html b/doc/developper/html/classposte.html index c1b4208e8..54a6051ef 100644 --- a/doc/developper/html/classposte.html +++ b/doc/developper/html/classposte.html @@ -312,7 +312,7 @@ Definition at line 31<
The documentation for this class was generated from the following file:
-
Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:49 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/classrapport.html b/doc/developper/html/classrapport.html index fa589a169..3ba1fef0b 100644 --- a/doc/developper/html/classrapport.html +++ b/doc/developper/html/classrapport.html @@ -238,7 +238,7 @@ Definition at line 3
The documentation for this class was generated from the following file:
-
Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:49 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/classwidget.html b/doc/developper/html/classwidget.html index e046a5500..3d82f4d56 100644 --- a/doc/developper/html/classwidget.html +++ b/doc/developper/html/classwidget.html @@ -586,7 +586,7 @@ Definition at line 49
The documentation for this class was generated from the following file:
-
Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:49 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/client_8inc_8php-source.html b/doc/developper/html/client_8inc_8php-source.html index 3cbf662c5..2b7eb7d1e 100644 --- a/doc/developper/html/client_8inc_8php-source.html +++ b/doc/developper/html/client_8inc_8php-source.html @@ -171,7 +171,7 @@ 00171 } 00172 html_page_stop(); 00173 ?> -
Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/client_8inc_8php.html b/doc/developper/html/client_8inc_8php.html index 4213a825c..aa25e0609 100644 --- a/doc/developper/html/client_8inc_8php.html +++ b/doc/developper/html/client_8inc_8php.html @@ -309,7 +309,7 @@ Definition at line 117< Referenced by ChangeStock(), action::Confirm(), widget::debug(), fiche_def_ref::Display(), DisplayDetailModele(), EncodeFiche(), EncodeForm(), Cezpdf::ezTable(), FormFin(), FormODS(), FormVenteView(), jrn::GetDefLine(), fiche::insert(), cl_user::insert_default_global_pref(), widget::IOValue(), jrn_navigation_bar(), fiche_def_ref::LoadAll(), make_array(), new_fiche(), Cpdf::o_fontDescriptor(), Document::ParseDocument(), RecordJrn(), action::SaveStage2(), contact::Summary(), u_ShowMenuRecherche(), fiche::update(), cl_user::update_global_pref(), UpdateJrn(), VerifImport(), ViewFiche(), ViewImp(), and widget::widget(). -
Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/commercial_8php-source.html b/doc/developper/html/commercial_8php-source.html index 4542109ec..0796231d8 100644 --- a/doc/developper/html/commercial_8php-source.html +++ b/doc/developper/html/commercial_8php-source.html @@ -121,7 +121,7 @@ 00130 { 00131 require_once("contact.inc.php"); 00132 } -
Generated on Thu Jun 22 23:54:03 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/commercial_8php.html b/doc/developper/html/commercial_8php.html index 320f960c4..44d62f9d6 100644 --- a/doc/developper/html/commercial_8php.html +++ b/doc/developper/html/commercial_8php.html @@ -158,7 +158,7 @@ Definition at line 4143 of file commercial.php. -
Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/constant_8php-source.html b/doc/developper/html/constant_8php-source.html index a3001287f..8f6ec5ee4 100644 --- a/doc/developper/html/constant_8php-source.html +++ b/doc/developper/html/constant_8php-source.html @@ -378,7 +378,7 @@ 00374 define ("SQL_LIST_UNPAID_INVOICE_DATE_LIMIT" ," where (jr_rapt is null or jr_rapt = '') 00375 and to_date(to_char(jr_ech,'DD.MM.YYYY'),'DD.MM.YYYY') < to_date(to_char(now(),'DD.MM.YYYY'),'DD.MM.YYYY') and jr_valid = true" ); 00376 ?> -
Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/constant_8php.html b/doc/developper/html/constant_8php.html index 4859a7067..71e45190f 100644 --- a/doc/developper/html/constant_8php.html +++ b/doc/developper/html/constant_8php.html @@ -2316,7 +2316,7 @@ Definition at line 59 Definition at line 86 of file constant.php. -
Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/contact_8inc_8php-source.html b/doc/developper/html/contact_8inc_8php-source.html new file mode 100644 index 000000000..90f9fba40 --- /dev/null +++ b/doc/developper/html/contact_8inc_8php-source.html @@ -0,0 +1,193 @@ + + +phpcompta: /home/dany/developpement/phpcompta-dev/phpcompta/include/contact.inc.php Source File + + + + + +

contact.inc.php

Go to the documentation of this file.
00001 <?
+00002 /*
+00003  *   This file is part of PhpCompta.
+00004  *
+00005  *   PhpCompta is free software; you can redistribute it and/or modify
+00006  *   it under the terms of the GNU General Public License as published by
+00007  *   the Free Software Foundation; either version 2 of the License, or
+00008  *   (at your option) any later version.
+00009  *
+00010  *   PhpCompta is distributed in the hope that it will be useful,
+00011  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
+00012  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+00013  *   GNU General Public License for more details.
+00014  *
+00015  *   You should have received a copy of the GNU General Public License
+00016  *   along with PhpCompta; if not, write to the Free Software
+00017  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+00018 */
+00019 /* $Revision$ */
+00020 // Copyright Author Dany De Bontridder ddebontridder@yahoo.fr
+00022 require_once('class_contact.php');
+00023 require_once('class_widget.php');
+00030 $sub_action=(isset($_REQUEST['sa']))?$_REQUEST['sa']:"";
+00031 var_dump($_REQUEST);
+00032 // if this page is called from another menu (customer, supplier,...)
+00033 // a button back is added
+00034 // TODO add function for generating url, hidden tags...
+00035 if ( isset ($_REQUEST['url'])) 
+00036 {
+00037      $retour=sprintf('<A HREF="%s"><input type="button" value="Retour"></A>',urldecode($_REQUEST['url']));
+00038      $h_url=sprintf('<input type="hidden" name="url" value="%s">',urldecode($_REQUEST['url']));
+00039 }
+00040 else 
+00041 { 
+00042      $retour="";
+00043      $h_url="";
+00044 }
+00045 
+00046 // Menu
+00047 // Remove a card
+00048 if ( isset ($_POST['delete']) ) 
+00049 {
+00050   echo 'delete';
+00051   $f_id=$_REQUEST['f_id'];
+00052 
+00053   $fiche=new contact($cn,$f_id);
+00054   $fiche->remove();
+00055   $sub_action="list"; 
+00056 }
+00058 // Add card
+00059 if ( $sub_action=="insert" )
+00060 {
+00061   $contact=new Contact($cn);
+00062   $contact->Save($_REQUEST['fd_id']);
+00063   echo $retour;
+00064   echo "<table>";
+00065   echo $contact->Display(true);
+00066   echo "</table>";
+00067   echo $retour;
+00068 
+00069 }
+00070 
+00072 // Save modification
+00073 if ( isset ($_POST['mod'])) 
+00074 {
+00075   // modification is asked
+00076   $f_id=$_REQUEST['f_id'];
+00077 
+00078   $contact=new contact($cn,$f_id);
+00079   $contact->Save();
+00080 }
+00081 // by default open liste
+00082 if ( $sub_action  == "" ) 
+00083       $sub_action="list";
+00085 //Display a blank card 
+00086 if ( $sub_action=="blank") 
+00087 {
+00088   $retour=sprintf('<A class="two" HREF="%s"><input type="button" value="Retour"></A>',
+00089                   "commercial.php?p_action=contact");
+00090   echo '<div class="u_redcontent">';
+00091 
+00092   echo $retour;
+00093   $c=new contact($cn);
+00094   echo '<form method="post" action="commercial.php"';
+00095   echo '<input type="hidden" name="p_action" value="client">';
+00096   echo '<input type="hidden" name="sa" value="insert">';
+00097   echo '<input type="hidden" name="fd_id" value="'.$_GET['fd_id'].'">';
+00098   echo '<input type="hidden" name="url" value="'.$_GET['url'].'">';
+00099   echo $c->blank($_GET['fd_id']);
+00100   echo '<input type="Submit" value="Sauve">';
+00101   echo '</form>';
+00102   echo $retour;
+00103   echo '</div>';
+00104 }
+00106 // list
+00107 if ( $sub_action == "list" )
+00108 {
+00109 ?>
+00110 <div class="u_content">
+00111 <span>
+00112 <form method="get" action="commercial.php">
+00113 <?
+00114    $a=(isset($_GET['query']))?$_GET['query']:"";
+00115    printf ('<input type="text" name="query" value="%s">',
+00116            $a);
+00117 ?>
+00118 <input type="submit" name="submit_query" value="recherche">
+00119 <input type="hidden" name="p_action" value="contact">
+00120 </form>
+00121 </span>
+00122 <span>
+00123 <form method="get" action="commercial.php">
+00124 <input type="hidden" name="url" <?      $url=urlencode($_SERVER['REQUEST_URI']);echo 'value="'.$url.'"'; ?>
+00125 <input type="hidden" name="p_action" value="contact">
+00126 
+00127 <?
+00128  $w=new widget("select");
+00129  $w->name="fd_id";
+00130  $w->value= make_array($cn,"select fd_id,fd_label from fiche_def where ".
+00131              " frd_id=".FICHE_TYPE_CONTACT);
+00132  echo $w->IOValue();
+00133 ?>
+00134 <input type="hidden" name="sa" value="blank">
+00135 <input type="submit" name="submit_query" value="Ajout Contact">
+00136 
+00137 </form>
+00138 </span>
+00139 
+00140 <form>
+00141 <?
+00142   $qcode=(isset($_GET['qcode']))?$_GET['qcode']:"";
+00143   printf ('<span>Tiers QuickCode: <input type="text" name="qcode" value="%s"></span>',
+00144            $qcode);
+00145 ?>
+00146 <input type="submit" name="submit_query" value="recherche">
+00147 <input type="hidden" name="p_action" value="contact">
+00148 
+00149 </FORM>
+00150 <?
+00151    $contact=new Contact($cn);
+00152  $search=(isset($_GET['query']))?$_GET['query']:"";
+00153  // check if a company is asked if yes, add a condition
+00154  if ( $qcode != "" )
+00155    {
+00156      $contact->company=$qcode;
+00157    }
+00158  echo '<div class="u_redcontent">';
+00159  echo $contact->Summary($search);
+00160  echo '</div>';
+00161 
+00162 
+00163 }
+00165 // Show Detail
+00166 if ( $sub_action == 'detail' )
+00167 {
+00168   $f_id=$_REQUEST['f_id'];
+00169   echo '<div class="u_redcontent">';
+00170   $contact=new contact($cn,$f_id);
+00171   echo $retour;
+00172   echo '<form action="'.$_SERVER['REQUEST_URI'].'" method="post">'; 
+00173   echo $contact->Display(false);
+00174   $w=new widget("hidden");
+00175   $w->name="p_action";
+00176   $w->value="contact";
+00177   echo $w->IOValue();
+00178   $w->name="f_id";
+00179   $w->value=$f_id;
+00180   echo $w->IOValue();
+00181 
+00182   echo $w->Submit('mod','Sauver les modifications');
+00183   echo '<A HREF="commercial.php?p_action=contact"><INPUT TYPE="button" value="Retour"></A>';
+00184   echo $w->Submit('delete','Effacer cette fiche');
+00185   echo '</form>';
+00186   echo $retour;
+00187   echo '<div>';
+00188 }
+00189 html_page_stop();
+00190 
+00191 
+

Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  + +doxygen 1.4.4
+ + diff --git a/doc/developper/html/contact_8inc_8php.html b/doc/developper/html/contact_8inc_8php.html new file mode 100644 index 000000000..90506691e --- /dev/null +++ b/doc/developper/html/contact_8inc_8php.html @@ -0,0 +1,302 @@ + + +phpcompta: /home/dany/developpement/phpcompta-dev/phpcompta/include/contact.inc.php File Reference + + + + + +

contact.inc.php File Reference

File for adding contact, contact is a kind of fichethe contact class is derived from the class fiche the contact is in fact a card but more specific This file is included from the module "Gestion". More... +

+ +

+Go to the source code of this file. + + + + + + + + + + + + + + + + + + + + + + +

Variables

 $sub_action = (isset($_REQUEST['sa']))?$_REQUEST['sa']:""
 $h_url = sprintf('<input type="hidden" name="url" value="%s">',urldecode($_REQUEST['url']))
 $c = new contact($cn)
 $url = urlencode($_SERVER['REQUEST_URI'])
 $w = new widget("select")
$w name = "fd_id"
$w value
 $qcode = (isset($_GET['qcode']))?$_GET['qcode']:""
 $contact = new Contact($cn)
 $search = (isset($_GET['query']))?$_GET['query']:""
+


Detailed Description

+File for adding contact, contact is a kind of fichethe contact class is derived from the class fiche the contact is in fact a card but more specific This file is included from the module "Gestion". +

+ +

+Definition in file contact.inc.php.


Variable Documentation

+

+ + + + +
+ + + + +
$c = new contact($cn)
+
+ + + + + +
+   + + +

+ +

+Definition at line 93 of file contact.inc.php.

+

+ + + + +
+ + + + +
$contact = new Contact($cn)
+
+ + + + + +
+   + + +

+ +

+Definition at line 151 of file contact.inc.php.

+

+ + + + +
+ + + + +
$h_url = sprintf('<input type="hidden" name="url" value="%s">',urldecode($_REQUEST['url']))
+
+ + + + + +
+   + + +

+ +

+Definition at line 38 of file contact.inc.php.

+

+ + + + +
+ + + + +
$qcode = (isset($_GET['qcode']))?$_GET['qcode']:""
+
+ + + + + +
+   + + +

+ +

+Definition at line 142 of file contact.inc.php. +

+Referenced by Document::Replace().

+

+ + + + +
+ + + + +
$search = (isset($_GET['query']))?$_GET['query']:""
+
+ + + + + +
+   + + +

+ +

+Definition at line 152 of file contact.inc.php.

+

+ + + + +
+ + + + +
$sub_action = (isset($_REQUEST['sa']))?$_REQUEST['sa']:""
+
+ + + + + +
+   + + +

+ +

+Definition at line 30 of file contact.inc.php.

+

+ + + + +
+ + + + +
$url = urlencode($_SERVER['REQUEST_URI'])
+
+ + + + + +
+   + + +

+ +

+Definition at line 124 of file contact.inc.php.

+

+ + + + +
+ + + + +
$w = new widget("select")
+
+ + + + + +
+   + + +

+ +

+Definition at line 128 of file contact.inc.php.

+

+ + + + +
+ + + + +
$w name = "fd_id"
+
+ + + + + +
+   + + +

+ +

+Definition at line 129 of file contact.inc.php.

+

+ + + + +
+ + + + +
$w value
+
+ + + + + +
+   + + +

+Initial value:

 make_array($cn,"select fd_id,fd_label from fiche_def where ".
+             " frd_id=".FICHE_TYPE_CONTACT)
+
+

+Definition at line 130 of file contact.inc.php.

+


Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  + +doxygen 1.4.4
+ + diff --git a/doc/developper/html/debug_8php-source.html b/doc/developper/html/debug_8php-source.html index dd507ec35..0287bf4c2 100644 --- a/doc/developper/html/debug_8php-source.html +++ b/doc/developper/html/debug_8php-source.html @@ -40,7 +40,7 @@ 00040 } 00041 00042 ?> -
Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/debug_8php.html b/doc/developper/html/debug_8php.html index 94525931c..8a995da22 100644 --- a/doc/developper/html/debug_8php.html +++ b/doc/developper/html/debug_8php.html @@ -80,7 +80,7 @@ Definition at line 34 of Referenced by AddFiche(), AddForm(), AddModele(), fiche::blank(), cl_user::Check(), CheckJrn(), cl_user::cl_user(), ComputeTotalVat(), ComputeVat(), DbConnect(), DefModele(), DeleteRapt(), fiche::Display(), DisplayDetailModele(), echo_error(), EncodeFiche(), EncodeForm(), ExecSql(), form_verify_input(), FormAchInput(), FormVenInput(), Document::Generate(), fiche::Get(), get_quick_key(), GetAllUser(), GetArray(), fiche::GetByQCode(), GetClass(), GetCreateAccount(), GetData(), GetDataJrnJrId(), GetDataJrnPdf(), jrn::GetDefLine(), cl_user::GetGlobalPref(), GetNextFiche(), GetParent(), GetPriv(), GetRappel(), jrn::GetRow(), jrn::GetRowSimple(), ImpHtml(), fiche::insert(), cl_user::insert_default_global_pref(), InsertJrn(), InsertJrnx(), InsertRapt(), InsertStockGoods(), widget::IOValue(), new_fiche(), Document::ParseDocument(), ParseFormula(), RecordFin(), RecordInvoice(), RecordJrn(), RecordSell(), Invoice::Save(), Document_modele::Save(), save_upload_document(), Document::SaveGenerated(), action::SaveStage2(), ShowDossier(), ShowMenuCompta(), ShowMenuJrnUser(), ShowPeriode(), u_ShowMenuRecherche(), fiche::update(), UpdateFiche(), UpdateForm(), UpdateJrn(), UpdateModele(), VerifData(), VerifyOperationDate(), ViewImp(), ViewJrn(), ViewRec(), and ViewRecord(). -
Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/decla_8BE_8inc_8php-source.html b/doc/developper/html/decla_8BE_8inc_8php-source.html index dcf3778f1..097a244f8 100644 --- a/doc/developper/html/decla_8BE_8inc_8php-source.html +++ b/doc/developper/html/decla_8BE_8inc_8php-source.html @@ -78,7 +78,7 @@ 00084 $a.="\r\n"; 00085 return $a; 00086 } -
Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/decla_8BE_8inc_8php.html b/doc/developper/html/decla_8BE_8inc_8php.html index d38e5c9c3..1e2e80162 100644 --- a/doc/developper/html/decla_8BE_8inc_8php.html +++ b/doc/developper/html/decla_8BE_8inc_8php.html @@ -68,7 +68,7 @@ Definition at line 3 References $a, $b, $client, $my, and name. -
Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/demo_8php-source.html b/doc/developper/html/demo_8php-source.html index dc569f6b0..56f70510a 100644 --- a/doc/developper/html/demo_8php-source.html +++ b/doc/developper/html/demo_8php-source.html @@ -98,7 +98,7 @@ 00092 return $tmpString; 00093 } 00094 ?> -
Generated on Thu Jun 22 23:54:03 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/demo_8php.html b/doc/developper/html/demo_8php.html index 7f1dd5859..4adb836a0 100644 --- a/doc/developper/html/demo_8php.html +++ b/doc/developper/html/demo_8php.html @@ -16,7 +16,7 @@
Todo:
to remove

-Definition in file demo.php.


Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +Definition in file demo.php.
Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/dir_000000.html b/doc/developper/html/dir_000000.html index 301cfc56b..493f254db 100644 --- a/doc/developper/html/dir_000000.html +++ b/doc/developper/html/dir_000000.html @@ -13,7 +13,7 @@ directory  phpcompta-dev -
Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:49 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/dir_000001.html b/doc/developper/html/dir_000001.html index 77ad747e3..5390aabc7 100644 --- a/doc/developper/html/dir_000001.html +++ b/doc/developper/html/dir_000001.html @@ -13,7 +13,7 @@ directory  phpcompta -
Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:49 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/dir_000002.html b/doc/developper/html/dir_000002.html index c5f5dec61..499b45df3 100644 --- a/doc/developper/html/dir_000002.html +++ b/doc/developper/html/dir_000002.html @@ -15,7 +15,7 @@ directory  include -
Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:49 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/dir_000003.html b/doc/developper/html/dir_000003.html index 2f7c1581d..c8faaa697 100644 --- a/doc/developper/html/dir_000003.html +++ b/doc/developper/html/dir_000003.html @@ -298,7 +298,7 @@

-


Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:49 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/dir_000004.html b/doc/developper/html/dir_000004.html index a20d23aca..5f0946224 100644 --- a/doc/developper/html/dir_000004.html +++ b/doc/developper/html/dir_000004.html @@ -17,7 +17,7 @@ file  readme.php [code] -
Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:49 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/dir_000005.html b/doc/developper/html/dir_000005.html index 284971d3a..a1270953f 100644 --- a/doc/developper/html/dir_000005.html +++ b/doc/developper/html/dir_000005.html @@ -13,7 +13,7 @@ file  setup.php [code] -
Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:49 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/dir_000006.html b/doc/developper/html/dir_000006.html index 49e179f71..657070f31 100644 --- a/doc/developper/html/dir_000006.html +++ b/doc/developper/html/dir_000006.html @@ -326,7 +326,7 @@

-


Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:49 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/dirs.html b/doc/developper/html/dirs.html index 84f7b3a00..9ad72a625 100644 --- a/doc/developper/html/dirs.html +++ b/doc/developper/html/dirs.html @@ -22,7 +22,7 @@ -
Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:49 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/document__modele_8inc_8php-source.html b/doc/developper/html/document__modele_8inc_8php-source.html index 03cb3a64e..d8ef24291 100644 --- a/doc/developper/html/document__modele_8inc_8php-source.html +++ b/doc/developper/html/document__modele_8inc_8php-source.html @@ -75,7 +75,7 @@ 00075 // Default action : Show the list 00077 echo $doc->myList(); 00078 ?> -
Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/document__modele_8inc_8php.html b/doc/developper/html/document__modele_8inc_8php.html index 5cb269164..89e80f9df 100644 --- a/doc/developper/html/document__modele_8inc_8php.html +++ b/doc/developper/html/document__modele_8inc_8php.html @@ -191,7 +191,7 @@ Definition at line Cezpdf::alink(), Cezpdf::ezPrvtTableColumnHeadings(), Cezpdf::ezTable(), Cezpdf::ezText(), Document_modele::Save(), and Cezpdf::uline(). -
Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/ecrit__ouv_8php-source.html b/doc/developper/html/ecrit__ouv_8php-source.html index 8d8cccc21..03479328f 100644 --- a/doc/developper/html/ecrit__ouv_8php-source.html +++ b/doc/developper/html/ecrit__ouv_8php-source.html @@ -163,7 +163,7 @@ 00160 echo '</div>'; 00161 html_page_stop(); 00162 ?> -
Generated on Thu Jun 22 23:54:03 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/ecrit__ouv_8php.html b/doc/developper/html/ecrit__ouv_8php.html index 271d5593f..a1d8b4ec0 100644 --- a/doc/developper/html/ecrit__ouv_8php.html +++ b/doc/developper/html/ecrit__ouv_8php.html @@ -295,7 +295,7 @@ Definition at line 6871 of file ecrit_ouv.php. -
Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/error_8php-source.html b/doc/developper/html/error_8php-source.html index 6947bba5c..2f1d7d28c 100644 --- a/doc/developper/html/error_8php-source.html +++ b/doc/developper/html/error_8php-source.html @@ -63,7 +63,7 @@ 00065 } 00066 00067 ?> -
Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/error_8php.html b/doc/developper/html/error_8php.html index 2dd2cc8f5..461bdc919 100644 --- a/doc/developper/html/error_8php.html +++ b/doc/developper/html/error_8php.html @@ -61,7 +61,7 @@ Following the error code show adialog box. Definition at line 33 of file error.php. -
Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/eub__be_8inc_8php-source.html b/doc/developper/html/eub__be_8inc_8php-source.html index a13cba9f4..1a0668de5 100644 --- a/doc/developper/html/eub__be_8inc_8php-source.html +++ b/doc/developper/html/eub__be_8inc_8php-source.html @@ -82,7 +82,7 @@ 00078 } // file is read 00079 fclose($handle); 00080 ?> -
Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/eub__be_8inc_8php.html b/doc/developper/html/eub__be_8inc_8php.html index cb76c73c8..f75766072 100644 --- a/doc/developper/html/eub__be_8inc_8php.html +++ b/doc/developper/html/eub__be_8inc_8php.html @@ -212,7 +212,7 @@ Definition at line 55< Referenced by AddFiche(), cl_user::cl_user(), Get_attr_def(), Get_attr_min(), GetCreateAccount(), GetDataJrnPdf(), jrn::GetRow(), cl_user::insert_default_global_pref(), RecordJrn(), and cl_user::update_global_pref(). -
Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/export__ouv_8php-source.html b/doc/developper/html/export__ouv_8php-source.html index c41a98b51..cfc9b2c9d 100644 --- a/doc/developper/html/export__ouv_8php-source.html +++ b/doc/developper/html/export__ouv_8php-source.html @@ -84,7 +84,7 @@ 00079 } 00080 00081 ?> -
Generated on Thu Jun 22 23:54:03 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/export__ouv_8php.html b/doc/developper/html/export__ouv_8php.html index 5855ebfd0..364e87f1f 100644 --- a/doc/developper/html/export__ouv_8php.html +++ b/doc/developper/html/export__ouv_8php.html @@ -273,7 +273,7 @@ Definition at line 3749 of file export_ouv.php. -
Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/facturation_8php-source.html b/doc/developper/html/facturation_8php-source.html index c257a9944..72c8c1347 100644 --- a/doc/developper/html/facturation_8php-source.html +++ b/doc/developper/html/facturation_8php-source.html @@ -111,7 +111,7 @@ 00116 html_page_stop(); 00117 00118 ?> -
Generated on Thu Jun 22 23:54:03 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/facturation_8php.html b/doc/developper/html/facturation_8php.html index f4d09b3ad..96c29b7ab 100644 --- a/doc/developper/html/facturation_8php.html +++ b/doc/developper/html/facturation_8php.html @@ -186,7 +186,7 @@ Definition at line 63cl_user::cl_user(). -
Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/facture_8inc_8php-source.html b/doc/developper/html/facture_8inc_8php-source.html new file mode 100644 index 000000000..3f615f8f9 --- /dev/null +++ b/doc/developper/html/facture_8inc_8php-source.html @@ -0,0 +1,237 @@ + + +phpcompta: /home/dany/developpement/phpcompta-dev/phpcompta/include/facture.inc.php Source File + + + + + +

facture.inc.php

Go to the documentation of this file.
00001 <?
+00002 /*
+00003  *   This file is part of PhpCompta.
+00004  *
+00005  *   PhpCompta is free software; you can redistribute it and/or modify
+00006  *   it under the terms of the GNU General Public License as published by
+00007  *   the Free Software Foundation; either version 2 of the License, or
+00008  *   (at your option) any later version.
+00009  *
+00010  *   PhpCompta is distributed in the hope that it will be useful,
+00011  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
+00012  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+00013  *   GNU General Public License for more details.
+00014  *
+00015  *   You should have received a copy of the GNU General Public License
+00016  *   along with PhpCompta; if not, write to the Free Software
+00017  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+00018 */
+00019 /* $Revision$ */
+00020 // Copyright Author Dany De Bontridder ddebontridder@yahoo.fr
+00021 require_once('class_jrn.php');
+00022 require_once('user_form_ven.php');
+00023 require_once('jrn.php');
+00024 require_once("class_document.php");
+00025 require_once("class_fiche.php");
+00038 var_dump($_REQUEST);
+00039 // First we show the menu
+00040 // If nothing is asked the propose a blank form
+00041 // to enter a new invoice
+00042 if ( ! isset ($_REQUEST['p_jrn'])) {
+00043       // no journal are selected so we select the first one
+00044       // $p_jrn=GetFirstJrnIdForJrnType($_SESSION['g_dossier'],'VEN'); 
+00045   $p_jrn=-1;
+00046 } else
+00047 {
+00048   $p_jrn=$_REQUEST['p_jrn'];
+00049 }
+00050 // for the back button
+00051 if ( isset ($_REQUEST['url'])) 
+00052 {
+00053   $retour=sprintf('<A HREF="%s"><input type="button" value="Retour"></A>',urldecode($_REQUEST['url']));
+00054   $h_url=sprintf('<input type="hidden" name="url" value="%s">',urldecode($_REQUEST['url']));
+00055 }
+00056 else 
+00057 { 
+00058   $retour="";
+00059   $h_url="";
+00060 }
+00061 
+00062 $sub_action=(isset($_REQUEST['sa']))?$_REQUEST['sa']:"";
+00064 // If a list of invoice is asked
+00065 // 
+00066 if ( $sub_action == "list") 
+00067 {
+00068 
+00069   // show the menu with the list item selected
+00070   echo '<div class="u_subtmenu">';
+00071   echo ShowMenuJrnUser($_SESSION['g_dossier'],'VEN',$p_jrn,'<td class="selectedcell">Liste</td>');
+00072   echo '</div>';
+00073   // Ask to update payment
+00074   if ( isset ( $_GET['paid'])) 
+00075     {
+00076       // reset all the paid flag because the checkbox is post only
+00077       // when checked
+00078       foreach ($_GET as $name=>$paid) 
+00079         {
+00080             list($ad) = sscanf($name,"set_jr_id%d");
+00081             if ( $ad == null ) continue;
+00082             $sql="update jrn set jr_rapt='' where jr_id=$ad";
+00083             $Res=ExecSql($cn,$sql);
+00084             
+00085         }
+00086         // set a paid flag for the checked box
+00087       foreach ($_GET as $name=>$paid) 
+00088         {
+00089           list ($id) = sscanf ($name,"rd_paid%d");
+00090           
+00091           if ( $id == null ) continue;
+00092           //      echo "Mise à jour $id";
+00093           $paid=($paid=='on')?'paid':'';
+00094           $sql="update jrn set jr_rapt='$paid' where jr_id=$id";
+00095           $Res=ExecSql($cn,$sql);
+00096         }
+00097       
+00098       }
+00099 
+00100   echo '<div class="u_redcontent">';
+00101 
+00102   
+00103 
+00104   echo '<form method= "GET" action="commercial.php">';
+00105 
+00106   $hid=new widget("hidden");
+00107   
+00108   $hid->name="p_action";
+00109   $hid->value="facture";
+00110   echo $hid->IOValue();
+00111 
+00112 
+00113   $hid->name="sa";
+00114   $hid->value="list";
+00115   echo $hid->IOValue();
+00116 
+00117 
+00118 
+00119   $w=new widget("select");
+00120 
+00121   $periode_start=make_array($cn,"select p_id,to_char(p_start,'DD-MM-YYYY') from parm_periode order by p_id");
+00122   // User is already set User=new cl_user($cn);
+00123   $current=(isset($_GET['p_periode']))?$_GET['p_periode']:$User->GetPeriode();
+00124   $w->selected=$current;
+00125 
+00126   echo 'Période  '.$w->IOValue("p_periode",$periode_start).$w->Submit('gl_submit','Valider');
+00127   $qcode=(isset($_GET['qcode']))?$_GET['qcode']:"";
+00128   printf ('<span>Tiers QuickCode: <input type="text" name="qcode" value="%s"></span>',
+00129            $qcode);
+00130   echo $retour;
+00131   // Show list of sell
+00132   // Date - date of payment - Customer - amount
+00133   $sql=SQL_LIST_ALL_INVOICE." and jr_tech_per=".$current." and jr_def_type='VEN'" ;
+00134   $step=$_SESSION['g_pagesize'];
+00135   $page=(isset($_GET['offset']))?$_GET['page']:1;
+00136   $offset=(isset($_GET['offset']))?$_GET['offset']:0;
+00137 
+00138   $l="";
+00139   // check if qcode contains something
+00140   if ( $qcode != "" )
+00141     {
+00142       // add a condition to filter on the quick code
+00143       $l=" and jr_grpt_id in (select j_grpt from jrnx where j_qcode='$qcode') ";
+00144     }
+00145 
+00146   list($max_line,$list)=ListJrn($cn,0,"where jrn_def_type='VEN' and jr_tech_per=$current $l "
+00147                                 ,null,$offset,1);
+00148   $bar=jrn_navigation_bar($offset,$max_line,$step,$page);
+00149 
+00150   echo "<hr> $bar";
+00151   echo $list;
+00152   echo "$bar <hr>";
+00153   if ( $max_line !=0 )
+00154     echo $hid->Submit('paid','Mise à jour paiement');
+00155   echo '</FORM>';
+00156 
+00157   echo '</div>';
+00158 
+00159  exit();
+00160 } 
+00162 echo '<div class="u_subtmenu">';
+00163 echo ShowMenuJrnUser($_SESSION['g_dossier'],'VEN',$p_jrn,'<td class="cell"><A class="mtitle" HREF="commercial.php?liste&p_action=facture&sa=list">Liste</A></td>');
+00164 echo '</div>';
+00166 // if we request to add an item 
+00167 // the $_POST['add_item'] is set
+00168 // or if we ask to correct the invoice
+00169 if ( isset ($_POST['add_item']) || isset ($_POST["correct_new_invoice"])  ) 
+00170 {
+00171   $nb_item=$_POST['nb_item'];
+00172   $nb_item++;
+00173   $form=FormVenInput($cn,$_GET['p_jrn'],$User->GetPeriode(),$_POST,false,$nb_item);
+00174   echo '<div class="u_redcontent">';
+00175   echo $form;
+00176   echo '</div>';
+00177   exit();
+00178 }
+00180 // we want to save the invoice and to generate a invoice
+00181 //
+00182 if ( isset($_POST['record_and_print_invoice'])) 
+00183 {
+00184   // First we save the invoice
+00185   RecordInvoice($cn,$_POST,$User,$p_jrn);
+00186   $form=FormVenteView($cn,$_GET['p_jrn'],$User->GetPeriode(),$_POST,$_POST['nb_item'],'noform','');
+00187       //  $form=FormVenInput($cn,$_GET['p_jrn'],$User->GetPeriode(),$_POST,true,$_POST['nb_item']);
+00188   echo '<div class="u_redcontent">';
+00189   echo $form;
+00190   echo '<hr>';
+00191   // Show the details of the encoded invoice 
+00192   // and the url of the invoice
+00193   if ( isset($_POST['gen_invoice'])) 
+00194     {
+00195           $doc=new Document($cn);
+00196           $doc->f_id=$_POST['e_client'];
+00197           $doc->md_id=$_POST['gen_doc'];
+00198           $doc->ag_id=0;
+00199           $str_file=$doc->Generate();
+00200           echo $str_file;
+00201     }
+00202   echo '</form>';
+00203   exit();
+00204 }
+00206 // we show the confirmation screen it is proposed here to generate the
+00207 // invoice
+00208 if ( isset ($_POST['view_invoice']) ) 
+00209 {
+00210   $nb_number=$_POST["nb_item"];
+00211   if ( form_verify_input($cn,$_GET['p_jrn'],$User->GetPeriode(),$HTTP_POST_VARS,$nb_number) == true)
+00212     {
+00213       $form=FormVenteView($cn,$_GET['p_jrn'],$User->GetPeriode(),$HTTP_POST_VARS,$nb_number);
+00214 
+00215     } else {
+00216       // Check failed : invalid date or quantity
+00217       echo_error("Cannot validate ");
+00218       $form=FormVenInput($cn,$_GET['p_jrn'],$User->GetPeriode(),$HTTP_POST_VARS,false,$nb_number);
+00219     }
+00220 
+00221   echo '<div class="u_redcontent">';
+00222   echo         $form;
+00223   echo '</div>';
+00224   exit();
+00225 
+00226 }
+00227 
+00228 
+00229 
+00231 // By default we add a new invoice
+00232 if ( $p_jrn != -1 ) 
+00233 {
+00234   $jrn=new jrn($cn,  $p_jrn);
+00235   echo_debug('user_action_ven.php',__LINE__,"Blank form");
+00236   // Show an empty form of invoice
+00237   $form=FormVenInput($cn,$_GET['p_jrn'],$User->GetPeriode(),null,false,$jrn->GetDefLine('cred'));
+00238   echo '<div class="u_redcontent">';
+00239   echo $form;
+00240   echo '</div>';
+00241 }
+

Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  + +doxygen 1.4.4
+ + diff --git a/doc/developper/html/facture_8inc_8php.html b/doc/developper/html/facture_8inc_8php.html new file mode 100644 index 000000000..e12472f58 --- /dev/null +++ b/doc/developper/html/facture_8inc_8php.html @@ -0,0 +1,635 @@ + + +phpcompta: /home/dany/developpement/phpcompta-dev/phpcompta/include/facture.inc.php File Reference + + + + + +

facture.inc.php File Reference

+

+Go to the source code of this file. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Variables

 $h_url = sprintf('<input type="hidden" name="url" value="%s">',urldecode($_REQUEST['url']))
 $sql = "update jrn set jr_rapt='' where jr_id=$ad"
 $Res = ExecSql($cn,$sql)
 $paid = ($paid=='on')?'paid':''
 $hid = new widget("hidden")
$hid name = "p_action"
$hid value = "facture"
 $w = new widget("select")
 $periode_start = make_array($cn,"select p_id,to_char(p_start,'DD-MM-YYYY') from parm_periode order by p_id")
 $current = (isset($_GET['p_periode']))?$_GET['p_periode']:$User->GetPeriode()
$w selected = $current
 $qcode = (isset($_GET['qcode']))?$_GET['qcode']:""
 $step = $_SESSION['g_pagesize']
 $page = (isset($_GET['offset']))?$_GET['page']:1
 $offset = (isset($_GET['offset']))?$_GET['offset']:0
 $l = ""
 $bar = jrn_navigation_bar($offset,$max_line,$step,$page)
 $form = FormVenteView($cn,$_GET['p_jrn'],$User->GetPeriode(),$_POST,$_POST['nb_item'],'noform','')
$doc f_id = $_POST['e_client']
$doc md_id = $_POST['gen_doc']
$doc ag_id = 0
 $str_file = $doc->Generate()
+


Variable Documentation

+

+ + + + +
+ + + + +
$bar = jrn_navigation_bar($offset,$max_line,$step,$page)
+
+ + + + + +
+   + + +

+ +

+Definition at line 148 of file facture.inc.php. +

+Referenced by action::myList(), Customer::Summary(), contact::Summary(), and ViewFiche().

+

+ + + + +
+ + + + +
$current = (isset($_GET['p_periode']))?$_GET['p_periode']:$User->GetPeriode()
+
+ + + + + +
+   + + +

+ +

+Definition at line 123 of file facture.inc.php.

+

+ + + + +
+ + + + +
$form = FormVenteView($cn,$_GET['p_jrn'],$User->GetPeriode(),$_POST,$_POST['nb_item'],'noform','')
+
+ + + + + +
+   + + +

+ +

+Definition at line 186 of file facture.inc.php.

+

+ + + + +
+ + + + +
$h_url = sprintf('<input type="hidden" name="url" value="%s">',urldecode($_REQUEST['url']))
+
+ + + + + +
+   + + +

+ +

+Definition at line 54 of file facture.inc.php.

+

+ + + + +
+ + + + +
$hid = new widget("hidden")
+
+ + + + + +
+   + + +

+ +

+Definition at line 106 of file facture.inc.php.

+

+ + + + +
+ + + + +
$l = ""
+
+ + + + + +
+   + + +

+ +

+Definition at line 138 of file facture.inc.php. +

+Referenced by DisplayDetailModele(), Cezpdf::ezPRVTaddPageNumbers(), GetConcerned(), GetFormulaValue(), and ViewDetailStock().

+

+ + + + +
+ + + + +
$offset = (isset($_GET['offset']))?$_GET['offset']:0
+
+ + + + + +
+   + + +

+ +

+Definition at line 136 of file facture.inc.php. +

+Referenced by jrn_navigation_bar(), ListJrn(), action::myList(), Customer::Summary(), contact::Summary(), and ViewFiche().

+

+ + + + +
+ + + + +
$page = (isset($_GET['offset']))?$_GET['page']:1
+
+ + + + + +
+   + + +

+ +

+Definition at line 135 of file facture.inc.php. +

+Referenced by action::myList(), Customer::Summary(), contact::Summary(), and ViewFiche().

+

+ + + + +
+ + + + +
$paid = ($paid=='on')?'paid':''
+
+ + + + + +
+   + + +

+ +

+Definition at line 93 of file facture.inc.php.

+

+ + + + +
+ + + + +
$periode_start = make_array($cn,"select p_id,to_char(p_start,'DD-MM-YYYY') from parm_periode order by p_id")
+
+ + + + + +
+   + + +

+ +

+Definition at line 121 of file facture.inc.php.

+

+ + + + +
+ + + + +
$qcode = (isset($_GET['qcode']))?$_GET['qcode']:""
+
+ + + + + +
+   + + +

+ +

+Definition at line 127 of file facture.inc.php.

+

+ + + + +
+ + + + +
$Res = ExecSql($cn,$sql)
+
+ + + + + +
+   + + +

+ +

+Definition at line 83 of file facture.inc.php.

+

+ + + + +
+ + + + +
$sql = "update jrn set jr_rapt='' where jr_id=$ad"
+
+ + + + + +
+   + + +

+ +

+Definition at line 82 of file facture.inc.php. +

+Referenced by cl_user::AccessJrn(), AddFiche(), AddForm(), AddModele(), cl_user::Admin(), fiche::blank(), Centralise(), cl_user::Check(), CheckDossier(), CheckIsAdmin(), fiche::CountByDef(), Document_modele::Delete(), fiche::Display(), EncodeFiche(), ExecuteScript(), FormAchInput(), FormPeriode(), FormPeriodeMult(), FormVenInput(), parm_code::Get(), fiche_def_ref::Get(), fiche_def::Get(), Document_type::get(), fiche_def::GetAll(), GetAllUser(), fiche::getAttribut(), fiche_def::GetAttribut(), GetAvailableFolder(), fiche::GetByDef(), fiche::GetByQCode(), fiche::GetByType(), GetClass(), GetConcerned(), jrn::GetDefLine(), GetFicheDef(), GetFicheDefRef(), GetFicheJrn(), getFicheNameCode(), Customer::GetFromPoste(), fiche::getName(), GetPeriode(), cl_user::GetPreferences(), GetQuantity(), GetRappel(), Balance::GetRow(), jrn::GetRowSimple(), GetUserProperty(), fiche::insert(), InsertJrn(), InsertJrnx(), InsertModeleLine(), InsertStockGoods(), IsFicheOfJrn(), ListJrn(), parm_code::LoadAll(), fiche_def_ref::LoadAll(), Invoice::myList(), Document_modele::myList(), action::myList(), new_fiche(), PeriodeClosed(), fiche::remove(), parm_code::Save(), fiche_def_ref::Save(), Document_modele::Save(), Document::SaveGenerated(), SaveModeleName(), action::SaveStage2(), cl_user::SetPeriode(), fiche::strAttribut(), SyncRight(), TransferCSV(), fiche::update(), UpdateCSV(), UpdateFiche(), UpdateForm(), Document::Upload(), Customer::VatListing(), VerifImport(), ViewDetailStock(), ViewFicheDetail(), ViewJrn(), and ViewStock().

+

+ + + + +
+ + + + +
$step = $_SESSION['g_pagesize']
+
+ + + + + +
+   + + +

+ +

+Definition at line 134 of file facture.inc.php. +

+Referenced by jrn_navigation_bar(), action::myList(), and ViewFiche().

+

+ + + + +
+ + + + +
$str_file = $doc->Generate()
+
+ + + + + +
+   + + +

+ +

+Definition at line 199 of file facture.inc.php. +

+Referenced by action::SaveStage2().

+

+ + + + +
+ + + + +
$w = new widget("select")
+
+ + + + + +
+   + + +

+ +

+Definition at line 119 of file facture.inc.php.

+

+ + + + +
+ + + + +
$doc ag_id = 0
+
+ + + + + +
+   + + +

+ +

+Definition at line 198 of file facture.inc.php. +

+Referenced by action::SaveStage2().

+

+ + + + +
+ + + + +
$doc f_id = $_POST['e_client']
+
+ + + + + +
+   + + +

+ +

+Definition at line 196 of file facture.inc.php. +

+Referenced by action::action(), fiche::GetByDef(), fiche::GetByQCode(), fiche::GetByType(), GetFicheJrn(), getFicheNameCode(), Customer::GetFromPoste(), InsertStockGoods(), action::myList(), and contact::Summary().

+

+ + + + +
+ + + + +
$doc md_id = $_POST['gen_doc']
+
+ + + + + +
+   + + +

+ +

+Definition at line 197 of file facture.inc.php.

+

+ + + + +
+ + + + +
$hid name = "p_action"
+
+ + + + + +
+   + + +

+ +

+Definition at line 108 of file facture.inc.php.

+

+ + + + +
+ + + + +
w selected = $current
+
+ + + + + +
+   + + +

+ +

+Definition at line 124 of file facture.inc.php. +

+Referenced by widget::IOValue(), RecordJrn(), and widget::widget().

+

+ + + + +
+ + + + +
$hid value = "facture"
+
+ + + + + +
+   + + +

+ +

+Definition at line 109 of file facture.inc.php.

+


Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  + +doxygen 1.4.4
+ + diff --git a/doc/developper/html/fiche_8php-source.html b/doc/developper/html/fiche_8php-source.html index c21815002..1804e7bd2 100644 --- a/doc/developper/html/fiche_8php-source.html +++ b/doc/developper/html/fiche_8php-source.html @@ -185,7 +185,7 @@ 00179 } 00180 html_page_stop(); 00181 ?> -
Generated on Thu Jun 22 23:54:03 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/fiche_8php.html b/doc/developper/html/fiche_8php.html index 5c074a4ee..707490408 100644 --- a/doc/developper/html/fiche_8php.html +++ b/doc/developper/html/fiche_8php.html @@ -75,7 +75,7 @@ Definition at line 35 of Definition at line 37 of file fiche.php. -
Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/fiche__csv_8php-source.html b/doc/developper/html/fiche__csv_8php-source.html index 21324eb55..001799d4d 100644 --- a/doc/developper/html/fiche__csv_8php-source.html +++ b/doc/developper/html/fiche__csv_8php-source.html @@ -103,7 +103,7 @@ 00098 } 00099 exit; 00100 ?> -
Generated on Thu Jun 22 23:54:03 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/fiche__csv_8php.html b/doc/developper/html/fiche__csv_8php.html index 75f3dec3f..be2d0c6b9 100644 --- a/doc/developper/html/fiche__csv_8php.html +++ b/doc/developper/html/fiche__csv_8php.html @@ -212,7 +212,7 @@ Definition at line 3699 of file fiche_csv.php. -
Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/fiche__def_8inc_8php-source.html b/doc/developper/html/fiche__def_8inc_8php-source.html index 4b223fc04..cd02c08f7 100644 --- a/doc/developper/html/fiche__def_8inc_8php-source.html +++ b/doc/developper/html/fiche__def_8inc_8php-source.html @@ -80,7 +80,7 @@ 00075 echo '</form>'; 00076 echo '</div>'; 00077 } -
Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/fiche__def_8inc_8php.html b/doc/developper/html/fiche__def_8inc_8php.html index a69fc35db..67c8f1177 100644 --- a/doc/developper/html/fiche__def_8inc_8php.html +++ b/doc/developper/html/fiche__def_8inc_8php.html @@ -272,7 +272,7 @@ Definition at line Referenced by fiche_def_ref::fiche_def_ref(), fiche_def_ref::Get(), Get_fiche_def_ref(), fiche_def_ref::Input(), and fiche_def_ref::Save(). -
Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/fiche__inc_8php-source.html b/doc/developper/html/fiche__inc_8php-source.html index 017834767..a5fb3b8d9 100644 --- a/doc/developper/html/fiche__inc_8php-source.html +++ b/doc/developper/html/fiche__inc_8php-source.html @@ -1146,7 +1146,7 @@ 01553 return 1; 01554 } 01555 ?> -
Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/fiche__inc_8php.html b/doc/developper/html/fiche__inc_8php.html index 4bad67970..0fe935a04 100644 --- a/doc/developper/html/fiche__inc_8php.html +++ b/doc/developper/html/fiche__inc_8php.html @@ -1753,7 +1753,7 @@ Definition at line 488$Res, $sql, EncodeFiche(), ExecSql(), and GetFicheDef(). -
Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/fiche__new_8php-source.html b/doc/developper/html/fiche__new_8php-source.html index 8aba90e0b..7b9764900 100644 --- a/doc/developper/html/fiche__new_8php-source.html +++ b/doc/developper/html/fiche__new_8php-source.html @@ -200,7 +200,7 @@ 00195 echo "<FORM>"; 00196 } 00197 ?> -
Generated on Thu Jun 22 23:54:03 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/fiche__new_8php.html b/doc/developper/html/fiche__new_8php.html index 46269e1f8..14f0933c6 100644 --- a/doc/developper/html/fiche__new_8php.html +++ b/doc/developper/html/fiche__new_8php.html @@ -286,7 +286,7 @@ Definition at line 31116 of file fiche_new.php. -
Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/fiche__search_8php-source.html b/doc/developper/html/fiche__search_8php-source.html index 43c3cdb06..df6aa2029 100644 --- a/doc/developper/html/fiche__search_8php-source.html +++ b/doc/developper/html/fiche__search_8php-source.html @@ -183,7 +183,7 @@ 00178 00179 html_page_stop(); 00180 ?> -
Generated on Thu Jun 22 23:54:03 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/fiche__search_8php.html b/doc/developper/html/fiche__search_8php.html index 311cb931c..92f477721 100644 --- a/doc/developper/html/fiche__search_8php.html +++ b/doc/developper/html/fiche__search_8php.html @@ -264,7 +264,7 @@ Definition at line 11 Definition at line 32 of file fiche_search.php. -
Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/files.html b/doc/developper/html/files.html index 7f82c5171..09b138c32 100644 --- a/doc/developper/html/files.html +++ b/doc/developper/html/files.html @@ -141,7 +141,7 @@ /home/dany/developpement/phpcompta-dev/phpcompta/include/user_menu.php [code]Nearly all the menu are here, some of them returns a HTML string, others echo directly the result /home/dany/developpement/phpcompta-dev/phpcompta/include/user_update.php [code]Check if still used -
Generated on Thu Jun 22 23:54:03 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/form_8php-source.html b/doc/developper/html/form_8php-source.html index d4f87b228..82b065c22 100644 --- a/doc/developper/html/form_8php-source.html +++ b/doc/developper/html/form_8php-source.html @@ -118,7 +118,7 @@ 00112 //echo "</DIV>"; 00113 html_page_stop(); 00114 ?> -
Generated on Thu Jun 22 23:54:03 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/form_8php.html b/doc/developper/html/form_8php.html index d296c8abe..8c93de09d 100644 --- a/doc/developper/html/form_8php.html +++ b/doc/developper/html/form_8php.html @@ -129,7 +129,7 @@ Definition at line 37 of f Definition at line 91 of file form.php. -
Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/form__csv_8php-source.html b/doc/developper/html/form__csv_8php-source.html index 667548552..1a679d7ea 100644 --- a/doc/developper/html/form__csv_8php-source.html +++ b/doc/developper/html/form__csv_8php-source.html @@ -104,7 +104,7 @@ 00098 } 00099 exit; 00100 ?> -
Generated on Thu Jun 22 23:54:03 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/form__csv_8php.html b/doc/developper/html/form__csv_8php.html index 1894a7a7f..fc760413d 100644 --- a/doc/developper/html/form__csv_8php.html +++ b/doc/developper/html/form__csv_8php.html @@ -102,7 +102,7 @@ Definition at line 40 Definition at line 36 of file form_csv.php. -
Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/form__inc_8php-source.html b/doc/developper/html/form__inc_8php-source.html index 26da217e9..795cce802 100644 --- a/doc/developper/html/form__inc_8php-source.html +++ b/doc/developper/html/form__inc_8php-source.html @@ -242,7 +242,7 @@ 00303 } 00304 00305 ?> -
Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/form__inc_8php.html b/doc/developper/html/form__inc_8php.html index 8dde96acf..19d428fe7 100644 --- a/doc/developper/html/form__inc_8php.html +++ b/doc/developper/html/form__inc_8php.html @@ -457,7 +457,7 @@ Definition at line 117$array, $l_line, EncodeForm(), GetDataForm(), GetFormName(), and GetNumberLine(). -
Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/form__pdf_8php-source.html b/doc/developper/html/form__pdf_8php-source.html index 3fba4c3cb..83059c4ba 100644 --- a/doc/developper/html/form__pdf_8php-source.html +++ b/doc/developper/html/form__pdf_8php-source.html @@ -111,7 +111,7 @@ 00106 $pdf->ezStream(); 00107 00108 ?> -
Generated on Thu Jun 22 23:54:03 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/form__pdf_8php.html b/doc/developper/html/form__pdf_8php.html index 49b1b396f..98d0e657c 100644 --- a/doc/developper/html/form__pdf_8php.html +++ b/doc/developper/html/form__pdf_8php.html @@ -75,7 +75,7 @@ Definition at line 33 Definition at line 42 of file form_pdf.php. -
Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/fortis__be_8inc_8php-source.html b/doc/developper/html/fortis__be_8inc_8php-source.html index 29adda342..65467c34f 100644 --- a/doc/developper/html/fortis__be_8inc_8php-source.html +++ b/doc/developper/html/fortis__be_8inc_8php-source.html @@ -115,7 +115,7 @@ 00111 } // file is read 00112 fclose($handle); 00113 ?> -
Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/fortis__be_8inc_8php.html b/doc/developper/html/fortis__be_8inc_8php.html index 9f825994b..d172cba4e 100644 --- a/doc/developper/html/fortis__be_8inc_8php.html +++ b/doc/developper/html/fortis__be_8inc_8php.html @@ -301,7 +301,7 @@ Definition at line Definition at line 71 of file fortis_be.inc.php. -
Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/functions.html b/doc/developper/html/functions.html index 4c49dcdad..99e9f0073 100644 --- a/doc/developper/html/functions.html +++ b/doc/developper/html/functions.html @@ -116,7 +116,7 @@ Here is a list of all struct and union fields with links to the structures/union : Customer
  • $wordSpaceAdjust : Cpdf
  • $y : Cezpdf -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:47 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/functions_0x61.html b/doc/developper/html/functions_0x61.html index 605afab30..ff37304ab 100644 --- a/doc/developper/html/functions_0x61.html +++ b/doc/developper/html/functions_0x61.html @@ -34,7 +34,7 @@ Here is a list of all struct and union fields with links to the structures/union : Cpdf
  • ARC4_init() : Cpdf
  • Attribut() : Attribut -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:47 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/functions_0x62.html b/doc/developper/html/functions_0x62.html index 85be4c7b7..7a38018e2 100644 --- a/doc/developper/html/functions_0x62.html +++ b/doc/developper/html/functions_0x62.html @@ -15,7 +15,7 @@ Here is a list of all struct and union fields with links to the structures/union
  • Balance() : Balance
  • blank() : fiche -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:47 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/functions_0x63.html b/doc/developper/html/functions_0x63.html index 104d5d966..e4f0f3e52 100644 --- a/doc/developper/html/functions_0x63.html +++ b/doc/developper/html/functions_0x63.html @@ -26,7 +26,7 @@ Here is a list of all struct and union fields with links to the structures/union : Creport
  • curve() : Cpdf
  • Customer() : Customer -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:47 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/functions_0x64.html b/doc/developper/html/functions_0x64.html index 891ae4746..87e9f0480 100644 --- a/doc/developper/html/functions_0x64.html +++ b/doc/developper/html/functions_0x64.html @@ -20,7 +20,7 @@ Here is a list of all struct and union fields with links to the structures/union : Document_modele
  • document_type() : Document_type
  • dots() : Creport -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:47 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/functions_0x65.html b/doc/developper/html/functions_0x65.html index 6432e189c..6cccc456e 100644 --- a/doc/developper/html/functions_0x65.html +++ b/doc/developper/html/functions_0x65.html @@ -40,7 +40,7 @@ Here is a list of all struct and union fields with links to the structures/union : Cezpdf
  • ezText() : Cezpdf
  • ezWhatPageNumber() : Cezpdf -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:47 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/functions_0x66.html b/doc/developper/html/functions_0x66.html index 54d8a89c0..28b7680cb 100644 --- a/doc/developper/html/functions_0x66.html +++ b/doc/developper/html/functions_0x66.html @@ -22,7 +22,7 @@ Here is a list of all struct and union fields with links to the structures/union : Document_modele
  • FormAdd() : Invoice
  • FormDelete() : Invoice -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:47 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/functions_0x67.html b/doc/developper/html/functions_0x67.html index 0d0e46c45..b563621c0 100644 --- a/doc/developper/html/functions_0x67.html +++ b/doc/developper/html/functions_0x67.html @@ -38,7 +38,7 @@ Here is a list of all struct and union fields with links to the structures/union : poste
  • GetSoldeDetail() : poste
  • getTextWidth() : Cpdf -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:47 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/functions_0x68.html b/doc/developper/html/functions_0x68.html index c07cf76bf..336da94d5 100644 --- a/doc/developper/html/functions_0x68.html +++ b/doc/developper/html/functions_0x68.html @@ -14,7 +14,7 @@ Here is a list of all struct and union fields with links to the structures/union

    - h -

    -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:47 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/functions_0x69.html b/doc/developper/html/functions_0x69.html index b5e678df3..742d1b928 100644 --- a/doc/developper/html/functions_0x69.html +++ b/doc/developper/html/functions_0x69.html @@ -19,7 +19,7 @@ Here is a list of all struct and union fields with links to the structures/union : cl_user
  • Invoice() : Invoice
  • IOValue() : widget -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:47 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/functions_0x6a.html b/doc/developper/html/functions_0x6a.html index f1d8d979d..b438893da 100644 --- a/doc/developper/html/functions_0x6a.html +++ b/doc/developper/html/functions_0x6a.html @@ -14,7 +14,7 @@ Here is a list of all struct and union fields with links to the structures/union

    - j -

    -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:47 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/functions_0x6c.html b/doc/developper/html/functions_0x6c.html index 3a8371c7b..54c73d972 100644 --- a/doc/developper/html/functions_0x6c.html +++ b/doc/developper/html/functions_0x6c.html @@ -16,7 +16,7 @@ Here is a list of all struct and union fields with links to the structures/union : Cpdf
  • LoadAll() : parm_code, fiche_def_ref
  • loadTemplate() : Cezpdf -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:47 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/functions_0x6d.html b/doc/developper/html/functions_0x6d.html index c50b3549f..54c659868 100644 --- a/doc/developper/html/functions_0x6d.html +++ b/doc/developper/html/functions_0x6d.html @@ -15,7 +15,7 @@ Here is a list of all struct and union fields with links to the structures/union
  • md5_16() : Cpdf
  • myList() : Invoice, Document_modele, action -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:47 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/functions_0x6e.html b/doc/developper/html/functions_0x6e.html index 301db8380..dfc8f1825 100644 --- a/doc/developper/html/functions_0x6e.html +++ b/doc/developper/html/functions_0x6e.html @@ -15,7 +15,7 @@ Here is a list of all struct and union fields with links to the structures/union
  • newDocument() : Cpdf
  • newPage() : Cpdf -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:47 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/functions_0x6f.html b/doc/developper/html/functions_0x6f.html index 23497e327..b86902739 100644 --- a/doc/developper/html/functions_0x6f.html +++ b/doc/developper/html/functions_0x6f.html @@ -34,7 +34,7 @@ Here is a list of all struct and union fields with links to the structures/union : Cpdf
  • output() : Cpdf
  • Own() : Own -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:47 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/functions_0x70.html b/doc/developper/html/functions_0x70.html index 64118de6b..b91f95cc9 100644 --- a/doc/developper/html/functions_0x70.html +++ b/doc/developper/html/functions_0x70.html @@ -23,7 +23,7 @@ Here is a list of all struct and union fields with links to the structures/union : Cpdf
  • PRVTcheckTextDirective1() : Cpdf
  • PRVTgetTextPosition() : Cpdf -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:47 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/functions_0x72.html b/doc/developper/html/functions_0x72.html index 2702e555d..b26e3ec4d 100644 --- a/doc/developper/html/functions_0x72.html +++ b/doc/developper/html/functions_0x72.html @@ -21,7 +21,7 @@ Here is a list of all struct and union fields with links to the structures/union : widget
  • restoreState() : Cpdf
  • rf() : Creport -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:47 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/functions_0x73.html b/doc/developper/html/functions_0x73.html index 0430ede7f..38f46c5f5 100644 --- a/doc/developper/html/functions_0x73.html +++ b/doc/developper/html/functions_0x73.html @@ -35,7 +35,7 @@ Here is a list of all struct and union fields with links to the structures/union : Cpdf
  • Submit() : widget
  • Summary() : Customer, contact -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:47 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/functions_0x74.html b/doc/developper/html/functions_0x74.html index 823b870f7..9a69a9452 100644 --- a/doc/developper/html/functions_0x74.html +++ b/doc/developper/html/functions_0x74.html @@ -14,7 +14,7 @@ Here is a list of all struct and union fields with links to the structures/union

    - t -

    • transaction() : Cpdf
    -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:47 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/functions_0x75.html b/doc/developper/html/functions_0x75.html index 7b94cd3e1..38ec13505 100644 --- a/doc/developper/html/functions_0x75.html +++ b/doc/developper/html/functions_0x75.html @@ -18,7 +18,7 @@ Here is a list of all struct and union fields with links to the structures/union : cl_user
  • UpdateRow() : Own
  • Upload() : Document -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:47 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/functions_0x76.html b/doc/developper/html/functions_0x76.html index 9d7eabbe8..1d48e7bdf 100644 --- a/doc/developper/html/functions_0x76.html +++ b/doc/developper/html/functions_0x76.html @@ -14,7 +14,7 @@ Here is a list of all struct and union fields with links to the structures/union

    - v -

    -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:47 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/functions_0x77.html b/doc/developper/html/functions_0x77.html index cb54137c3..90466bfb6 100644 --- a/doc/developper/html/functions_0x77.html +++ b/doc/developper/html/functions_0x77.html @@ -14,7 +14,7 @@ Here is a list of all struct and union fields with links to the structures/union

    - w -

    -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:47 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/functions_func.html b/doc/developper/html/functions_func.html index 6129e9736..d06e3435f 100644 --- a/doc/developper/html/functions_func.html +++ b/doc/developper/html/functions_func.html @@ -241,7 +241,7 @@

    - w -

    -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:47 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/functions_vars.html b/doc/developper/html/functions_vars.html index 47576b1ab..c212e42bb 100644 --- a/doc/developper/html/functions_vars.html +++ b/doc/developper/html/functions_vars.html @@ -116,7 +116,7 @@ : Customer
  • $wordSpaceAdjust : Cpdf
  • $y : Cezpdf -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:47 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/gestion__fiche__search_8php-source.html b/doc/developper/html/gestion__fiche__search_8php-source.html new file mode 100644 index 000000000..206aebf4c --- /dev/null +++ b/doc/developper/html/gestion__fiche__search_8php-source.html @@ -0,0 +1,170 @@ + + +phpcompta: /home/dany/developpement/phpcompta-dev/phpcompta/html/gestion_fiche_search.php Source File + + + + + +

    gestion_fiche_search.php

    Go to the documentation of this file.
    00001 <?
    +00002 /*
    +00003  *   This file is part of PhpCompta.
    +00004  *
    +00005  *   PhpCompta is free software; you can redistribute it and/or modify
    +00006  *   it under the terms of the GNU General Public License as published by
    +00007  *   the Free Software Foundation; either version 2 of the License, or
    +00008  *   (at your option) any later version.
    +00009  *
    +00010  *   PhpCompta is distributed in the hope that it will be useful,
    +00011  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
    +00012  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    +00013  *   GNU General Public License for more details.
    +00014  *
    +00015  *   You should have received a copy of the GNU General Public License
    +00016  *   along with PhpCompta; if not, write to the Free Software
    +00017  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    +00018 */
    +00019 // Copyright Author Dany De Bontridder ddebontridder@yahoo.fr
    +00020 /* $Revision$ */
    +00026 include_once ("ac_common.php");
    +00027 include_once ("poste.php");
    +00028 include_once ("postgres.php");
    +00029 
    +00030 /* Admin. Dossier */
    +00031 $rep=DbConnect();
    +00032 include_once ("class_user.php");
    +00033 $User=new cl_user($rep);
    +00034 $User->Check();
    +00035 
    +00036 //determine focus:
    +00037 if ( isset ( $_POST['search']) )
    +00038 {
    +00039   html_page_start($User->theme,"onLoad=\"window.focus();SetFocus('select0',0)\"");
    +00040 } else
    +00041 {
    +00042   html_page_start($User->theme,"onLoad=\"window.focus();SetFocus('fic_search',0)\"");
    +00043 }
    +00044 
    +00045 
    +00046 
    +00047 if ( ! isset ( $_SESSION['g_dossier'] ) ) {
    +00048   echo "You must choose a Dossier ";
    +00049   exit -2;
    +00050 }
    +00051 
    +00052 include_once ("check_priv.php");
    +00053 $cn=DbConnect($_SESSION['g_dossier']);
    +00054 // Get The priv on the selected folder
    +00055 if ( $User->CheckAction($cn,FICHE_READ) == 0 ){
    +00056     /* Cannot Access */
    +00057     echo '<h2 class="error"> Vous n\' avez pas accès</h2>';
    +00058     return;
    +00059 }
    +00060 
    +00061 ?>
    +00062 <script language="javascript">
    +00063 function SetData (name_ctl,value,value_2,value_3,value_4,value_5,value_6) {
    +00064   self.opener.SetData(name_ctl,value,value_2,value_3,value_4,value_5,value_6);
    +00065   window.close();
    +00066 }
    +00067 </script>
    +00068 <?
    +00069 $cn=DbConnect($_SESSION['g_dossier']);
    +00070 $r="";
    +00071 
    +00072 foreach ($HTTP_GET_VARS as $key=>$element) {
    +00073   // The value are e_name e_type e_PHPSESSID
    +00074   ${"e_$key"}=$element;
    +00075   echo_debug('gestion_fiche_search.php',__LINE__,"e_$key =$element<br>");
    +00076 
    +00077 }
    +00078 $e_fic_search=(isset ($_POST['fic_search']))?$_POST['fic_search']:"";
    +00079 
    +00080 $r.="<FORM METHOD=\"POST\" ACTION=\"".$_SERVER['REQUEST_URI']."\">";
    +00081 $r.="Recherche : ".'<INPUT TYPE="TEXT" NAME="fic_search" VALUE="'.$e_fic_search.'">';
    +00082 $r.='<INPUT TYPE="submit" name="search" value="Go">';
    +00083 $r.="</form>";
    +00084 $r.="<div>";
    +00085 echo $r;
    +00086 $r="";
    +00087 
    +00088 // Show result of the search 
    +00089 if ( isset ( $_POST['search']) )  {
    +00090 
    +00091   // Get the field from database
    +00092   if ( $e_type == 'deb' ) {
    +00093     $get='jrn_def_fiche_deb';
    +00094     $list_fiche=get_list_fiche($cn,$get,$_GET['p_jrn']);
    +00095     $sql="select * from vw_fiche_attr where fd_id in ( $list_fiche )";
    +00096   }
    +00097   if ( $e_type == 'cred' ) {
    +00098     $get='jrn_def_fiche_cred';
    +00099     $list_fiche=get_list_fiche($cn,$get,$_GET['p_jrn']);
    +00100     $sql="select * from vw_fiche_attr where fd_id in ( $list_fiche )";
    +00101   }
    +00102 
    +00103 
    +00104   // if e_type contains a list of value
    +00105   if ( $e_type != 'cred' and $e_type != 'deb')     {
    +00106     $list_fiche=$e_type;
    +00107     $sql="select * from vw_fiche_attr where frd_id in ( $list_fiche )";
    +00108     //    $sql="select * from vw_fiche_attr ";
    +00109   }
    +00110 // e_fic_search contains the pattern
    +00111 
    +00112   if (strlen(trim($e_fic_search) ) == 0 ) {
    +00113     $Res=ExecSql($cn,$sql); 
    +00114   } else {
    +00115     $Res=ExecSql($cn,"$sql and upper(vw_name) like upper('%$e_fic_search%')"); 
    +00116   }
    +00117 
    +00118   // Test whether rows are returned
    +00119  if ( ($Max = pg_NumRows($Res) ) == 0 ) {
    +00120    echo_warning("Pas de fiche trouvée");
    +00121    return;
    +00122  } 
    +00123  // Show the cards
    +00124  for ( $i=0; $i < $Max; $i++)  {
    +00125 
    +00126   //set focus on first "Select" button.
    +00127    
    +00128   $row=pg_fetch_array($Res,$i);
    +00129   if ( $i %2  == 0 ) 
    +00130     $class="even";
    +00131   else
    +00132     $class="odd";
    +00133   $text=FormatString($row['vw_name']);
    +00134   $r.="<span class=\"$class\">";
    +00135   $r.=sprintf ('<input name="%s" type="button" onClick="'."SetData('%s','%s','%s','%s','%s','%s','%s')".'" value="%s">',
    +00136         "select" . $i,
    +00137               $e_name,
    +00138               $row['quick_code'] ,
    +00139               $text, 
    +00140               $row['vw_sell'], 
    +00141               $row['vw_buy'], 
    +00142               $row['tva_id'], 
    +00143                $row['tva_label']  ,
    +00144                $row['quick_code'] 
    +00145                );
    +00146   $r.="&nbsp;".$row['vw_name'];
    +00147   if ( $row['vw_addr'] !="")
    +00148     $r.="<br><font size=-1>Adresse:&nbsp;".$row['vw_addr']."&nbsp;".$row['vw_cp']."</font>";
    +00149   $r.="</span>";
    +00150  }
    +00151 }
    +00152 $r.="</div>";
    +00153 $r.="</FORM>";
    +00154 echo $r;
    +00155 
    +00156 ?>
    +00157 
    +00158 <?
    +00159 
    +00160 html_page_stop();
    +00161 ?>
    +

    Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  + +doxygen 1.4.4
    + + diff --git a/doc/developper/html/gestion__fiche__search_8php.html b/doc/developper/html/gestion__fiche__search_8php.html new file mode 100644 index 000000000..b82b5616d --- /dev/null +++ b/doc/developper/html/gestion__fiche__search_8php.html @@ -0,0 +1,164 @@ + + +phpcompta: /home/dany/developpement/phpcompta-dev/phpcompta/html/gestion_fiche_search.php File Reference + + + + + +

    gestion_fiche_search.php File Reference

    Obsolete. More... +

    + +

    +Go to the source code of this file. + + + + + + + + + + + + +

    Variables

     $rep = DbConnect()
     $User = new cl_user($rep)
     $cn = DbConnect($_SESSION['g_dossier'])
     $r = "<FORM METHOD=\"POST\" ACTION=\"".$_SERVER['REQUEST_URI']."\">"
     $sql = "select * from vw_fiche_attr where fd_id in ( $list_fiche )"
    +


    Detailed Description

    +Obsolete. +

    +

    Todo:
    to remove
    + +

    +Definition in file gestion_fiche_search.php.


    Variable Documentation

    +

    + + + + +
    + + + + +
    $cn = DbConnect($_SESSION['g_dossier'])
    +
    + + + + + +
    +   + + +

    + +

    +Definition at line 53 of file gestion_fiche_search.php.

    +

    + + + + +
    + + + + +
    $r = "<FORM METHOD=\"POST\" ACTION=\"".$_SERVER['REQUEST_URI']."\">"
    +
    + + + + + +
    +   + + +

    + +

    +Definition at line 80 of file gestion_fiche_search.php.

    +

    + + + + +
    + + + + +
    $rep = DbConnect()
    +
    + + + + + +
    +   + + +

    + +

    +Definition at line 31 of file gestion_fiche_search.php.

    +

    + + + + +
    + + + + +
    $sql = "select * from vw_fiche_attr where fd_id in ( $list_fiche )"
    +
    + + + + + +
    +   + + +

    + +

    +Definition at line 95 of file gestion_fiche_search.php.

    +

    + + + + +
    + + + + +
    $User = new cl_user($rep)
    +
    + + + + + +
    +   + + +

    + +

    +Definition at line 33 of file gestion_fiche_search.php.

    +


    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  + +doxygen 1.4.4
    + + diff --git a/doc/developper/html/globals.html b/doc/developper/html/globals.html index 15bd4e238..02ef8229a 100644 --- a/doc/developper/html/globals.html +++ b/doc/developper/html/globals.html @@ -281,7 +281,7 @@ Here is a list of all functions, variables, defines, enums, and typedefs with li : ecrit_ouv.php
  • $xpos : readme.php
  • $year : impress_listing_client.php -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:49 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_0x5f.html b/doc/developper/html/globals_0x5f.html index 75eb06b94..348c4f495 100644 --- a/doc/developper/html/globals_0x5f.html +++ b/doc/developper/html/globals_0x5f.html @@ -19,7 +19,7 @@ Here is a list of all functions, variables, defines, enums, and typedefs with li : readme.php
  • __pad4__ : readme.php
  • __pad5__ : readme.php -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:49 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_0x61.html b/doc/developper/html/globals_0x61.html index e597691ba..4e1c01484 100644 --- a/doc/developper/html/globals_0x61.html +++ b/doc/developper/html/globals_0x61.html @@ -38,7 +38,7 @@ Here is a list of all functions, variables, defines, enums, and typedefs with li : constant.php
  • ATTR_DEF_TVA_NON_DEDUCTIBLE : constant.php
  • ATTR_DEF_TVA_NON_DEDUCTIBLE_RECUP : constant.php -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:49 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_0x62.html b/doc/developper/html/globals_0x62.html index 9c77de277..f5ad1df05 100644 --- a/doc/developper/html/globals_0x62.html +++ b/doc/developper/html/globals_0x62.html @@ -20,7 +20,7 @@ Here is a list of all functions, variables, defines, enums, and typedefs with li : user_impress.php
  • BQE : constant.php
  • break : user_impress.php, readme.php -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:49 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_0x63.html b/doc/developper/html/globals_0x63.html index c828353e3..72b551ede 100644 --- a/doc/developper/html/globals_0x63.html +++ b/doc/developper/html/globals_0x63.html @@ -33,7 +33,7 @@ Here is a list of all functions, variables, defines, enums, and typedefs with li : jrn.php
  • CountSql() : postgres.php
  • CreatePeriodeCond() : impress_inc.php -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:49 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_0x64.html b/doc/developper/html/globals_0x64.html index eb24ee9f1..f39e02cc6 100644 --- a/doc/developper/html/globals_0x64.html +++ b/doc/developper/html/globals_0x64.html @@ -23,7 +23,7 @@ Here is a list of all functions, variables, defines, enums, and typedefs with li : impress_poste.php
  • DisplayDetailModele() : fiche_inc.php
  • domaine : constant.php -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:49 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_0x65.html b/doc/developper/html/globals_0x65.html index ee2dfb7a6..316d6694a 100644 --- a/doc/developper/html/globals_0x65.html +++ b/doc/developper/html/globals_0x65.html @@ -29,7 +29,7 @@ Here is a list of all functions, variables, defines, enums, and typedefs with li : postgres.php
  • exit : user_sec.php, user_jrn.php, show_tva.php, show_pj.php, show_document_modele.php, sec_pdf.php, print_balance.php, poste_csv.php, pcmn_update.php, parametre.php, modify_op.php, line_update.php, jrn_update.php, jrn_search.php, jrn_detail.php, jrn_csv.php, jrn_add.php, fiche_csv.php, facturation.php, export_ouv.php, ecrit_ouv.php, bal_csv.php, annulation.php, admin_repo.php, user_update.php, user_action_ven.php, user_action_ods.php, user_action_gl.php, user_action_fin.php, user_action_ach.php, impress_rapport.php, impress_poste.php, impress_jrn.php, balance.php
  • EXP_IMP_ECR : constant.php -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:49 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_0x66.html b/doc/developper/html/globals_0x66.html index e44d5642b..b852484ba 100644 --- a/doc/developper/html/globals_0x66.html +++ b/doc/developper/html/globals_0x66.html @@ -40,7 +40,7 @@ Here is a list of all functions, variables, defines, enums, and typedefs with li : fiche_def.inc.php
  • frd_id : fiche_def.inc.php
  • frd_text : fiche_def.inc.php -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:49 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_0x67.html b/doc/developper/html/globals_0x67.html index 86fec6fdb..337f2c0a7 100644 --- a/doc/developper/html/globals_0x67.html +++ b/doc/developper/html/globals_0x67.html @@ -75,7 +75,7 @@ Here is a list of all functions, variables, defines, enums, and typedefs with li : postgres.php
  • GetVersion() : setup.php
  • GJRN : constant.php -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:49 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_0x68.html b/doc/developper/html/globals_0x68.html index ea4782e25..675957a6e 100644 --- a/doc/developper/html/globals_0x68.html +++ b/doc/developper/html/globals_0x68.html @@ -17,7 +17,7 @@ Here is a list of all functions, variables, defines, enums, and typedefs with li : ac_common.php
  • html_page_start() : ac_common.php
  • html_page_stop() : ac_common.php -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:49 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_0x69.html b/doc/developper/html/globals_0x69.html index 7770f88e1..4f207623e 100644 --- a/doc/developper/html/globals_0x69.html +++ b/doc/developper/html/globals_0x69.html @@ -30,7 +30,7 @@ Here is a list of all functions, variables, defines, enums, and typedefs with li : fiche_inc.php
  • isNumber() : ac_common.php
  • isValid() : user_common.php -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:49 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_0x6a.html b/doc/developper/html/globals_0x6a.html index df3f579d3..dabae5a61 100644 --- a/doc/developper/html/globals_0x6a.html +++ b/doc/developper/html/globals_0x6a.html @@ -24,7 +24,7 @@ Here is a list of all functions, variables, defines, enums, and typedefs with li : constant.php
  • JS_VIEW_JRN_DETAIL : constant.php
  • JS_VIEW_JRN_MODIFY : constant.php -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:49 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_0x6c.html b/doc/developper/html/globals_0x6c.html index 1069804a9..8dcd54b94 100644 --- a/doc/developper/html/globals_0x6c.html +++ b/doc/developper/html/globals_0x6c.html @@ -17,7 +17,7 @@ Here is a list of all functions, variables, defines, enums, and typedefs with li : constant.php
  • list_client : user_impress.php
  • ListJrn() : user_common.php -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:49 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_0x6d.html b/doc/developper/html/globals_0x6d.html index 16c62e8e4..5983284fc 100644 --- a/doc/developper/html/globals_0x6d.html +++ b/doc/developper/html/globals_0x6d.html @@ -31,7 +31,7 @@ Here is a list of all functions, variables, defines, enums, and typedefs with li : parametre.php
  • MY_STREET : parametre.php
  • MY_TVA : parametre.php -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:49 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_0x6e.html b/doc/developper/html/globals_0x6e.html index 7649d583d..63601a508 100644 --- a/doc/developper/html/globals_0x6e.html +++ b/doc/developper/html/globals_0x6e.html @@ -24,7 +24,7 @@ Here is a list of all functions, variables, defines, enums, and typedefs with li : constant.php
  • NOTCENTRALIZED : constant.php
  • NOTPERIODE : constant.php -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:49 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_0x6f.html b/doc/developper/html/globals_0x6f.html index b2a711d2b..16feda1f1 100644 --- a/doc/developper/html/globals_0x6f.html +++ b/doc/developper/html/globals_0x6f.html @@ -15,7 +15,7 @@ Here is a list of all functions, variables, defines, enums, and typedefs with li
  • ODS : constant.php
  • OPEN : constant.php -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:49 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_0x70.html b/doc/developper/html/globals_0x70.html index 72270d6cd..f2b5da4d3 100644 --- a/doc/developper/html/globals_0x70.html +++ b/doc/developper/html/globals_0x70.html @@ -24,7 +24,7 @@ Here is a list of all functions, variables, defines, enums, and typedefs with li : user_impress.php
  • PosteForm() : poste.php
  • print : impress_rapport.php, impress_poste.php, impress_listing_client.php, impress_jrn.php, impress_bilan.php, class_operation.php -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:49 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_0x72.html b/doc/developper/html/globals_0x72.html index 7869569cf..0a5906f6e 100644 --- a/doc/developper/html/globals_0x72.html +++ b/doc/developper/html/globals_0x72.html @@ -27,7 +27,7 @@ Here is a list of all functions, variables, defines, enums, and typedefs with li : priv_user.php, parametre.php, listing_client.php, jrn_search.php, form.php, fiche_new.php, admin_repo.php, user_action_ach.php, periode.inc.php, impress_listing_client.php
  • Rollback() : postgres.php
  • ros_logo() : readme.php -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:49 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_0x73.html b/doc/developper/html/globals_0x73.html index 72ac7dac7..947bad8ad 100644 --- a/doc/developper/html/globals_0x73.html +++ b/doc/developper/html/globals_0x73.html @@ -46,7 +46,7 @@ Here is a list of all functions, variables, defines, enums, and typedefs with li : constant.php
  • success< br > : test.php, setup.php
  • SyncRight() : postgres.php -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:49 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_0x74.html b/doc/developper/html/globals_0x74.html index 26940fba7..792e45671 100644 --- a/doc/developper/html/globals_0x74.html +++ b/doc/developper/html/globals_0x74.html @@ -17,7 +17,7 @@ Here is a list of all functions, variables, defines, enums, and typedefs with li : test_smarty.php
  • theme : facturation.php
  • TransferCSV() : import_inc.php -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:49 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_0x75.html b/doc/developper/html/globals_0x75.html index eb3587201..e1ba635e5 100644 --- a/doc/developper/html/globals_0x75.html +++ b/doc/developper/html/globals_0x75.html @@ -22,7 +22,7 @@ Here is a list of all functions, variables, defines, enums, and typedefs with li : form_inc.php
  • UpdateJrn() : jrn.php
  • UpdateModele() : fiche_inc.php -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:49 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_0x76.html b/doc/developper/html/globals_0x76.html index 2b90b7609..580c7d817 100644 --- a/doc/developper/html/globals_0x76.html +++ b/doc/developper/html/globals_0x76.html @@ -27,7 +27,7 @@ Here is a list of all functions, variables, defines, enums, and typedefs with li : jrn.php
  • ViewRecord() : jrn.php
  • ViewStock() : stock_inc.php -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:49 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_0x77.html b/doc/developper/html/globals_0x77.html index e6eec48e1..ccfd683c6 100644 --- a/doc/developper/html/globals_0x77.html +++ b/doc/developper/html/globals_0x77.html @@ -15,7 +15,7 @@ Here is a list of all functions, variables, defines, enums, and typedefs with li
  • width : tva.inc.php
  • withStock() : user_common.php -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:49 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_0x79.html b/doc/developper/html/globals_0x79.html index fafad13ff..3e36bf479 100644 --- a/doc/developper/html/globals_0x79.html +++ b/doc/developper/html/globals_0x79.html @@ -14,7 +14,7 @@ Here is a list of all functions, variables, defines, enums, and typedefs with li

    - y -

    -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:49 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_enum.html b/doc/developper/html/globals_enum.html index 9d649adcc..8f7f77878 100644 --- a/doc/developper/html/globals_enum.html +++ b/doc/developper/html/globals_enum.html @@ -132,7 +132,7 @@

    - y -

    -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:49 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_func.html b/doc/developper/html/globals_func.html index a27a386b1..18b8d3688 100644 --- a/doc/developper/html/globals_func.html +++ b/doc/developper/html/globals_func.html @@ -239,7 +239,7 @@

    - w -

    -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:49 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_vars.html b/doc/developper/html/globals_vars.html index 1fd3c1926..849e8a596 100644 --- a/doc/developper/html/globals_vars.html +++ b/doc/developper/html/globals_vars.html @@ -281,7 +281,7 @@ : ecrit_ouv.php
  • $xpos : readme.php
  • $year : impress_listing_client.php -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:49 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_vars_0x5f.html b/doc/developper/html/globals_vars_0x5f.html index 95fe56f65..4b4d88ae8 100644 --- a/doc/developper/html/globals_vars_0x5f.html +++ b/doc/developper/html/globals_vars_0x5f.html @@ -19,7 +19,7 @@ : readme.php
  • __pad4__ : readme.php
  • __pad5__ : readme.php -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:49 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_vars_0x61.html b/doc/developper/html/globals_vars_0x61.html new file mode 100644 index 000000000..ce10c5ce0 --- /dev/null +++ b/doc/developper/html/globals_vars_0x61.html @@ -0,0 +1,21 @@ + + +phpcompta: Data Fields + + + + + +
    $ | _ | a | b | c | d | e | f | h | i | l | m | n | p | r | s | t | v | w
    + +

    + +

    +

    - a -

    +
    Generated on Fri Jun 23 00:12:49 2006 for phpcompta by  + +doxygen 1.4.4
    + + diff --git a/doc/developper/html/globals_vars_0x62.html b/doc/developper/html/globals_vars_0x62.html index 77c16bee2..0c83e04d7 100644 --- a/doc/developper/html/globals_vars_0x62.html +++ b/doc/developper/html/globals_vars_0x62.html @@ -16,7 +16,7 @@ : user_impress.php
  • bilan : user_impress.php
  • break : user_impress.php, readme.php -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:49 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_vars_0x63.html b/doc/developper/html/globals_vars_0x63.html index 2961c0243..5b7287b29 100644 --- a/doc/developper/html/globals_vars_0x63.html +++ b/doc/developper/html/globals_vars_0x63.html @@ -17,7 +17,7 @@ : class_operation.php
  • compile_dir : test_smarty.php
  • config_dir : test_smarty.php -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:49 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_vars_0x64.html b/doc/developper/html/globals_vars_0x64.html index f775bf22a..ed6ccc677 100644 --- a/doc/developper/html/globals_vars_0x64.html +++ b/doc/developper/html/globals_vars_0x64.html @@ -14,7 +14,7 @@

    - d -

    -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:49 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_vars_0x65.html b/doc/developper/html/globals_vars_0x65.html index 38f183f37..8bfa513fa 100644 --- a/doc/developper/html/globals_vars_0x65.html +++ b/doc/developper/html/globals_vars_0x65.html @@ -15,7 +15,7 @@
  • else : user_sec.php
  • exit : user_sec.php, user_jrn.php, show_tva.php, show_pj.php, show_document_modele.php, sec_pdf.php, print_balance.php, poste_csv.php, pcmn_update.php, parametre.php, modify_op.php, line_update.php, jrn_update.php, jrn_search.php, jrn_detail.php, jrn_csv.php, jrn_add.php, fiche_csv.php, facturation.php, export_ouv.php, ecrit_ouv.php, bal_csv.php, annulation.php, admin_repo.php, user_update.php, user_action_ven.php, user_action_ods.php, user_action_gl.php, user_action_fin.php, user_action_ach.php, impress_rapport.php, impress_poste.php, impress_jrn.php, balance.php -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:49 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_vars_0x66.html b/doc/developper/html/globals_vars_0x66.html index af2616085..0b89410d2 100644 --- a/doc/developper/html/globals_vars_0x66.html +++ b/doc/developper/html/globals_vars_0x66.html @@ -18,7 +18,7 @@ : fiche_def.inc.php
  • frd_id : fiche_def.inc.php
  • frd_text : fiche_def.inc.php -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:49 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_vars_0x68.html b/doc/developper/html/globals_vars_0x68.html index 0d6c8d295..22fa280f9 100644 --- a/doc/developper/html/globals_vars_0x68.html +++ b/doc/developper/html/globals_vars_0x68.html @@ -14,7 +14,7 @@

    - h -

    -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:49 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_vars_0x69.html b/doc/developper/html/globals_vars_0x69.html index a468dca43..be0293d03 100644 --- a/doc/developper/html/globals_vars_0x69.html +++ b/doc/developper/html/globals_vars_0x69.html @@ -14,7 +14,7 @@

    - i -

    -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:49 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_vars_0x6c.html b/doc/developper/html/globals_vars_0x6c.html index 908409a59..415d4bca6 100644 --- a/doc/developper/html/globals_vars_0x6c.html +++ b/doc/developper/html/globals_vars_0x6c.html @@ -15,7 +15,7 @@
  • label : ecrit_ouv.php, impress_rapport.php, impress_poste.php, impress_listing_client.php, impress_jrn.php, impress_bilan.php, class_operation.php, balance.php
  • list_client : user_impress.php -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:49 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_vars_0x6d.html b/doc/developper/html/globals_vars_0x6d.html index 91cea5d29..d11617372 100644 --- a/doc/developper/html/globals_vars_0x6d.html +++ b/doc/developper/html/globals_vars_0x6d.html @@ -23,7 +23,7 @@ : parametre.php
  • MY_STREET : parametre.php
  • MY_TVA : parametre.php -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:49 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_vars_0x6e.html b/doc/developper/html/globals_vars_0x6e.html index debfd084d..6ca5e3ce9 100644 --- a/doc/developper/html/globals_vars_0x6e.html +++ b/doc/developper/html/globals_vars_0x6e.html @@ -14,7 +14,7 @@

    - n -

    -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:49 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_vars_0x70.html b/doc/developper/html/globals_vars_0x70.html index 78da545a0..fcca3deba 100644 --- a/doc/developper/html/globals_vars_0x70.html +++ b/doc/developper/html/globals_vars_0x70.html @@ -17,7 +17,7 @@ : poste.inc.php
  • poste : user_impress.php
  • print : impress_rapport.php, impress_poste.php, impress_listing_client.php, impress_jrn.php, impress_bilan.php, class_operation.php -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:49 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_vars_0x72.html b/doc/developper/html/globals_vars_0x72.html index 05fad247d..6002d48ab 100644 --- a/doc/developper/html/globals_vars_0x72.html +++ b/doc/developper/html/globals_vars_0x72.html @@ -16,7 +16,7 @@ : user_impress.php
  • readonly : ecrit_ouv.php
  • return : priv_user.php, parametre.php, listing_client.php, jrn_search.php, form.php, fiche_new.php, admin_repo.php, user_action_ach.php, periode.inc.php, impress_listing_client.php -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:49 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_vars_0x73.html b/doc/developper/html/globals_vars_0x73.html index c43280ff1..343ee20b1 100644 --- a/doc/developper/html/globals_vars_0x73.html +++ b/doc/developper/html/globals_vars_0x73.html @@ -17,7 +17,7 @@ : annulation.php, tva.inc.php
  • start : document_modele.inc.php
  • success< br > : test.php, setup.php -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:49 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_vars_0x74.html b/doc/developper/html/globals_vars_0x74.html index 4c9e063fc..fe805a3b2 100644 --- a/doc/developper/html/globals_vars_0x74.html +++ b/doc/developper/html/globals_vars_0x74.html @@ -16,7 +16,7 @@ : parametre.php, ecrit_ouv.php, impress_rapport.php, impress_poste.php, impress_listing_client.php, impress_jrn.php, impress_bilan.php, class_operation.php, balance.php
  • template_dir : test_smarty.php
  • theme : facturation.php -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:49 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_vars_0x76.html b/doc/developper/html/globals_vars_0x76.html index 578233179..749e9a3bc 100644 --- a/doc/developper/html/globals_vars_0x76.html +++ b/doc/developper/html/globals_vars_0x76.html @@ -14,7 +14,7 @@

    - v -

    -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:49 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_vars_0x77.html b/doc/developper/html/globals_vars_0x77.html index 3bf51b986..8757cafdf 100644 --- a/doc/developper/html/globals_vars_0x77.html +++ b/doc/developper/html/globals_vars_0x77.html @@ -14,7 +14,7 @@

    - w -

    -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:49 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/hierarchy.html b/doc/developper/html/hierarchy.html index d5f1686bc..217c15eaf 100644 --- a/doc/developper/html/hierarchy.html +++ b/doc/developper/html/hierarchy.html @@ -35,7 +35,7 @@
  • rapport
  • widget -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:47 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/import_8php-source.html b/doc/developper/html/import_8php-source.html index de548f141..fdafc247f 100644 --- a/doc/developper/html/import_8php-source.html +++ b/doc/developper/html/import_8php-source.html @@ -102,7 +102,7 @@ 00097 00098 html_page_stop(); 00099 ?> -
    Generated on Thu Jun 22 23:54:03 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/import_8php.html b/doc/developper/html/import_8php.html index de8368c44..0b4ea789a 100644 --- a/doc/developper/html/import_8php.html +++ b/doc/developper/html/import_8php.html @@ -75,7 +75,7 @@ Definition at line 52 of Definition at line 38 of file import.php. -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/import__inc_8php-source.html b/doc/developper/html/import__inc_8php-source.html index ec5c21deb..c9c2da11a 100644 --- a/doc/developper/html/import__inc_8php-source.html +++ b/doc/developper/html/import__inc_8php-source.html @@ -166,7 +166,7 @@ 00190 echo '</FORM>'; 00191 } 00192 ?> -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/import__inc_8php.html b/doc/developper/html/import__inc_8php.html index 5d363f051..5acf34913 100644 --- a/doc/developper/html/import__inc_8php.html +++ b/doc/developper/html/import__inc_8php.html @@ -261,7 +261,7 @@ Definition at line 67$i, $Num, $Res, $sql, $val, ExecSql(), METHOD, name, size, table, value, and width. -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/impress__bilan_8php-source.html b/doc/developper/html/impress__bilan_8php-source.html index 015fbfcde..34f6351cf 100644 --- a/doc/developper/html/impress__bilan_8php-source.html +++ b/doc/developper/html/impress__bilan_8php-source.html @@ -55,7 +55,7 @@ 00053 echo '</FORM>'; 00054 echo '</div>'; 00055 ?> -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/impress__bilan_8php.html b/doc/developper/html/impress__bilan_8php.html index 4e715edbc..a7ad93399 100644 --- a/doc/developper/html/impress__bilan_8php.html +++ b/doc/developper/html/impress__bilan_8php.html @@ -213,7 +213,7 @@ Definition at line 3 Definition at line 36 of file impress_bilan.php. -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/impress__fiche_8php-source.html b/doc/developper/html/impress__fiche_8php-source.html index fe0faebb9..b816adbf1 100644 --- a/doc/developper/html/impress__fiche_8php-source.html +++ b/doc/developper/html/impress__fiche_8php-source.html @@ -147,7 +147,7 @@ 00139 } 00140 00141 ?> -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/impress__fiche_8php.html b/doc/developper/html/impress__fiche_8php.html index 0562af9c8..e4a764a53 100644 --- a/doc/developper/html/impress__fiche_8php.html +++ b/doc/developper/html/impress__fiche_8php.html @@ -407,7 +407,7 @@ Definition at line 5 Definition at line 63 of file impress_fiche.php. -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/impress__inc_8php-source.html b/doc/developper/html/impress__inc_8php-source.html index 1a50285a7..c3bc7c081 100644 --- a/doc/developper/html/impress__inc_8php-source.html +++ b/doc/developper/html/impress__inc_8php-source.html @@ -723,7 +723,7 @@ 00876 } 00877 00878 ?> -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/impress__inc_8php.html b/doc/developper/html/impress__inc_8php.html index 79bcd4354..da0fc03ab 100644 --- a/doc/developper/html/impress__inc_8php.html +++ b/doc/developper/html/impress__inc_8php.html @@ -699,7 +699,7 @@ Definition at line 36< References $centr, echo_debug(), FormPeriodeMult(), METHOD, name, PosteForm(), and value. -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/impress__jrn_8php-source.html b/doc/developper/html/impress__jrn_8php-source.html index ca9dca115..fdcb3c979 100644 --- a/doc/developper/html/impress__jrn_8php-source.html +++ b/doc/developper/html/impress__jrn_8php-source.html @@ -228,7 +228,7 @@ 00229 echo '</FORM>'; 00230 echo '</div>'; 00231 ?> -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/impress__jrn_8php.html b/doc/developper/html/impress__jrn_8php.html index fba186132..3416a3ef6 100644 --- a/doc/developper/html/impress__jrn_8php.html +++ b/doc/developper/html/impress__jrn_8php.html @@ -486,7 +486,7 @@ Definition at line 223 Definition at line 203 of file impress_jrn.php. -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/impress__listing__client_8php-source.html b/doc/developper/html/impress__listing__client_8php-source.html index a1afa11c0..cd4392178 100644 --- a/doc/developper/html/impress__listing__client_8php-source.html +++ b/doc/developper/html/impress__listing__client_8php-source.html @@ -84,7 +84,7 @@ 00084 echo '</div>'; 00085 00086 ?> -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/impress__listing__client_8php.html b/doc/developper/html/impress__listing__client_8php.html index 87cb8f1bb..645e8ebe9 100644 --- a/doc/developper/html/impress__listing__client_8php.html +++ b/doc/developper/html/impress__listing__client_8php.html @@ -241,7 +241,7 @@ Referenced by fiche_de Definition at line 68 of file impress_listing_client.php. -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/impress__poste_8php-source.html b/doc/developper/html/impress__poste_8php-source.html index a7c520d46..e15acdcef 100644 --- a/doc/developper/html/impress__poste_8php-source.html +++ b/doc/developper/html/impress__poste_8php-source.html @@ -141,7 +141,7 @@ 00141 echo '</FORM>'; 00142 echo '</div>'; 00143 ?> -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/impress__poste_8php.html b/doc/developper/html/impress__poste_8php.html index f63cc4168..149129824 100644 --- a/doc/developper/html/impress__poste_8php.html +++ b/doc/developper/html/impress__poste_8php.html @@ -404,7 +404,7 @@ Definition at line 1 Definition at line 121 of file impress_poste.php. -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/impress__rapport_8php-source.html b/doc/developper/html/impress__rapport_8php-source.html index 461024337..8c82fa325 100644 --- a/doc/developper/html/impress__rapport_8php-source.html +++ b/doc/developper/html/impress__rapport_8php-source.html @@ -177,7 +177,7 @@ 00179 } 00180 00181 ?> -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/impress__rapport_8php.html b/doc/developper/html/impress__rapport_8php.html index d67e8d651..27f2d33f7 100644 --- a/doc/developper/html/impress__rapport_8php.html +++ b/doc/developper/html/impress__rapport_8php.html @@ -390,7 +390,7 @@ Definition at line 132 of file impress_rapport.php. -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/index.html b/doc/developper/html/index.html index 61ed21a1a..baa9655a3 100644 --- a/doc/developper/html/index.html +++ b/doc/developper/html/index.html @@ -7,7 +7,7 @@

    phpcompta Documentation

    -

    1


    Generated on Thu Jun 22 23:54:03 2006 for phpcompta by  +

    1


    Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/index_8php-source.html b/doc/developper/html/index_8php-source.html index 336ae69b6..744679dd1 100644 --- a/doc/developper/html/index_8php-source.html +++ b/doc/developper/html/index_8php-source.html @@ -78,7 +78,7 @@ 00073 </html>'; 00074 00075 ?> -
    Generated on Thu Jun 22 23:54:03 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/index_8php.html b/doc/developper/html/index_8php.html index 50a1d5bd8..13b5e891e 100644 --- a/doc/developper/html/index_8php.html +++ b/doc/developper/html/index_8php.html @@ -19,7 +19,7 @@ default page where user access

    -Definition in file index.php.


    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +Definition in file index.php.
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/info_8php-source.html b/doc/developper/html/info_8php-source.html new file mode 100644 index 000000000..a85409ce5 --- /dev/null +++ b/doc/developper/html/info_8php-source.html @@ -0,0 +1,17 @@ + + +phpcompta: /home/dany/developpement/phpcompta-dev/phpcompta/html/info.php Source File + + + + + +

    info.php

    Go to the documentation of this file.
    00001 <?
    +00002 phpinfo();
    +00003 ?>
    +

    Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  + +doxygen 1.4.4
    + + diff --git a/doc/developper/html/info_8php.html b/doc/developper/html/info_8php.html new file mode 100644 index 000000000..b988b04b6 --- /dev/null +++ b/doc/developper/html/info_8php.html @@ -0,0 +1,19 @@ + + +phpcompta: /home/dany/developpement/phpcompta-dev/phpcompta/html/info.php File Reference + + + + + +

    info.php File Reference

    +

    +Go to the source code of this file. + +
    +


    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  + +doxygen 1.4.4
    + + diff --git a/doc/developper/html/ing__be_8inc_8php-source.html b/doc/developper/html/ing__be_8inc_8php-source.html index c52fda9ca..dff8c397b 100644 --- a/doc/developper/html/ing__be_8inc_8php-source.html +++ b/doc/developper/html/ing__be_8inc_8php-source.html @@ -123,7 +123,7 @@ 00119 } // file is read 00120 fclose($handle); 00121 ?> -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/ing__be_8inc_8php.html b/doc/developper/html/ing__be_8inc_8php.html index b5b680234..be91b7aa9 100644 --- a/doc/developper/html/ing__be_8inc_8php.html +++ b/doc/developper/html/ing__be_8inc_8php.html @@ -318,7 +318,7 @@ Definition at line 29< Definition at line 83 of file ing_be.inc.php. -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/jrn_8php-source.html b/doc/developper/html/jrn_8php-source.html index 53fbf3037..281958ada 100644 --- a/doc/developper/html/jrn_8php-source.html +++ b/doc/developper/html/jrn_8php-source.html @@ -805,7 +805,7 @@ 01020 return $ret_array; 01021 } 01022 ?> -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/jrn_8php.html b/doc/developper/html/jrn_8php.html index ad6daf9d8..b48aff2cd 100644 --- a/doc/developper/html/jrn_8php.html +++ b/doc/developper/html/jrn_8php.html @@ -971,7 +971,7 @@ Definition at line 457 of f References $col_vide, echo_debug(), GetJrnProp(), GetPosteLibelle(), and table. -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/jrn__add_8php-source.html b/doc/developper/html/jrn__add_8php-source.html index 97cc56543..1ad8137fc 100644 --- a/doc/developper/html/jrn__add_8php-source.html +++ b/doc/developper/html/jrn__add_8php-source.html @@ -208,7 +208,7 @@ 00203 echo "</DIV>"; 00204 html_page_stop(); 00205 ?> -
    Generated on Thu Jun 22 23:54:03 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/jrn__add_8php.html b/doc/developper/html/jrn__add_8php.html index 5c64ea4c3..bd6d41a12 100644 --- a/doc/developper/html/jrn__add_8php.html +++ b/doc/developper/html/jrn__add_8php.html @@ -517,7 +517,7 @@ Definition at line 37 Definition at line 52 of file jrn_add.php. -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/jrn__csv_8php-source.html b/doc/developper/html/jrn__csv_8php-source.html index 6bdbe3e7e..a73a5769a 100644 --- a/doc/developper/html/jrn__csv_8php-source.html +++ b/doc/developper/html/jrn__csv_8php-source.html @@ -124,7 +124,7 @@ 00120 00122 } 00123 ?> -
    Generated on Thu Jun 22 23:54:03 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/jrn__csv_8php.html b/doc/developper/html/jrn__csv_8php.html index b5e92d8e5..27dfedebe 100644 --- a/doc/developper/html/jrn__csv_8php.html +++ b/doc/developper/html/jrn__csv_8php.html @@ -210,7 +210,7 @@ Definition at line 36 Definition at line 80 of file jrn_csv.php. -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/jrn__detail_8php-source.html b/doc/developper/html/jrn__detail_8php-source.html index 4e7aa10ea..4e5a21883 100644 --- a/doc/developper/html/jrn__detail_8php-source.html +++ b/doc/developper/html/jrn__detail_8php-source.html @@ -249,7 +249,7 @@ 00244 echo "</DIV>"; 00245 html_page_stop(); 00246 ?> -
    Generated on Thu Jun 22 23:54:03 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/jrn__detail_8php.html b/doc/developper/html/jrn__detail_8php.html index e9ef9de19..13fc7d75b 100644 --- a/doc/developper/html/jrn__detail_8php.html +++ b/doc/developper/html/jrn__detail_8php.html @@ -546,7 +546,7 @@ Definition at line 3552 of file jrn_detail.php. -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/jrn__op__detail_8php-source.html b/doc/developper/html/jrn__op__detail_8php-source.html index b0d62b18f..bb5f331a8 100644 --- a/doc/developper/html/jrn__op__detail_8php-source.html +++ b/doc/developper/html/jrn__op__detail_8php-source.html @@ -98,7 +98,7 @@ 00093 <? 00094 html_page_stop(); 00095 ?> -
    Generated on Thu Jun 22 23:54:03 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/jrn__op__detail_8php.html b/doc/developper/html/jrn__op__detail_8php.html index adb51cafb..02d23373d 100644 --- a/doc/developper/html/jrn__op__detail_8php.html +++ b/doc/developper/html/jrn__op__detail_8php.html @@ -129,7 +129,7 @@ Definition at line Definition at line 38 of file jrn_op_detail.php. -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/jrn__pdf_8php-source.html b/doc/developper/html/jrn__pdf_8php-source.html index 9ee38bc0a..37281b04e 100644 --- a/doc/developper/html/jrn__pdf_8php-source.html +++ b/doc/developper/html/jrn__pdf_8php-source.html @@ -165,7 +165,7 @@ 00160 $pdf->ezStream(); 00161 00162 ?> -
    Generated on Thu Jun 22 23:54:03 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/jrn__pdf_8php.html b/doc/developper/html/jrn__pdf_8php.html index 9e1c7615c..ff0d13e0f 100644 --- a/doc/developper/html/jrn__pdf_8php.html +++ b/doc/developper/html/jrn__pdf_8php.html @@ -594,7 +594,7 @@ Definition at line 132 Definition at line 54 of file jrn_pdf.php. -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/jrn__search_8php-source.html b/doc/developper/html/jrn__search_8php-source.html index 8896c3c8f..8ca302ed3 100644 --- a/doc/developper/html/jrn__search_8php-source.html +++ b/doc/developper/html/jrn__search_8php-source.html @@ -238,7 +238,7 @@ 00233 <? 00234 html_page_stop(); 00235 ?> -
    Generated on Thu Jun 22 23:54:03 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/jrn__search_8php.html b/doc/developper/html/jrn__search_8php.html index da6bdeb30..b052b0aef 100644 --- a/doc/developper/html/jrn__search_8php.html +++ b/doc/developper/html/jrn__search_8php.html @@ -679,7 +679,7 @@ Definition at line 39163 of file jrn_search.php. -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/jrn__update_8php-source.html b/doc/developper/html/jrn__update_8php-source.html index de8becb5b..c55cfba8f 100644 --- a/doc/developper/html/jrn__update_8php-source.html +++ b/doc/developper/html/jrn__update_8php-source.html @@ -64,7 +64,7 @@ 00058 echo '</div>'; 00059 html_page_stop(); 00060 ?> -
    Generated on Thu Jun 22 23:54:03 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/jrn__update_8php.html b/doc/developper/html/jrn__update_8php.html index 74343a4dd..ab4b366aa 100644 --- a/doc/developper/html/jrn__update_8php.html +++ b/doc/developper/html/jrn__update_8php.html @@ -129,7 +129,7 @@ Definition at line 3450 of file jrn_update.php. -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/line__update_8php-source.html b/doc/developper/html/line__update_8php-source.html index b1d521758..6cc928f83 100644 --- a/doc/developper/html/line__update_8php-source.html +++ b/doc/developper/html/line__update_8php-source.html @@ -122,7 +122,7 @@ 00116 <? 00117 html_page_stop(); 00118 ?> -
    Generated on Thu Jun 22 23:54:03 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/line__update_8php.html b/doc/developper/html/line__update_8php.html index 6fe6ea253..2e92f6849 100644 --- a/doc/developper/html/line__update_8php.html +++ b/doc/developper/html/line__update_8php.html @@ -351,7 +351,7 @@ Definition at line 36< Definition at line 43 of file line_update.php. -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/listing__client_8php-source.html b/doc/developper/html/listing__client_8php-source.html index 40f62f041..e57667471 100644 --- a/doc/developper/html/listing__client_8php-source.html +++ b/doc/developper/html/listing__client_8php-source.html @@ -61,7 +61,7 @@ 00057 return; 00058 } 00059 ?> -
    Generated on Thu Jun 22 23:54:03 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/listing__client_8php.html b/doc/developper/html/listing__client_8php.html index ced236d87..2aa23eade 100644 --- a/doc/developper/html/listing__client_8php.html +++ b/doc/developper/html/listing__client_8php.html @@ -183,7 +183,7 @@ Definition at line Definition at line 56 of file listing_client.php. -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/login_8php-source.html b/doc/developper/html/login_8php-source.html index 4f0596842..5f2128067 100644 --- a/doc/developper/html/login_8php-source.html +++ b/doc/developper/html/login_8php-source.html @@ -61,7 +61,7 @@ 00055 } 00056 html_page_stop(); 00057 ?> -
    Generated on Thu Jun 22 23:54:03 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/login_8php.html b/doc/developper/html/login_8php.html index 6f6ee88c9..09e06b81e 100644 --- a/doc/developper/html/login_8php.html +++ b/doc/developper/html/login_8php.html @@ -156,7 +156,7 @@ Definition at line 39 of Definition at line 41 of file login.php. -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/logout_8php-source.html b/doc/developper/html/logout_8php-source.html index 7de831f75..2d5cf86af 100644 --- a/doc/developper/html/logout_8php-source.html +++ b/doc/developper/html/logout_8php-source.html @@ -36,7 +36,7 @@ 00030 00031 html_page_stop(); 00032 ?> -
    Generated on Thu Jun 22 23:54:03 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/logout_8php.html b/doc/developper/html/logout_8php.html index 994a8ae94..c199a1a93 100644 --- a/doc/developper/html/logout_8php.html +++ b/doc/developper/html/logout_8php.html @@ -19,7 +19,7 @@ Logout.

    -Definition in file logout.php.


    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +Definition in file logout.php.
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/modify__op_8php-source.html b/doc/developper/html/modify__op_8php-source.html index 69f46d2dd..fefc0770d 100644 --- a/doc/developper/html/modify__op_8php-source.html +++ b/doc/developper/html/modify__op_8php-source.html @@ -151,7 +151,7 @@ 00147 } 00148 html_page_stop(); 00149 ?> -
    Generated on Thu Jun 22 23:54:03 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/modify__op_8php.html b/doc/developper/html/modify__op_8php.html index 8591d59e9..9ba934e23 100644 --- a/doc/developper/html/modify__op_8php.html +++ b/doc/developper/html/modify__op_8php.html @@ -214,7 +214,7 @@ Definition at line 3776 of file modify_op.php. -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/namespaceCpdf.html b/doc/developper/html/namespaceCpdf.html index 270c71b83..1f423a273 100644 --- a/doc/developper/html/namespaceCpdf.html +++ b/doc/developper/html/namespaceCpdf.html @@ -21,7 +21,7 @@ LICENCE This code has been placed in the Public Domain for all to enjoy.

    Version:
    009

    -


    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:49 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/namespaces.html b/doc/developper/html/namespaces.html index d0fcd8fa2..f58c82d81 100644 --- a/doc/developper/html/namespaces.html +++ b/doc/developper/html/namespaces.html @@ -8,7 +8,7 @@

    phpcompta Namespace List

    Here is a list of all namespaces with brief descriptions:
    Cpdf
    -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:49 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/not__implemented_8php-source.html b/doc/developper/html/not__implemented_8php-source.html index 2a8d27a67..3260ce74a 100644 --- a/doc/developper/html/not__implemented_8php-source.html +++ b/doc/developper/html/not__implemented_8php-source.html @@ -32,7 +32,7 @@ 00023 echo '<H1 class="info"> Not Implemented</H1>'; 00024 html_page_stop(); 00025 ?> -
    Generated on Thu Jun 22 23:54:03 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/not__implemented_8php.html b/doc/developper/html/not__implemented_8php.html index 62dd28b96..24b6bd0b6 100644 --- a/doc/developper/html/not__implemented_8php.html +++ b/doc/developper/html/not__implemented_8php.html @@ -12,7 +12,7 @@ Go to the source code of this file.
    -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/pages.html b/doc/developper/html/pages.html new file mode 100644 index 000000000..d4c622f1e --- /dev/null +++ b/doc/developper/html/pages.html @@ -0,0 +1,16 @@ + + +phpcompta: Page Index + + + + +

    phpcompta Related Pages

    Here is a list of all related documentation pages: +
    Generated on Fri Jun 23 00:12:49 2006 for phpcompta by  + +doxygen 1.4.4
    + + diff --git a/doc/developper/html/parametre_8php-source.html b/doc/developper/html/parametre_8php-source.html index 1b518668c..403632ca4 100644 --- a/doc/developper/html/parametre_8php-source.html +++ b/doc/developper/html/parametre_8php-source.html @@ -184,7 +184,7 @@ 00191 00192 html_page_stop(); 00193 ?> -
    Generated on Thu Jun 22 23:54:03 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/parametre_8php.html b/doc/developper/html/parametre_8php.html index d6926ee94..c9ca12768 100644 --- a/doc/developper/html/parametre_8php.html +++ b/doc/developper/html/parametre_8php.html @@ -521,7 +521,7 @@ Definition at line 101166 of file parametre.php. -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/pcmn__update_8php-source.html b/doc/developper/html/pcmn__update_8php-source.html index 86e7239ae..2ad765cff 100644 --- a/doc/developper/html/pcmn__update_8php-source.html +++ b/doc/developper/html/pcmn__update_8php-source.html @@ -189,7 +189,7 @@ 00183 echo "</DIV>"; 00184 html_page_stop(); 00185 ?> -
    Generated on Thu Jun 22 23:54:03 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/pcmn__update_8php.html b/doc/developper/html/pcmn__update_8php.html index 9f58ca302..0057bb3c0 100644 --- a/doc/developper/html/pcmn__update_8php.html +++ b/doc/developper/html/pcmn__update_8php.html @@ -156,7 +156,7 @@ Definition at line 36< Definition at line 49 of file pcmn_update.php. -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/periode_8inc_8php-source.html b/doc/developper/html/periode_8inc_8php-source.html index c3f628b66..e61de51c7 100644 --- a/doc/developper/html/periode_8inc_8php-source.html +++ b/doc/developper/html/periode_8inc_8php-source.html @@ -112,7 +112,7 @@ 00110 ShowPeriode($cn); 00111 00112 ?> -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/periode_8inc_8php.html b/doc/developper/html/periode_8inc_8php.html index 7175b8776..acb861fca 100644 --- a/doc/developper/html/periode_8inc_8php.html +++ b/doc/developper/html/periode_8inc_8php.html @@ -137,7 +137,7 @@ Definition at line 61< Definition at line 59 of file periode.inc.php. -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/poste_8inc_8php-source.html b/doc/developper/html/poste_8inc_8php-source.html index c12c51dba..910cf319a 100644 --- a/doc/developper/html/poste_8inc_8php-source.html +++ b/doc/developper/html/poste_8inc_8php-source.html @@ -79,7 +79,7 @@ 00076 echo "</div>"; 00077 00078 } -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/poste_8inc_8php.html b/doc/developper/html/poste_8inc_8php.html index 98c198fb9..2046037a5 100644 --- a/doc/developper/html/poste_8inc_8php.html +++ b/doc/developper/html/poste_8inc_8php.html @@ -270,7 +270,7 @@ Referenced by par Definition at line 48 of file poste.inc.php. -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/poste_8php-source.html b/doc/developper/html/poste_8php-source.html index ccb8606ae..4ddc87905 100644 --- a/doc/developper/html/poste_8php-source.html +++ b/doc/developper/html/poste_8php-source.html @@ -55,7 +55,7 @@ 00070 $l_line=pg_fetch_array($Res,0); 00071 $l_deb=$l_line['jrn_deb_max_line']; 00072 $l_cred=$l_line['jrn_cred_max_line']; -00073 return ($l_deb,$l_cred); +00073 return array ($l_deb,$l_cred); 00074 00075 } 00087 function PosteForm($p_cn) { @@ -91,7 +91,7 @@ 00128 } 00129 00130 ?> -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/poste_8php.html b/doc/developper/html/poste_8php.html index 28ddf84ab..d7dfee0c0 100644 --- a/doc/developper/html/poste_8php.html +++ b/doc/developper/html/poste_8php.html @@ -238,7 +238,7 @@ References $Max, ViewImp(). -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/poste__csv_8php-source.html b/doc/developper/html/poste__csv_8php-source.html index 5ae1766b8..996e6e71f 100644 --- a/doc/developper/html/poste__csv_8php-source.html +++ b/doc/developper/html/poste__csv_8php-source.html @@ -78,7 +78,7 @@ 00072 00073 exit; 00074 ?> -
    Generated on Thu Jun 22 23:54:03 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/poste__csv_8php.html b/doc/developper/html/poste__csv_8php.html index ce70e86b1..e456b0b00 100644 --- a/doc/developper/html/poste__csv_8php.html +++ b/doc/developper/html/poste__csv_8php.html @@ -185,7 +185,7 @@ Definition at line 3573 of file poste_csv.php. -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/poste__pdf_8php-source.html b/doc/developper/html/poste__pdf_8php-source.html index 4915ae227..49f184281 100644 --- a/doc/developper/html/poste__pdf_8php-source.html +++ b/doc/developper/html/poste__pdf_8php-source.html @@ -100,7 +100,7 @@ 00094 $pdf->ezStream(); 00095 00096 ?> -
    Generated on Thu Jun 22 23:54:03 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/poste__pdf_8php.html b/doc/developper/html/poste__pdf_8php.html index 977d17811..9d7af5792 100644 --- a/doc/developper/html/poste__pdf_8php.html +++ b/doc/developper/html/poste__pdf_8php.html @@ -183,7 +183,7 @@ Definition at line 7574 of file poste_pdf.php. -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/poste__search_8php-source.html b/doc/developper/html/poste__search_8php-source.html index 7b7e3820c..02aa098b8 100644 --- a/doc/developper/html/poste__search_8php-source.html +++ b/doc/developper/html/poste__search_8php-source.html @@ -189,7 +189,7 @@ 00183 echo '<INPUT TYPE="BUTTON" Value="Close" onClick=\'GetIt()\'>'; 00184 html_page_stop(); 00185 ?> -
    Generated on Thu Jun 22 23:54:03 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/poste__search_8php.html b/doc/developper/html/poste__search_8php.html index 5e7612919..28e03b78d 100644 --- a/doc/developper/html/poste__search_8php.html +++ b/doc/developper/html/poste__search_8php.html @@ -239,7 +239,7 @@ Definition at line 68 Definition at line 31 of file poste_search.php. -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/postgres_8php-source.html b/doc/developper/html/postgres_8php-source.html index a38c22bd0..32b473738 100644 --- a/doc/developper/html/postgres_8php-source.html +++ b/doc/developper/html/postgres_8php-source.html @@ -326,7 +326,7 @@ 00404 00405 00406 ?> -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/postgres_8php.html b/doc/developper/html/postgres_8php.html index b7ee7cc34..d8c89d560 100644 --- a/doc/developper/html/postgres_8php.html +++ b/doc/developper/html/postgres_8php.html @@ -1145,7 +1145,7 @@ Definition at line 289 References $cn, $priv, $Res, $right, $sql, DbConnect(), ExecSql(), and GetPriv(). -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:47 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/pref_8inc_8php-source.html b/doc/developper/html/pref_8inc_8php-source.html index c477694f1..17ab0a4ab 100644 --- a/doc/developper/html/pref_8inc_8php-source.html +++ b/doc/developper/html/pref_8inc_8php-source.html @@ -149,7 +149,7 @@ 00140 00141 echo "</DIV>"; 00142 ?> -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/pref_8inc_8php.html b/doc/developper/html/pref_8inc_8php.html index 5b6c81b8c..614d3644f 100644 --- a/doc/developper/html/pref_8inc_8php.html +++ b/doc/developper/html/pref_8inc_8php.html @@ -222,7 +222,7 @@ Definition at line 45 Referenced by DefModele(), EncodeModele(), FormAchView(), Invoice::FormAdd(), FormVenteView(), RecordJrn(), ShowDevise(), ShowFormTransfert(), ShowPeriode(), u_ShowMenuRecherche(), VerifImport(), ViewFiche(), and ViewImp(). -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:47 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/preference_8php-source.html b/doc/developper/html/preference_8php-source.html index edcfd597a..64bfef7a5 100644 --- a/doc/developper/html/preference_8php-source.html +++ b/doc/developper/html/preference_8php-source.html @@ -208,7 +208,7 @@ 00276 } 00277 00278 ?> -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/preference_8php.html b/doc/developper/html/preference_8php.html index 5806d7961..6546094cf 100644 --- a/doc/developper/html/preference_8php.html +++ b/doc/developper/html/preference_8php.html @@ -384,7 +384,7 @@ Definition at line 221$l_line, $Max, $Res, echo_debug(), ExecSql(), and METHOD. -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:47 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/print__balance_8php-source.html b/doc/developper/html/print__balance_8php-source.html index 5858c46c5..3f53d4059 100644 --- a/doc/developper/html/print__balance_8php-source.html +++ b/doc/developper/html/print__balance_8php-source.html @@ -87,7 +87,7 @@ 00090 00091 00092 ?> -
    Generated on Thu Jun 22 23:54:03 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/print__balance_8php.html b/doc/developper/html/print__balance_8php.html index adc822e30..cdc75e6b2 100644 --- a/doc/developper/html/print__balance_8php.html +++ b/doc/developper/html/print__balance_8php.html @@ -304,7 +304,7 @@ Definition at line 4 Definition at line 52 of file print_balance.php. -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/print__invoice_8php-source.html b/doc/developper/html/print__invoice_8php-source.html index 6692a5b68..aeaa16fd7 100644 --- a/doc/developper/html/print__invoice_8php-source.html +++ b/doc/developper/html/print__invoice_8php-source.html @@ -142,7 +142,7 @@ 00147 00148 00149 ?> -
    Generated on Thu Jun 22 23:54:03 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/print__invoice_8php.html b/doc/developper/html/print__invoice_8php.html index 8e0c08a1b..fc5971e06 100644 --- a/doc/developper/html/print__invoice_8php.html +++ b/doc/developper/html/print__invoice_8php.html @@ -405,7 +405,7 @@ Definition at line 6 Referenced by Document::Replace(), and Customer::VatListing(). -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/priv__user_8php-source.html b/doc/developper/html/priv__user_8php-source.html index 22f973421..8e728cecf 100644 --- a/doc/developper/html/priv__user_8php-source.html +++ b/doc/developper/html/priv__user_8php-source.html @@ -248,7 +248,7 @@ 00242 ?> 00243 00244 -
    Generated on Thu Jun 22 23:54:03 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/priv__user_8php.html b/doc/developper/html/priv__user_8php.html index bb6370030..9d635256e 100644 --- a/doc/developper/html/priv__user_8php.html +++ b/doc/developper/html/priv__user_8php.html @@ -404,7 +404,7 @@ Definition at line 3338 of file priv_user.php. -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/readme_8php-source.html b/doc/developper/html/readme_8php-source.html index c0b7df696..cbf567913 100644 --- a/doc/developper/html/readme_8php-source.html +++ b/doc/developper/html/readme_8php-source.html @@ -303,7 +303,7 @@ 00294 $pdf->ezStream(); 00295 } 00296 ?> -
    Generated on Thu Jun 22 23:54:03 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/readme_8php.html b/doc/developper/html/readme_8php.html index a1372da2e..dd797e917 100644 --- a/doc/developper/html/readme_8php.html +++ b/doc/developper/html/readme_8php.html @@ -777,7 +777,7 @@ Definition at line 200 o Referenced by Document::Replace(). -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/recherche_8php-source.html b/doc/developper/html/recherche_8php-source.html index 380763027..a5140fa8f 100644 --- a/doc/developper/html/recherche_8php-source.html +++ b/doc/developper/html/recherche_8php-source.html @@ -80,7 +80,7 @@ 00077 echo '</DIV>'; 00078 00079 ?> -
    Generated on Thu Jun 22 23:54:03 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/recherche_8php.html b/doc/developper/html/recherche_8php.html index ae95a51f7..952a4ad17 100644 --- a/doc/developper/html/recherche_8php.html +++ b/doc/developper/html/recherche_8php.html @@ -185,7 +185,7 @@ Definition at line 48 Definition at line 42 of file recherche.php. -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/sec__pdf_8php-source.html b/doc/developper/html/sec__pdf_8php-source.html index 44cae5eb9..019c17197 100644 --- a/doc/developper/html/sec__pdf_8php-source.html +++ b/doc/developper/html/sec__pdf_8php-source.html @@ -131,7 +131,7 @@ 00131 $pdf->ezStream(); 00132 00133 ?> -
    Generated on Thu Jun 22 23:54:03 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/sec__pdf_8php.html b/doc/developper/html/sec__pdf_8php.html index c49cffddf..acab2fb9c 100644 --- a/doc/developper/html/sec__pdf_8php.html +++ b/doc/developper/html/sec__pdf_8php.html @@ -296,7 +296,7 @@ Definition at line 43 Definition at line 49 of file sec_pdf.php. -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/send__jrn__pdf_8php-source.html b/doc/developper/html/send__jrn__pdf_8php-source.html index d6a587305..011f70f76 100644 --- a/doc/developper/html/send__jrn__pdf_8php-source.html +++ b/doc/developper/html/send__jrn__pdf_8php-source.html @@ -155,7 +155,7 @@ 00150 $pdf->ezStream(); 00151 00152 ?> -
    Generated on Thu Jun 22 23:54:03 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/send__jrn__pdf_8php.html b/doc/developper/html/send__jrn__pdf_8php.html index 212c2f043..d91dcf3d1 100644 --- a/doc/developper/html/send__jrn__pdf_8php.html +++ b/doc/developper/html/send__jrn__pdf_8php.html @@ -507,7 +507,7 @@ Definition at line 8 Definition at line 122 of file send_jrn_pdf.php. -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/send__poste__pdf_8php-source.html b/doc/developper/html/send__poste__pdf_8php-source.html index 5f13261ed..80203d7c6 100644 --- a/doc/developper/html/send__poste__pdf_8php-source.html +++ b/doc/developper/html/send__poste__pdf_8php-source.html @@ -100,7 +100,7 @@ 00095 $pdf->ezStream(); 00096 00097 ?> -
    Generated on Thu Jun 22 23:54:03 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/send__poste__pdf_8php.html b/doc/developper/html/send__poste__pdf_8php.html index 59d78448d..5cd09186b 100644 --- a/doc/developper/html/send__poste__pdf_8php.html +++ b/doc/developper/html/send__poste__pdf_8php.html @@ -270,7 +270,7 @@ Definition at line 75 of file send_poste_pdf.php. -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/setup_8php-source.html b/doc/developper/html/setup_8php-source.html index ace4191f7..702663520 100644 --- a/doc/developper/html/setup_8php-source.html +++ b/doc/developper/html/setup_8php-source.html @@ -517,7 +517,7 @@ 00508 } 00509 if (DEBUG=='false') ob_end_clean(); 00510 echo "<h2 class=\"info\">Voilà tout est installé ;-)</h2>"; -
    Generated on Thu Jun 22 23:54:03 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/setup_8php.html b/doc/developper/html/setup_8php.html index 4ca3148be..81fdce5fd 100644 --- a/doc/developper/html/setup_8php.html +++ b/doc/developper/html/setup_8php.html @@ -508,7 +508,7 @@ Definition at line 238 of Definition at line 355 of file setup.php. -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/show__document_8php-source.html b/doc/developper/html/show__document_8php-source.html index 652902f71..b85e294b5 100644 --- a/doc/developper/html/show__document_8php-source.html +++ b/doc/developper/html/show__document_8php-source.html @@ -41,7 +41,7 @@ 00038 // retrieve the document 00039 $doc=new Document($cn,$_REQUEST['d_id']); 00040 $doc->Get(); -
    Generated on Thu Jun 22 23:54:03 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/show__document_8php.html b/doc/developper/html/show__document_8php.html index de5d2024c..e97aad6a1 100644 --- a/doc/developper/html/show__document_8php.html +++ b/doc/developper/html/show__document_8php.html @@ -102,7 +102,7 @@ Definition at line 3 Definition at line 34 of file show_document.php. -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/show__document__modele_8php-source.html b/doc/developper/html/show__document__modele_8php-source.html new file mode 100644 index 000000000..d4330d28d --- /dev/null +++ b/doc/developper/html/show__document__modele_8php-source.html @@ -0,0 +1,76 @@ + + +phpcompta: /home/dany/developpement/phpcompta-dev/phpcompta/html/show_document_modele.php Source File + + + + + +

    show_document_modele.php

    Go to the documentation of this file.
    00001 <?
    +00002 /*
    +00003  *   This file is part of PhpCompta.
    +00004  *
    +00005  *   PhpCompta is free software; you can redistribute it and/or modify
    +00006  *   it under the terms of the GNU General Public License as published by
    +00007  *   the Free Software Foundation; either version 2 of the License, or
    +00008  *   (at your option) any later version.
    +00009  *
    +00010  *   PhpCompta is distributed in the hope that it will be useful,
    +00011  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
    +00012  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    +00013  *   GNU General Public License for more details.
    +00014  *
    +00015  *   You should have received a copy of the GNU General Public License
    +00016  *   along with PhpCompta; if not, write to the Free Software
    +00017  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    +00018 */
    +00019 /* $Revision$ */
    +00020 // Copyright Author Dany De Bontridder ddebontridder@yahoo.fr
    +00021 // Verify parameters
    +00026 include_once ("postgres.php");
    +00027 require_once("ac_common.php");
    +00028 
    +00029 
    +00030 $cn=DbConnect($_SESSION['g_dossier']);
    +00031 
    +00032 
    +00033 include ('class_user.php');
    +00034 $User=new cl_user(DbConnect());
    +00037 $User->Check();
    +00038 // retrieve the document
    +00039 $r=ExecSql($cn,"select md_id,md_lob,md_filename,md_mimetype 
    +00040                  from document_modele where md_id=".$_REQUEST['md_id']);
    +00041 if ( pg_num_rows($r) == 0 ) {
    +00042   echo_error("Invalid Document");
    +00043   exit;
    +00044  }
    +00045 $row=pg_fetch_array($r,0);
    +00046 
    +00047 
    +00048 StartSql($cn);
    +00049 
    +00050 $tmp=tempnam('/tmp/','document_');
    +00051 pg_lo_export($cn,$row['md_lob'],$tmp);
    +00052 ini_set('zlib.output_compression','Off');
    +00053 header("Pragma: public");
    +00054 header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
    +00055 header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
    +00056 header("Cache-Control: must-revalidate");
    +00057 header('Content-type: '.$row['md_mimetype']);
    +00058 header('Content-Disposition: attachment;filename="'.$row['md_filename'].'"',FALSE);
    +00059 header("Accept-Ranges: bytes");
    +00060 $file=fopen($tmp,'r');
    +00061 while ( !feof ($file) )
    +00062         echo fread($file,8192);
    +00063 
    +00064 fclose($file);
    +00065 
    +00066 unlink ($tmp);
    +00067 
    +00068 Commit($cn);
    +

    Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  + +doxygen 1.4.4
    + + diff --git a/doc/developper/html/show__document__modele_8php.html b/doc/developper/html/show__document__modele_8php.html new file mode 100644 index 000000000..aedd951ed --- /dev/null +++ b/doc/developper/html/show__document__modele_8php.html @@ -0,0 +1,223 @@ + + +phpcompta: /home/dany/developpement/phpcompta-dev/phpcompta/html/show_document_modele.php File Reference + + + + + +

    show_document_modele.php File Reference

    send the document template More... +

    + +

    +Go to the source code of this file. + + + + + + + + + + + + + + + + +

    Variables

     $cn = DbConnect($_SESSION['g_dossier'])
     $User = new cl_user(DbConnect())
     $r
     exit
     $row = pg_fetch_array($r,0)
     $tmp = tempnam('/tmp/','document_')
     $file = fopen($tmp,'r')
    +


    Detailed Description

    +send the document template +

    + +

    +Definition in file show_document_modele.php.


    Variable Documentation

    +

    + + + + +
    + + + + +
    $cn = DbConnect($_SESSION['g_dossier'])
    +
    + + + + + +
    +   + + +

    + +

    +Definition at line 30 of file show_document_modele.php.

    +

    + + + + +
    + + + + +
    $file = fopen($tmp,'r')
    +
    + + + + + +
    +   + + +

    + +

    +Definition at line 60 of file show_document_modele.php. +

    +Referenced by FormAchView(), FormFin(), FormVenteView(), Invoice::Get(), Document_modele::Get(), Document::Get(), Cpdf::openFont(), and UpdateJrn().

    +

    + + + + +
    + + + + +
    $r
    +
    + + + + + +
    +   + + +

    +Initial value:

    ExecSql($cn,"select md_id,md_lob,md_filename,md_mimetype 
    +                 from document_modele where md_id=".$_REQUEST['md_id'])
    +
    +

    +Definition at line 39 of file show_document_modele.php.

    +

    + + + + +
    + + + + +
    $row = pg_fetch_array($r,0)
    +
    + + + + + +
    +   + + +

    + +

    +Definition at line 45 of file show_document_modele.php.

    +

    + + + + +
    + + + + +
    $tmp = tempnam('/tmp/','document_')
    +
    + + + + + +
    +   + + +

    + +

    +Definition at line 50 of file show_document_modele.php. +

    +Referenced by Creport::dots(), Cpdf::ellipse(), Cpdf::encryptInit(), Cezpdf::ezPRVTaddPageNumbers(), Invoice::Get(), Document_modele::Get(), Document::Get(), Cpdf::md5_16(), Cpdf::o_contents(), Cpdf::o_destination(), Cpdf::o_encryption(), Cpdf::o_image(), Cpdf::o_pages(), Cpdf::openFont(), Cpdf::output(), Creport::rf(), Cpdf::selectFont(), Cpdf::stream(), and fiche::update().

    +

    + + + + +
    + + + + +
    $User = new cl_user(DbConnect())
    +
    + + + + + +
    +   + + +

    + +

    +Definition at line 34 of file show_document_modele.php.

    +

    + + + + +
    + + + + +
    exit
    +
    + + + + + +
    +   + + +

    + +

    +Definition at line 43 of file show_document_modele.php.

    +


    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  + +doxygen 1.4.4
    + + diff --git a/doc/developper/html/show__pj_8php-source.html b/doc/developper/html/show__pj_8php-source.html new file mode 100644 index 000000000..85fa2499a --- /dev/null +++ b/doc/developper/html/show__pj_8php-source.html @@ -0,0 +1,91 @@ + + +phpcompta: /home/dany/developpement/phpcompta-dev/phpcompta/html/show_pj.php Source File + + + + + +

    show_pj.php

    Go to the documentation of this file.
    00001 <?
    +00002 /*
    +00003  *   This file is part of PhpCompta.
    +00004  *
    +00005  *   PhpCompta is free software; you can redistribute it and/or modify
    +00006  *   it under the terms of the GNU General Public License as published by
    +00007  *   the Free Software Foundation; either version 2 of the License, or
    +00008  *   (at your option) any later version.
    +00009  *
    +00010  *   PhpCompta is distributed in the hope that it will be useful,
    +00011  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
    +00012  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    +00013  *   GNU General Public License for more details.
    +00014  *
    +00015  *   You should have received a copy of the GNU General Public License
    +00016  *   along with PhpCompta; if not, write to the Free Software
    +00017  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    +00018 */
    +00019 /* $Revision$ */
    +00020 // Copyright Author Dany De Bontridder ddebontridder@yahoo.fr
    +00021 // Verify parameters
    +00022 include_once ("ac_common.php");
    +00023 if ( !isset ($_GET['jrn'] ) ||
    +00024      !isset($_GET['jr_grpt_id'])) {
    +00025         echo_error("Missing parameters");
    +00026 }
    +00027 
    +00028 include_once ("postgres.php");
    +00029 
    +00030 
    +00031 $jr_grpt_id=$_GET['jr_grpt_id'];
    +00032 
    +00033 $cn=DbConnect($_SESSION['g_dossier']);
    +00034 
    +00035 
    +00036 include ('class_user.php');
    +00037 $User=new cl_user(DbConnect());
    +00038 $User->Check();
    +00039 // retrieve the jrn
    +00040 $r=ExecSql($cn,"select jr_def_id from jrn where jr_grpt_id=$jr_grpt_id");
    +00041 if ( pg_num_rows($r) == 0 ) {
    +00042   echo_error("Invalid operation id jr_grpt_id=$jr_grpt_id");
    +00043   exit;
    +00044  }
    +00045 $a=pg_fetch_array($r,0);
    +00046 $jrn=$a['jr_def_id'];
    +00047 
    +00048 if ($User->AccessJrn($cn,$jrn) == false ){
    +00049   /* Cannot Access */
    +00050   NoAccess();
    +00051   exit -1;
    +00052  }
    +00053 
    +00054 StartSql($cn);
    +00055 $ret=ExecSql($cn,"select jr_pj,jr_pj_name,jr_pj_type from jrn where jr_grpt_id=$jr_grpt_id");
    +00056 if ( pg_num_rows ($ret) == 0 )
    +00057         return;
    +00058 $row=pg_fetch_array($ret,0);
    +00059 $tmp=tempnam('/tmp/','document_');
    +00060 pg_lo_export($cn,$row['jr_pj'],$tmp);
    +00061 ini_set('zlib.output_compression','Off');
    +00062 header("Pragma: public");
    +00063 header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
    +00064 header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
    +00065 header("Cache-Control: must-revalidate");
    +00066 header('Content-type: '.$row['jr_pj_type']);
    +00067 header('Content-Disposition: attachment;filename="'.$row['jr_pj_name'].'"',FALSE);
    +00068 header("Accept-Ranges: bytes");
    +00069 $file=fopen($tmp,'r');
    +00070 while ( !feof ($file) )
    +00071         echo fread($file,8192);
    +00072 
    +00073 fclose($file);
    +00074 
    +00075 unlink ($tmp);
    +00076 
    +00077 Commit($cn);
    +

    Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  + +doxygen 1.4.4
    + + diff --git a/doc/developper/html/show__pj_8php.html b/doc/developper/html/show__pj_8php.html new file mode 100644 index 000000000..731d265f9 --- /dev/null +++ b/doc/developper/html/show__pj_8php.html @@ -0,0 +1,320 @@ + + +phpcompta: /home/dany/developpement/phpcompta-dev/phpcompta/html/show_pj.php File Reference + + + + + +

    show_pj.php File Reference

    +

    +Go to the source code of this file. + + + + + + + + + + + + + + + + + + + + + + + + +

    Variables

     $jr_grpt_id = $_GET['jr_grpt_id']
     $cn = DbConnect($_SESSION['g_dossier'])
     $User = new cl_user(DbConnect())
     $r = ExecSql($cn,"select jr_def_id from jrn where jr_grpt_id=$jr_grpt_id")
     exit
     $a = pg_fetch_array($r,0)
     $jrn = $a['jr_def_id']
     $ret = ExecSql($cn,"select jr_pj,jr_pj_name,jr_pj_type from jrn where jr_grpt_id=$jr_grpt_id")
     $row = pg_fetch_array($ret,0)
     $tmp = tempnam('/tmp/','document_')
     $file = fopen($tmp,'r')
    +


    Variable Documentation

    +

    + + + + +
    + + + + +
    $a = pg_fetch_array($r,0)
    +
    + + + + + +
    +   + + +

    + +

    +Definition at line 45 of file show_pj.php.

    +

    + + + + +
    + + + + +
    $cn = DbConnect($_SESSION['g_dossier'])
    +
    + + + + + +
    +   + + +

    + +

    +Definition at line 33 of file show_pj.php.

    +

    + + + + +
    + + + + +
    $file = fopen($tmp,'r')
    +
    + + + + + +
    +   + + +

    + +

    +Definition at line 69 of file show_pj.php.

    +

    + + + + +
    + + + + +
    $jr_grpt_id = $_GET['jr_grpt_id']
    +
    + + + + + +
    +   + + +

    + +

    +Definition at line 31 of file show_pj.php.

    +

    + + + + +
    + + + + +
    $jrn = $a['jr_def_id']
    +
    + + + + + +
    +   + + +

    + +

    +Definition at line 46 of file show_pj.php. +

    +Referenced by jrn::GetRowSimple(), ShowFormTransfert(), and TransferCSV().

    +

    + + + + +
    + + + + +
    $r = ExecSql($cn,"select jr_def_id from jrn where jr_grpt_id=$jr_grpt_id")
    +
    + + + + + +
    +   + + +

    + +

    +Definition at line 40 of file show_pj.php.

    +

    + + + + +
    + + + + +
    $ret = ExecSql($cn,"select jr_pj,jr_pj_name,jr_pj_type from jrn where jr_grpt_id=$jr_grpt_id")
    +
    + + + + + +
    +   + + +

    + +

    +Definition at line 55 of file show_pj.php.

    +

    + + + + +
    + + + + +
    $row = pg_fetch_array($ret,0)
    +
    + + + + + +
    +   + + +

    + +

    +Definition at line 58 of file show_pj.php.

    +

    + + + + +
    + + + + +
    $tmp = tempnam('/tmp/','document_')
    +
    + + + + + +
    +   + + +

    + +

    +Definition at line 59 of file show_pj.php.

    +

    + + + + +
    + + + + +
    $User = new cl_user(DbConnect())
    +
    + + + + + +
    +   + + +

    + +

    +Definition at line 37 of file show_pj.php.

    +

    + + + + +
    + + + + +
    exit
    +
    + + + + + +
    +   + + +

    + +

    +Definition at line 43 of file show_pj.php.

    +


    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  + +doxygen 1.4.4
    + + diff --git a/doc/developper/html/show__tva_8php-source.html b/doc/developper/html/show__tva_8php-source.html index 6d7bc6454..b5cebf34c 100644 --- a/doc/developper/html/show__tva_8php-source.html +++ b/doc/developper/html/show__tva_8php-source.html @@ -72,7 +72,7 @@ 00067 <? 00068 html_page_stop(); 00069 ?> -
    Generated on Thu Jun 22 23:54:03 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/show__tva_8php.html b/doc/developper/html/show__tva_8php.html index 0b9c20841..61ffec7e0 100644 --- a/doc/developper/html/show__tva_8php.html +++ b/doc/developper/html/show__tva_8php.html @@ -239,7 +239,7 @@ Definition at line 30 Definition at line 38 of file show_tva.php. -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/stock_8php-source.html b/doc/developper/html/stock_8php-source.html index 606336c59..d3d9cc4fd 100644 --- a/doc/developper/html/stock_8php-source.html +++ b/doc/developper/html/stock_8php-source.html @@ -180,7 +180,7 @@ 00175 echo '</div>'; 00176 html_page_stop(); 00177 ?> -
    Generated on Thu Jun 22 23:54:03 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/stock_8php.html b/doc/developper/html/stock_8php.html index b69fdab7b..5aa995609 100644 --- a/doc/developper/html/stock_8php.html +++ b/doc/developper/html/stock_8php.html @@ -212,7 +212,7 @@ Definition at line 153 of Definition at line 43 of file stock.php. -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/stock__inc_8php-source.html b/doc/developper/html/stock__inc_8php-source.html index 57cd73b6f..cf0e7a91e 100644 --- a/doc/developper/html/stock__inc_8php-source.html +++ b/doc/developper/html/stock__inc_8php-source.html @@ -248,7 +248,7 @@ 00288 return $value['result']; 00289 00290 } -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/stock__inc_8php.html b/doc/developper/html/stock__inc_8php.html index 57e498968..9e81cf7ea 100644 --- a/doc/developper/html/stock__inc_8php.html +++ b/doc/developper/html/stock__inc_8php.html @@ -303,7 +303,7 @@ Definition at line 35$diff, $r, $Res, $result, $sql, ExecSql(), getFicheNameCode(), and GetQuantity(). -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:47 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/test_8php-source.html b/doc/developper/html/test_8php-source.html index 4f0ab9a74..a90bf0224 100644 --- a/doc/developper/html/test_8php-source.html +++ b/doc/developper/html/test_8php-source.html @@ -75,7 +75,7 @@ 00066 echo "<h2 class=\"info\"> Congratulation : Test successfull</h2>"; 00067 00068 ?> -
    Generated on Thu Jun 22 23:54:03 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/test_8php.html b/doc/developper/html/test_8php.html index 3619ad3ba..db8e5122c 100644 --- a/doc/developper/html/test_8php.html +++ b/doc/developper/html/test_8php.html @@ -68,7 +68,7 @@ Definition at line 37 of f Definition at line 45 of file test.php. -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/test__smarty_8php-source.html b/doc/developper/html/test__smarty_8php-source.html index 020c7f997..e2f04e773 100644 --- a/doc/developper/html/test__smarty_8php-source.html +++ b/doc/developper/html/test__smarty_8php-source.html @@ -22,7 +22,7 @@ 00013 00014 ?> 00015 -
    Generated on Thu Jun 22 23:54:03 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/test__smarty_8php.html b/doc/developper/html/test__smarty_8php.html index f5ac667cf..c20426e9b 100644 --- a/doc/developper/html/test__smarty_8php.html +++ b/doc/developper/html/test__smarty_8php.html @@ -149,7 +149,7 @@ Definition at line 96 of file test_smarty.php. -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/todo.html b/doc/developper/html/todo.html new file mode 100644 index 000000000..50b845913 --- /dev/null +++ b/doc/developper/html/todo.html @@ -0,0 +1,120 @@ + + +phpcompta: Todo List + + + + +

    Todo List

    +
    Global Customer::VatListing ($p_year)
    +
    optimize SQL

    +

    +
    +

    +

    +
    Global Document::Generate ()
    +
    Carefull : the slash is not windows compliant
    +
    +

    +

    +
    Global Document::Replace ($p_tag)
    +
    verify that price and quant are numeric
    +
    +

    +

    +
    Global Document::Replace ($p_tag)
    +
    carefull round problem ?
    +
    +

    +

    +
    Global Document::Replace ($p_tag)
    +
    verify that price and quant are numeric
    +
    +

    +

    +
    Global Document::Replace ($p_tag)
    +
    carefull round problem ?
    +
    +

    +

    +
    Global fiche::update ()
    +
    add a check to return an error and rollback operation
    +
    +

    +

    +
    File demo.php
    +
    to remove
    +
    +

    +

    +
    File facturation.php
    +
    to remove
    +
    +

    +

    +
    File gestion_fiche_search.php
    +
    to remove
    +
    +

    +

    +
    File print_invoice.php
    +
    Obsolete ?

    +

    +
    +

    +

    +
    File user_advanced.php
    +
    Obsolete ?
    +
    +

    +

    +
    File check_priv.php
    +
    some of those tools are redundant with the class user and should be cleaned
    +
    +

    +

    +
    File class_invoice.php
    +
    obsolete ? then delete it
    +
    +

    +

    +
    File class_operation.php
    +
    obsolete ? then remove
    +
    +

    +

    +
    File fiche_inc.php
    +
    remove this file but adapt first the pages which needs those function and complete the class_fiche.php
    +
    +

    +

    +
    File periode.inc.php
    +
    check if obsolete
    +
    +

    +

    +
    Global GetNumberLine
    +
    obsolete ?
    +
    +

    +

    +
    Global ShowMenuCompta
    +
    clean param p_dossier

    +

    +
    +

    +

    +
    Global ShowMenuFiche
    +
    Only for developper A test must be added
    +
    +

    +

    +
    Global u_ShowMenu
    +
    clean $p_check

    +

    +
    +
    Generated on Fri Jun 23 00:12:49 2006 for phpcompta by  + +doxygen 1.4.4
    + + diff --git a/doc/developper/html/tva_8inc_8php-source.html b/doc/developper/html/tva_8inc_8php-source.html index 4f3eb25f6..cc47b4575 100644 --- a/doc/developper/html/tva_8inc_8php-source.html +++ b/doc/developper/html/tva_8inc_8php-source.html @@ -256,7 +256,7 @@ 00256 } 00257 00258 ?> -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/tva_8inc_8php.html b/doc/developper/html/tva_8inc_8php.html index ba59fbbd4..51cd2e2f9 100644 --- a/doc/developper/html/tva_8inc_8php.html +++ b/doc/developper/html/tva_8inc_8php.html @@ -519,7 +519,7 @@ Definition at line 215 Referenced by Cezpdf::ezColumnsStart(), Cezpdf::ezImage(), Cezpdf::ezNewPage(), Cezpdf::ezTable(), Cpdf::filledRectangle(), Cpdf::rectangle(), Cpdf::selectFont(), Cpdf::setLineStyle(), ShowMenuCompta(), ShowMenuParam(), VerifImport(), and widget::widget(). -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:47 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/user__action__ach_8php-source.html b/doc/developper/html/user__action__ach_8php-source.html index cd70ae603..a729c5e8e 100644 --- a/doc/developper/html/user__action__ach_8php-source.html +++ b/doc/developper/html/user__action__ach_8php-source.html @@ -321,7 +321,7 @@ 00315 } 00316 include("user_update.php"); 00317 ?> -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/user__action__ach_8php.html b/doc/developper/html/user__action__ach_8php.html index 0d6e4ebb7..6b72d98b7 100644 --- a/doc/developper/html/user__action__ach_8php.html +++ b/doc/developper/html/user__action__ach_8php.html @@ -648,7 +648,7 @@ Definition at line 149 of file user_action_ach.php. -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:47 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/user__action__fin_8php-source.html b/doc/developper/html/user__action__fin_8php-source.html index dc1a43712..e941de1c7 100644 --- a/doc/developper/html/user__action__fin_8php-source.html +++ b/doc/developper/html/user__action__fin_8php-source.html @@ -248,7 +248,7 @@ 00250 00251 00252 ?> -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/user__action__fin_8php.html b/doc/developper/html/user__action__fin_8php.html index 64d2ac9ba..24e129695 100644 --- a/doc/developper/html/user__action__fin_8php.html +++ b/doc/developper/html/user__action__fin_8php.html @@ -701,7 +701,7 @@ Definition at line 164 of file user_action_fin.php. -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:47 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/user__action__gl_8php-source.html b/doc/developper/html/user__action__gl_8php-source.html index aefd5ecc0..1e62d17ab 100644 --- a/doc/developper/html/user__action__gl_8php-source.html +++ b/doc/developper/html/user__action__gl_8php-source.html @@ -80,7 +80,7 @@ 00075 00076 ?> 00077 </div> -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/user__action__gl_8php.html b/doc/developper/html/user__action__gl_8php.html index fa021c414..dbe96d347 100644 --- a/doc/developper/html/user__action__gl_8php.html +++ b/doc/developper/html/user__action__gl_8php.html @@ -426,7 +426,7 @@ Definition at line 44 of file user_action_gl.php. -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:47 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/user__action__ods_8php-source.html b/doc/developper/html/user__action__ods_8php-source.html index 589868f68..c43d93cd4 100644 --- a/doc/developper/html/user__action__ods_8php-source.html +++ b/doc/developper/html/user__action__ods_8php-source.html @@ -223,7 +223,7 @@ 00218 } 00219 include("user_update.php"); 00220 ?> -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/user__action__ods_8php.html b/doc/developper/html/user__action__ods_8php.html index ca53acfc7..300acae0e 100644 --- a/doc/developper/html/user__action__ods_8php.html +++ b/doc/developper/html/user__action__ods_8php.html @@ -588,7 +588,7 @@ Definition at line 160 of file user_action_ods.php. -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:47 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/user__action__ven_8php-source.html b/doc/developper/html/user__action__ven_8php-source.html index d50f47b26..aba6dc83b 100644 --- a/doc/developper/html/user__action__ven_8php-source.html +++ b/doc/developper/html/user__action__ven_8php-source.html @@ -327,7 +327,7 @@ 00321 00322 include("user_update.php"); 00323 ?> -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/user__action__ven_8php.html b/doc/developper/html/user__action__ven_8php.html index 986895668..c54a7f8ce 100644 --- a/doc/developper/html/user__action__ven_8php.html +++ b/doc/developper/html/user__action__ven_8php.html @@ -644,7 +644,7 @@ Definition at line 153 of file user_action_ven.php. -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:47 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/user__advanced_8php-source.html b/doc/developper/html/user__advanced_8php-source.html index 7b784c75d..24181603c 100644 --- a/doc/developper/html/user__advanced_8php-source.html +++ b/doc/developper/html/user__advanced_8php-source.html @@ -71,7 +71,7 @@ 00067 00068 html_page_stop(); 00069 ?> -
    Generated on Thu Jun 22 23:54:03 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/user__advanced_8php.html b/doc/developper/html/user__advanced_8php.html index be8fa47db..7f3f618f1 100644 --- a/doc/developper/html/user__advanced_8php.html +++ b/doc/developper/html/user__advanced_8php.html @@ -76,7 +76,7 @@ Definition at line 3 Definition at line 36 of file user_advanced.php. -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/user__common_8php-source.html b/doc/developper/html/user__common_8php-source.html index e4f92cd76..7e2adc8a2 100644 --- a/doc/developper/html/user__common_8php-source.html +++ b/doc/developper/html/user__common_8php-source.html @@ -697,7 +697,7 @@ 00934 return $r; 00935 00936 } -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/user__common_8php.html b/doc/developper/html/user__common_8php.html index bacc3e2a2..38fc01c09 100644 --- a/doc/developper/html/user__common_8php.html +++ b/doc/developper/html/user__common_8php.html @@ -1176,7 +1176,7 @@ Definition at line 630 References $a, and getFicheAttribut(). -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:47 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/user__compta_8php-source.html b/doc/developper/html/user__compta_8php-source.html index 563574773..c59f004ac 100644 --- a/doc/developper/html/user__compta_8php-source.html +++ b/doc/developper/html/user__compta_8php-source.html @@ -74,7 +74,7 @@ 00069 html_page_stop(); 00070 00071 ?> -
    Generated on Thu Jun 22 23:54:03 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/user__compta_8php.html b/doc/developper/html/user__compta_8php.html index 967e5d6bb..7e430f3a5 100644 --- a/doc/developper/html/user__compta_8php.html +++ b/doc/developper/html/user__compta_8php.html @@ -129,7 +129,7 @@ Definition at line 28< Definition at line 30 of file user_compta.php. -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/user__form__ach_8php-source.html b/doc/developper/html/user__form__ach_8php-source.html index 262a64c4c..53146c5b9 100644 --- a/doc/developper/html/user__form__ach_8php-source.html +++ b/doc/developper/html/user__form__ach_8php-source.html @@ -739,7 +739,7 @@ 00802 } 00803 00804 ?> -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/user__form__ach_8php.html b/doc/developper/html/user__form__ach_8php.html index 27fb5ff21..b475ff451 100644 --- a/doc/developper/html/user__form__ach_8php.html +++ b/doc/developper/html/user__form__ach_8php.html @@ -332,7 +332,7 @@ Definition at line References $a_vat, $amount, $comment, $e, $i, $poste, $r, $Res, $seq, Commit(), ComputeTotalVat(), ComputeVat(), echo_debug(), ExecSql(), exit, FormatString(), GetTvaPoste(), InsertJrn(), InsertJrnx(), InsertStockGoods(), isNumber(), NextSequence(), Rollback(), save_upload_document(), SetInternalCode(), and StartSql(). -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:47 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/user__form__fin_8php-source.html b/doc/developper/html/user__form__fin_8php-source.html index 047dbc581..54dd9ff9a 100644 --- a/doc/developper/html/user__form__fin_8php-source.html +++ b/doc/developper/html/user__form__fin_8php-source.html @@ -375,7 +375,7 @@ 00417 Commit($p_cn); 00418 } 00419 ?> -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/user__form__fin_8php.html b/doc/developper/html/user__form__fin_8php.html index fc48ff985..534420523 100644 --- a/doc/developper/html/user__form__fin_8php.html +++ b/doc/developper/html/user__form__fin_8php.html @@ -242,7 +242,7 @@ Definition at line References $amount, $e, $poste, $seq, echo_debug(), echo_error(), ExecSql(), exit, FormatString(), InsertJrn(), InsertJrnx(), InsertRapt(), isDate(), isNumber(), NextSequence(), Rollback(), SetInternalCode(), and StartSql(). -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:47 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/user__form__ods_8php-source.html b/doc/developper/html/user__form__ods_8php-source.html index af8237a46..5e5209ede 100644 --- a/doc/developper/html/user__form__ods_8php-source.html +++ b/doc/developper/html/user__form__ods_8php-source.html @@ -263,7 +263,7 @@ 00291 00292 00293 ?> -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/user__form__ods_8php.html b/doc/developper/html/user__form__ods_8php.html index 4e1f93614..f72632f64 100644 --- a/doc/developper/html/user__form__ods_8php.html +++ b/doc/developper/html/user__form__ods_8php.html @@ -184,7 +184,7 @@ Definition at line References $amount, $e, $seq, exit, InsertJrnx(), isNumber(), NextSequence(), and StartSql(). -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:47 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/user__form__ven_8php-source.html b/doc/developper/html/user__form__ven_8php-source.html index d56341f21..cd4d898bf 100644 --- a/doc/developper/html/user__form__ven_8php-source.html +++ b/doc/developper/html/user__form__ven_8php-source.html @@ -692,7 +692,7 @@ 00756 } 00757 00758 ?> -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/user__form__ven_8php.html b/doc/developper/html/user__form__ven_8php.html index 9c507f356..58c3aef19 100644 --- a/doc/developper/html/user__form__ven_8php.html +++ b/doc/developper/html/user__form__ven_8php.html @@ -330,7 +330,7 @@ Definition at line References $a_vat, $amount, $comment, $e, $i, $poste, $r, $Res, $seq, $sum_vat, $t, Commit(), ComputeTotalVat(), ComputeVat(), echo_debug(), ExecSql(), exit, FormatString(), GetTvaPoste(), InsertJrn(), InsertJrnx(), InsertStockGoods(), isNumber(), NextSequence(), Rollback(), save_upload_document(), SetInternalCode(), and StartSql(). -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:47 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/user__impress_8php-source.html b/doc/developper/html/user__impress_8php-source.html index 2b7f7f520..641a3eb7f 100644 --- a/doc/developper/html/user__impress_8php-source.html +++ b/doc/developper/html/user__impress_8php-source.html @@ -107,7 +107,7 @@ 00102 00103 html_page_stop(); 00104 ?> -
    Generated on Thu Jun 22 23:54:03 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/user__impress_8php.html b/doc/developper/html/user__impress_8php.html index 02f8e8eea..7ef2a2397 100644 --- a/doc/developper/html/user__impress_8php.html +++ b/doc/developper/html/user__impress_8php.html @@ -361,7 +361,7 @@ Referenced by ParseFor Definition at line 85 of file user_impress.php. -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/user__jrn_8php-source.html b/doc/developper/html/user__jrn_8php-source.html index 8022aa7c3..bddfee71d 100644 --- a/doc/developper/html/user__jrn_8php-source.html +++ b/doc/developper/html/user__jrn_8php-source.html @@ -136,7 +136,7 @@ 00131 html_page_stop(); 00132 00133 ?> -
    Generated on Thu Jun 22 23:54:03 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/user__jrn_8php.html b/doc/developper/html/user__jrn_8php.html index 9e318ea93..e1f3dcc47 100644 --- a/doc/developper/html/user__jrn_8php.html +++ b/doc/developper/html/user__jrn_8php.html @@ -210,7 +210,7 @@ Definition at line 35 Definition at line 66 of file user_jrn.php. -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/user__login_8php-source.html b/doc/developper/html/user__login_8php-source.html index 7fcf0130a..b43fef2fc 100644 --- a/doc/developper/html/user__login_8php-source.html +++ b/doc/developper/html/user__login_8php-source.html @@ -55,7 +55,7 @@ 00050 <? 00051 html_page_stop(); 00052 ?> -
    Generated on Thu Jun 22 23:54:03 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/user__login_8php.html b/doc/developper/html/user__login_8php.html index ba2654ef3..a249a4765 100644 --- a/doc/developper/html/user__login_8php.html +++ b/doc/developper/html/user__login_8php.html @@ -129,7 +129,7 @@ Definition at line 4431 of file user_login.php. -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/user__menu_8php-source.html b/doc/developper/html/user__menu_8php-source.html index 8fa804c8c..3a06d0d17 100644 --- a/doc/developper/html/user__menu_8php-source.html +++ b/doc/developper/html/user__menu_8php-source.html @@ -547,7 +547,7 @@ 00734 } 00735 00736 ?> -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/user__menu_8php.html b/doc/developper/html/user__menu_8php.html index aec681728..c98f5dd9b 100644 --- a/doc/developper/html/user__menu_8php.html +++ b/doc/developper/html/user__menu_8php.html @@ -963,7 +963,7 @@ Definition at line 405$opt, $r, echo_debug(), METHOD, name, size, and value. -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:47 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/user__pref_8php-source.html b/doc/developper/html/user__pref_8php-source.html index ee257e0b9..7da28f378 100644 --- a/doc/developper/html/user__pref_8php-source.html +++ b/doc/developper/html/user__pref_8php-source.html @@ -66,7 +66,7 @@ 00061 require_once("pref.inc.php"); 00062 html_page_stop(); 00063 ?> -
    Generated on Thu Jun 22 23:54:03 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/user__pref_8php.html b/doc/developper/html/user__pref_8php.html index 2f58e5315..93319fe00 100644 --- a/doc/developper/html/user__pref_8php.html +++ b/doc/developper/html/user__pref_8php.html @@ -129,7 +129,7 @@ Definition at line 2932 of file user_pref.php. -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/user__sec_8php-source.html b/doc/developper/html/user__sec_8php-source.html index dc86f69cf..19c1ba2d7 100644 --- a/doc/developper/html/user__sec_8php-source.html +++ b/doc/developper/html/user__sec_8php-source.html @@ -269,7 +269,7 @@ 00264 echo "</DIV>"; 00265 html_page_stop(); 00266 ?> -
    Generated on Thu Jun 22 23:54:03 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:45 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/user__sec_8php.html b/doc/developper/html/user__sec_8php.html index b0041041d..e8c644e39 100644 --- a/doc/developper/html/user__sec_8php.html +++ b/doc/developper/html/user__sec_8php.html @@ -463,7 +463,7 @@ Definition at line 16746 of file user_sec.php. -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/user__update_8php-source.html b/doc/developper/html/user__update_8php-source.html index 5b1c24118..7763592e2 100644 --- a/doc/developper/html/user__update_8php-source.html +++ b/doc/developper/html/user__update_8php-source.html @@ -57,7 +57,7 @@ 00052 00053 } // if update_record 00054 ?> -
    Generated on Thu Jun 22 23:54:04 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/user__update_8php.html b/doc/developper/html/user__update_8php.html index 515348474..53f78f94f 100644 --- a/doc/developper/html/user__update_8php.html +++ b/doc/developper/html/user__update_8php.html @@ -104,7 +104,7 @@ Definition at line 36< Definition at line 28 of file user_update.php. -
    Generated on Thu Jun 22 23:54:05 2006 for phpcompta by  +
    Generated on Fri Jun 23 00:12:47 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/include/class_action.php b/include/class_action.php new file mode 100644 index 000000000..8a3266701 --- /dev/null +++ b/include/class_action.php @@ -0,0 +1,390 @@ +db=$p_cn; + $this->f_id=0; + } +/*! Display + * \brief Display the object + * + * \return string containing the html code + */ + function Display() + { + $r=""; + // Compute the widget + // Date + $date=new widget("text"); + $date->readonly=true; + $date->name="ag_date"; + $date->value=$this->ag_date; + // Doc Type + $doc_type=new widget("hidden"); + $doc_type->name="dt_id"; + $doc_type->value=$this->dt_id; + $a=ExecSql($this->db,"select dt_value from document_type where dt_id=".$this->dt_id); + $v=pg_fetch_array($a,0); + $str_type=$v[0]; + + // state + // Retrieve the value + $a=ExecSql($this->db,"select s_value from document_state where s_id=".$this->d_state); + $v=pg_fetch_array($a,0); + $str_state=$v[0]; + $state=new widget("hidden"); + $state->name="d_state"; + $state->value=$this->d_state; + // title + $title=new widget("text"); + $title->readonly=true; + $title->name="ag_title"; + $title->value=FormatString($this->ag_title); + + // Description + $desc=new widget('textarea'); + $desc->name="ag_desc"; + $desc->readonly=" disabled "; + $desc->value=$this->ag_desc; + // Propose to generate a document + $gen=new widget ("checkbox"); + $gen->name="p_gen"; + $doc_gen=new widget("select"); + $doc_gen->name="gen_doc"; + $doc_gen->value=make_array($this->db, + "select md_id,md_name from document_modele where md_type=".$this->dt_id); + // f_id + $tiers=new fiche($this->db); + $tiers->GetByQCode($this->qcode); + // Preparing the return string + + $r.="

    Date : ".$date->IOValue()."

    "; + $r.="

    Etat $str_state".$state->IOValue()."

    "; + $r.="

    Type du document $str_type".$doc_type->IOValue()."

    "; + $r.="

    Tiers : ".$this->qcode." ".$tiers->strAttribut(1).'

    '; + $r.="

    Titre : ".$title->IOValue(); + $r.="

    Description :".urldecode($desc->IOValue())."

    "; + return $r; + + } + +/*! Confirm + * \brief Display the encoded data and ask a confirmation + * this correspond to the stage 1, before the generation + * or the upload of document + * + * + * \return string containing the form + */ + function Confirm() + { + if ( isDate($this->ag_date) == NULL ) + { + // if the date is invalid, default date is today + $this->ag_date=date("d.m.Y"); + } + // Compute the widget + // Date + $date=new widget("text"); + $date->readonly=true; + $date->name="ag_date"; + $date->value=$this->ag_date; + // Doc Type + $doc_type=new widget("hidden"); + $doc_type->name="dt_id"; + $doc_type->value=$this->dt_id; + $a=ExecSql($this->db,"select dt_value from document_type where dt_id=".$this->dt_id); + $v=pg_fetch_array($a,0); + $str_type=$v[0]; + if ( isset ($_REQUEST['url'])) + { + $retour=sprintf('',urldecode($_REQUEST['url'])); + $h_url=sprintf('',urldecode($_REQUEST['url'])); + } + else + { + $retour=""; + $h_url=""; + } + + // state + // Retrieve the value + $a=ExecSql($this->db,"select s_value from document_state where s_id=".$this->d_state); + $v=pg_fetch_array($a,0); + $str_state=$v[0]; + $state=new widget("hidden"); + $state->name="d_state"; + $state->value=$this->d_state; + // title + $title=new widget("text"); + $title->readonly=true; + $title->name="ag_title"; + $title->value=FormatString($this->ag_title); + + // Description + $desc=new widget('textarea'); + $desc->name="ag_desc"; + $desc->readonly=" disabled "; + $desc->value=$this->ag_desc; + // Propose to generate a document + $gen=new widget ("checkbox"); + $gen->name="p_gen"; + $doc_gen=new widget("select"); + $doc_gen->name="gen_doc"; + $doc_gen->value=make_array($this->db, + "select md_id,md_name from document_modele where md_type=".$this->dt_id); + // f_id + $tiers=new fiche($this->db); + $tiers->GetByQCode($this->qcode); + // Preparing the return string + $r=$retour."
    "; + $r.="

    Date : ".$date->IOValue()."

    "; + $r.="

    Etat $str_state".$state->IOValue()."

    "; + $r.="

    Type du document $str_type".$doc_type->IOValue()."

    "; + $r.="

    Tiers : ".$this->qcode." ".$tiers->strAttribut(1).'

    '; + $r.="

    Titre : ".$title->IOValue(); + $r.="

    Description :".$desc->IOValue()."

    "; + // if no document exist for this type then do not display the question + if ( sizeof($doc_gen->value) != 0) + $r.="

    Générer un document ".$gen->IOValue()." ".$doc_gen->IOValue()."

    "; + + // Add the hidden tag + $r.=''; + $r.=''; + $r.=''; + if ( $tiers->strAttribut(1) != "- ERROR -") + $r.=$desc->Submit("Save","Sauve"); + $r.=$desc->Submit("corr","Corrige"); + + $r.=$h_url."
    "; + return $r; + } +/*! SaveStage2 + * \brief Save the document and propose to save the generated document or + * to upload one, the data are included except the file. Temporary the generated + * document is save + * + * \return + */ + function SaveStage2() + { + // Get The sequence id, + $seq_name="seq_doc_type_".$this->dt_id; + $str_file=""; + $add_file=''; + // f_id + $tiers=new fiche($this->db); + $tiers->GetByQCode($this->qcode); + if ( trim($this->ag_title) == "") { + $doc_mod=new document_type($this->db); + $doc_mod->dt_id=$this->dt_id; + $doc_mod->get(); + $this->ag_title=$doc_mod->dt_value; + } + echo_debug('class_action',__LINE__," tiers->id ".$tiers->id); + $sql=sprintf("insert into action_gestion(ag_type,ag_title,f_id,ag_comment) values ('%s','%s',%d,'%s')", $this->dt_id, + FormatString($this->ag_title), + $tiers->id, + FormatString(urlencode($this->ag_desc))); + ExecSql($this->db,$sql); + $this->ag_id=GetSequence($this->db,'action_gestion_ag_id_seq'); + + // the lob filename and the mimetype needed if we want to generate a doc. + if ( $this->gen == 'on' ) + { + $doc=new Document($this->db); + $doc->f_id=$tiers->id; + $doc->md_id=$this->md_id; + $doc->ag_id=$this->ag_id; + $str_file=$doc->Generate(); + } + + $r=$this->Display(); + $r.="
    "; + $r.='
    '; + // Add the hidden tag + $r.=''; + $r.=''; + $r.=''; + + // Value for the generated document + if ( $this->gen == 'on' ) + { + $r.=''; + $r.="Sauver le document généré :"; + $r.=$str_file; + $checkbox=new widget("checkbox"); + $checkbox->name="save_generate"; + $r.=$checkbox->IOValue(); + $r.="
    "; + } + $upload=new widget("file"); + $upload->name="file_upload"; + $upload->value=""; + $r.="Enregistrer le fichier ".$upload->IOValue(); + $r.=$upload->Submit("save","Sauve le fichier"); + $r.="
    "; + return $r; + } +/*! SaveStage3 + * \brief Upload the document or save the generated document + * \param $d_id document_id when we upload we don't increment seq. if = 0 then no file + * + */ + function SaveStage3($d_id) + { + // no generated doc + if ( $d_id == 0 ) return; + // if we save the generated doc + if ( isset($_POST['save_generate'])) + { + return; + } + + // Upload a new document + $doc=new Document($this->db); + $doc->d_id=$d_id; + $doc->Upload($this->ag_id); + } +/*! myList($p_filter="") + * \brief Show list of action + * \param $p_filter filters on the document_type + * \param $p_search must a valid sql command ( ex 'and ag_title like upper('%hjkh%')) + * + * + * \return string containing html code + */ + function myList($p_filter="",$p_search="") + { + $sql=" + select ag_id,to_char(ag_timestamp,'DD-MM-YYYY HH:MI') as my_date,f_id,ag_title,d_id,md_type,dt_value + from action_gestion + left outer join document using (ag_id) + left outer join document_modele on (ag_type=md_type) + join document_type on (ag_type=dt_id) + where dt_id in ($p_filter) $p_search"; + $max_line=CountSql($this->db,$sql); + $step=$_SESSION['g_pagesize']; + $page=(isset($_GET['offset']))?$_GET['page']:1; + $offset=(isset($_GET['offset']))?$_GET['offset']:0; + $limit=" LIMIT $step OFFSET $offset "; + $bar=jrn_navigation_bar($offset,$max_line,$step,$page); + + $Res=ExecSql($this->db,$sql.$limit); + $a_row=pg_fetch_all($Res); + $r='
    '; + $r.=$bar; + $r.=""; + $r.=""; + $r.=""; + $r.=""; + $r.=""; + $r.=""; + $r.=""; + $r.=""; + + // if there are no records return a message + if ( sizeof ($a_row) == 0 or $a_row == false ) + { + $r='
    '; + $r.='
    Aucun enregistrement trouvé'; + $r.="
    "; + return $r; + + } + foreach ($a_row as $row ) + { + $r.=""; + $r.=""; + $f=new fiche($this->db); + $f->id=$row['f_id']; + $r.=""; + $r.=""; + $r.=""; + + $doc=new Document($this->db,$row['d_id']); + $r.=""; + $r.=""; + + } + $r.="
    DateSociétéTitretypeDocument
    ".$row['my_date']."".$f->getName()."".$row['ag_title']."".$row['dt_value']."".$doc->a_ref()."
    "; + $r.=$bar; + $r.="
    "; + return $r; + } + + + +} \ No newline at end of file diff --git a/include/class_contact.php b/include/class_contact.php new file mode 100644 index 000000000..182a018ca --- /dev/null +++ b/include/class_contact.php @@ -0,0 +1,129 @@ +fiche_def_ref=FICHE_TYPE_CONTACT; + fiche::fiche($p_cn,$p_id) ; + $this->company=""; + } +/*! Summary + ************************************************** + * \brief show the default screen + * + * \param p_search (filter) + * + * \return string to display + */ + function Summary($p_search) + { + $p_search=FormatString($p_search); + $extra_sql=""; + if ( $this->company != "") + { + $extra_sql="and f_id in (select f_id from jnt_fic_att_value join +attr_value using (jft_id) where av_text='".$this->company."' and ad_id=".ATTR_DEF_COMPANY.") "; + } + $url=urlencode($_SERVER['REQUEST_URI']); + $script=$_SERVER['SCRIPT_NAME']; + // Creation of the nav bar + // Get the max numberRow + $all_contact=$this->CountByDef($this->fiche_def_ref,$p_search,$extra_sql); + // Get offset and page variable + $offset=( isset ($_REQUEST['offset'] )) ?$_REQUEST['offset']:0; + $page=(isset($_REQUEST['page']))?$_REQUEST['page']:1; + $bar=jrn_navigation_bar($offset,$all_contact,$_SESSION['g_pagesize'],$page); + // set a filter ? + $search=""; + if ( trim($p_search) != "" ) + { + $search=" and f_id in +(select f_id from jnt_fic_att_value + join fiche using (f_id) + join attr_value using (jft_id) + where + ad_id=1 and av_text ~* '$p_search') "; + } + // Get The result Array + $step_contact=$this->GetAll($offset,$search.$extra_sql); + if ( $all_contact == 0 ) return ""; + $r=$bar; + $r.=' + + + + + + +'; + $base=$_SERVER['SCRIPT_NAME']; + // Compute the url + $url=""; + $and="?"; + $get=$_GET; + if ( isset ($get) ) { + foreach ($get as $name=>$value ) { + // we clean the parameter offset, step, page and size + if ( ! in_array($name,array('f_id','detail'))) { + $url.=$and.$name."=".$value; + $and="&"; + }// if + }//foreach + }// if + + if ( sizeof ($step_contact ) == 0 ) + return $r; + foreach ($step_contact as $contact ) { + $l_company=new fiche($this->cn); + $l_company->GetByQCode($contact->strAttribut(ATTR_DEF_COMPANY),false); + $l_company_name=$l_company->strAttribut(ATTR_DEF_NAME); + if ( $l_company_name == '- ERROR -' ) $l_company_name=""; + $r.=""; + $r.='"; + $r.=""; + $r.="". + "". + ""; + + $r.=""; + + } + $r.="
    NomTéléphoneemailFaxSociété
    id."\">".$contact->strAttribut(ATTR_DEF_NAME)."".$contact->strAttribut(ATTR_DEF_TEL)."".$contact->strAttribut(ATTR_DEF_EMAIL)." ".$contact->strAttribut(ATTR_DEF_FAX)." ".$l_company_name. + "
    "; + $r.=$bar; + return $r; + } + +} \ No newline at end of file diff --git a/include/class_document_type.php b/include/class_document_type.php new file mode 100644 index 000000000..a552bbcc8 --- /dev/null +++ b/include/class_document_type.php @@ -0,0 +1,52 @@ +db=$p_cn; + $this->dt_id=-1; + } +/*! + * \brief Get all the data for this dt_id + */ + function get() + { + $sql="select * from document_type where dt_id=".$this->dt_id; + $R=ExecSql($this->db,$sql); + $r=pg_fetch_array($R,0); + $this->dt_id=$r['dt_id']; + $this->dt_value=$r['dt_value']; + } + +} \ No newline at end of file diff --git a/include/class_invoice.php b/include/class_invoice.php new file mode 100644 index 000000000..64f289899 --- /dev/null +++ b/include/class_invoice.php @@ -0,0 +1,151 @@ +cn=$p_cn; + } + // show the stored invoice template + function myList() { + $sql="select iv_id,iv_name from invoice"; + $Res=ExecSql($this->cn,$sql); + $all=pg_fetch_all($Res); + if ( pg_NumRows($Res) == 0 ) return ""; + foreach ( $all as $row) { + var_dump($row); + } + } + // Save a template in the database + function Save() { + // Values are in $_POST + StartSql($this->cn); + // Save data into the table invoice + + // Save the file + $new_name=tempnam('/tmp','invoice_'); + echo_debug('class_invoice.php',__LINE__,"new name=".$new_name); + if ( strlen ($_FILES['pj']['tmp_name']) != 0 ) + { + if (move_uploaded_file($_FILES['invoice']['tmp_name'], + $new_name)) + { + // echo "Image saved"; + $oid= pg_lo_import($this->cn,$new_name); + if ( $oid == false ) + { + echo_error('class_invoice.php',__LINE__,"cannot upload document"); + Rollback($cn); + return; + } + echo_debug('class_invoice.php',__LINE__,"Loading document"); + // Remove old document + $ret=ExecSql($this->cn,"select iv_file from invoice where iv_id=".$this->id); + if (pg_num_rows($ret) != 0) + { + $r=pg_fetch_array($ret,0); + $old_oid=$r['iv_file']; + if (strlen($old_oid) != 0) + pg_lo_unlink($this->cn,$old_oid); + } + // Load new document + ExecSql($this->cn,"update invoice set iv_file where iv_id=".$this->id); + } + else + { + echo "

    Error

    "; + Rollback($this->cn); + exit; + } + } + } + // Remove a template + function Delete() { + } + // return the string containing the form for + // adding a template + function FormAdd() { + $r=""; + $r='
    '; + $r.="
    "; + return $r; + } + // return the string containing the form for + // removing a template + function FormDelete() { + } + // Parse and remplace the tag in the invoice + // By the value found in quant_sold + // p_id is the id of the invoice + // p_internal reference (quant_sold qs_internal) + function Get($p_id,$p_internal) + { + // retrieve info from the table invoice + + // retrieve the template and generate document + StartSql($this->cn); + $ret=ExecSql($cn,"select iv_name,iv_file from invoice where iv_id".$this->iv_id); + if ( pg_num_rows ($ret) == 0 ) + return; + $row=pg_fetch_array($ret,0); + //the template is saved into file $tmp + $tmp=tempnam('/tmp/','invoice_'); + pg_lo_export($cn,$row['iv_file'],$tmp); + // Parse the file + + + + + // send it to stdout + ini_set('zlib.output_compression','Off'); + header("Pragma: public"); + header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); + header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); + header("Cache-Control: must-revalidate"); + header('Content-type: rtf/x-application'); + header('Content-Disposition: attachment;filename="invoice'.$p_internal.'.rtf"',FALSE); + header("Accept-Ranges: bytes"); + $file=fopen($tmp,'r'); + while ( !feof ($file) ) + { + echo fread($file,8192); + } + fclose($file); + + unlink ($tmp); + + Commit($cn); + + } +} +?> \ No newline at end of file diff --git a/include/contact.inc.php b/include/contact.inc.php new file mode 100644 index 000000000..965c7cb34 --- /dev/null +++ b/include/contact.inc.php @@ -0,0 +1,191 @@ +',urldecode($_REQUEST['url'])); + $h_url=sprintf('',urldecode($_REQUEST['url'])); +} +else +{ + $retour=""; + $h_url=""; +} + +// Menu +// Remove a card +if ( isset ($_POST['delete']) ) +{ + echo 'delete'; + $f_id=$_REQUEST['f_id']; + + $fiche=new contact($cn,$f_id); + $fiche->remove(); + $sub_action="list"; +} +//////////////////////////////////////////////////////////////////////////////// +// Add card +if ( $sub_action=="insert" ) +{ + $contact=new Contact($cn); + $contact->Save($_REQUEST['fd_id']); + echo $retour; + echo ""; + echo $contact->Display(true); + echo "
    "; + echo $retour; + +} + +//////////////////////////////////////////////////////////////////////////////// +// Save modification +if ( isset ($_POST['mod'])) +{ + // modification is asked + $f_id=$_REQUEST['f_id']; + + $contact=new contact($cn,$f_id); + $contact->Save(); +} +// by default open liste +if ( $sub_action == "" ) + $sub_action="list"; +//////////////////////////////////////////////////////////////////////////////// +//Display a blank card +if ( $sub_action=="blank") +{ + $retour=sprintf('', + "commercial.php?p_action=contact"); + echo '
    '; + + echo $retour; + $c=new contact($cn); + echo '
    '; + echo ''; + echo ''; + echo ''; + echo $c->blank($_GET['fd_id']); + echo ''; + echo '
    '; + echo $retour; + echo '
    '; +} +//////////////////////////////////////////////////////////////////////////////// +// list +if ( $sub_action == "list" ) +{ +?> +
    + +
    +', + $a); +?> + + +
    +
    + +
    + + + +name="fd_id"; + $w->value= make_array($cn,"select fd_id,fd_label from fiche_def where ". + " frd_id=".FICHE_TYPE_CONTACT); + echo $w->IOValue(); +?> + + + +
    +
    + +
    +Tiers QuickCode: ', + $qcode); +?> + + + +
    +company=$qcode; + } + echo '
    '; + echo $contact->Summary($search); + echo '
    '; + + +} +//////////////////////////////////////////////////////////////////////////////// +// Show Detail +if ( $sub_action == 'detail' ) +{ + $f_id=$_REQUEST['f_id']; + echo '
    '; + $contact=new contact($cn,$f_id); + echo $retour; + echo '
    '; + echo $contact->Display(false); + $w=new widget("hidden"); + $w->name="p_action"; + $w->value="contact"; + echo $w->IOValue(); + $w->name="f_id"; + $w->value=$f_id; + echo $w->IOValue(); + + echo $w->Submit('mod','Sauver les modifications'); + echo ''; + echo $w->Submit('delete','Effacer cette fiche'); + echo '
    '; + echo $retour; + echo '
    '; +} +html_page_stop(); + + diff --git a/include/facture.inc.php b/include/facture.inc.php new file mode 100644 index 000000000..1d5e1f070 --- /dev/null +++ b/include/facture.inc.php @@ -0,0 +1,241 @@ +',urldecode($_REQUEST['url'])); + $h_url=sprintf('',urldecode($_REQUEST['url'])); +} +else +{ + $retour=""; + $h_url=""; +} + +$sub_action=(isset($_REQUEST['sa']))?$_REQUEST['sa']:""; +//////////////////////////////////////////////////////////////////////////////// +// If a list of invoice is asked +// +if ( $sub_action == "list") +{ + + // show the menu with the list item selected + echo '
    '; + echo ShowMenuJrnUser($_SESSION['g_dossier'],'VEN',$p_jrn,'Liste'); + echo '
    '; + // Ask to update payment + if ( isset ( $_GET['paid'])) + { + // reset all the paid flag because the checkbox is post only + // when checked + foreach ($_GET as $name=>$paid) + { + list($ad) = sscanf($name,"set_jr_id%d"); + if ( $ad == null ) continue; + $sql="update jrn set jr_rapt='' where jr_id=$ad"; + $Res=ExecSql($cn,$sql); + + } + // set a paid flag for the checked box + foreach ($_GET as $name=>$paid) + { + list ($id) = sscanf ($name,"rd_paid%d"); + + if ( $id == null ) continue; + // echo "Mise à jour $id"; + $paid=($paid=='on')?'paid':''; + $sql="update jrn set jr_rapt='$paid' where jr_id=$id"; + $Res=ExecSql($cn,$sql); + } + + } + + echo '
    '; + + + + echo '
    '; + + $hid=new widget("hidden"); + + $hid->name="p_action"; + $hid->value="facture"; + echo $hid->IOValue(); + + + $hid->name="sa"; + $hid->value="list"; + echo $hid->IOValue(); + + + + $w=new widget("select"); + + $periode_start=make_array($cn,"select p_id,to_char(p_start,'DD-MM-YYYY') from parm_periode order by p_id"); + // User is already set User=new cl_user($cn); + $current=(isset($_GET['p_periode']))?$_GET['p_periode']:$User->GetPeriode(); + $w->selected=$current; + + echo 'Période '.$w->IOValue("p_periode",$periode_start).$w->Submit('gl_submit','Valider'); + $qcode=(isset($_GET['qcode']))?$_GET['qcode']:""; + printf ('Tiers QuickCode: ', + $qcode); + echo $retour; + // Show list of sell + // Date - date of payment - Customer - amount + $sql=SQL_LIST_ALL_INVOICE." and jr_tech_per=".$current." and jr_def_type='VEN'" ; + $step=$_SESSION['g_pagesize']; + $page=(isset($_GET['offset']))?$_GET['page']:1; + $offset=(isset($_GET['offset']))?$_GET['offset']:0; + + $l=""; + // check if qcode contains something + if ( $qcode != "" ) + { + // add a condition to filter on the quick code + $l=" and jr_grpt_id in (select j_grpt from jrnx where j_qcode='$qcode') "; + } + + list($max_line,$list)=ListJrn($cn,0,"where jrn_def_type='VEN' and jr_tech_per=$current $l " + ,null,$offset,1); + $bar=jrn_navigation_bar($offset,$max_line,$step,$page); + + echo "
    $bar"; + echo $list; + echo "$bar
    "; + if ( $max_line !=0 ) + echo $hid->Submit('paid','Mise à jour paiement'); + echo '
    '; + + echo '
    '; + + exit(); +} +//////////////////////////////////////////////////////////////////////////////// +echo '
    '; +echo ShowMenuJrnUser($_SESSION['g_dossier'],'VEN',$p_jrn,'Liste'); +echo '
    '; +//////////////////////////////////////////////////////////////////////////////// +// if we request to add an item +// the $_POST['add_item'] is set +// or if we ask to correct the invoice +if ( isset ($_POST['add_item']) || isset ($_POST["correct_new_invoice"]) ) +{ + $nb_item=$_POST['nb_item']; + $nb_item++; + $form=FormVenInput($cn,$_GET['p_jrn'],$User->GetPeriode(),$_POST,false,$nb_item); + echo '
    '; + echo $form; + echo '
    '; + exit(); +} +//////////////////////////////////////////////////////////////////////////////// +// we want to save the invoice and to generate a invoice +// +if ( isset($_POST['record_and_print_invoice'])) +{ + // First we save the invoice + RecordInvoice($cn,$_POST,$User,$p_jrn); + $form=FormVenteView($cn,$_GET['p_jrn'],$User->GetPeriode(),$_POST,$_POST['nb_item'],'noform',''); + // $form=FormVenInput($cn,$_GET['p_jrn'],$User->GetPeriode(),$_POST,true,$_POST['nb_item']); + echo '
    '; + echo $form; + echo '
    '; + // Show the details of the encoded invoice + // and the url of the invoice + if ( isset($_POST['gen_invoice'])) + { + $doc=new Document($cn); + $doc->f_id=$_POST['e_client']; + $doc->md_id=$_POST['gen_doc']; + $doc->ag_id=0; + $str_file=$doc->Generate(); + echo $str_file; + } + echo ''; + exit(); +} +//////////////////////////////////////////////////////////////////////////////// +// we show the confirmation screen it is proposed here to generate the +// invoice +if ( isset ($_POST['view_invoice']) ) +{ + $nb_number=$_POST["nb_item"]; + if ( form_verify_input($cn,$_GET['p_jrn'],$User->GetPeriode(),$HTTP_POST_VARS,$nb_number) == true) + { + $form=FormVenteView($cn,$_GET['p_jrn'],$User->GetPeriode(),$HTTP_POST_VARS,$nb_number); + + } else { + // Check failed : invalid date or quantity + echo_error("Cannot validate "); + $form=FormVenInput($cn,$_GET['p_jrn'],$User->GetPeriode(),$HTTP_POST_VARS,false,$nb_number); + } + + echo '
    '; + echo $form; + echo '
    '; + exit(); + +} + + + +//////////////////////////////////////////////////////////////////////////////// +// By default we add a new invoice +if ( $p_jrn != -1 ) +{ + $jrn=new jrn($cn, $p_jrn); + echo_debug('user_action_ven.php',__LINE__,"Blank form"); + // Show an empty form of invoice + $form=FormVenInput($cn,$_GET['p_jrn'],$User->GetPeriode(),null,false,$jrn->GetDefLine('cred')); + echo '
    '; + echo $form; + echo '
    '; +}