diff --git a/doc/developper/account_repository.html b/doc/developper/account_repository.html index e2c5e14f9..463f934c4 100644 --- a/doc/developper/account_repository.html +++ b/doc/developper/account_repository.html @@ -111,7 +111,7 @@
-
Dumped on 2006-07-12
Dumped on 2006-07-31
Dumped on 2006-07-12
Dumped on 2006-07-31
Table temporaire pour l'importation des banques en format CSV
+| - | -ok | -boolean | -- - - - DEFAULT false - - - | -
| - | bq_account | integer | @@ -2292,7 +2278,7 @@|
| @@ -2308,6 +2294,22 @@ | |||
| + + | +status | +character varying(1) | +
+
+
+
+ DEFAULT 'n'::character varying
+
+ Status doit être w pour en attente, t pour transfèrer ou d à effacer + |
+
+
| Name | +Constraint | +
|---|---|
| chk_status | +CHECK ((((((status)::text = 'n'::text) OR ((status)::text = 'w'::text)) OR ((status)::text = 'd'::text)) OR ((status)::text = 't'::text))) | +
-Referenced by AddFiche(), AddForm(), AddModele(), DeleteRapt(), ExecSql(), form_verify_input(), FormAchInput(), FormAchView(), FormatString(), FormFin(), FormODS(), FormVenInput(), FormVenteView(), GetFicheJrn(), getPeriodeName(), GetTvaPoste(), Imp(), InsertRapt(), isValid(), Remove(), Document_modele::Save(), save_upload_document(), fiche::update(), UpdateFiche(), UpdateJrn(), UpdateModele(), VerifData(), and VerifyOperationDate().
00036 { +Referenced by AddFiche(), AddForm(), AddModele(), CheckPoste(), DeleteRapt(), EncodeFiche(), ExecSql(), form_verify_input(), FormAchInput(), FormAchView(), FormatString(), FormFin(), FormODS(), FormVenInput(), FormVenteView(), GetFicheJrn(), getPeriodeName(), GetTvaPoste(), Imp(), InsertRapt(), isValid(), Remove(), Document_modele::Save(), save_upload_document(), fiche::update(), UpdateFiche(), UpdateJrn(), UpdateModele(), VerifData(), and VerifyOperationDate().00036 { 00037 $fdebug=fopen("/tmp/phpcompta_error.log","a+"); 00038 fwrite($fdebug,date("Ymd H:i:s").$p_log."\n"); 00039 fclose($fdebug); @@ -279,7 +279,7 @@ warnsDefinition at line 267 of file ac_common.php.
-Referenced by GetFicheJrn(), and IsFicheOfJrn().
00268 { +Referenced by GetFicheJrn(), and IsFicheOfJrn(). @@ -367,7 +367,7 @@ Definition at line 206References echo_error().
-Referenced by AddFiche(), AddForm(), AddModele(), action::Confirm(), fiche::CountByDef(), action::Display(), fiche::GetByQCode(), fiche::insert(), InsertJrn(), ListJrn(), RecordFin(), RecordInvoice(), RecordSell(), Remove(), parm_code::Save(), Document_modele::Save(), action::SaveStage2(), ShowActionList(), Supplier::Summary(), Customer::Summary(), contact::Summary(), Admin::Summary(), fiche::update(), action::Update(), UpdateComment(), UpdateFiche(), UpdateForm(), Own::UpdateRow(), and ViewJrn().
00207 { +Referenced by AddFiche(), AddForm(), AddModele(), action::Confirm(), fiche::CountByDef(), action::Display(), fiche::GetByQCode(), fiche::insert(), InsertJrn(), ListJrn(), RecordFin(), RecordInvoice(), RecordSell(), Remove(), parm_code::Save(), Document_modele::Save(), action::SaveStage2(), ShowActionList(), Supplier::Summary(), Customer::Summary(), contact::Summary(), Admin::Summary(), fiche::update(), action::Update(), UpdateComment(), UpdateFiche(), UpdateForm(), Own::UpdateRow(), and ViewJrn().00207 { 00208 if ( !isset ($p_string) ) { 00209 echo_error("ac_common.php FormatString p_string empty"); 00210 return null; @@ -851,7 +851,7 @@ check if the argument is a numberDefinition at line 76 of file ac_common.php.
-Referenced by AddFiche(), AddModele(), ComputeTotalVat(), ComputeVat(), DeleteRapt(), form_verify_input(), FormAchInput(), FormAchView(), FormODS(), FormVenInput(), FormVenteView(), fiche::insert(), InsertRapt(), RecordFin(), RecordInvoice(), RecordODS(), RecordSell(), Remove(), Document_modele::Save(), and fiche::update().
00076 { +Referenced by AddFiche(), AddModele(), ComputeTotalVat(), ComputeVat(), DeleteRapt(), form_verify_input(), FormAchInput(), FormAchView(), FormODS(), FormVenInput(), FormVenteView(), fiche::insert(), InsertRapt(), RecordFin(), RecordInvoice(), RecordODS(), RecordSell(), Remove(), Document_modele::Save(), and fiche::update().00076 { 00077 if ( strlen (trim($p_int)) == 0 ) return 0; 00078 $p_int=trim($p_int); 00079 if (! ereg ("^-{0,1}[0-9]+.{0,1}[0-9]*$",$p_int) ) { @@ -920,7 +920,7 @@ Definition at line 280References $a, $i, $r, $row, echo_debug(), ExecSql(), label, and value.
-Referenced by action::Confirm(), action::Display(), Document_modele::form(), FormAchInput(), FormVenInput(), FormVenteView(), and ShowFormTransfert().
00280 { +Referenced by action::Confirm(), action::Display(), Document_modele::form(), FormAchInput(), FormVenInput(), FormVenteView(), and ShowFormTransfert().00280 { 00281 echo_debug('ac_common',__LINE__,$p_sql); 00282 $a=ExecSql($p_cn,$p_sql); 00283 $max=pg_NumRows($a); diff --git a/doc/developper/html/action_8inc_8php-source.html b/doc/developper/html/action_8inc_8php-source.html index 0ab1962d0..2c27430ce 100644 --- a/doc/developper/html/action_8inc_8php-source.html +++ b/doc/developper/html/action_8inc_8php-source.html @@ -27,7 +27,7 @@ 00018 */ 00019 /* $Revision$ */ 00020 // Copyright Author Dany De Bontridder ddebontridder@yahoo.fr -00024 $User->AccessRequest($cn,SEC_ACTION); +00024 $User->AccessRequest($cn,SEC_ACTION); 00025 00026 //----------------------------------------------------- 00027 // Action diff --git a/doc/developper/html/action_8inc_8php.html b/doc/developper/html/action_8inc_8php.html index ad1e0df88..eeeea74f7 100644 --- a/doc/developper/html/action_8inc_8php.html +++ b/doc/developper/html/action_8inc_8php.html @@ -394,7 +394,7 @@ Referenced by action:Definition at line 160 of file action.inc.php.
-Referenced by action::Confirm(), action::get(), action::SaveStage2(), and action::Update(). +Referenced by action::Confirm(), action::get(), action::SaveStage2(), and action::Update().
@@ -421,7 +421,7 @@ Referenced by action:
Definition at line 159 of file action.inc.php.
-Referenced by Document::blank(), action::Display(), Document::get(), Document::Replace(), action::SaveStage2(), action::SaveStage3(), and action::Update(). +Referenced by Document::blank(), action::Display(), Document::get(), Document::Replace(), action::SaveStage2(), action::SaveStage3(), and action::Update().
@@ -581,7 +581,7 @@ Referenced by action:
Definition at line 167 of file action.inc.php.
-Referenced by Document::blank(), action::Display(), Document::Document(), action::get(), action::myList(), Document::remove(), Document::SaveGenerated(), action::SaveStage3(), and action::Update(). +Referenced by Document::blank(), action::Display(), Document::Document(), action::get(), action::myList(), Document::remove(), Document::SaveGenerated(), action::SaveStage3(), and action::Update().
@@ -608,7 +608,7 @@ Referenced by Docum
Definition at line 162 of file action.inc.php.
-Referenced by action::Confirm(), action::Display(), Document::get(), action::get(), action::SaveStage2(), and action::Update(). +Referenced by action::Confirm(), action::Display(), Document::get(), action::get(), action::SaveStage2(), and action::Update().
@@ -637,7 +637,7 @@ class for the table document_type pk document_type
Definition at line 163 of file action.inc.php.
-Referenced by action::Confirm(), action::Display(), Document_type::document_type(), Document_modele::form(), Document_type::get(), action::get(), action::SaveStage2(), action::SaveStage3(), and action::Update(). +Referenced by action::Confirm(), action::Display(), Document_type::document_type(), Document_modele::form(), Document_type::get(), action::get(), action::SaveStage2(), action::SaveStage3(), and action::Update().
@@ -664,7 +664,7 @@ Referenced by action:
Definition at line 190 of file action.inc.php.
-Referenced by action::Confirm(), action::Display(), action::get(), action::myList(), and action::Update(). +Referenced by action::Confirm(), action::Display(), action::get(), action::myList(), and action::Update().
@@ -691,7 +691,7 @@ Referenced by action:
Definition at line 191 of file action.inc.php.
-Referenced by action::Confirm(), action::Display(), action::get(), action::myList(), and action::Update(). +Referenced by action::Confirm(), action::Display(), action::get(), action::myList(), and action::Update().
@@ -770,7 +770,7 @@ Referenced by 240 of file action.inc.php.
-Referenced by ChangeStock(), cl_user::Check(), cl_user::cl_user(), action::Confirm(), ConfirmTransfert(), EncodeFiche(), EncodeForm(), EncodeModele(), form_verify_input(), FormAchView(), FormFin(), FormODS(), FormVenteView(), Supplier::GetFromPoste(), Customer::GetFromPoste(), cl_user::GetGlobalPref(), rapport::GetName(), poste::GetName(), jrn::GetName(), fiche::insert(), cl_user::insert_default_global_pref(), widget::IOValue(), jrn_navigation_bar(), MakeListingVat(), new_fiche(), Cpdf::o_font(), Cpdf::openFont(), rapport::rapport(), RecordJrn(), Document_modele::Save(), save_upload_document(), action::SaveStage2(), Cpdf::selectFont(), ShowActionList(), ShowBox(), ShowFormTransfert(), contact::Summary(), u_ShowMenuRecherche(), fiche::update(), UpdateJrn(), Document::Upload(), Customer::VatListing(), VerifData(), ViewFiche(), and ViewImp(). +Referenced by ChangeStock(), cl_user::Check(), cl_user::cl_user(), action::Confirm(), ConfirmTransfert(), EncodeFiche(), EncodeForm(), EncodeModele(), form_verify_input(), FormAchView(), FormFin(), FormODS(), FormVenteView(), Supplier::GetFromPoste(), Customer::GetFromPoste(), cl_user::GetGlobalPref(), rapport::GetName(), poste::GetName(), jrn::GetName(), fiche::insert(), cl_user::insert_default_global_pref(), widget::IOValue(), jrn_navigation_bar(), MakeListingVat(), new_fiche(), Cpdf::o_font(), Cpdf::openFont(), rapport::rapport(), RecordJrn(), Document_modele::Save(), save_upload_document(), action::SaveStage2(), Cpdf::selectFont(), ShowActionList(), ShowBox(), ShowFormTransfert(), contact::Summary(), u_ShowMenuRecherche(), fiche::update(), UpdateJrn(), Document::Upload(), Customer::VatListing(), VerifData(), ViewFiche(), and ViewImp().
@@ -851,7 +851,7 @@ Referenced by action:
Definition at line 241 of file action.inc.php.
-Referenced by ChangeStock(), action::Confirm(), ConfirmTransfert(), 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(), ShowActionList(), ShowBox(), contact::Summary(), u_ShowMenuRecherche(), fiche::update(), cl_user::update_global_pref(), UpdateJrn(), ViewFiche(), ViewImp(), and widget::widget(). +Referenced by ChangeStock(), action::Confirm(), ConfirmTransfert(), 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(), ShowActionList(), ShowBox(), contact::Summary(), u_ShowMenuRecherche(), fiche::update(), cl_user::update_global_pref(), UpdateJrn(), ViewFiche(), ViewImp(), and widget::widget(). diff --git a/doc/developper/html/admin_8inc_8php-source.html b/doc/developper/html/admin_8inc_8php-source.html index e4b62e890..90465a9c1 100644 --- a/doc/developper/html/admin_8inc_8php-source.html +++ b/doc/developper/html/admin_8inc_8php-source.html @@ -29,7 +29,7 @@ 00020 // Copyright Author Dany De Bontridder ddebontridder@yahoo.fr 00021 require_once("class_admin.php"); 00022 $sub_action=(isset($_REQUEST['sa']))?$_REQUEST['sa']:""; -00023 $User->AccessRequest($cn,ADMIN); +00023 $User->AccessRequest($cn,ADMIN); 00024 00029 ?> 00030 diff --git a/doc/developper/html/admin_8inc_8php.html b/doc/developper/html/admin_8inc_8php.html index 7b2bb6319..60f213351 100644 --- a/doc/developper/html/admin_8inc_8php.html +++ b/doc/developper/html/admin_8inc_8php.html @@ -221,7 +221,7 @@ Definition at line 128
Definition at line 112 of file admin.inc.php.
-Referenced by jrn_navigation_bar(), Supplier::Summary(), Customer::Summary(), contact::Summary(), and Admin::Summary(). +Referenced by EncodeFiche(), jrn_navigation_bar(), Supplier::Summary(), Customer::Summary(), contact::Summary(), and Admin::Summary().
@@ -248,7 +248,7 @@ Referenced by jrn_navi
Definition at line 116 of file admin.inc.php.
-Referenced by fiche::blank(), fiche::Display(), action::Display(), Cezpdf::ezPRVTaddPageNumbers(), Cezpdf::ezPrvtGetTextWidth(), Cezpdf::ezTable(), Document_modele::form(), fiche_def_ref::Input(), ListJrn(), ShowActionList(), ShowBox(), and ShowFormTransfert(). +Referenced by fiche::blank(), fiche::Display(), action::Display(), Cezpdf::ezPRVTaddPageNumbers(), Cezpdf::ezPrvtGetTextWidth(), Cezpdf::ezTable(), Document_modele::form(), fiche_def_ref::Input(), ListJrn(), ShowActionList(), ShowBox(), and ShowFormTransfert().
diff --git a/doc/developper/html/admin__repo_8php-source.html b/doc/developper/html/admin__repo_8php-source.html index 70d27d5ca..b3c953a5e 100644 --- a/doc/developper/html/admin__repo_8php-source.html +++ b/doc/developper/html/admin__repo_8php-source.html @@ -32,10 +32,10 @@ 00028 include_once("postgres.php"); 00029 include_once("debug.php"); 00030 include_once("user_menu.php"); -00031 $rep=DbConnect(); +00031 $rep=DbConnect(); 00032 include_once ("class_user.php"); -00033 $User=new cl_user($rep); -00034 $User->Check(); +00033 $User=new cl_user($rep); +00034 $User->Check(); 00035 00036 00037 html_page_start($User->theme); diff --git a/doc/developper/html/annulation_8php-source.html b/doc/developper/html/annulation_8php-source.html index 3de65a0d8..6ffa80e61 100644 --- a/doc/developper/html/annulation_8php-source.html +++ b/doc/developper/html/annulation_8php-source.html @@ -44,8 +44,8 @@ 00038 exit -2; 00039 } 00040 $cn=DbConnect($_SESSION['g_dossier']); -00041 $User=new cl_user($cn); -00042 $User->Check(); +00041 $User=new cl_user($cn); +00042 $User->Check(); 00043 00044 html_page_start($User->theme,"onLoad='window.focus();'"); 00045 @@ -117,7 +117,7 @@ 00111 } 00112 if ($p_id != -1 ) { // A 00113 // userPref contient la periode par default -00114 $userPref=$User->GetPeriode($cn); +00114 $userPref=$User->GetPeriode($cn); 00115 list ($l_date_start,$l_date_end)=GetPeriode($cn,$userPref); 00116 00117 // Periode fermée diff --git a/doc/developper/html/annulation_8php.html b/doc/developper/html/annulation_8php.html index fc24ecf57..8a3b6d45b 100644 --- a/doc/developper/html/annulation_8php.html +++ b/doc/developper/html/annulation_8php.html @@ -190,7 +190,7 @@ Definition at line 149
Definition at line 136 of file annulation.php.
-Referenced by GetSequence(), NextSequence(), RecordFin(), RecordInvoice(), RecordODS(), RecordSell(), and TransferCSV(). +Referenced by GetSequence(), NextSequence(), RecordFin(), RecordInvoice(), RecordODS(), RecordSell(), and TransferCSV().
diff --git a/doc/developper/html/argenta__be_8inc_8php-source.html b/doc/developper/html/argenta__be_8inc_8php-source.html index ff93e5c2c..1dcaee52c 100644 --- a/doc/developper/html/argenta__be_8inc_8php-source.html +++ b/doc/developper/html/argenta__be_8inc_8php-source.html @@ -92,7 +92,7 @@ 00087 detail, 00088 bq_account , 00089 jrn, -00090 ok) +00090 status) 00091 values ('$code', 00092 to_date('$date_exec','DD-MM-YYYY'), 00093 to_date('$date_exec','DD-MM-YYYY'), @@ -103,7 +103,7 @@ 00098 '".addslashes($detail)." ', 00099 '$p_bq_account', 00100 $p_jrn, -00101 false)"; +00101 'n')"; 00102 if ( ExecSql($p_cn,$Sql) == false ) 00103 { 00104 Rollback($p_cn); break; diff --git a/doc/developper/html/argenta__be_8inc_8php.html b/doc/developper/html/argenta__be_8inc_8php.html index e9e797d35..134550c73 100644 --- a/doc/developper/html/argenta__be_8inc_8php.html +++ b/doc/developper/html/argenta__be_8inc_8php.html @@ -67,7 +67,7 @@ Definition in file argent
Definition at line 53 of file argenta_be.inc.php.
-Referenced by Cezpdf::loadTemplate(), TransferCSV(), and UpdateCSV(). +Referenced by Cezpdf::loadTemplate(), TransferCSV(), and UpdateCSV().
@@ -119,7 +119,7 @@ Definition at line Definition at line 51 of file argenta_be.inc.php.
-Referenced by TransferCSV(). +Referenced by TransferCSV().
@@ -171,7 +171,7 @@ Definition at line Definition at line 62 of file argenta_be.inc.php.
-Referenced by TransferCSV(). +Referenced by TransferCSV().
@@ -223,7 +223,7 @@ Definition at line Definition at line 28 of file argenta_be.inc.php.
-Referenced by Centralise(), Cezpdf::ezTable(), Cezpdf::ezText(), GetDataJrnJrId(), GetDataJrnPdf(), GetDataModele(), GetExercice(), GetFicheJrn(), cl_user::GetGlobalPref(), GetRappel(), jrn::GetRow(), action::myList(), and PosteForm(). +Referenced by Centralise(), Cezpdf::ezTable(), Cezpdf::ezText(), GetDataJrnJrId(), GetDataJrnPdf(), GetDataModele(), GetExercice(), GetFicheJrn(), cl_user::GetGlobalPref(), GetRappel(), jrn::GetRow(), action::myList(), and PosteForm().
@@ -250,7 +250,7 @@ Referenced by Centrali
Definition at line 55 of file argenta_be.inc.php.
-Referenced by TransferCSV(). +Referenced by TransferCSV().
@@ -277,7 +277,7 @@ Referenced by TransferC
Definition at line 36 of file argenta_be.inc.php.
-Referenced by TransferCSV(). +Referenced by TransferCSV().
diff --git a/doc/developper/html/bal__csv_8php-source.html b/doc/developper/html/bal__csv_8php-source.html index c3b0e7e94..6bd6239bb 100644 --- a/doc/developper/html/bal__csv_8php-source.html +++ b/doc/developper/html/bal__csv_8php-source.html @@ -38,8 +38,8 @@ 00032 00033 00034 include ('class_user.php'); -00035 $User=new cl_user(DbConnect()); -00036 $User->Check(); +00035 $User=new cl_user(DbConnect()); +00036 $User->Check(); 00037 if ( $User->CheckAction($cn,BALANCE) == 0) 00038 { 00039 NoAccess(); diff --git a/doc/developper/html/balance_8php.html b/doc/developper/html/balance_8php.html index 9422cff34..ce61e4ad4 100644 --- a/doc/developper/html/balance_8php.html +++ b/doc/developper/html/balance_8php.html @@ -73,7 +73,7 @@ Definition in file balance.php
Definition at line 113 of file balance.php.
-Referenced by Cezpdf::alink(), Cpdf::ARC4(), fiche::blank(), Cezpdf::Cezpdf(), ComputeTotalVat(), ComputeVat(), action::Confirm(), fiche::CountByDef(), DbConnect(), fiche::Display(), action::Display(), Cpdf::ellipse(), GetDataJrnPdf(), GetFicheJrn(), getFicheNameCode(), rapport::GetName(), GetParent(), getPeriodeFromDate(), getPeriodeFromMonth(), getPeriodeName(), GetRappel(), jrn::GetRow(), Balance::GetRow(), GetTvaPoste(), GetUserProperty(), GetVersion(), isValid(), ListJrn(), make_array(), MakeListingVat(), Document_modele::myList(), RecordJrn(), ShowActionList(), Supplier::Summary(), Customer::Summary(), Cezpdf::uline(), UpdateFiche(), UpdateJrn(), and withStock(). +Referenced by Cezpdf::alink(), Cpdf::ARC4(), fiche::blank(), Cezpdf::Cezpdf(), ComputeTotalVat(), ComputeVat(), action::Confirm(), fiche::CountByDef(), DbConnect(), fiche::Display(), action::Display(), Cpdf::ellipse(), EncodeFiche(), GetDataJrnPdf(), GetFicheJrn(), getFicheNameCode(), rapport::GetName(), GetParent(), getPeriodeFromDate(), getPeriodeFromMonth(), getPeriodeName(), GetRappel(), jrn::GetRow(), Balance::GetRow(), GetTvaPoste(), GetUserProperty(), GetVersion(), isValid(), ListJrn(), make_array(), MakeListingVat(), Document_modele::myList(), RecordJrn(), ShowActionList(), Supplier::Summary(), Customer::Summary(), Cezpdf::uline(), UpdateFiche(), UpdateJrn(), and withStock().
@@ -204,7 +204,7 @@ Definition at line 46 o
Definition at line 118 of file balance.php.
-Referenced by Cezpdf::alink(), Cpdf::ARC4_init(), ConfirmTransfert(), DisplayDetailModele(), Cpdf::ellipse(), Cezpdf::ezPRVTpageNumberSearch(), Cezpdf::ezStartPageNumbers(), Cezpdf::ezStopPageNumbers(), FormODS(), Get_attr_def(), Get_attr_min(), Get_fiche_def_ref(), fiche_def::GetAll(), fiche::getAttribut(), fiche_def::GetAttribut(), fiche::GetByDef(), fiche::GetByType(), GetConcerned(), GetDataJrnJrId(), GetDataPoste(), GetFicheJrn(), getFicheNameCode(), GetPriv(), poste::GetRow(), Balance::GetRow(), ImpHtml(), widget::IOValue(), make_array(), Cpdf::o_pages(), Cpdf::openFont(), ParseFormula(), RecordInvoice(), RecordSell(), Cpdf::selectFont(), ShowReportResult(), SortAttributeById(), u_ShowDossier(), Cezpdf::uline(), UpdateForm(), UpdateJrn(), and VerifImport(). +Referenced by Cezpdf::alink(), Cpdf::ARC4_init(), ConfirmTransfert(), DisplayDetailModele(), Cpdf::ellipse(), Cezpdf::ezPRVTpageNumberSearch(), Cezpdf::ezStartPageNumbers(), Cezpdf::ezStopPageNumbers(), FormODS(), Get_attr_def(), Get_attr_min(), Get_fiche_def_ref(), fiche_def::GetAll(), fiche::getAttribut(), fiche_def::GetAttribut(), fiche::GetByDef(), fiche::GetByType(), GetConcerned(), GetDataJrnJrId(), GetDataPoste(), GetFicheJrn(), getFicheNameCode(), GetPriv(), poste::GetRow(), Balance::GetRow(), ImpHtml(), widget::IOValue(), make_array(), Cpdf::o_pages(), Cpdf::openFont(), ParseFormula(), RecordInvoice(), RecordSell(), Cpdf::selectFont(), ShowReportResult(), SortAttributeById(), u_ShowDossier(), Cezpdf::uline(), UpdateForm(), UpdateJrn(), and VerifImport().
@@ -358,7 +358,7 @@ Definition at line 70 o
Definition at line 36 of file balance.php.
-Referenced by cl_user::AccessRequest(), AddFiche(), cl_user::Check(), ConfirmTransfert(), action::Display(), ExecSql(), ExecuteScript(), FormAchInput(), FormAchView(), FormFin(), FormVenInput(), FormVenteView(), GetFicheJrn(), NoAccess(), Document::ParseDocument(), RecordFin(), RecordInvoice(), RecordODS(), RecordSell(), Document_modele::Save(), and TransferCSV(). +Referenced by cl_user::AccessRequest(), AddFiche(), cl_user::Check(), ConfirmTransfert(), action::Display(), ExecSql(), ExecuteScript(), FormAchInput(), FormAchView(), FormFin(), FormVenInput(), FormVenteView(), GetFicheJrn(), NoAccess(), Document::ParseDocument(), RecordFin(), RecordInvoice(), RecordODS(), RecordSell(), Document_modele::Save(), and TransferCSV().
@@ -385,7 +385,7 @@ Referenced by cl_user::
Definition at line 76 of file balance.php.
-Referenced by Cpdf::addInternalLink(), DisplayDetailModele(), poste::get(), fiche_def::Get(), GetDataModele(), Balance::GetRow(), widget::IOValue(), make_array(), Cpdf::o_action(), Cpdf::o_annotation(), Cpdf::o_fontDescriptor(), Cpdf::o_fontEncoding(), Cpdf::o_image(), Cpdf::o_pages(), Cpdf::o_procset(), UpdateFiche(), and widget::widget(). +Referenced by Cpdf::addInternalLink(), DisplayDetailModele(), poste::get(), fiche_def::Get(), GetDataModele(), Balance::GetRow(), widget::IOValue(), make_array(), Cpdf::o_action(), Cpdf::o_annotation(), Cpdf::o_fontDescriptor(), Cpdf::o_fontEncoding(), Cpdf::o_image(), Cpdf::o_pages(), Cpdf::o_procset(), UpdateFiche(), and widget::widget().
@@ -394,7 +394,7 @@ Referenced by Cpdf::addI
@@ -412,7 +412,7 @@ Referenced by Cpdf::addI
- centralise table = 1 +select table = 1 Definition at line 71 of file balance.php.
-Referenced by fiche::blank(), ListJrn(), ShowBox(), Supplier::Summary(), Customer::Summary(), contact::Summary(), Admin::Summary(), ViewFiche(), ViewRecord(), and widget::widget(). +Referenced by fiche::blank(), ListJrn(), action::myList(), ShowBox(), Supplier::Summary(), Customer::Summary(), contact::Summary(), Admin::Summary(), ViewFiche(), ViewRecord(), and widget::widget(). diff --git a/doc/developper/html/bank_8inc_8php-source.html b/doc/developper/html/bank_8inc_8php-source.html index 1a5e91246..865b210f2 100644 --- a/doc/developper/html/bank_8inc_8php-source.html +++ b/doc/developper/html/bank_8inc_8php-source.html @@ -150,7 +150,7 @@ 00147 00148 $periode_start=make_array($cn,"select p_id,to_char(p_start,'DD-MM-YYYY') from parm_periode order by p_id"); 00149 // User is already set User=new cl_user($cn); -00150 $current=(isset($_GET['p_periode']))?$_GET['p_periode']:$User->GetPeriode(); +00150 $current=(isset($_GET['p_periode']))?$_GET['p_periode']:$User->GetPeriode(); 00151 $w->selected=$current; 00152 00153 echo 'Période '.$w->IOValue("p_periode",$periode_start); diff --git a/doc/developper/html/bank_8inc_8php.html b/doc/developper/html/bank_8inc_8php.html index 39adaeee4..faf6f2d57 100644 --- a/doc/developper/html/bank_8inc_8php.html +++ b/doc/developper/html/bank_8inc_8php.html @@ -162,7 +162,7 @@ Definition at line 80
Definition at line 184 of file bank.inc.php.
-Referenced by action::myList(), Supplier::Summary(), Customer::Summary(), contact::Summary(), Admin::Summary(), and ViewFiche(). +Referenced by action::myList(), Supplier::Summary(), Customer::Summary(), contact::Summary(), Admin::Summary(), and ViewFiche().
@@ -314,7 +314,7 @@ Definition at line 133 Definition at line 174 of file bank.inc.php.
-Referenced by DisplayDetailModele(), Cezpdf::ezPRVTaddPageNumbers(), GetConcerned(), GetFormulaValue(), and ViewDetailStock(). +Referenced by DisplayDetailModele(), Cezpdf::ezPRVTaddPageNumbers(), GetConcerned(), GetFormulaValue(), and ViewDetailStock().
@@ -416,7 +416,7 @@ Definition at line 238 Definition at line 172 of file bank.inc.php.
-Referenced by jrn_navigation_bar(), ListJrn(), action::myList(), Supplier::Summary(), Customer::Summary(), contact::Summary(), Admin::Summary(), and ViewFiche(). +Referenced by jrn_navigation_bar(), ListJrn(), action::myList(), Supplier::Summary(), Customer::Summary(), contact::Summary(), Admin::Summary(), and ViewFiche().
@@ -443,7 +443,7 @@ Referenced by jrn_navi
Definition at line 171 of file bank.inc.php.
-Referenced by action::myList(), Supplier::Summary(), Customer::Summary(), contact::Summary(), Admin::Summary(), and ViewFiche(). +Referenced by action::myList(), Supplier::Summary(), Customer::Summary(), contact::Summary(), Admin::Summary(), and ViewFiche().
@@ -522,7 +522,7 @@ Referenced by Docum
Definition at line 237 of file bank.inc.php.
-Referenced by Document::a_ref(), fiche::blank(), ChangeStock(), cl_user::Check(), ComputeTotalVat(), action::Confirm(), Document_modele::Delete(), parm_code::Display(), fiche_def_ref::Display(), fiche::Display(), fiche_def::Display(), action::Display(), Document_modele::form(), FormAchInput(), FormAchView(), FormFin(), FormODS(), FormVenInput(), FormVenteView(), poste::get(), fiche_def_ref::Get(), Document_type::get(), action::get(), GetArray(), fiche::GetByQCode(), GetConcerned(), getDbValue(), jrn::GetDefLine(), GetDossierName(), cl_user::getExercice(), getFicheNameCode(), GetGrpt(), poste::GetName(), fiche::getName(), Balance::GetRow(), GetSolde(), poste::GetSolde(), poste::GetSoldeDetail(), GetTvaRate(), parm_code::Input(), fiche_def_ref::Input(), InsertStockGoods(), widget::IOValue(), jrn_navigation_bar(), ListJrn(), parm_code::LoadAll(), make_array(), Document_modele::myList(), action::myList(), new_fiche(), RecordInvoice(), RecordSell(), Document::Replace(), Document_modele::Save(), save_upload_document(), action::SaveStage2(), ShowActionList(), ShowMenuAdvanced(), ShowMenuCompta(), Supplier::Summary(), Customer::Summary(), contact::Summary(), Admin::Summary(), TransferCSV(), u_ShowMenuRecherche(), UpdateJrn(), Document::Upload(), ViewDetailStock(), and ViewStock(). +Referenced by Document::a_ref(), fiche::blank(), ChangeStock(), cl_user::Check(), ComputeTotalVat(), action::Confirm(), Document_modele::Delete(), parm_code::Display(), fiche_def_ref::Display(), fiche::Display(), fiche_def::Display(), action::Display(), Document_modele::form(), FormAchInput(), FormAchView(), FormFin(), FormODS(), FormVenInput(), FormVenteView(), poste::get(), fiche_def_ref::Get(), Document_type::get(), action::get(), GetArray(), fiche::GetByQCode(), GetConcerned(), getDbValue(), jrn::GetDefLine(), GetDossierName(), cl_user::getExercice(), getFicheNameCode(), GetGrpt(), poste::GetName(), fiche::getName(), Balance::GetRow(), GetSolde(), poste::GetSolde(), poste::GetSoldeDetail(), GetTvaRate(), parm_code::Input(), fiche_def_ref::Input(), InsertStockGoods(), widget::IOValue(), jrn_navigation_bar(), ListJrn(), parm_code::LoadAll(), make_array(), Document_modele::myList(), action::myList(), new_fiche(), RecordInvoice(), RecordSell(), Document::Replace(), Document_modele::Save(), save_upload_document(), action::SaveStage2(), ShowActionList(), ShowMenuAdvanced(), ShowMenuCompta(), Supplier::Summary(), Customer::Summary(), contact::Summary(), Admin::Summary(), TransferCSV(), u_ShowMenuRecherche(), UpdateJrn(), Document::Upload(), ViewDetailStock(), and ViewStock().
@@ -601,7 +601,7 @@ Referenced by action:
Definition at line 169 of file bank.inc.php.
-Referenced by cl_user::AccessJrn(), AddFiche(), AddForm(), AddModele(), cl_user::Admin(), fiche::blank(), Document::blank(), Centralise(), cl_user::Check(), CheckDossier(), CheckIsAdmin(), ConfirmTransfert(), 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(), Document::get(), action::get(), fiche_def::GetAll(), GetAllUser(), fiche::getAttribut(), fiche_def::GetAttribut(), GetAvailableFolder(), fiche::GetByDef(), fiche::GetByQCode(), fiche::GetByType(), GetClass(), GetConcerned(), jrn::GetDefLine(), cl_user::getExercice(), GetFicheDef(), GetFicheDefRef(), GetFicheJrn(), getFicheNameCode(), Supplier::GetFromPoste(), 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(), Document::MoveDocumentPj(), Document_modele::myList(), action::myList(), new_fiche(), PeriodeClosed(), fiche::remove(), Document::remove(), RemoveCSV(), parm_code::Save(), fiche_def_ref::Save(), Document_modele::Save(), Document::save(), Document::SaveGenerated(), SaveModeleName(), action::SaveStage2(), cl_user::SetPeriode(), fiche::strAttribut(), SyncRight(), TransferCSV(), fiche::update(), action::Update(), UpdateCSV(), UpdateFiche(), UpdateForm(), Document::Upload(), Customer::VatListing(), VerifImport(), ViewDetailStock(), ViewFicheDetail(), ViewJrn(), and ViewStock(). +Referenced by cl_user::AccessJrn(), AddFiche(), AddForm(), AddModele(), cl_user::Admin(), fiche::blank(), Document::blank(), Centralise(), cl_user::Check(), CheckDossier(), CheckIsAdmin(), ConfirmTransfert(), 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(), Document::get(), action::get(), fiche_def::GetAll(), GetAllUser(), fiche::getAttribut(), fiche_def::GetAttribut(), GetAvailableFolder(), fiche::GetByDef(), fiche::GetByQCode(), fiche::GetByType(), GetClass(), GetConcerned(), jrn::GetDefLine(), cl_user::getExercice(), GetFicheDef(), GetFicheDefRef(), GetFicheJrn(), getFicheNameCode(), Supplier::GetFromPoste(), 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(), Document::MoveDocumentPj(), Document_modele::myList(), action::myList(), new_fiche(), PeriodeClosed(), fiche::remove(), Document::remove(), RemoveCSV(), parm_code::Save(), fiche_def_ref::Save(), Document_modele::Save(), Document::save(), Document::SaveGenerated(), SaveModeleName(), action::SaveStage2(), cl_user::SetPeriode(), fiche::strAttribut(), SyncRight(), TransferCSV(), fiche::update(), action::Update(), UpdateCSV(), UpdateFiche(), UpdateForm(), Document::Upload(), Customer::VatListing(), VerifImport(), ViewDetailStock(), ViewFicheDetail(), ViewJrn(), and ViewStock().
@@ -628,7 +628,7 @@ Referenced by cl_user::
Definition at line 170 of file bank.inc.php.
-Referenced by jrn_navigation_bar(), action::myList(), and ViewFiche(). +Referenced by jrn_navigation_bar(), action::myList(), and ViewFiche().
@@ -764,7 +764,7 @@ Definition at line 69
@@ -841,7 +841,7 @@ Definition at line 135
- $w extra = '4' +$w extra = '4' diff --git a/doc/developper/html/bilan_8php-source.html b/doc/developper/html/bilan_8php-source.html index 1a34ee031..6bedf5722 100644 --- a/doc/developper/html/bilan_8php-source.html +++ b/doc/developper/html/bilan_8php-source.html @@ -36,8 +36,8 @@ 00030 /* Admin. Dossier */ 00031 $cn=DbConnect($_SESSION['g_dossier']); 00032 -00033 $User=new cl_user($cn); -00034 $User->Check(); +00033 $User=new cl_user($cn); +00034 $User->Check(); 00035 00036 // TODO a specific level of security for the "bilan" ??? 00037 // Change must be done here diff --git a/doc/developper/html/bilan_8php.html b/doc/developper/html/bilan_8php.html index 620fcbbd9..2a87e614b 100644 --- a/doc/developper/html/bilan_8php.html +++ b/doc/developper/html/bilan_8php.html @@ -219,7 +219,7 @@ Referenced by rappor
- w selected = $current +w selected = $current Definition at line 59 of file bilan.php.
-Referenced by ConfirmTransfert(), and TransferCSV(). +Referenced by ConfirmTransfert(), and TransferCSV().
@@ -296,7 +296,7 @@ Definition at line 129 of
Definition at line 58 of file bilan.php.
-Referenced by Cezpdf::alink(), ConfirmTransfert(), Cezpdf::ezTable(), Cezpdf::ezText(), Cezpdf::ezWhatPageNumber(), Document_modele::form(), TransferCSV(), and Cezpdf::uline(). +Referenced by Cezpdf::alink(), ConfirmTransfert(), Cezpdf::ezTable(), Cezpdf::ezText(), Cezpdf::ezWhatPageNumber(), Document_modele::form(), TransferCSV(), and Cezpdf::uline().
diff --git a/doc/developper/html/cbc__be_8inc_8php-source.html b/doc/developper/html/cbc__be_8inc_8php-source.html index 9b1f2d634..d291cf63a 100644 --- a/doc/developper/html/cbc__be_8inc_8php-source.html +++ b/doc/developper/html/cbc__be_8inc_8php-source.html @@ -74,7 +74,7 @@ 00069 detail, 00070 bq_account , 00071 jrn, -00072 ok) +00072 status) 00073 values (nextval('s_cbc'), 00074 to_date('$date_exec','YYYYMMDD'), 00075 to_date('$date_exec','YYYYMMDD'), @@ -84,7 +84,7 @@ 00079 '".addslashes($detail).$num_compte." ', 00080 '$p_bq_account', 00081 $p_jrn, -00082 false)"; +00082 'n')"; 00083 if ( ExecSql($p_cn,$Sql) == false ) 00084 { 00085 Rollback($p_cn); diff --git a/doc/developper/html/central_8php-source.html b/doc/developper/html/central_8php-source.html index 29398b9d8..537fc1266 100644 --- a/doc/developper/html/central_8php-source.html +++ b/doc/developper/html/central_8php-source.html @@ -38,10 +38,10 @@ 00032 } 00033 include_once ("postgres.php"); 00034 /* Admin. Dossier */ -00035 $rep=DbConnect(); +00035 $rep=DbConnect(); 00036 include_once ("class_user.php"); -00037 $User=new cl_user($rep); -00038 $User->Check(); +00037 $User=new cl_user($rep); +00038 $User->Check(); 00039 include ("check_priv.php"); 00040 include_once("preference.php"); 00041 diff --git a/doc/developper/html/central__inc_8php.html b/doc/developper/html/central__inc_8php.html index cb1b67cdb..4c8476657 100644 --- a/doc/developper/html/central__inc_8php.html +++ b/doc/developper/html/central__inc_8php.html @@ -74,7 +74,7 @@ Met les donnees centralisees dans la table centralize.
Definition at line 36 of file central_inc.php.
-References $line, $MaxJrn, $MaxLine, $Res, $Res2, $Ret, $row, $sql, Commit(), EndSql(), ExecSql(), and StartSql(). +References $line, $MaxJrn, $MaxLine, $Res, $Res2, $Ret, $row, $sql, Commit(), EndSql(), ExecSql(), and StartSql().
Referenced by ShowMenuAdvanced().
00036 { 00037 $sql="insert into centralized( c_j_id, diff --git a/doc/developper/html/check__priv_8php.html b/doc/developper/html/check__priv_8php.html index d33e55451..f9924ee8c 100644 --- a/doc/developper/html/check__priv_8php.html +++ b/doc/developper/html/check__priv_8php.html @@ -291,7 +291,7 @@ $p_user le login user
Definition at line 46 of file check_priv.php.
-References $cn, $Res, $Res2, CheckIsAdmin(), CountSql(), DbConnect(), echo_debug(), and ExecSql(). +References $cn, $Res, $Res2, CheckIsAdmin(), CountSql(), DbConnect(), echo_debug(), and ExecSql().
Referenced by ShowMenuJrnUser().
00047 { 00048 if ( CheckIsAdmin( $p_user) == 1 ) return 2; diff --git a/doc/developper/html/classBalance.html b/doc/developper/html/classBalance.html index 90e6d9e3a..e2c2640c3 100644 --- a/doc/developper/html/classBalance.html +++ b/doc/developper/html/classBalance.html @@ -116,7 +116,7 @@ retrieve all the row from the ledger in the range of a periodeDefinition at line 53 of file class_balance.php.
-References $a, $array, $i, $M, $r, $Res, $sql, ExecSql(), GetPosteLibelle(), and label.
00053 { +References $a, $array, $i, $M, $r, $Res, $sql, ExecSql(), GetPosteLibelle(), and label.00053 { 00054 // compute periode 00055 if ( $p_from_periode==$p_to_periode ) { 00056 $per_sql=" j_tech_per = $p_from_periode "; diff --git a/doc/developper/html/classCezpdf.html b/doc/developper/html/classCezpdf.html index c9a54e48d..8ff344efc 100644 --- a/doc/developper/html/classCezpdf.html +++ b/doc/developper/html/classCezpdf.html @@ -1935,7 +1935,7 @@ References ezPRVTcleanDefinition at line 607 of file class.ezpdf.php.
-References $height, $line, $ok, Cpdf::$options, $p, $row, $start, $t, $w, $x, $y, Cpdf::addObject(), Cpdf::addText(), Cpdf::addTextWrap(), alink(), Cpdf::closeObject(), ezNewPage(), ezProcessText(), ezPrvtGetTextWidth(), ezPrvtTableColumnHeadings(), ezPrvtTableDrawLines(), ezSetY(), Cpdf::filledRectangle(), Cpdf::getFontDecender(), Cpdf::getFontHeight(), Cpdf::getTextWidth(), Cpdf::line(), Cpdf::newPage(), Cpdf::openObject(), Cpdf::reopenObject(), Cpdf::restoreState(), Cpdf::saveState(), Cpdf::setColor(), Cpdf::setLineStyle(), Cpdf::setStrokeColor(), start, Cpdf::transaction(), value, and width.
00607 { +References $height, $line, $ok, Cpdf::$options, $p, $row, $start, $t, $w, $x, $y, Cpdf::addObject(), Cpdf::addText(), Cpdf::addTextWrap(), alink(), Cpdf::closeObject(), ezNewPage(), ezProcessText(), ezPrvtGetTextWidth(), ezPrvtTableColumnHeadings(), ezPrvtTableDrawLines(), ezSetY(), Cpdf::filledRectangle(), Cpdf::getFontDecender(), Cpdf::getFontHeight(), Cpdf::getTextWidth(), Cpdf::line(), Cpdf::newPage(), Cpdf::openObject(), Cpdf::reopenObject(), Cpdf::restoreState(), Cpdf::saveState(), Cpdf::setColor(), Cpdf::setLineStyle(), Cpdf::setStrokeColor(), start, Cpdf::transaction(), value, and width.00607 { 00608 // add a table of information to the pdf document 00609 // $data is a two dimensional array 00610 // $cols (optional) is an associative array, the keys are the names of the columns from $data @@ -2076,14 +2076,14 @@ References $height, 00745 foreach($pos as $colName=>$p){ 00746 if (!isset($options['cols'][$last]) || !isset($options['cols'][$last]['width']) || $options['cols'][$last]['width']<=0){ 00747 if (strlen($last)){ -00748 $cols0[$last]=$p-$xq -$options['gap']; -00749 $presentWidth += ($p-$xq - $options['gap']); +00748 $cols0[$last]=$p-$xq -$options['gap']; +00749 $presentWidth += ($p-$xq - $options['gap']); 00750 } 00751 } else { -00752 $cols1[$last]=$p-$xq; +00752 $cols1[$last]=$p-$xq; 00753 } 00754 $last=$colName; -00755 $xq=$p; +00755 $xq=$p; 00756 } 00757 // $cols0 contains the widths of all the columns which are not set 00758 $neededWidth = $options['width']-$setWidth; diff --git a/doc/developper/html/classCpdf.html b/doc/developper/html/classCpdf.html index 12b59d221..0b5c7c657 100644 --- a/doc/developper/html/classCpdf.html +++ b/doc/developper/html/classCpdf.html @@ -1098,7 +1098,7 @@ Definition at line 2637< 02662 02663 if (!$error){ 02664 // set pointer -02665 $p = 8; +02665 $p = 8; 02666 $len = strlen($data); 02667 // cycle through the file, identifying chunks 02668 $haveHeader=0; @@ -1186,7 +1186,7 @@ Definition at line 2637< 02750 break; 02751 } 02752 -02753 $p += $chunkLen+12; +02753 $p += $chunkLen+12; 02754 } 02755 02756 if(!$haveHeader){ @@ -5070,7 +5070,7 @@ Definition at line 2008< 02021 case 'i': 02022 $j++; 02023 if ($text[$j]=='>'){ -02024 $p = strrpos($this->currentTextState,$text[$j-1]); +02024 $p = strrpos($this->currentTextState,$text[$j-1]); 02025 if ($p !== false){ 02026 // then there is one to remove 02027 $this->currentTextState = substr($this->currentTextState,0,$p).substr($this->currentTextState,$p+1); @@ -5871,8 +5871,8 @@ set the encryption of the document can be used to turn it on and/or set the passDefinition at line 1184 of file class.pdf.php.
01184 { -01185 $p=bindec(11000000); +References $p, and print.01184 { +01185 $p=bindec(11000000); 01186 01187 $options = array( 01188 'print'=>4 @@ -5882,9 +5882,9 @@ References $p, and 01192 ); 01193 foreach($pc as $k=>$v){ 01194 if ($v && isset($options[$k])){ -01195 $p+=$options[$k]; +01195 $p+=$options[$k]; 01196 } else if (isset($options[$v])){ -01197 $p+=$options[$v]; +01197 $p+=$options[$v]; 01198 } 01199 } 01200 // implement encryption on the document diff --git a/doc/developper/html/classCustomer.html b/doc/developper/html/classCustomer.html index 2e65f8d94..1874e0404 100644 --- a/doc/developper/html/classCustomer.html +++ b/doc/developper/html/classCustomer.html @@ -184,7 +184,7 @@ parm :
Definition at line 195 of file class_customer.php.
-References $a, $bar, $e, $filter_year, $offset, $page, $r, $search, $url, $User, fiche::CountByDef(), FormatString(), fiche::GetAll(), jrn_navigation_bar(), poste, and table.
00196 { +References $a, $bar, $e, $filter_year, $offset, $page, $r, $search, $url, $User, fiche::CountByDef(), FormatString(), fiche::GetAll(), jrn_navigation_bar(), poste, and table.00196 { 00197 $p_search=FormatString($p_search); 00198 $url=urlencode($_SERVER['REQUEST_URI']); 00199 $script=$_SERVER['SCRIPT_NAME']; @@ -234,7 +234,7 @@ References $a, 00243 00244 $post=new poste($this->cn,$client->strAttribut(ATTR_DEF_ACCOUNT)); 00245 /* Filter on the default year */ -00246 $User=new cl_user($this->cn); +00246 $User=new cl_user($this->cn); 00247 $filter_year=" j_tech_per in (select p_id from parm_periode ". 00248 "where p_exercice='".$User->getExercice()."')"; 00249 $a=$post->GetSoldeDetail($filter_year); @@ -291,7 +291,7 @@ References $a, Get all the info for making a vat listing for the vat administration.-
+
- Todo:
- optimize SQL
- Todo:
- optimize SQL
- Parameters:
@@ -302,7 +302,7 @@ Get all the info for making a vat listing for the vat administration. periode Definition at line 84 of file class_customer.php.
-References $a_Res, $c, $customer, $e, $Res, $Res2, $sql, $t, ExecSql(), GetFromPoste(), and name.
00084 { +References $a_Res, $c, $customer, $e, $Res, $Res2, $sql, $t, ExecSql(), GetFromPoste(), and name.00084 { 00085 $cond_sql=" and A.j_date = B.j_date 00086 and extract(year from A.j_date) ='$p_year'"; 00087 diff --git a/doc/developper/html/classDocument.html b/doc/developper/html/classDocument.html index 9931d3bc3..3e814415a 100644 --- a/doc/developper/html/classDocument.html +++ b/doc/developper/html/classDocument.html @@ -246,7 +246,7 @@ Generate the document, Call $this->Replace to replace tag by value.-
- 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
- Todo:
- Carefull : the slash is not windows compliant
Definition at line 79 of file class_document.php. @@ -643,15 +643,15 @@ replace the TAG by the real value, this value can be into the database or in $_P
-
- 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 ?
+
- 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 441 of file class_document.php.
-References $act, $my, $p, $poste, $qcode, $r, ag_id, break, fiche, GetTvaRate(), MY_COMMUNE, MY_CP, MY_FAX, MY_NAME, MY_NUMBER, MY_PAYS, MY_STREET, MY_TEL, MY_TVA, and qcode_dest. +References $act, $my, $p, $poste, $qcode, $r, ag_id, break, fiche, GetTvaRate(), MY_COMMUNE, MY_CP, MY_FAX, MY_NAME, MY_NUMBER, MY_PAYS, MY_STREET, MY_TEL, MY_TVA, and qcode_dest.
Referenced by ParseDocument().
00442 { 00443 $r="Tag inconnu"; @@ -716,7 +716,7 @@ Referenced by Parse 00502 $tiers=new fiche($this->db); 00503 $qcode=isset($_REQUEST['qcode_dest'])?$_REQUEST['qcode_dest']:$_REQUEST['e_client']; 00504 $tiers->Getbyqcode($qcode,false); -00505 $p=$tiers->strAttribut(ATTR_DEF_ACCOUNT); +00505 $p=$tiers->strAttribut(ATTR_DEF_ACCOUNT); 00506 $poste=new Poste($this->db,$p); 00507 $r=$poste->GetSolde(' true' ); 00508 break; diff --git a/doc/developper/html/classSupplier.html b/doc/developper/html/classSupplier.html index 4f3c30fef..a13e6ef3d 100644 --- a/doc/developper/html/classSupplier.html +++ b/doc/developper/html/classSupplier.html @@ -179,7 +179,7 @@ parm :
Definition at line 83 of file class_supplier.php.
-References $a, $bar, $e, $filter_year, $offset, $page, $r, $search, $url, $User, fiche::CountByDef(), FormatString(), fiche::GetAll(), jrn_navigation_bar(), poste, and table.
00084 { +References $a, $bar, $e, $filter_year, $offset, $page, $r, $search, $url, $User, fiche::CountByDef(), FormatString(), fiche::GetAll(), jrn_navigation_bar(), poste, and table.00084 { 00085 $p_search=FormatString($p_search); 00086 $url=urlencode($_SERVER['REQUEST_URI']); 00087 $script=$_SERVER['SCRIPT_NAME']; @@ -229,7 +229,7 @@ References $a, 00131 00132 $post=new poste($this->cn,$supplier->strAttribut(ATTR_DEF_ACCOUNT)); 00133 /* Filter on the default year */ -00134 $User=new cl_user($this->cn); +00134 $User=new cl_user($this->cn); 00135 $filter_year=" j_tech_per in (select p_id from parm_periode ". 00136 "where p_exercice='".$User->getExercice()."')"; 00137 $a=$post->GetSoldeDetail($filter_year); diff --git a/doc/developper/html/class_8ezpdf_8php-source.html b/doc/developper/html/class_8ezpdf_8php-source.html index 63d5d575f..a10525d69 100644 --- a/doc/developper/html/class_8ezpdf_8php-source.html +++ b/doc/developper/html/class_8ezpdf_8php-source.html @@ -754,14 +754,14 @@ 00745 foreach($pos as $colName=>$p){ 00746 if (!isset($options['cols'][$last]) || !isset($options['cols'][$last]['width']) || $options['cols'][$last]['width']<=0){ 00747 if (strlen($last)){ -00748 $cols0[$last]=$p-$xq -$options['gap']; -00749 $presentWidth += ($p-$xq - $options['gap']); +00748 $cols0[$last]=$p-$xq -$options['gap']; +00749 $presentWidth += ($p-$xq - $options['gap']); 00750 } 00751 } else { -00752 $cols1[$last]=$p-$xq; +00752 $cols1[$last]=$p-$xq; 00753 } 00754 $last=$colName; -00755 $xq=$p; +00755 $xq=$p; 00756 } 00757 // $cols0 contains the widths of all the columns which are not set 00758 $neededWidth = $options['width']-$setWidth; diff --git a/doc/developper/html/class_8pdf_8php-source.html b/doc/developper/html/class_8pdf_8php-source.html index 86c01db37..1d8c0d1dc 100644 --- a/doc/developper/html/class_8pdf_8php-source.html +++ b/doc/developper/html/class_8pdf_8php-source.html @@ -941,7 +941,7 @@ 01177 } 01178 01184 function setEncryption($userPass='',$ownerPass='',$pc=array()){ -01185 $p=bindec(11000000); +01185 $p=bindec(11000000); 01186 01187 $options = array( 01188 'print'=>4 @@ -951,9 +951,9 @@ 01192 ); 01193 foreach($pc as $k=>$v){ 01194 if ($v && isset($options[$k])){ -01195 $p+=$options[$k]; +01195 $p+=$options[$k]; 01196 } else if (isset($options[$v])){ -01197 $p+=$options[$v]; +01197 $p+=$options[$v]; 01198 } 01199 } 01200 // implement encryption on the document diff --git a/doc/developper/html/class__action_8php-source.html b/doc/developper/html/class__action_8php-source.html index 1e096564d..6c032770a 100644 --- a/doc/developper/html/class__action_8php-source.html +++ b/doc/developper/html/class__action_8php-source.html @@ -112,7 +112,7 @@ 00158 $desc->heigh=250; 00159 $desc->name="ag_comment"; 00160 $desc->readonly=$readonly; -00161 $desc->value=urldecode($this->ag_comment); +00161 $desc->value=FormatString(urldecode($this->ag_comment)); 00162 00163 // state 00164 // Retrieve the value @@ -159,7 +159,7 @@ 00205 // ag_ref 00206 // Always false for update 00207 $ag_ref=new widget("text"); -00208 $ag_ref->readonly=true; +00208 $ag_ref->readonly=$upd; 00209 $ag_ref->name="ag_ref"; 00210 $ag_ref->value=FormatString($this->ag_ref); 00211 $client_label=new widget("span"); @@ -197,7 +197,7 @@ 00243 $this->ag_ref_ag_id.'">'. 00244 getDbValue($this->db,"select ag_ref from action_gestion where ag_id=".$this->ag_ref_ag_id). 00245 "</A>"; -00246 } +00246 } 00247 // sender 00248 $w=new widget('js_search_only'); 00249 $w->readonly=$readonly; @@ -617,198 +617,198 @@ 00696 echo_debug('class_action',__LINE__,'$_SESSION='.var_export($_SESSION,true)); 00697 $r=""; 00698 $r.=$bar; -00699 $r.="<table>"; +00699 $r.='<table class="document">'; 00700 $r.="<tr>"; -00701 $r.='<th><a href="?s=date&p_action=suivi_courrier&'.$query.'"> Date</a></th>'; -00702 $r.='<th <a href="?s=dest&p_action=suivi_courrier&'.$query.'">Destinataire</A></th>'; -00703 $r.='<th><a href="?s=exp&p_action=suivi_courrier&'.$query.'">Expéditeur</A></th>'; -00704 $r.='<th><a href="?s=ti&p_action=suivi_courrier&'.$query.'">Titre</a></th>'; -00705 $r.='<th><a href="?s=type&p_action=suivi_courrier&'.$query.'">type</a></th>'; -00706 $r.='<th><a href="?s=ref&p_action=suivi_courrier&'.$query.'">Référence</a></th>'; -00707 $r.='<th><a href="?s=conc&p_action=suivi_courrier&'.$query.'">concerne</a></th>'; -00708 $r.='<th>Document</th>'; -00709 $r.="</tr>"; -00710 -00711 // if there are no records return a message -00712 if ( sizeof ($a_row) == 0 or $a_row == false ) -00713 { -00714 $r='<div class="u_redcontent">'; -00715 $r.='<hr>Aucun enregistrement trouvé'; -00716 $r.="</div>"; -00717 return $r; -00718 -00719 } -00720 $r.=JS_SEARCH_CARD; -00721 foreach ($a_row as $row ) -00722 { -00723 -00724 $r.="<tr>"; -00725 $r.="<td>".$row['my_date']."</td>"; -00726 // Destinataire -00727 $fdest=new fiche($this->db); -00728 $fdest->id=$row['f_id_dest']; -00729 $qcode_dest=$fdest->strAttribut(ATTR_DEF_QUICKCODE); +00713 $r.='<th> Date</th>'; +00714 $r.='<th>Destinataire</th>'; +00715 $r.='<th>Expéditeur</th>'; +00716 $r.='<th>Titre</th>'; +00717 $r.='<th>type</th>'; +00718 $r.='<th>Référence</th>'; +00719 $r.='<th>concerne</th>'; +00720 $r.='<th>Document</th>'; +00721 $r.="</tr>"; +00722 +00723 // if there are no records return a message +00724 if ( sizeof ($a_row) == 0 or $a_row == false ) +00725 { +00726 $r='<div class="u_redcontent">'; +00727 $r.='<hr>Aucun enregistrement trouvé'; +00728 $r.="</div>"; +00729 return $r; 00730 -00731 $qdest=($qcode_dest=="- ERROR -")?"Interne":$qcode_dest; -00732 $jsdest=sprintf("javascript:showfiche('%s','%s')", -00733 $_REQUEST['PHPSESSID'],$qdest); -00734 if ( $qdest != 'Interne' ) -00735 { -00736 $r.="<td>".'<A HREF="'.$jsdest.'">'.$qdest." : ".$fdest->getName().'</A></td>'; -00737 } -00738 else -00739 $r.="<td>Interne </td>"; -00740 -00741 // Expediteur -00742 $fexp=new fiche($this->db); -00743 $fexp->id=$row['f_id_exp']; -00744 $qcode_exp=$fexp->strAttribut(ATTR_DEF_QUICKCODE); -00745 -00746 $qexp=($qcode_exp=="- ERROR -")?"Interne":$qcode_exp; -00747 $jsexp=sprintf("javascript:showfiche('%s','%s')", -00748 $_REQUEST['PHPSESSID'],$qexp); -00749 if ( $qexp != 'Interne' ) -00750 { -00751 $r.="<td>".'<A HREF="'.$jsexp.'">'.$qexp." : ".$fexp->getName().'</A></td>'; -00752 } -00753 else -00754 $r.="<td>Interne </td>"; -00755 -00756 $ref=""; +00731 } +00732 $r.=JS_SEARCH_CARD; +00733 foreach ($a_row as $row ) +00734 { +00735 +00736 $r.="<tr>"; +00737 $r.="<td>".$row['my_date']."</td>"; +00738 // Destinataire +00739 $fdest=new fiche($this->db); +00740 $fdest->id=$row['f_id_dest']; +00741 $qcode_dest=$fdest->strAttribut(ATTR_DEF_QUICKCODE); +00742 +00743 $qdest=($qcode_dest=="- ERROR -")?"Interne":$qcode_dest; +00744 $jsdest=sprintf("javascript:showfiche('%s','%s')", +00745 $_REQUEST['PHPSESSID'],$qdest); +00746 if ( $qdest != 'Interne' ) +00747 { +00748 $r.="<td>".'<A HREF="'.$jsdest.'">'.$qdest." : ".$fdest->getName().'</A></td>'; +00749 } +00750 else +00751 $r.="<td>Interne </td>"; +00752 +00753 // Expediteur +00754 $fexp=new fiche($this->db); +00755 $fexp->id=$row['f_id_exp']; +00756 $qcode_exp=$fexp->strAttribut(ATTR_DEF_QUICKCODE); 00757 -00758 // show reference -00759 if ( $row['ag_ref_ag_id'] != 0 ) -00760 { -00761 $retSqlStmt=ExecSql($this->db, -00762 "select ag_ref from action_gestion where ag_id=".$row['ag_ref_ag_id']); -00763 $retSql=pg_fetch_all($retSqlStmt); -00764 if ( $retSql != null ) -00765 { -00766 foreach ($retSql as $line) -00767 { -00768 $ref.='<A href="commercial.php?p_action=suivi_courrier&query='.$line['ag_ref'].'">'. -00769 $line['ag_ref']."<A>"; -00770 } -00771 } -00772 } -00773 -00774 $r.='<td><A HREF="commercial.php?p_action=suivi_courrier&sa=detail&ag_id='.$row['ag_id'].'">'. -00775 $row['ag_title']."</A></td>"; -00776 $r.="<td>".$row['dt_value']."</td>"; -00777 $r.="<td>".$row['ag_ref']."</td>"; -00778 $r.="<td>".$ref."</td>"; -00779 $doc=new Document($this->db,$row['d_id']); -00780 $r.="<td>".$doc->a_ref()."</td>"; -00781 $r.="</tr>"; -00782 -00783 } -00784 $r.="</table>"; +00758 $qexp=($qcode_exp=="- ERROR -")?"Interne":$qcode_exp; +00759 $jsexp=sprintf("javascript:showfiche('%s','%s')", +00760 $_REQUEST['PHPSESSID'],$qexp); +00761 if ( $qexp != 'Interne' ) +00762 { +00763 $r.="<td>".'<A HREF="'.$jsexp.'">'.$qexp." : ".$fexp->getName().'</A></td>'; +00764 } +00765 else +00766 $r.="<td>Interne </td>"; +00767 +00768 $ref=""; +00769 +00770 // show reference +00771 if ( $row['ag_ref_ag_id'] != 0 ) +00772 { +00773 $retSqlStmt=ExecSql($this->db, +00774 "select ag_ref from action_gestion where ag_id=".$row['ag_ref_ag_id']); +00775 $retSql=pg_fetch_all($retSqlStmt); +00776 if ( $retSql != null ) +00777 { +00778 foreach ($retSql as $line) +00779 { +00780 $ref.='<A href="commercial.php?p_action=suivi_courrier&query='.$line['ag_ref'].'">'. +00781 $line['ag_ref']."<A>"; +00782 } +00783 } +00784 } 00785 -00786 $r.=$bar; -00787 //$r.="</div>"; -00788 return $r; -00789 } -00790 //---------------------------------------------------------------------- -00795 function Update() -00796 { -00797 echo_debug('class_action',__LINE__,'Update() $_POST() :'.var_export($_POST,true)); -00798 echo_debug('class_action',__LINE__,'Update() $this :'.var_export($this,true)); -00799 -00800 // if ag_id == 0 nothing to do -00801 if ( $this->ag_id == 0 ) return ; -00802 -00803 -00804 // retrieve customer -00805 // f_id -00806 -00807 if ( trim($this->qcode_exp) =="" ) -00808 { -00809 // internal document -00810 $this->f_id_exp=0; // internal document -00811 } -00812 else -00813 { -00814 $tiers=new fiche($this->db); -00815 if ( $tiers->GetByQCode($this->qcode_exp) == -1 ) // Error we cannot retrieve this qcode -00816 return false; -00817 else -00818 $this->f_id_exp=$tiers->id; -00819 -00820 } -00821 if ( trim($this->qcode_dest) =="" ) -00822 { -00823 // internal document -00824 $this->f_id_dest=0; // internal document -00825 } -00826 else -00827 { -00828 $tiers=new fiche($this->db); -00829 if ( $tiers->GetByQCode($this->qcode_dest) == -1 ) // Error we cannot retrieve this qcode -00830 return false; -00831 else -00832 $this->f_id_dest=$tiers->id; -00833 -00834 } -00835 -00836 -00837 //remove newline from ag_comment -00838 $this->ag_comment=str_replace("\n","",$this->ag_comment); -00839 $this->ag_comment=str_replace("\r","",$this->ag_comment); -00840 -00841 // url encoded -00842 $this->ag_comment=urlencode($this->ag_comment); -00843 -00844 // bug PHP : sometimes the newline remains -00845 $this->ag_comment=str_replace("%A0","",$this->ag_comment); -00846 $this->ag_comment=str_replace("%0D","",$this->ag_comment); -00847 $this->ag_comment=str_replace("+%A0+","",$this->ag_comment); -00848 $this->ag_comment=str_replace("+%0D+","",$this->ag_comment); -00849 -00850 -00851 $sql=sprintf("update action_gestion set ag_comment='%s',". -00852 " ag_timestamp=to_date('%s','DD.MM.YYYY'),". -00853 " ag_title='%s',". -00854 " ag_type=%d, ". -00855 " f_id_exp=%d, ". -00856 " f_id_dest=%d, ". -00857 " ag_ref_ag_id=%d". -00858 " where ag_id = %d", -00859 $this->ag_comment, -00860 $this->ag_timestamp, -00861 FormatString($this->ag_title), -00862 $this->dt_id, -00863 $this->f_id_exp, -00864 $this->f_id_dest, -00865 $this->ag_ref_ag_id, -00866 $this->ag_id); -00867 ExecSql($this->db,$sql); -00868 -00869 if ( sizeof($_FILES) !=0 ) -00870 { -00871 // Upload a new document -00872 $doc=new Document($this->db); -00873 if ( $this->d_id !=0 ) -00874 { -00875 $doc->d_id=$this->d_id; -00876 } else { -00877 // we need to increment the counter -00878 $doc->ag_id=$this->ag_id; -00879 $doc->md_type=$this->dt_id; -00880 $doc->blank(); -00881 } -00882 $doc->Upload($this->ag_id); -00883 -00884 } -00885 if ( $this->d_id != 0 ) -00886 { -00887 $doc=new Document($this->db); -00888 $doc->d_id=$this->d_id ; -00889 $doc->d_state=$this->d_state; -00890 $doc->save(); -00891 } -00892 return true; -00893 } -00894 -00895 } +00786 $r.='<td><A HREF="commercial.php?p_action=suivi_courrier&sa=detail&ag_id='.$row['ag_id'].'">'. +00787 $row['ag_title']."</A></td>"; +00788 $r.="<td>".$row['dt_value']."</td>"; +00789 $r.="<td>".$row['ag_ref']."</td>"; +00790 $r.="<td>".$ref."</td>"; +00791 $doc=new Document($this->db,$row['d_id']); +00792 $r.="<td>".$doc->a_ref()."</td>"; +00793 $r.="</tr>"; +00794 +00795 } +00796 $r.="</table>"; +00797 +00798 $r.=$bar; +00799 //$r.="</div>"; +00800 return $r; +00801 } +00802 //---------------------------------------------------------------------- +00807 function Update() +00808 { +00809 echo_debug('class_action',__LINE__,'Update() $_POST() :'.var_export($_POST,true)); +00810 echo_debug('class_action',__LINE__,'Update() $this :'.var_export($this,true)); +00811 +00812 // if ag_id == 0 nothing to do +00813 if ( $this->ag_id == 0 ) return ; +00814 +00815 +00816 // retrieve customer +00817 // f_id +00818 +00819 if ( trim($this->qcode_exp) =="" ) +00820 { +00821 // internal document +00822 $this->f_id_exp=0; // internal document +00823 } +00824 else +00825 { +00826 $tiers=new fiche($this->db); +00827 if ( $tiers->GetByQCode($this->qcode_exp) == -1 ) // Error we cannot retrieve this qcode +00828 return false; +00829 else +00830 $this->f_id_exp=$tiers->id; +00831 +00832 } +00833 if ( trim($this->qcode_dest) =="" ) +00834 { +00835 // internal document +00836 $this->f_id_dest=0; // internal document +00837 } +00838 else +00839 { +00840 $tiers=new fiche($this->db); +00841 if ( $tiers->GetByQCode($this->qcode_dest) == -1 ) // Error we cannot retrieve this qcode +00842 return false; +00843 else +00844 $this->f_id_dest=$tiers->id; +00845 +00846 } +00847 +00848 +00849 //remove newline from ag_comment +00850 $this->ag_comment=str_replace("\n","",$this->ag_comment); +00851 $this->ag_comment=str_replace("\r","",$this->ag_comment); +00852 +00853 // url encoded +00854 $this->ag_comment=urlencode($this->ag_comment); +00855 +00856 // bug PHP : sometimes the newline remains +00857 $this->ag_comment=str_replace("%A0","",$this->ag_comment); +00858 $this->ag_comment=str_replace("%0D","",$this->ag_comment); +00859 $this->ag_comment=str_replace("+%A0+","",$this->ag_comment); +00860 $this->ag_comment=str_replace("+%0D+","",$this->ag_comment); +00861 +00862 +00863 $sql=sprintf("update action_gestion set ag_comment='%s',". +00864 " ag_timestamp=to_date('%s','DD.MM.YYYY'),". +00865 " ag_title='%s',". +00866 " ag_type=%d, ". +00867 " f_id_exp=%d, ". +00868 " f_id_dest=%d, ". +00869 " ag_ref_ag_id=%d". +00870 " where ag_id = %d", +00871 $this->ag_comment, +00872 $this->ag_timestamp, +00873 FormatString($this->ag_title), +00874 $this->dt_id, +00875 $this->f_id_exp, +00876 $this->f_id_dest, +00877 $this->ag_ref_ag_id, +00878 $this->ag_id); +00879 ExecSql($this->db,$sql); +00880 +00881 if ( sizeof($_FILES) !=0 ) +00882 { +00883 // Upload a new document +00884 $doc=new Document($this->db); +00885 if ( $this->d_id !=0 ) +00886 { +00887 $doc->d_id=$this->d_id; +00888 } else { +00889 // we need to increment the counter +00890 $doc->ag_id=$this->ag_id; +00891 $doc->md_type=$this->dt_id; +00892 $doc->blank(); +00893 } +00894 $doc->Upload($this->ag_id); +00895 +00896 } +00897 if ( $this->d_id != 0 ) +00898 { +00899 $doc=new Document($this->db); +00900 $doc->d_id=$this->d_id ; +00901 $doc->d_state=$this->d_state; +00902 $doc->save(); +00903 } +00904 return true; +00905 } +00906 +00907 }