diff --git a/doc/developper/account_repository.html b/doc/developper/account_repository.html index 1f0122de0..f59c7d7d4 100644 --- a/doc/developper/account_repository.html +++ b/doc/developper/account_repository.html @@ -111,12 +111,12 @@ -



Dumped on 2006-06-26

+



Dumped on 2006-06-27

Index of database - account_repository

-
Generated on Mon Jun 26 20:13:18 2006 for phpcompta by  +
Generated on Tue Jun 27 01:39:34 2006 for phpcompta by  doxygen 1.4.4
diff --git a/doc/developper/html/classjrn.html b/doc/developper/html/classjrn.html index 867b78334..dc823e6af 100644 --- a/doc/developper/html/classjrn.html +++ b/doc/developper/html/classjrn.html @@ -114,7 +114,7 @@ GetDefLine Get the number of lines of a journal
Parameters:<

Definition at line 321 of file class_jrn.php.

-References $r, $Res, $sql, echo_debug(), ExecSql(), and value. +References $r, $Res, $sql, echo_debug(), ExecSql(), and value.

@@ -145,7 +145,7 @@ References $r

Definition at line 34 of file class_jrn.php.

-References $Max, $Res, $ret, ExecSql(), and name. +References $Max, $Res, $ret, ExecSql(), and name.

@@ -217,7 +217,7 @@ gen :

Returns:
string containing the tag
+
Note:
for the type RICHTEXT we need to include the javascript file into the head
+
See also:
commercial.php html_page_start($_SESSION['g_theme'],"","richtext.js");

-Definition at line 90 of file class_widget.php. +Definition at line 89 of file class_widget.php.

-References $check, $disabled, $i, $r, disabled, echo_debug(), label, name, selected, and value. +References $check, $disabled, $i, $msg, $r, disabled, echo_debug(), label, name, readonly, selected, and value.

@@ -206,7 +208,7 @@ References $check

-Definition at line 446 of file class_widget.php. +Definition at line 508 of file class_widget.php.

@@ -236,7 +238,7 @@ Definition at line 44

-Definition at line 78 of file class_widget.php. +Definition at line 77 of file class_widget.php.

References readonly. @@ -277,7 +279,7 @@ References readonly.

-Definition at line 443 of file class_widget.php. +Definition at line 505 of file class_widget.php.


Field Documentation

@@ -303,9 +305,9 @@ Definition at line 44

to disable the type

-Definition at line 61 of file class_widget.php. +Definition at line 60 of file class_widget.php.

-Referenced by IOValue(). +Referenced by IOValue().

@@ -330,7 +332,7 @@ Referenced by IOValue

depends of the input type

-Definition at line 62 of file class_widget.php. +Definition at line 61 of file class_widget.php.

@@ -339,7 +341,7 @@ Definition at line 62 - +
widget::$extra2 widget::$extra2
@@ -355,7 +357,7 @@ Definition at line
62

depends of the input type

-Definition at line 63 of file class_widget.php. +Definition at line 62 of file class_widget.php.

@@ -380,7 +382,7 @@ Definition at line 63

text before the input tag

-Definition at line 60 of file class_widget.php. +Definition at line 59 of file class_widget.php.

@@ -405,7 +407,7 @@ Definition at line 60

name of the input tag

-Definition at line 54 of file class_widget.php. +Definition at line 53 of file class_widget.php.

@@ -430,9 +432,9 @@ Definition at line 54

if set to false cannot modify

-Definition at line 56 of file class_widget.php. +Definition at line 55 of file class_widget.php.

-Referenced by debug(). +Referenced by debug().

@@ -457,7 +459,7 @@ Referenced by debug()

selected value for the radio or select

-Definition at line 58 of file class_widget.php. +Definition at line 57 of file class_widget.php.

@@ -482,7 +484,7 @@ Definition at line 58

size for the text type

-Definition at line 57 of file class_widget.php. +Definition at line 56 of file class_widget.php.

@@ -509,7 +511,7 @@ special value js_search and js_search_only :you need to add a span widget the na

the tabindex

-Definition at line 64 of file class_widget.php. +Definition at line 63 of file class_widget.php.

@@ -534,7 +536,7 @@ Definition at line 64

if we want to make a HTML table row the value is return with <TD>

-Definition at line 59 of file class_widget.php. +Definition at line 58 of file class_widget.php.

@@ -559,7 +561,7 @@ Definition at line 59

type of the input tag (text, select, files, js_search,...)

-Definition at line 53 of file class_widget.php. +Definition at line 52 of file class_widget.php.

@@ -584,12 +586,12 @@ Definition at line 53

value

-Definition at line 55 of file class_widget.php. +Definition at line 54 of file class_widget.php.


The documentation for this class was generated from the following file: -
Generated on Mon Jun 26 20:13:18 2006 for phpcompta by  +
Generated on Tue Jun 27 01:39:35 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 6d699334b..1338332c2 100644 --- a/doc/developper/html/client_8inc_8php-source.html +++ b/doc/developper/html/client_8inc_8php-source.html @@ -48,7 +48,7 @@ 00043 // Add card 00044 if ( $sub_action=="insert" ) 00045 { -00046 $retour=sprintf('<A class="two" HREF="%s"><input type="button" value="Retour"></A>', +00046 $retour=sprintf('<A class="two" HREF="%s"><input type="button" value="Retour"></A>', 00047 urldecode($_REQUEST['url'])); 00048 00049 $customer=new Customer($cn); @@ -77,19 +77,19 @@ 00072 //Display a blank card 00073 if ( $sub_action=="blank") 00074 { -00075 $retour=sprintf('<A class="two" HREF="%s"><input type="button" value="Retour"></A>', +00075 $retour=sprintf('<A class="two" HREF="%s"><input type="button" value="Retour"></A>', 00076 "commercial.php?p_action=client"); 00077 echo '<div class="u_redcontent">'; 00078 00079 echo $retour; 00080 $c=new Customer($cn); 00081 echo '<form method="post" action="commercial.php"'; -00082 echo '<input type="hidden" name="p_action" value="client">'; -00083 echo '<input type="hidden" name="sa" value="insert">'; -00084 echo '<input type="hidden" name="fd_id" value="'.$_GET['fd_id'].'">'; -00085 echo '<input type="hidden" name="url" value="'.$_GET['url'].'">'; +00082 echo '<input type="hidden" name="p_action" value="client">'; +00083 echo '<input type="hidden" name="sa" value="insert">'; +00084 echo '<input type="hidden" name="fd_id" value="'.$_GET['fd_id'].'">'; +00085 echo '<input type="hidden" name="url" value="'.$_GET['url'].'">'; 00086 echo $c->blank($_GET['fd_id']); -00087 echo '<input type="Submit" value="Sauve">'; +00087 echo '<input type="Submit" value="Sauve">'; 00088 echo '</form>'; 00089 echo $retour; 00090 echo '</div>'; @@ -103,18 +103,18 @@ 00098 <span> 00099 <form method="get" action="commercial.php"> 00100 <? -00101 $a=(isset($_GET['query']))?$_GET['query']:""; -00102 printf ('<input type="text" name="query" value="%s">', +00101 $a=(isset($_GET['query']))?$_GET['query']:""; +00102 printf ('<input type="text" name="query" value="%s">', 00103 $a); 00104 ?> -00105 <input type="submit" name="submit_query" value="recherche"> -00106 <input type="hidden" name="p_action" value="client"> +00105 <input type="submit" name="submit_query" value="recherche"> +00106 <input type="hidden" name="p_action" value="client"> 00107 </form> 00108 </span> 00109 <span> 00110 <form method="get" action="commercial.php"> -00111 <input type="hidden" name="url" <? $url=urlencode($_SERVER['REQUEST_URI']);echo 'value="'.$url.'"'; ?> -00112 <input type="hidden" name="p_action" value="client"> +00111 <input type="hidden" name="url" <? $url=urlencode($_SERVER['REQUEST_URI']);echo 'value="'.$url.'"'; ?> +00112 <input type="hidden" name="p_action" value="client"> 00113 00114 <? 00115 $w=new widget("select"); @@ -123,8 +123,8 @@ 00118 " frd_id=".FICHE_TYPE_CLIENT); 00119 echo $w->IOValue(); 00120 ?> -00121 <input type="hidden" name="sa" value="blank"> -00122 <input type="submit" name="submit_query" value="Ajout Client"> +00121 <input type="hidden" name="sa" value="blank"> +00122 <input type="submit" name="submit_query" value="Ajout Client"> 00123 00124 </form> 00125 </span> @@ -167,7 +167,7 @@ 00162 } 00163 html_page_stop(); 00164 ?> -
Generated on Mon Jun 26 20:13:15 2006 for phpcompta by  +
Generated on Tue Jun 27 01:39:28 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 b768d32f6..2362f3436 100644 --- a/doc/developper/html/client_8inc_8php.html +++ b/doc/developper/html/client_8inc_8php.html @@ -140,7 +140,7 @@ Referenced by Custo

-Initial value:

sprintf('<A class="two" HREF="%s"><input type="button" value="Retour"></A>',
+Initial value:
sprintf('<A class="two" HREF="%s"><input type="button" value="Retour"></A>',
                   urldecode($_REQUEST['url']))
 

@@ -299,7 +299,7 @@ Definition at line 116< Definition at line 117 of file client.inc.php. -


Generated on Mon Jun 26 20:13:16 2006 for phpcompta by  +
Generated on Tue Jun 27 01:39:29 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 6a9bc49f4..db44aa9c9 100644 --- a/doc/developper/html/commercial_8php-source.html +++ b/doc/developper/html/commercial_8php-source.html @@ -45,8 +45,10 @@ 00042 require_once ("class_user.php"); 00043 $User=new cl_user($rep); 00044 $User->Check(); +00045 //----------------------------------------------------- 00046 // update preference -00048 if ( isset ( $_POST['style_user']) ) { +00047 //----------------------------------------------------- +00048 if ( isset ( $_POST['style_user']) ) { 00049 $User->update_global_pref('THEME',$_POST['style_user']); 00050 $_SESSION['g_theme']=$_POST['style_user']; 00051 @@ -94,52 +96,64 @@ 00094 echo '</div>'; 00095 00096 $cn=DbConnect($_SESSION['g_dossier']); +00097 //----------------------------------------------------- 00098 // p_action == pref -00100 if ( $p_action == "pref" ) +00099 //----------------------------------------------------- +00100 if ( $p_action == "pref" ) 00101 { 00102 require_once("pref.inc.php"); 00103 } +00104 //----------------------------------------------------- 00105 // p_action == client -00107 if ( $p_action == "client" ) +00106 //----------------------------------------------------- +00107 if ( $p_action == "client" ) 00108 { 00109 require_once("client.inc.php"); 00110 }// $p_action == fournisseur -00112 // Fournisseur +00111 //----------------------------------------------------- +00112 // Fournisseur 00113 if ( $p_action == 'fournisseur') 00114 { 00115 require_once("supplier.inc.php"); 00116 } +00117 //----------------------------------------------------- 00118 // action 00119 if ( $p_action == 'suivi_courrier') 00120 { 00121 require_once("action.inc.php"); 00122 } +00123 //----------------------------------------------------- 00124 // p_action == facture -00126 if ( $p_action == "facture" ) +00125 //----------------------------------------------------- +00126 if ( $p_action == "facture" ) 00127 { 00128 require_once("facture.inc.php"); 00129 } +00130 //----------------------------------------------------- 00131 // Contact 00132 if ( $p_action == 'contact') 00133 { 00134 require_once("contact.inc.php"); 00135 } +00136 //----------------------------------------------------- 00137 // Expense 00138 if ( $p_action == 'depense') 00139 { 00140 require_once("depense.inc.php"); 00141 } +00142 //----------------------------------------------------- 00143 // Administration 00144 if ( $p_action == 'admin') 00145 { 00146 require_once("admin.inc.php"); 00147 } +00148 //----------------------------------------------------- 00149 // Banque 00150 if ( $p_action == 'bank') 00151 { 00152 require_once("bank.inc.php"); 00153 } -

Generated on Mon Jun 26 20:13:15 2006 for phpcompta by  +
Generated on Tue Jun 27 01:39:27 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 6bfee87fd..9b3e31753 100644 --- a/doc/developper/html/commercial_8php.html +++ b/doc/developper/html/commercial_8php.html @@ -55,7 +55,7 @@ Definition in file commercial.p

Definition at line 35 of file commercial.php.

-Referenced by cl_user::Check(), cl_user::cl_user(), fiche::GetByDef(), cl_user::GetGlobalPref(), jrn_navigation_bar(), ListJrn(), action::myList(), ShowDossier(), TransferCSV(), and ViewFiche(). +Referenced by cl_user::Check(), cl_user::cl_user(), fiche::GetByDef(), cl_user::GetGlobalPref(), jrn_navigation_bar(), ListJrn(), action::myList(), ShowDossier(), TransferCSV(), and ViewFiche().

@@ -158,7 +158,7 @@ Definition at line 4143 of file commercial.php. -


Generated on Mon Jun 26 20:13:16 2006 for phpcompta by  +
Generated on Tue Jun 27 01:39:29 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 f30cd3fdd..1be4bca78 100644 --- a/doc/developper/html/constant_8php-source.html +++ b/doc/developper/html/constant_8php-source.html @@ -388,7 +388,7 @@ 00384 define ("SQL_LIST_UNPAID_INVOICE_DATE_LIMIT" ," where (jr_rapt is null or jr_rapt = '') 00385 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" ); 00386 ?> -
Generated on Mon Jun 26 20:13:15 2006 for phpcompta by  +
Generated on Tue Jun 27 01:39:28 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 658e03b2a..e1c0fd3f6 100644 --- a/doc/developper/html/constant_8php.html +++ b/doc/developper/html/constant_8php.html @@ -2370,7 +2370,7 @@ Definition at line 59 Definition at line 89 of file constant.php. -
Generated on Mon Jun 26 20:13:16 2006 for phpcompta by  +
Generated on Tue Jun 27 01:39:29 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 index 11231f6f8..091a17fbd 100644 --- a/doc/developper/html/contact_8inc_8php-source.html +++ b/doc/developper/html/contact_8inc_8php-source.html @@ -36,8 +36,8 @@ 00034 // TODO add function for generating url, hidden tags... 00035 if ( isset ($_REQUEST['url'])) 00036 { -00037 $retour=sprintf('<A class="mtitle" 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'])); +00037 $retour=sprintf('<A class="mtitle" 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 { @@ -88,19 +88,19 @@ 00086 //Display a blank card 00087 if ( $sub_action=="blank") 00088 { -00089 $retour=sprintf('<A class="two" HREF="%s"><input type="button" value="Retour"></A>', +00089 $retour=sprintf('<A class="two" HREF="%s"><input type="button" value="Retour"></A>', 00090 "commercial.php?p_action=contact"); 00091 echo '<div class="u_redcontent">'; 00092 00093 echo $retour; 00094 $c=new contact($cn); 00095 echo '<form method="post" action="commercial.php"'; -00096 echo '<input type="hidden" name="p_action" value="client">'; -00097 echo '<input type="hidden" name="sa" value="insert">'; -00098 echo '<input type="hidden" name="fd_id" value="'.$_GET['fd_id'].'">'; -00099 echo '<input type="hidden" name="url" value="'.$_GET['url'].'">'; +00096 echo '<input type="hidden" name="p_action" value="client">'; +00097 echo '<input type="hidden" name="sa" value="insert">'; +00098 echo '<input type="hidden" name="fd_id" value="'.$_GET['fd_id'].'">'; +00099 echo '<input type="hidden" name="url" value="'.$_GET['url'].'">'; 00100 echo $c->blank($_GET['fd_id']); -00101 echo '<input type="Submit" value="Sauve">'; +00101 echo '<input type="Submit" value="Sauve">'; 00102 echo '</form>'; 00103 echo $retour; 00104 echo '</div>'; @@ -114,18 +114,18 @@ 00112 <span> 00113 <form method="get" action="commercial.php"> 00114 <? -00115 $a=(isset($_GET['query']))?$_GET['query']:""; -00116 printf ('<input type="text" name="query" value="%s">', +00115 $a=(isset($_GET['query']))?$_GET['query']:""; +00116 printf ('<input type="text" name="query" value="%s">', 00117 $a); 00118 ?> -00119 <input type="submit" name="submit_query" value="recherche"> -00120 <input type="hidden" name="p_action" value="contact"> +00119 <input type="submit" name="submit_query" value="recherche"> +00120 <input type="hidden" name="p_action" value="contact"> 00121 </form> 00122 </span> 00123 <span> 00124 <form method="get" action="commercial.php"> -00125 <input type="hidden" name="url" <? $url=urlencode($_SERVER['REQUEST_URI']);echo 'value="'.$url.'"'; ?> -00126 <input type="hidden" name="p_action" value="contact"> +00125 <input type="hidden" name="url" <? $url=urlencode($_SERVER['REQUEST_URI']);echo 'value="'.$url.'"'; ?> +00126 <input type="hidden" name="p_action" value="contact"> 00127 00128 <? 00129 $w=new widget("select"); @@ -141,78 +141,76 @@ 00139 echo $w->IOValue(); 00140 00141 ?> -00142 <input type="hidden" name="sa" value="blank"> -00143 <input type="submit" name="submit_query" value="Ajout Contact"> +00142 <input type="hidden" name="sa" value="blank"> +00143 <input type="submit" name="submit_query" value="Ajout Contact"> 00144 00145 </form> 00146 </span> 00147 00148 <form> 00149 <? -00150 $qcode=(isset($_GET['qcode']))?$_GET['qcode']:""; +00150 $qcode=(isset($_GET['qcode']))?$_GET['qcode']:""; 00151 echo JS_SEARCH_CARD; 00152 $w=new widget('js_search_only'); -00153 $w->name='qcode'; +00153 $w->name='qcode'; 00154 $w->value=$qcode; -00155 $w->label='qcode'; +00155 $w->label='qcode'; 00156 $w->extra='4,8,9,14'; -00157 $sp= new widget("span"); -00158 echo $sp->IOValue("qcode_label",$qcode)."</TD></TR>"; +00157 $sp= new widget("span"); +00158 echo $sp->IOValue("qcode_label",$qcode)."</TD></TR>"; 00159 00160 echo $w->IOValue(); 00161 -00162 // printf ('<span>Tiers QuickCode: <input type="text" name="qcode" value="%s"></span>', -00163 // $qcode); -00164 ?> -00165 <input type="submit" name="submit_query" value="recherche"> -00166 <input type="hidden" name="p_action" value="contact"> -00167 -00168 </FORM> -00169 <? -00170 $contact=new Contact($cn); -00171 $search=(isset($_GET['query']))?$_GET['query']:""; -00172 // check if a company is asked if yes, add a condition -00173 if ( $qcode != "" ) -00174 { -00175 $contact->company=$qcode; -00176 } -00177 echo $retour; -00178 echo '<div class="u_redcontent">'; -00179 echo $contact->Summary($search); -00180 echo '</div>'; -00181 echo $retour; -00182 -00183 -00184 } -00185 //----------------------------------------------------- -00186 // Show Detail -00187 if ( $sub_action == 'detail' ) -00188 { -00189 $f_id=$_REQUEST['f_id']; -00190 echo '<div class="u_redcontent">'; -00191 $contact=new contact($cn,$f_id); -00192 echo $retour; -00193 echo '<form action="'.$_SERVER['REQUEST_URI'].'" method="post">'; -00194 echo $contact->Display(false); -00195 $w=new widget("hidden"); -00196 $w->name="p_action"; -00197 $w->value="contact"; -00198 echo $w->IOValue(); -00199 $w->name="f_id"; -00200 $w->value=$f_id; -00201 echo $w->IOValue(); -00202 -00203 echo $w->Submit('mod','Sauver les modifications'); -00204 echo '<A HREF="commercial.php?p_action=contact"><INPUT TYPE="button" value="Retour"></A>'; -00205 echo $w->Submit('delete','Effacer cette fiche'); -00206 echo '</form>'; -00207 echo $retour; -00208 echo '<div>'; -00209 } -00210 html_page_stop(); -00211 -00212 -
Generated on Mon Jun 26 20:13:15 2006 for phpcompta by  +00162 ?> +00163 <input type="submit" name="submit_query" value="recherche"> +00164 <input type="hidden" name="p_action" value="contact"> +00165 +00166 </FORM> +00167 <? +00168 $contact=new Contact($cn); +00169 $search=(isset($_GET['query']))?$_GET['query']:""; +00170 // check if a company is asked if yes, add a condition +00171 if ( $qcode != "" ) +00172 { +00173 $contact->company=$qcode; +00174 } +00175 echo $retour; +00176 echo '<div class="u_redcontent">'; +00177 echo $contact->Summary($search); +00178 echo '</div>'; +00179 echo $retour; +00180 +00181 +00182 } +00183 //----------------------------------------------------- +00184 // Show Detail +00185 if ( $sub_action == 'detail' ) +00186 { +00187 $f_id=$_REQUEST['f_id']; +00188 echo '<div class="u_redcontent">'; +00189 $contact=new contact($cn,$f_id); +00190 echo $retour; +00191 echo '<form action="'.$_SERVER['REQUEST_URI'].'" method="post">'; +00192 echo $contact->Display(false); +00193 $w=new widget("hidden"); +00194 $w->name="p_action"; +00195 $w->value="contact"; +00196 echo $w->IOValue(); +00197 $w->name="f_id"; +00198 $w->value=$f_id; +00199 echo $w->IOValue(); +00200 +00201 echo $w->Submit('mod','Sauver les modifications'); +00202 echo '<A HREF="commercial.php?p_action=contact"><INPUT TYPE="button" value="Retour"></A>'; +00203 echo $w->Submit('delete','Effacer cette fiche'); +00204 echo '</form>'; +00205 echo $retour; +00206 echo '<div>'; +00207 } +00208 html_page_stop(); +00209 +00210 +
Generated on Tue Jun 27 01:39:28 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 index 478163717..cc04fbed9 100644 --- a/doc/developper/html/contact_8inc_8php.html +++ b/doc/developper/html/contact_8inc_8php.html @@ -28,9 +28,9 @@ $w value$qcode = (isset($_GET['qcode']))?$_GET['qcode']:"" + $qcode = (isset($_GET['qcode']))?$_GET['qcode']:"" -$w label = 'qcode' +$w label = 'qcode' $w extra = '4,8,9,14' @@ -94,7 +94,7 @@ Definition at line 94<

-Definition at line 170 of file contact.inc.php. +Definition at line 168 of file contact.inc.php.

Referenced by contact::Summary(). @@ -130,7 +130,7 @@ Definition at line 38< - +
$qcode = (isset($_GET['qcode']))?$_GET['qcode']:"" $qcode = (isset($_GET['qcode']))?$_GET['qcode']:""
@@ -171,7 +171,7 @@ Definition at line
150

-Definition at line 171 of file contact.inc.php. +Definition at line 169 of file contact.inc.php.

@@ -196,9 +196,7 @@ Definition at line 171

-Definition at line 157 of file contact.inc.php. -

-Referenced by ShowActionList(), and u_ShowMenuRecherche(). +Definition at line 157 of file contact.inc.php.

@@ -307,7 +305,7 @@ Definition at line 156 - +
$w label = 'qcode' $w label = 'qcode'
@@ -378,7 +376,7 @@ Definition at line
130 Definition at line 131 of file contact.inc.php. -


Generated on Mon Jun 26 20:13:16 2006 for phpcompta by  +
Generated on Tue Jun 27 01:39:29 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 672a0c2c6..5c2bdf0df 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 Mon Jun 26 20:13:15 2006 for phpcompta by  +
Generated on Tue Jun 27 01:39:28 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 6a3dcc597..b1d274e7d 100644 --- a/doc/developper/html/debug_8php.html +++ b/doc/developper/html/debug_8php.html @@ -77,10 +77,10 @@ print debug

Definition at line 34 of file debug.php.

-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(), action::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(), isDate(), new_fiche(), Document::ParseDocument(), ParseFormula(), RecordFin(), RecordInvoice(), RecordJrn(), RecordSell(), 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(). +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(), action::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(), isDate(), new_fiche(), Document::ParseDocument(), ParseFormula(), RecordFin(), RecordInvoice(), RecordJrn(), RecordSell(), 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 Mon Jun 26 20:13:16 2006 for phpcompta by  +
Generated on Tue Jun 27 01:39:29 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 91f185b85..76e2fc3b1 100644 --- a/doc/developper/html/decla_8BE_8inc_8php-source.html +++ b/doc/developper/html/decla_8BE_8inc_8php-source.html @@ -34,20 +34,20 @@ 00040 // load the data 00041 $my=new Own($p_cn); 00042 //Make the first record -00043 $a="000000"; -00044 $a.=sprintf("% 32s",$my->MY_NAME); +00043 $a="000000"; +00044 $a.=sprintf("% 32s",$my->MY_NAME); 00045 $b=$my->MY_STREET.",".$my->MY_NUMBER; -00046 $a.=sprintf("% 24s",$b); +00046 $a.=sprintf("% 24s",$b); 00047 $b=$my->MY_CP." ".$my->MY_COMMUNE; -00048 $a.=sprintf("% 27s",$b); -00049 $a.="BE"; -00050 $a.=sprintf("%9s",$my->MY_TVA); +00048 $a.=sprintf("% 27s",$b); +00049 $a.="BE"; +00050 $a.=sprintf("%9s",$my->MY_TVA); 00051 // special zone -00052 $a.=sprintf("% 20s",' '); +00052 $a.=sprintf("% 20s",' '); 00053 // -00054 $a.="E"; -00055 $a.=$p_year; -00056 $a.="\n"; +00054 $a.="E"; +00055 $a.=$p_year; +00056 $a.="\n"; 00057 // customer record 00058 $rec_id=0; 00059 $tot_amount=0; @@ -55,30 +55,30 @@ 00061 foreach ($p_array as $client) { 00062 if ( strlen(trim($client['tva'])) != 0 ) { 00063 $rec_id++; -00064 $a.=sprintf("%06d",$rec_id); -00065 $a.=sprintf("% 32s",$client['name']); -00066 $a.=str_repeat(" ",51); -00067 $a.=sprintf("BE%s",$client['vat_number']); -00068 $a.=sprintf("%010d",$client['amount']*100); -00069 $a.=sprintf("%010d",$client['tva']*100); -00070 $a.=str_repeat(" ",10); -00071 $a.="\n"; +00064 $a.=sprintf("%06d",$rec_id); +00065 $a.=sprintf("% 32s",$client['name']); +00066 $a.=str_repeat(" ",51); +00067 $a.=sprintf("BE%s",$client['vat_number']); +00068 $a.=sprintf("%010d",$client['amount']*100); +00069 $a.=sprintf("%010d",$client['tva']*100); +00070 $a.=str_repeat(" ",10); +00071 $a.="\n"; 00072 $tot_amount=+$client['amount']*100; 00073 $tot_tva+=$client['tva']*100; 00074 } 00075 } 00076 //Last Record -00077 $a.="999999"; -00078 $a.=sprintf("%016d",$tot_amount); -00079 $a.=sprintf("%016d",$tot_tva); -00080 $a.=str_repeat(" ",51); -00081 $a.="BE"; -00082 $a.=$my->MY_TVA; -00083 $a.=str_repeat(" ",28); -00084 $a.="\r\n"; -00085 return $a; +00077 $a.="999999"; +00078 $a.=sprintf("%016d",$tot_amount); +00079 $a.=sprintf("%016d",$tot_tva); +00080 $a.=str_repeat(" ",51); +00081 $a.="BE"; +00082 $a.=$my->MY_TVA; +00083 $a.=str_repeat(" ",28); +00084 $a.="\r\n"; +00085 return $a; 00086 } -
Generated on Mon Jun 26 20:13:15 2006 for phpcompta by  +
Generated on Tue Jun 27 01:39:28 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 d366a6c8b..d47e12d7d 100644 --- a/doc/developper/html/decla_8BE_8inc_8php.html +++ b/doc/developper/html/decla_8BE_8inc_8php.html @@ -65,10 +65,10 @@ parm : -array gen : -none return:

    Definition at line 36 of file decla.BE.inc.php.

    -References $a, $b, $client, $my, and name. +References $a, $b, $client, $my, and name. -


    Generated on Mon Jun 26 20:13:16 2006 for phpcompta by  +
    Generated on Tue Jun 27 01:39:29 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 6944d6043..971abc8cd 100644 --- a/doc/developper/html/dir_000000.html +++ b/doc/developper/html/dir_000000.html @@ -13,7 +13,7 @@ directory  phpcompta-dev -
    Generated on Mon Jun 26 20:13:18 2006 for phpcompta by  +
    Generated on Tue Jun 27 01:39:35 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 c989d867a..24777b71a 100644 --- a/doc/developper/html/dir_000001.html +++ b/doc/developper/html/dir_000001.html @@ -13,7 +13,7 @@ directory  phpcompta -
    Generated on Mon Jun 26 20:13:18 2006 for phpcompta by  +
    Generated on Tue Jun 27 01:39:35 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 a279ca35c..83decf791 100644 --- a/doc/developper/html/dir_000002.html +++ b/doc/developper/html/dir_000002.html @@ -15,7 +15,7 @@ directory  include -
    Generated on Mon Jun 26 20:13:18 2006 for phpcompta by  +
    Generated on Tue Jun 27 01:39:35 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 fc4eee1ac..38954ad2e 100644 --- a/doc/developper/html/dir_000003.html +++ b/doc/developper/html/dir_000003.html @@ -286,7 +286,7 @@

    -


    Generated on Mon Jun 26 20:13:18 2006 for phpcompta by  +
    Generated on Tue Jun 27 01:39:35 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 7dbca8736..951335118 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 Mon Jun 26 20:13:18 2006 for phpcompta by  +
    Generated on Tue Jun 27 01:39:35 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 a6d9e87a1..3e0f4a2de 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 Mon Jun 26 20:13:18 2006 for phpcompta by  +
    Generated on Tue Jun 27 01:39:35 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 6fe9e6f4a..39830140e 100644 --- a/doc/developper/html/dir_000006.html +++ b/doc/developper/html/dir_000006.html @@ -348,7 +348,7 @@

    -


    Generated on Mon Jun 26 20:13:18 2006 for phpcompta by  +
    Generated on Tue Jun 27 01:39:35 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/dirs.html b/doc/developper/html/dirs.html index 1edb906df..c3cfd23a3 100644 --- a/doc/developper/html/dirs.html +++ b/doc/developper/html/dirs.html @@ -22,7 +22,7 @@
-
Generated on Mon Jun 26 20:13:18 2006 for phpcompta by  +
Generated on Tue Jun 27 01:39:35 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 ae8ccc611..077ffa8e2 100644 --- a/doc/developper/html/document__modele_8inc_8php-source.html +++ b/doc/developper/html/document__modele_8inc_8php-source.html @@ -58,11 +58,11 @@ 00053 require_once("class_document_modele.php"); 00054 // Get all the document to remove 00055 -00056 foreach ( $_POST as $name=>$value ) +00056 foreach ( $_POST as $name=>$value ) 00057 { -00058 echo_debug(__FILE__,__LINE__,"name = ".$name); -00059 echo_debug(__FILE__,__LINE__,"value = ".$value); -00060 list ($id) = sscanf ($name,"dm_remove_%d"); +00058 echo_debug(__FILE__,__LINE__,"name = ".$name); +00059 echo_debug(__FILE__,__LINE__,"value = ".$value); +00060 list ($id) = sscanf ($name,"dm_remove_%d"); 00061 echo_debug(__FILE__,__LINE__,"id = ".$id); 00062 if ( $id == null ) continue; 00063 // a document has to be removed @@ -79,7 +79,7 @@ 00074 //----------------------------------------------------- 00075 echo $doc->myList(); 00076 ?> -
Generated on Mon Jun 26 20:13:15 2006 for phpcompta by  +
Generated on Tue Jun 27 01:39:28 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 135f1f814..241a873ea 100644 --- a/doc/developper/html/document__modele_8inc_8php.html +++ b/doc/developper/html/document__modele_8inc_8php.html @@ -57,7 +57,7 @@ Definition in file d

Definition at line 31 of file document_modele.inc.php.

-Referenced by action::Display(), action::myList(), Document::SaveGenerated(), action::SaveStage2(), and action::SaveStage3(). +Referenced by action::Display(), action::myList(), Document::SaveGenerated(), action::SaveStage2(), action::SaveStage3(), and action::Update().

@@ -161,7 +161,7 @@ Referenced by 44 of file document_modele.inc.php.

-Referenced by Document::Generate(). +Referenced by Document::Generate().

@@ -191,7 +191,7 @@ Definition at line Cezpdf::alink(), Cezpdf::ezPrvtTableColumnHeadings(), Cezpdf::ezTable(), Cezpdf::ezText(), Document_modele::Save(), and Cezpdf::uline(). -


Generated on Mon Jun 26 20:13:16 2006 for phpcompta by  +
Generated on Tue Jun 27 01:39:29 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 610361f4d..2b0aa809f 100644 --- a/doc/developper/html/ecrit__ouv_8php-source.html +++ b/doc/developper/html/ecrit__ouv_8php-source.html @@ -64,6 +64,7 @@ 00059 ),'V'); 00060 echo '</div>'; 00061 echo '<div class="redcontent">'; +00062 //----------------------------------------------------- EXPORT //////////////////////////////////////////// 00063 if ( isset ($_GET['export'])) { 00064 // if the year is not set, ask it 00065 // ask the exercice and do the export @@ -80,6 +81,7 @@ 00076 echo "</form>"; 00077 exit(0); 00078 } +00079 //----------------------------------------------------- IMPORT //////////////////////////////////////////// 00080 if ( isset ($_GET['import'])) { 00081 // show a form to upload the file 00082 // that form will parse the file, create an ods operation @@ -127,7 +129,7 @@ 00124 // skip blank line 00125 if (strlen (trim($line)) == 0 ) continue; 00126 // put the line into several array with the same index -00127 list($sign,$poste,$label,$amount)=explode(";",$line); +00127 list($sign,$poste,$label,$amount)=explode(";",$line); 00128 $asign[$idx]=$sign; $aposte[$idx]=$poste;$aamount[$idx]=$amount; 00129 $alabel[$idx]=$label; 00130 $idx++; @@ -157,16 +159,16 @@ 00154 // if the poste exists then check the next one 00155 if ( $p->get() == true ) continue; 00156 echo 'Attention creation de '.$p->id.' '.$alabel[$i].'<br>'; -00157 $sql=sprintf("select account_add(%d,'%s')", +00157 $sql=sprintf("select account_add(%d,'%s')", 00158 $p->id,$alabel[$i]); 00159 00160 ExecSql($cn,$sql); 00161 } 00162 00163 // submit button in the form -00164 $submit='<INPUT TYPE="SUBMIT" NAME="add_item" VALUE="Ajout Poste"> +00164 $submit='<INPUT TYPE="SUBMIT" NAME="add_item" VALUE="Ajout Poste"> 00165 <INPUT TYPE="SUBMIT" NAME="view_invoice" VALUE="Sauver">'; -00166 $r=FormODS($cn,$_POST['p_jrn'],$User->GetPeriode(),$submit, +00166 $r=FormODS($cn,$_POST['p_jrn'],$User->GetPeriode(),$submit, 00167 $array_ods,false,$idx,$p_saved=false); 00168 00169 echo $r; @@ -180,7 +182,7 @@ 00177 echo '</div>'; 00178 html_page_stop(); 00179 ?> -
Generated on Mon Jun 26 20:13:15 2006 for phpcompta by  +
Generated on Tue Jun 27 01:39:27 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 bbb316e6f..5a13f8d91 100644 --- a/doc/developper/html/ecrit__ouv_8php.html +++ b/doc/developper/html/ecrit__ouv_8php.html @@ -242,7 +242,7 @@ Definition at line 73 Definition at line 71 of file ecrit_ouv.php.

-Referenced by widget::debug(), widget::SetReadOnly(), and widget::widget(). +Referenced by widget::debug(), widget::IOValue(), widget::SetReadOnly(), and widget::widget().

@@ -295,7 +295,7 @@ Definition at line 6972 of file ecrit_ouv.php. -


Generated on Mon Jun 26 20:13:16 2006 for phpcompta by  +
Generated on Tue Jun 27 01:39:29 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 ed4609f4b..06a2fddf0 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 Mon Jun 26 20:13:15 2006 for phpcompta by  +
Generated on Tue Jun 27 01:39:28 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 3508e75c7..65ccbf7d5 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 Mon Jun 26 20:13:16 2006 for phpcompta by  +
Generated on Tue Jun 27 01:39:29 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 a366216d2..3824f142f 100644 --- a/doc/developper/html/eub__be_8inc_8php-source.html +++ b/doc/developper/html/eub__be_8inc_8php-source.html @@ -83,7 +83,7 @@ 00078 } // file is read 00079 fclose($handle); 00080 ?> -
Generated on Mon Jun 26 20:13:15 2006 for phpcompta by  +
Generated on Tue Jun 27 01:39:28 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 80ec4a148..ee655f162 100644 --- a/doc/developper/html/eub__be_8inc_8php.html +++ b/doc/developper/html/eub__be_8inc_8php.html @@ -210,7 +210,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 Mon Jun 26 20:13:16 2006 for phpcompta by  +
Generated on Tue Jun 27 01:39:29 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 c8da3486b..3e2bd6d34 100644 --- a/doc/developper/html/export__ouv_8php-source.html +++ b/doc/developper/html/export__ouv_8php-source.html @@ -78,7 +78,7 @@ 00073 // fill the object 00074 $Poste->get(); 00075 // build sql stmt -00076 $sql="j_tech_per >=". $sql_from[0]['min']." and j_tech_per <=".$sql_to[0]['max']; +00076 $sql="j_tech_per >=". $sql_from[0]['min']." and j_tech_per <=".$sql_to[0]['max']; 00077 $result=$Poste->GetSoldeDetail($sql ); 00078 $Poste->label=str_replace(';','',$Poste->label); 00079 @@ -102,7 +102,7 @@ 00097 00098 } 00099 ?> -
Generated on Mon Jun 26 20:13:15 2006 for phpcompta by  +
Generated on Tue Jun 27 01:39:27 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 bd9bbe836..7ad4d5509 100644 --- a/doc/developper/html/export__ouv_8php.html +++ b/doc/developper/html/export__ouv_8php.html @@ -327,7 +327,7 @@ Definition at line 4978 of file export_ouv.php. -
Generated on Mon Jun 26 20:13:16 2006 for phpcompta by  +
Generated on Tue Jun 27 01:39:29 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 index 3266ba5c8..3e2ffbede 100644 --- a/doc/developper/html/facture_8inc_8php-source.html +++ b/doc/developper/html/facture_8inc_8php-source.html @@ -48,8 +48,8 @@ 00046 00047 if ( isset ($_REQUEST['url'])) 00048 { -00049 $retour=sprintf('<A class="mtitle" HREF="%s"><input type="button" value="Retour"></A>',urldecode($_REQUEST['url'])); -00050 $h_url=sprintf('<input type="hidden" name="url" value="%s">',urldecode($_REQUEST['url'])); +00049 $retour=sprintf('<A class="mtitle" HREF="%s"><input type="button" value="Retour"></A>',urldecode($_REQUEST['url'])); +00050 $h_url=sprintf('<input type="hidden" name="url" value="%s">',urldecode($_REQUEST['url'])); 00051 } 00052 00053 $sub_action=(isset($_REQUEST['sa']))?$_REQUEST['sa']:""; @@ -68,23 +68,23 @@ 00066 { 00067 // reset all the paid flag because the checkbox is post only 00068 // when checked -00069 foreach ($_GET as $name=>$paid) +00069 foreach ($_GET as $name=>$paid) 00070 { -00071 list($ad) = sscanf($name,"set_jr_id%d"); +00071 list($ad) = sscanf($name,"set_jr_id%d"); 00072 if ( $ad == null ) continue; -00073 $sql="update jrn set jr_rapt='' where jr_id=$ad"; +00073 $sql="update jrn set jr_rapt='' where jr_id=$ad"; 00074 $Res=ExecSql($cn,$sql); 00075 00076 } 00077 // set a paid flag for the checked box -00078 foreach ($_GET as $name=>$paid) +00078 foreach ($_GET as $name=>$paid) 00079 { -00080 list ($id) = sscanf ($name,"rd_paid%d"); +00080 list ($id) = sscanf ($name,"rd_paid%d"); 00081 00082 if ( $id == null ) continue; 00083 // echo "Mise à jour $id"; 00084 $paid=($paid=='on')?'paid':''; -00085 $sql="update jrn set jr_rapt='$paid' where jr_id=$id"; +00085 $sql="update jrn set jr_rapt='$paid' where jr_id=$id"; 00086 $Res=ExecSql($cn,$sql); 00087 } 00088 @@ -117,28 +117,28 @@ 00115 $w->selected=$current; 00116 00117 echo 'Période '.$w->IOValue("p_periode",$periode_start).$w->Submit('gl_submit','Valider'); -00118 $qcode=(isset($_GET['qcode']))?$_GET['qcode']:""; +00118 $qcode=(isset($_GET['qcode']))?$_GET['qcode']:""; 00119 printf ('<span>Tiers QuickCode: <input type="text" name="qcode" value="%s"></span>', -00120 $qcode); +00120 $qcode); 00121 00122 // Show list of sell 00123 // Date - date of payment - Customer - amount -00124 $sql=SQL_LIST_ALL_INVOICE." and jr_tech_per=".$current." and jr_def_type='VEN'" ; -00125 $step=$_SESSION['g_pagesize']; -00126 $page=(isset($_GET['offset']))?$_GET['page']:1; -00127 $offset=(isset($_GET['offset']))?$_GET['offset']:0; +00124 $sql=SQL_LIST_ALL_INVOICE." and jr_tech_per=".$current." and jr_def_type='VEN'" ; +00125 $step=$_SESSION['g_pagesize']; +00126 $page=(isset($_GET['offset']))?$_GET['page']:1; +00127 $offset=(isset($_GET['offset']))?$_GET['offset']:0; 00128 -00129 $l=""; +00129 $l=""; 00130 // check if qcode contains something -00131 if ( $qcode != "" ) +00131 if ( $qcode != "" ) 00132 { 00133 // add a condition to filter on the quick code -00134 $l=" and jr_grpt_id in (select j_grpt from jrnx where j_qcode='$qcode') "; +00134 $l=" and jr_grpt_id in (select j_grpt from jrnx where j_qcode='$qcode') "; 00135 } 00136 00137 list($max_line,$list)=ListJrn($cn,0,"where jrn_def_type='VEN' and jr_tech_per=$current $l " 00138 ,null,$offset,1); -00139 $bar=jrn_navigation_bar($offset,$max_line,$step,$page); +00139 $bar=jrn_navigation_bar($offset,$max_line,$step,$page); 00140 00141 echo "<hr> $bar"; 00142 echo $list; @@ -165,9 +165,9 @@ 00163 $nb_item=$_POST['nb_item']; 00164 if ( isset ($_POST['add_item'])) 00165 $nb_item++; -00166 $form=FormVenInput($cn,$_GET['p_jrn'],$User->GetPeriode(),$_POST,false,$nb_item); +00166 $form=FormVenInput($cn,$_GET['p_jrn'],$User->GetPeriode(),$_POST,false,$nb_item); 00167 echo '<div class="u_redcontent">'; -00168 echo $form; +00168 echo $form; 00169 echo '</div>'; 00170 exit(); 00171 } @@ -181,11 +181,11 @@ 00179 list ($internal,$e)=RecordInvoice($cn,$_POST,$User,$p_jrn); 00180 00181 -00182 $form=FormVenteView($cn,$_GET['p_jrn'],$User->GetPeriode(),$_POST,$_POST['nb_item'],'noform',''); +00182 $form=FormVenteView($cn,$_GET['p_jrn'],$User->GetPeriode(),$_POST,$_POST['nb_item'],'noform',''); 00183 00184 echo '<div class="u_redcontent">'; 00185 echo '<h2 class="info"> Op&eacute;ration '.$internal.' enregistr&eacute;</h2>'; -00186 echo $form; +00186 echo $form; 00187 echo '<hr>'; 00188 00189 // Show the details of the encoded invoice @@ -200,7 +200,7 @@ 00198 // Move the document to the jrn 00199 $doc->MoveDocumentPj($internal); 00200 // Update the comment with invoice number -00201 $sql="update jrn set jr_comment='Facture ".$doc->d_number."' where jr_internal='$internal'"; +00201 $sql="update jrn set jr_comment='Facture ".$doc->d_number."' where jr_internal='$internal'"; 00202 ExecSql($cn,$sql); 00203 echo $str_file; 00204 } @@ -212,15 +212,15 @@ 00210 // invoice 00211 if ( isset ($_POST['view_invoice']) ) 00212 { -00213 $nb_number=$_POST["nb_item"]; -00214 if ( form_verify_input($cn,$_GET['p_jrn'],$User->GetPeriode(),$HTTP_POST_VARS,$nb_number) == true) +00213 $nb_number=$_POST["nb_item"]; +00214 if ( form_verify_input($cn,$_GET['p_jrn'],$User->GetPeriode(),$HTTP_POST_VARS,$nb_number) == true) 00215 { -00216 $form=FormVenteView($cn,$_GET['p_jrn'],$User->GetPeriode(),$HTTP_POST_VARS,$nb_number); +00216 $form=FormVenteView($cn,$_GET['p_jrn'],$User->GetPeriode(),$HTTP_POST_VARS,$nb_number); 00217 00218 } else { 00219 // Check failed : invalid date or quantity 00220 echo_error("Cannot validate "); -00221 $form=FormVenInput($cn,$_GET['p_jrn'],$User->GetPeriode(),$HTTP_POST_VARS,false,$nb_number); +00221 $form=FormVenInput($cn,$_GET['p_jrn'],$User->GetPeriode(),$HTTP_POST_VARS,false,$nb_number); 00222 } 00223 00224 echo '<div class="u_redcontent">'; @@ -244,7 +244,7 @@ 00242 echo $form; 00243 echo '</div>'; 00244 } -
Generated on Mon Jun 26 20:13:15 2006 for phpcompta by  +
Generated on Tue Jun 27 01:39:28 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 index 9004b43fc..742855ede 100644 --- a/doc/developper/html/facture_8inc_8php.html +++ b/doc/developper/html/facture_8inc_8php.html @@ -38,7 +38,7 @@ $w selected = $current - $qcode = (isset($_GET['qcode']))?$_GET['qcode']:"" + $qcode = (isset($_GET['qcode']))?$_GET['qcode']:""  $step = $_SESSION['g_pagesize'] @@ -323,7 +323,7 @@ Definition at line 112 - +
$qcode = (isset($_GET['qcode']))?$_GET['qcode']:"" $qcode = (isset($_GET['qcode']))?$_GET['qcode']:""
@@ -441,7 +441,7 @@ Definition at line
125

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

-Referenced by action::SaveStage2(). +Referenced by action::SaveStage2().

@@ -543,7 +543,7 @@ Definition at line 196

Definition at line 194 of file facture.inc.php.

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

@@ -646,7 +646,7 @@ Definition at line 115 Definition at line 100 of file facture.inc.php. -


Generated on Mon Jun 26 20:13:16 2006 for phpcompta by  +
Generated on Tue Jun 27 01:39:29 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 b75516887..d95972748 100644 --- a/doc/developper/html/fiche_8php-source.html +++ b/doc/developper/html/fiche_8php-source.html @@ -175,7 +175,7 @@ 00169 echo "<h2 class=\"error\"> Pas d'accès </h2>"; 00170 else 00171 { -00172 $a=UpdateFiche($cn,$HTTP_POST_VARS); +00172 $a=UpdateFiche($cn,$HTTP_POST_VARS); 00173 } 00174 $fd_id=GetFicheDef($cn,$_POST["f_id"]); 00175 ViewFiche($cn,$fd_id); @@ -185,7 +185,7 @@ 00179 } 00180 html_page_stop(); 00181 ?> -
Generated on Mon Jun 26 20:13:15 2006 for phpcompta by  +
Generated on Tue Jun 27 01:39:27 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 dfa3e921e..18bd89f27 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 Mon Jun 26 20:13:16 2006 for phpcompta by  +
Generated on Tue Jun 27 01:39:29 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 00264b51b..e11b05e06 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 Mon Jun 26 20:13:15 2006 for phpcompta by  +
Generated on Tue Jun 27 01:39:27 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 4ba0e720e..ae0fda746 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 Mon Jun 26 20:13:16 2006 for phpcompta by  +
Generated on Tue Jun 27 01:39:29 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 ad93035cf..146cedadc 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 Mon Jun 26 20:13:15 2006 for phpcompta by  +
Generated on Tue Jun 27 01:39:28 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 b9eeb0716..abc505ade 100644 --- a/doc/developper/html/fiche__def_8inc_8php.html +++ b/doc/developper/html/fiche__def_8inc_8php.html @@ -274,7 +274,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 Mon Jun 26 20:13:16 2006 for phpcompta by  +
Generated on Tue Jun 27 01:39:29 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 dfc9db1b1..aecc3d767 100644 --- a/doc/developper/html/fiche__inc_8php-source.html +++ b/doc/developper/html/fiche__inc_8php-source.html @@ -85,7 +85,7 @@ 00092 00093 } // if $len == 0 00094 $lib=FormatString($p_av_text0); -00095 $sql=sprintf("insert into tmp_pcmn (pcm_val,pcm_lib,pcm_val_parent) +00095 $sql=sprintf("insert into tmp_pcmn (pcm_val,pcm_lib,pcm_val_parent) 00096 values (%s,'%s',%d)", 00097 ${"p_av_text$i"}, 00098 $lib, @@ -127,7 +127,7 @@ 00134 $num=GetNextFiche($p_cn,$base); 00135 00136 $lib=FormatString($p_av_text0); -00137 $sql=sprintf("insert into tmp_pcmn (pcm_val,pcm_lib,pcm_val_parent) +00137 $sql=sprintf("insert into tmp_pcmn (pcm_val,pcm_lib,pcm_val_parent) 00138 values (%s,'%s',%d)", 00139 $num, 00140 $lib, @@ -159,7 +159,7 @@ 00166 00167 // Special treatment for QuickCode 00168 if ( ${"p_ad_id$i"} == ATTR_DEF_QUICKCODE ) { -00169 $sql=sprintf("select insert_quick_code(%d,'%s')", +00169 $sql=sprintf("select insert_quick_code(%d,'%s')", 00170 $l_f_id,FormatString(${"p_av_text$i"})); 00171 $Res=ExecSql($p_cn,$sql); 00172 continue; @@ -204,8 +204,8 @@ 00227 00228 $ch_col="</TD><TD>"; 00229 $ch_li='</TR><TR>'; -00230 echo '<FORM action="fiche.php" method="post" name="fiche">'; -00231 echo '<INPUT TYPE="HIDDEN" name="fiche" value="'.$p_type.'">'; +00230 echo '<FORM action="fiche.php" method="post" name="fiche">'; +00231 echo '<INPUT TYPE="HIDDEN" name="fiche" value="'.$p_type.'">'; 00232 $l_sessid=$_REQUEST['PHPSESSID']; 00233 00234 echo JS_SHOW_TVA; @@ -219,18 +219,18 @@ 00242 echo_debug('fiche_inc.php',__LINE__,"Array is null"); 00243 // Find all the attribute of the existing cards 00244 // --> Get_attr_def -00245 $sql="select frd_id,ad_id,ad_text from fiche_def join jnt_fic_attr using (fd_id) +00245 $sql="select frd_id,ad_id,ad_text from fiche_def join jnt_fic_attr using (fd_id) 00246 join attr_def using (ad_id) where fd_id=".$p_type." order by ad_id"; 00247 00248 $Res=ExecSql($p_cn,$sql); 00249 $Max=pg_NumRows($Res); 00250 // Put the card modele id (fiche_def.fd_id) -00251 echo '<INPUT TYPE="HIDDEN" name="fd_id" value="'.$p_type.'">'; +00251 echo '<INPUT TYPE="HIDDEN" name="fd_id" value="'.$p_type.'">'; 00252 for ($i=0;$i < $Max;$i++) { 00253 $l_line=pg_fetch_array($Res,$i); 00254 00255 // The number of the attribute -00256 $Hid=sprintf('<INPUT TYPE="HIDDEN" name="ad_id%d" value="%s">', +00256 $Hid=sprintf('<INPUT TYPE="HIDDEN" name="ad_id%d" value="%s">', 00257 $i,$l_line['ad_id']); 00258 00259 $but_search_poste=""; @@ -249,8 +249,8 @@ 00272 } 00273 echo '</TR>'; 00274 echo '</TABLE>'; -00275 echo '<INPUT TYPE="HIDDEN" name="inc" value="'.$Max.'">'; -00276 echo '<INPUT TYPE="SUBMIT" name="add_fiche" value="ajoute">'; +00275 echo '<INPUT TYPE="HIDDEN" name="inc" value="'.$Max.'">'; +00276 echo '<INPUT TYPE="SUBMIT" name="add_fiche" value="ajoute">'; 00277 echo '</FORM>'; 00278 }else { 00279 // Array is not null so we have to find the card's data from the database @@ -261,7 +261,7 @@ 00284 echo '<H2 class="info">'.$label.'</H2>'; 00285 00286 // Find all the data related to the card -00287 $sql="select av_text,ad_id,ad_text,jft_id from attr_value +00287 $sql="select av_text,ad_id,ad_text,jft_id from attr_value 00288 natural join attr_def 00289 natural join jnt_fic_att_value 00290 natural join fiche where f_id=$p_type order by ad_id"; @@ -270,9 +270,9 @@ 00293 $Max=pg_NumRows($Res); 00294 echo_debug('fiche_inc.php',__LINE__,"Max ==== $Max"); 00295 -00296 echo '<INPUT TYPE="HIDDEN" name="f_id" value="'.$p_type.'">'; -00297 echo '<INPUT TYPE="HIDDEN" name="f_label" value="'.$label.'">'; -00298 echo '<INPUT TYPE="HIDDEN" name="max" value="'.$Max.'">'; +00296 echo '<INPUT TYPE="HIDDEN" name="f_id" value="'.$p_type.'">'; +00297 echo '<INPUT TYPE="HIDDEN" name="f_label" value="'.$label.'">'; +00298 echo '<INPUT TYPE="HIDDEN" name="max" value="'.$Max.'">'; 00299 00300 for ($i=0;$i < $Max;$i++) { 00301 // fetch the data @@ -283,7 +283,7 @@ 00306 00307 $but_search_poste=""; 00308 if ( $l_line['ad_id'] == ATTR_DEF_ACCOUNT ) { -00309 printf('<INPUT TYPE="HIDDEN" name="class" value="%s">', +00309 printf('<INPUT TYPE="HIDDEN" name="class" value="%s">', 00310 $l_line['av_text']); 00311 // Javascript for searching the account 00312 $ctl_name="av_text$i"; @@ -296,11 +296,11 @@ 00319 } 00320 00321 // hide ad_id -00322 $ad=sprintf('<input type="hidden" name="ad_id%d" value="%s">', +00322 $ad=sprintf('<input type="hidden" name="ad_id%d" value="%s">', 00323 $l_line['ad_id'],$l_line['av_text']); 00324 00325 // in hidden we put the jft_id -00326 $Hid=sprintf('<INPUT TYPE="HIDDEN" name="jft_id%d" value="%s">', +00326 $Hid=sprintf('<INPUT TYPE="HIDDEN" name="jft_id%d" value="%s">', 00327 $i,$l_line['jft_id']); 00328 printf ('<TR><TD> %s </TD><TD><INPUT TYPE="TEXT" NAME="av_text%d" VALUE="%s">%s %s %s</TD></TR>', 00329 $l_line['ad_text'], $i, $l_line['av_text'],$Hid,$but_search_poste,$ad); @@ -308,7 +308,7 @@ 00331 } 00332 echo '</TR>'; 00333 echo '</TABLE>'; -00334 echo '<INPUT TYPE="SUBMIT" name="update_fiche" value="Mis à jour">'; +00334 echo '<INPUT TYPE="SUBMIT" name="update_fiche" value="Mis à jour">'; 00335 echo '</FORM>'; 00336 } 00337 } @@ -332,19 +332,19 @@ 00395 require_once("user_common.php"); 00396 echo '<H2 class="info">'.getFicheDefName($p_cn,$p_type).'</H2>'; 00397 -00398 $step=$_SESSION['g_pagesize']; +00398 $step=$_SESSION['g_pagesize']; 00399 $sql_limit=""; 00400 $sql_offset=""; 00401 if ( $step != -1 ) { -00402 $page=(isset($_GET['page']))?$_GET['page']:1; -00403 $offset=(isset($_GET['offset']))?$_GET['offset']:0; +00402 $page=(isset($_GET['page']))?$_GET['page']:1; +00403 $offset=(isset($_GET['offset']))?$_GET['offset']:0; 00404 $max_line=CountSql($p_cn,"select f_id,av_text from 00405 fiche join jnt_fic_att_value using (f_id) 00406 join attr_value using (jft_id) 00407 where fd_id='".$p_type."' and ad_id=".ATTR_DEF_NAME." order by f_id"); 00408 $sql_limit=" limit ".$step; 00409 $sql_offset=" offset ".$offset; -00410 $bar=jrn_navigation_bar($offset,$max_line,$step,$page); +00410 $bar=jrn_navigation_bar($offset,$max_line,$step,$page); 00411 } 00412 00413 // Get all name the cards of the select category @@ -356,7 +356,7 @@ 00419 where fd_id='".$p_type. 00420 "' and ad_id=".ATTR_DEF_NAME." order by f_id $sql_offset $sql_limit "); 00421 $Max=pg_NumRows($Res); -00422 echo $bar; +00422 echo $bar; 00423 00424 echo '<table>'; 00425 for ( $i = 0; $i < $Max; $i++) { @@ -376,8 +376,8 @@ 00439 } 00440 echo '</table>'; 00441 echo '<FORM METHOD="POST" action="fiche.php">'; -00442 echo '<INPUT TYPE="HIDDEN" name="fiche" value="'.$p_type.'">'; -00443 echo '<INPUT TYPE="SUBMIT" name="add" Value="Ajout fiche">'; +00442 echo '<INPUT TYPE="HIDDEN" name="fiche" value="'.$p_type.'">'; +00443 echo '<INPUT TYPE="SUBMIT" name="add" Value="Ajout fiche">'; 00444 echo '</FORM>'; 00445 echo $bar; 00446 @@ -403,7 +403,7 @@ 00495 $fd_id=GetFicheDef($p_cn,$p_id); 00496 00497 //Update the default attribute of a card if is model has changed -00498 $sql="insert into jnt_fic_att_value (f_id,ad_id) +00498 $sql="insert into jnt_fic_att_value (f_id,ad_id) 00499 select $p_id, ad_id 00500 from jnt_fic_attr 00501 where fd_id=$fd_id and @@ -413,7 +413,7 @@ 00505 $Res=ExecSql($p_cn,$sql); 00506 00507 // add a empty string to attr_value -00508 $sql="insert into attr_value select jft_id,'' from jnt_fic_att_value +00508 $sql="insert into attr_value select jft_id,'' from jnt_fic_att_value 00509 where f_id=$p_id and jft_id not in (select jft_id from attr_value natural join jnt_fic_att_value where 00510 f_id = $p_id)"; 00511 $Res=ExecSql($p_cn,$sql); @@ -430,7 +430,7 @@ 00537 // Get the name 00538 if ( $key == "ad_id".ATTR_DEF_NAME ) { 00539 $label=$element; -00540 if (strlen(trim($label))== 0 ) +00540 if (strlen(trim($label))== 0 ) 00541 return; 00542 } 00543 // Get the class base @@ -461,16 +461,16 @@ 00568 $text=FormatString( ${"av_text$i"}); 00569 // Check if we don't try to update a QUICK CODE 00570 $Res=ExecSql($p_cn,"select ad_id from jnt_fic_att_value where jft_id=".${"jft_id$i"}); -00571 $a=pg_fetch_array($Res,0); +00571 $a=pg_fetch_array($Res,0); 00572 if ( $a['ad_id'] != ATTR_DEF_QUICKCODE) 00573 { -00574 $sql=sprintf("update attr_value set av_text='%s' where jft_id=%d", +00574 $sql=sprintf("update attr_value set av_text='%s' where jft_id=%d", 00575 $text, 00576 ${"jft_id$i"}); 00577 } 00578 else 00579 { -00580 $sql=sprintf("select update_quick_code(%d,'%s')", +00580 $sql=sprintf("select update_quick_code(%d,'%s')", 00581 ${"jft_id$i"}, 00582 $text); 00583 } @@ -479,14 +479,14 @@ 00586 } 00587 // Update tva to his default value 00588 if ( $tva_error == true ) { -00589 $sql="update attr_value set av_text=1 where jft_id = ( select jft_id from jnt_fic_att_value +00589 $sql="update attr_value set av_text=1 where jft_id = ( select jft_id from jnt_fic_att_value 00590 natural join fiche natural join attr_def 00591 where ad_id=".ATTR_DEF_TVA." and f_id=$fiche)"; 00592 $Res=ExecSql($p_cn,$sql); 00593 } 00594 00595 // Update the PCMN if needed -00596 $sql="select av_text from attr_value natural join jnt_fic_att_value +00596 $sql="select av_text from attr_value natural join jnt_fic_att_value 00597 where f_id=$fiche and ad_id=".ATTR_DEF_ACCOUNT; 00598 $Res=ExecSql($p_cn,$sql); 00599 @@ -550,7 +550,7 @@ 00669 echo '<BR>Classe de base <INPUT TYPE="TEXT" NAME="class_base">'; 00670 echo $p_js; 00671 echo '<INPUT TYPE="HIDDEN" NAME="inc" VALUE="1">'; -00672 echo '<BR><INPUT TYPE="SUBMIT" name="record_model" VALUE="Ajoute modèle">'; +00672 echo '<BR><INPUT TYPE="SUBMIT" name="record_model" VALUE="Ajoute modèle">'; 00673 echo '</FORM>'; 00674 } 00689 function DefModele ($p_cn,$p_js,$p_array=null,$p_ligne=1) @@ -653,13 +653,13 @@ 00801 if ( FormatString($p_class_base) != null) { 00802 00803 // p_class is a valid number -00804 $sql=sprintf("insert into fiche_def(fd_label,fd_class_base,frd_id,fd_create_account) +00804 $sql=sprintf("insert into fiche_def(fd_label,fd_class_base,frd_id,fd_create_account) 00805 values ('%s',%s,%d,'%s')", 00806 $p_nom_mod,$p_class_base,$p_FICHE_REF,$p_create); 00807 $Res=ExecSql($p_cn,$sql); 00808 00809 // p_class must be added to tmp_pcmn -00810 $sql=sprintf("select account_add(%d,'%s')", +00810 $sql=sprintf("select account_add(%d,'%s')", 00811 $p_class_base,$p_nom_mod); 00812 00813 $Res=ExecSql($p_cn,$sql); @@ -670,13 +670,13 @@ 00818 // Add the class_base if needed 00819 00820 if ( $p_create=='true' ) { -00821 $sql=sprintf("insert into jnt_fic_attr(fd_id,ad_id) +00821 $sql=sprintf("insert into jnt_fic_attr(fd_id,ad_id) 00822 values (%d,%d)",$fd_id,ATTR_DEF_ACCOUNT); 00823 $Res=ExecSql($p_cn,$sql); 00824 } 00825 } else { 00826 //There is no class base not even as default -00827 $sql=sprintf("insert into fiche_def(fd_label,frd_id,fd_create_account) values ('%s',%d,'%s')", +00827 $sql=sprintf("insert into fiche_def(fd_label,frd_id,fd_create_account) values ('%s',%d,'%s')", 00828 $p_nom_mod,$p_FICHE_REF,$p_create); 00829 00830 $Res=ExecSql($p_cn,$sql); @@ -694,7 +694,7 @@ 00842 if (sizeof($def_attr) != 0 ) { 00843 // insert all the mandatory fields into jnt_fiche_attr 00844 foreach ( $def_attr as $i=>$v) { -00845 $sql=sprintf("insert into jnt_fic_Attr(fd_id,ad_id) +00845 $sql=sprintf("insert into jnt_fic_Attr(fd_id,ad_id) 00846 values (%d,%s)", 00847 $fd_id,$v['ad_id']); 00848 ExecSql($p_cn,$sql); @@ -729,7 +729,7 @@ 00906 for ($i=0; $i < $Max;$i++) { 00907 $line=pg_fetch_array($Res,$i); 00908 if ($i == 0 ) { -00909 $array['label']=GetFicheDefName($p_cn,$p_fiche); +00909 $array['label']=GetFicheDefName($p_cn,$p_fiche); 00910 $array['class_base']=$line['fd_class_base']; 00911 $array['fd_id']=$p_fiche; 00912 }//if $i == 0 @@ -841,7 +841,7 @@ 01080 return null; 01081 } 01082 -01083 $sql="select f_id,av_text as f_label +01083 $sql="select f_id,av_text as f_label 01084 from fiche natural join jnt_fic_att_value 01085 natural join attr_def 01086 natural join attr_value @@ -857,9 +857,9 @@ 01096 $line=pg_fetch_array($Res,$i); 01097 $f_id=$line['f_id']; 01098 $f_label=$line['f_label']; -01099 $a[$i]=array($f_id,$f_label); +01099 $a[$i]=array($f_id,$f_label); 01100 } -01101 return $a; +01101 return $a; 01102 } 01115 function Get_fiche_def_ref($p_cn) 01116 { @@ -951,7 +951,7 @@ 01251 function GetFicheDefRef($p_cn,$p_f_id) 01252 { 01253 // Sql stmt -01254 $sql="select frd_id from fiche_def join fiche using (fd_id) +01254 $sql="select frd_id from fiche_def join fiche using (fd_id) 01255 where f_id=$p_f_id"; 01256 // Execute it 01257 $Res=ExecSql($p_cn,$sql); @@ -969,7 +969,7 @@ 01282 function GetFicheDef($p_cn,$p_f_id) 01283 { 01284 // Sql stmt -01285 $sql="select fd_id from fiche_def join fiche using (fd_id) +01285 $sql="select fd_id from fiche_def join fiche using (fd_id) 01286 where f_id=$p_f_id"; 01287 // Execute it 01288 $Res=ExecSql($p_cn,$sql); @@ -990,7 +990,7 @@ 01315 01316 // the account class is in the av_text with the ad_id=5 in 01317 // attr_Def -01318 $sql="select av_text from attr_value +01318 $sql="select av_text from attr_value 01319 natural join jnt_fic_att_value 01320 natural join attr_def 01321 where @@ -1007,7 +1007,7 @@ 01344 { 01345 // Insert a new attribute for the model 01346 // it means insert a row in jnt_fic_attr -01347 $sql=sprintf("insert into jnt_fic_attr (fd_id,ad_id) values (%d,%d)", +01347 $sql=sprintf("insert into jnt_fic_attr (fd_id,ad_id) values (%d,%d)", 01348 $p_fid,$p_adid); 01349 $Res=ExecSql($p_cn,$sql); 01350 @@ -1016,7 +1016,7 @@ 01365 { 01366 // Insert a new attribute for the model 01367 // it means insert a row in jnt_fic_attr -01368 $sql=sprintf("update fiche_def set fd_label='%s' where +01368 $sql=sprintf("update fiche_def set fd_label='%s' where 01369 fd_id=%d", 01370 $p_label,$p_fid); 01371 $Res=ExecSql($p_cn,$sql); @@ -1041,8 +1041,8 @@ 01405 // Can change the name 01406 if ( ${"ad_id$i"} == ATTR_DEF_NAME ) { 01407 printf('Label</TD><TD><INPUT TYPE="TEXT" NAME="label" VALUE="%s">', -01408 $label); -01409 printf('</td><TD><input type="submit" NAME="change_name" value="Change Nom">'); +01408 $label); +01409 printf('</td><TD><input type="submit" NAME="change_name" value="Change Nom">'); 01410 } else { 01411 // The attr. 01412 printf('%s ', @@ -1062,7 +1062,7 @@ 01426 echo '<TR> <TD>'; 01427 echo '<SELECT NAME="ad_id">'; 01428 for ($i=0;$i<$M;$i++) { -01429 $l=pg_fetch_array($Res,$i); +01429 $l=pg_fetch_array($Res,$i); 01430 printf('<OPTION VALUE="%s"> %s', 01431 $l['ad_id'],$l['ad_text']); 01432 } @@ -1075,10 +1075,10 @@ 01451 { 01452 $len=strlen($p_val)-1; 01453 for ($i=$len-1;$i>0;$i--) { -01454 $a=substr($p_val,0,$i); +01454 $a=substr($p_val,0,$i); 01455 echo_debug ("parent == $a len =1"); 01456 if (CountSql($p_cn,"select pcm_val from tmp_pcmn where pcm_val=$a") == 1) -01457 return $a; +01457 return $a; 01458 } 01459 } 01474 function getFicheAttribut($p_cn,$p_id,$p_attr="") { @@ -1137,7 +1137,7 @@ 01543 return null; 01544 } 01545 -01546 $sql="select * +01546 $sql="select * 01547 from vw_fiche_attr 01548 where 01549 fd_id in (".$list['fiche'].") and quick_code='$p_fiche'"; @@ -1150,7 +1150,7 @@ 01556 return 1; 01557 } 01558 ?> -
Generated on Mon Jun 26 20:13:15 2006 for phpcompta by  +
Generated on Tue Jun 27 01:39:28 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 2e0794248..02a8ae3e6 100644 --- a/doc/developper/html/fiche__inc_8php.html +++ b/doc/developper/html/fiche__inc_8php.html @@ -190,7 +190,7 @@ ajoute une nouvelle fiche

Definition at line 38 of file fiche_inc.php.

-References $flag, $num, $p_parent, $Res, $sql, $Sql, CountSql(), echo_debug(), echo_error(), ExecSql(), exit, FormatString(), Get_attr_def(), GetBaseFiche(), GetCreateAccount(), GetNextFiche(), GetSequence(), and isNumber(). +References $flag, $num, $p_parent, $Res, $sql, $Sql, CountSql(), echo_debug(), echo_error(), ExecSql(), exit, FormatString(), Get_attr_def(), GetBaseFiche(), GetCreateAccount(), GetNextFiche(), GetSequence(), and isNumber().

@@ -239,7 +239,7 @@ array gen :

    Definition at line 761 of file fiche_inc.php.

    -References $Res, $sql, echo_debug(), echo_error(), ExecSql(), FormatString(), Get_attr_min(), GetBaseFicheDefault(), GetSequence(), and isNumber(). +References $Res, $sql, echo_debug(), echo_error(), ExecSql(), FormatString(), Get_attr_min(), GetBaseFicheDefault(), GetSequence(), and isNumber().

    @@ -360,7 +360,7 @@ parm :

      Definition at line 1390 of file fiche_inc.php.

      -References $i, $l, $M, $Res, echo_debug(), ExecSql(), label, and value. +References $i, $l, $M, $Res, echo_debug(), ExecSql(), label, and value.

      Referenced by UpdateModele(). @@ -420,7 +420,7 @@ DANY: Oui je suis assez d'accord avec toi

      Definition at line 225 of file fiche_inc.php.

      -References $l_line, $label, $Max, $Res, $sql, echo_debug(), ExecSql(), getFicheNameById(), name, and value. +References $l_line, $label, $Max, $Res, $sql, echo_debug(), ExecSql(), getFicheNameById(), name, and value.

      Referenced by ViewFicheDetail(). @@ -458,7 +458,7 @@ EncodeModele

      Definition at line 664 of file fiche_inc.php.

      -References METHOD, and name. +References METHOD, and name.

      @@ -749,7 +749,7 @@ card id (fiche.f_id) gen : Definition at line 1313 of file fiche_inc.php.

      -References $Res, $sql, echo_debug(), and ExecSql(). +References $Res, $sql, echo_debug(), and ExecSql().

      Referenced by Remove(). @@ -850,7 +850,7 @@ fiche id gen :

        Definition at line 895 of file fiche_inc.php.

        -References $array, $Max, $Res, ExecSql(), and label. +References $array, $Max, $Res, ExecSql(), and label.

        Referenced by UpdateModele(). @@ -962,7 +962,7 @@ the fiche_def.fd_id or null if nothing has been found

        Definition at line 1282 of file fiche_inc.php.

        -References $Res, $sql, and ExecSql(). +References $Res, $sql, and ExecSql().

        Referenced by Remove(), and ViewFicheDetail(). @@ -1064,7 +1064,7 @@ the fiche_def.frd_id or nu

        Definition at line 1251 of file fiche_inc.php.

        -References $Res, $sql, ExecSql(), and frd_id. +References $Res, $sql, ExecSql(), and frd_id.

        Referenced by UpdateFiche(). @@ -1123,7 +1123,7 @@ j_jrn journal_id

          Definition at line 1057 of file fiche_inc.php.

          -References $a, $i, $list, $Max, $Res, $sql, echo_error(), echo_warning(), ExecSql(), exit, and f_id. +References $a, $i, $list, $Max, $Res, $sql, echo_error(), echo_warning(), ExecSql(), exit, and f_id.

          @@ -1327,7 +1327,7 @@ the base we want insert gen :

            Definition at line 1450 of file fiche_inc.php.

            -References $a, CountSql(), and echo_debug(). +References $a, CountSql(), and echo_debug().

            Referenced by UpdateFiche(). @@ -1385,7 +1385,7 @@ InsertModeleLine

            Definition at line 1343 of file fiche_inc.php.

            -References $Res, $sql, and ExecSql(). +References $Res, $sql, and ExecSql().

            @@ -1449,7 +1449,7 @@ return 1 if the fiche is in the range otherwise 0

            Definition at line 1514 of file fiche_inc.php.

            -References $list, $Max, $Res, $sql, echo_warning(), and ExecSql(). +References $list, $Max, $Res, $sql, echo_warning(), and ExecSql().

            Referenced by form_verify_input(). @@ -1557,7 +1557,7 @@ the fiche_def.fd_id, id of the cat of the model

              Definition at line 1364 of file fiche_inc.php.

              -References $Res, $sql, and ExecSql(). +References $Res, $sql, and ExecSql().

              @@ -1606,7 +1606,7 @@ p_array gen :

                Definition at line 530 of file fiche_inc.php.

                -References $a, $label, $Res, $sql, CountSql(), echo_debug(), echo_error(), ExecSql(), FormatString(), GetFicheDefRef(), GetParent(), and label. +References $a, $label, $Res, $sql, CountSql(), echo_debug(), echo_error(), ExecSql(), FormatString(), GetFicheDefRef(), GetParent(), and label.

                @@ -1704,7 +1704,7 @@ $p_type fiche_def.fd_id catg of card gen :

                  Definition at line 394 of file fiche_inc.php.

                  -References $_SESSION, $bar, $l_line, $Max, $offset, $page, $Res, $sql_limit, $sql_offset, $step, CountSql(), ExecSql(), jrn_navigation_bar(), METHOD, name, table, and value. +References $_SESSION, $bar, $l_line, $Max, $offset, $page, $Res, $sql_limit, $sql_offset, $step, CountSql(), ExecSql(), jrn_navigation_bar(), METHOD, name, table, and value.

                  @@ -1753,10 +1753,10 @@ id de la fiche fiche(f_id) gen :

                    Definition at line 492 of file fiche_inc.php.

                    -References $Res, $sql, EncodeFiche(), ExecSql(), and GetFicheDef(). +References $Res, $sql, EncodeFiche(), ExecSql(), and GetFicheDef(). -


                    Generated on Mon Jun 26 20:13:16 2006 for phpcompta by  +
                    Generated on Tue Jun 27 01:39:29 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 594ea3004..13b2a3d74 100644 --- a/doc/developper/html/fiche__new_8php-source.html +++ b/doc/developper/html/fiche__new_8php-source.html @@ -66,7 +66,7 @@ 00061 $ch_col="</TD><TD>"; 00062 $ch_li='</TR><TR>'; 00063 $r='<FORM action="fiche_new.php" method="post">'; -00064 $r.='<INPUT TYPE="HIDDEN" name="fiche" value="'.$p_type.'">'; +00064 $r.='<INPUT TYPE="HIDDEN" name="fiche" value="'.$p_type.'">'; 00065 $l_sessid=(isset ($_POST["PHPSESSID"]))?$_POST["PHPSESSID"]:$_GET["PHPSESSID"]; 00066 00067 $r.=JS_SHOW_TVA; @@ -77,18 +77,18 @@ 00072 echo_debug('fiche_new.php',__LINE__,"Array is null"); 00073 // Find all the attribute of the existing cards 00074 // --> Get_attr_def -00075 $sql="select frd_id,ad_id,ad_text from fiche_def join jnt_fic_attr using (fd_id) +00075 $sql="select frd_id,ad_id,ad_text from fiche_def join jnt_fic_attr using (fd_id) 00076 join attr_def using (ad_id) where fd_id=".$p_type." order by ad_id"; 00077 00078 $Res=ExecSql($p_cn,$sql); 00079 $Max=pg_NumRows($Res); 00080 // Put the card modele id (fiche_def.fd_id) -00081 $r.='<INPUT TYPE="HIDDEN" name="fd_id" value="'.$p_type.'">'; +00081 $r.='<INPUT TYPE="HIDDEN" name="fd_id" value="'.$p_type.'">'; 00082 for ($i=0;$i < $Max;$i++) { 00083 $l_line=pg_fetch_array($Res,$i); 00084 00085 // The number of the attribute -00086 $Hid=sprintf('<INPUT TYPE="HIDDEN" name="ad_id%d" value="%s">', +00086 $Hid=sprintf('<INPUT TYPE="HIDDEN" name="ad_id%d" value="%s">', 00087 $i,$l_line['ad_id']); 00088 00089 $but_search_poste=""; @@ -105,8 +105,8 @@ 00100 $l_line['ad_text'], $i,$Hid,$but_search_poste); 00101 } 00102 $r.="</TABLE>"; -00103 $r.='<INPUT TYPE="SUBMIT" name="add_fiche" value="Mis à jour">'; -00104 $r.= '<INPUT TYPE="HIDDEN" name="inc" value="'.$Max.'">'; +00103 $r.='<INPUT TYPE="SUBMIT" name="add_fiche" value="Mis à jour">'; +00104 $r.= '<INPUT TYPE="HIDDEN" name="inc" value="'.$Max.'">'; 00105 $r.='</FORM>'; 00106 return $r; 00107 } @@ -125,7 +125,7 @@ 00120 // if e_type contains a list of value 00121 if ( $e_type != 'cred' and $e_type != 'deb') { 00122 // $list['fiche']=$e_type; -00123 $sql="select fd_id from fiche_def where frd_id in ($e_type)"; +00123 $sql="select fd_id from fiche_def where frd_id in ($e_type)"; 00124 $Res=ExecSql($cn,$sql); 00125 // fetch it 00126 $Max=pg_NumRows($Res); @@ -142,11 +142,11 @@ 00137 } else { // We have to find it from the database 00138 if ( $e_type == 'deb' ) { 00139 $get='jrn_def_fiche_deb'; -00140 $sql="select $get as fiche from jrn_def where jrn_def_id=".$_GET['p_jrn']; +00140 $sql="select $get as fiche from jrn_def where jrn_def_id=".$_GET['p_jrn']; 00141 } 00142 if ( $e_type == 'cred' ) { 00143 $get='jrn_def_fiche_cred'; -00144 $sql="select $get as fiche from jrn_def where jrn_def_id=".$_GET['p_jrn']; +00144 $sql="select $get as fiche from jrn_def where jrn_def_id=".$_GET['p_jrn']; 00145 } 00146 00147 @@ -169,7 +169,7 @@ 00164 00165 00166 // Compter le nombre de cat. possible -00167 $a=explode(",",$list['fiche']); +00167 $a=explode(",",$list['fiche']); 00168 00169 // sinon si cat = 1 ou si var. cat vaut qq chose 00170 // Montrer le contenu de fiche @@ -192,15 +192,15 @@ 00187 echo "Choix catégories fiche"; 00188 echo '<FORM METHOD="POST" ACTION="'.$_SERVER['REQUEST_URI'].'">'; 00189 foreach ($a as $element) { -00190 printf('<INPUT TYPE="RADIO" NAME="cat" value="%s">%s<br>', +00190 printf('<INPUT TYPE="RADIO" NAME="cat" value="%s">%s<br>', 00191 $element,GetFicheDefName($cn,$element)); 00192 00193 } -00194 echo '<INPUT TYPE="SUBMIT" value="Choisir">'; +00194 echo '<INPUT TYPE="SUBMIT" value="Choisir">'; 00195 echo "<FORM>"; 00196 } 00197 ?> -
                    Generated on Mon Jun 26 20:13:15 2006 for phpcompta by  +
                    Generated on Tue Jun 27 01:39:27 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 4f7c55323..a524b4f4c 100644 --- a/doc/developper/html/fiche__new_8php.html +++ b/doc/developper/html/fiche__new_8php.html @@ -78,7 +78,7 @@ Definition in file fiche_new.ph

                    Definition at line 60 of file fiche_new.php.

                    -References $l_line, $Max, $r, $Res, $sql, echo_debug(), ExecSql(), name, and value. +References $l_line, $Max, $r, $Res, $sql, echo_debug(), ExecSql(), name, and value.


                    Variable Documentation

                    @@ -286,7 +286,7 @@ Definition at line 31116 of file fiche_new.php. -
                    Generated on Mon Jun 26 20:13:16 2006 for phpcompta by  +
                    Generated on Tue Jun 27 01:39:29 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 f32bcdded..db41e9add 100644 --- a/doc/developper/html/fiche__search_8php-source.html +++ b/doc/developper/html/fiche__search_8php-source.html @@ -64,7 +64,7 @@ 00059 00060 function get_list_fiche($p_cn,$get,$p_jrn) 00061 { -00062 $sql="select $get as fiche from jrn_def where jrn_def_id=$p_jrn"; +00062 $sql="select $get as fiche from jrn_def where jrn_def_id=$p_jrn"; 00063 $Res=ExecSql($p_cn,$sql); 00064 00065 // fetch it @@ -84,8 +84,8 @@ 00079 } 00080 ?> 00081 <script language="javascript"> -00082 function SetData (name_ctl,value,value_2,value_3,value_4,value_5,value_6) { -00083 self.opener.SetData(name_ctl,value,value_2,value_3,value_4,value_5,value_6); +00082 function SetData (name_ctl,value,value_2,value_3,value_4,value_5,value_6) { +00083 self.opener.SetData(name_ctl,value,value_2,value_3,value_4,value_5,value_6); 00084 window.close(); 00085 } 00086 </script> @@ -103,7 +103,7 @@ 00098 00099 $r.="<FORM METHOD=\"POST\" ACTION=\"".$_SERVER['REQUEST_URI']."\">"; 00100 $r.="Recherche : ".'<INPUT TYPE="TEXT" NAME="fic_search" VALUE="'.$e_fic_search.'">'; -00101 $r.='<INPUT TYPE="submit" name="search" value="Go">'; +00101 $r.='<INPUT TYPE="submit" name="search" value="Go">'; 00102 //$r.="</FORM>"; 00103 $r.="<div>"; 00104 echo $r; @@ -116,20 +116,20 @@ 00111 if ( $e_type == 'deb' ) { 00112 $get='jrn_def_fiche_deb'; 00113 $list_fiche=get_list_fiche($cn,$get,$_GET['p_jrn']); -00114 $sql="select * from vw_fiche_attr where fd_id in ( $list_fiche )"; +00114 $sql="select * from vw_fiche_attr where fd_id in ( $list_fiche )"; 00115 } 00116 elseif ( $e_type == 'cred' ) { 00117 $get='jrn_def_fiche_cred'; 00118 $list_fiche=get_list_fiche($cn,$get,$_GET['p_jrn']); -00119 $sql="select * from vw_fiche_attr where fd_id in ( $list_fiche )"; +00119 $sql="select * from vw_fiche_attr where fd_id in ( $list_fiche )"; 00120 } 00124 elseif ( $e_type == 'all' ) { -00125 $sql="select * from vw_fiche_attr where true"; +00125 $sql="select * from vw_fiche_attr where true"; 00126 } 00127 // if e_type contains a list of value for filtering on fiche_def_ref.frd_id 00128 else{ 00129 $list_fiche=$e_type; -00130 $sql="select * from vw_fiche_attr where frd_id in ( $list_fiche )"; +00130 $sql="select * from vw_fiche_attr where frd_id in ( $list_fiche )"; 00131 // $sql="select * from vw_fiche_attr "; 00132 } 00133 // e_fic_search contains the pattern @@ -162,7 +162,7 @@ 00160 $class="odd"; 00161 $text=FormatString($row['vw_name']); 00162 $r.="<span class=\"$class\">"; -00163 $r.=sprintf ('<input name="%s" type="button" onClick="'."SetData('%s','%s','%s','%s','%s','%s','%s')".'" value="%s">', +00163 $r.=sprintf ('<input name="%s" type="button" onClick="'."SetData('%s','%s','%s','%s','%s','%s','%s')".'" value="%s">', 00164 "select" . $i, 00165 $e_name, 00166 $row['quick_code'] , @@ -189,7 +189,7 @@ 00187 00188 html_page_stop(); 00189 ?> -
                    Generated on Mon Jun 26 20:13:15 2006 for phpcompta by  +
                    Generated on Tue Jun 27 01:39:27 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 27db52c1d..e786b4a72 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 Mon Jun 26 20:13:16 2006 for phpcompta by  +
                    Generated on Tue Jun 27 01:39:29 2006 for phpcompta by  doxygen 1.4.4
                    diff --git a/doc/developper/html/files.html b/doc/developper/html/files.html index 4f45891f3..0831d5dcb 100644 --- a/doc/developper/html/files.html +++ b/doc/developper/html/files.html @@ -143,7 +143,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 Mon Jun 26 20:13:14 2006 for phpcompta by  +
                    Generated on Tue Jun 27 01:39:26 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 3646534a2..9b2bd4111 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 Mon Jun 26 20:13:15 2006 for phpcompta by  +
                    Generated on Tue Jun 27 01:39:27 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 953d70787..4511ef08c 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 Mon Jun 26 20:13:16 2006 for phpcompta by  +
                    Generated on Tue Jun 27 01:39:29 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 c780b311b..9f410c242 100644 --- a/doc/developper/html/form__csv_8php-source.html +++ b/doc/developper/html/form__csv_8php-source.html @@ -90,11 +90,11 @@ 00084 printf("\n"); 00085 // Display value for each line 00086 //-- -00087 $a=0; +00087 $a=0; 00088 foreach ($array as $e ) 00089 { -00090 print $periode_name[$a]; -00091 $a++; +00090 print $periode_name[$a]; +00091 $a++; 00092 foreach ($e as $elt) 00093 { 00094 printf(";%s",$elt['montant']); @@ -104,7 +104,7 @@ 00098 } 00099 exit; 00100 ?> -
                    Generated on Mon Jun 26 20:13:15 2006 for phpcompta by  +
                    Generated on Tue Jun 27 01:39:27 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 171e18031..142ec4c5c 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 Mon Jun 26 20:13:16 2006 for phpcompta by  +
                    Generated on Tue Jun 27 01:39:29 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 851b2bbf1..41d3316a5 100644 --- a/doc/developper/html/form__inc_8php-source.html +++ b/doc/developper/html/form__inc_8php-source.html @@ -55,9 +55,9 @@ 00056 echo "<FORM ACTION=\"form.php\" METHOD=\"POST\">"; 00057 printf ("Nom du rapport : <INPUT TYPE=\"TEXT\" NAME=\"form_nom\" VALUE=\"%s\">", 00058 $form_nom); -00059 printf ('<INPUT TYPE="HIDDEN" NAME="line" value="%s"', +00059 printf ('<INPUT TYPE="HIDDEN" NAME="line" value="%s"', 00060 $p_line); -00061 if ( isset ($fr_id)) printf ('<INPUT TYPE="HIDDEN" NAME="fr_id" value="%s"', +00061 if ( isset ($fr_id)) printf ('<INPUT TYPE="HIDDEN" NAME="fr_id" value="%s"', 00062 $fr_id); 00063 00064 echo '<TABLE>'; @@ -94,12 +94,12 @@ 00095 } 00096 echo "</TABLE>"; 00097 if ( isset($fr_id)){ -00098 echo '<INPUT TYPE="submit" value="Enregistre" name="update">'; +00098 echo '<INPUT TYPE="submit" value="Enregistre" name="update">'; 00099 }else { -00100 echo '<INPUT TYPE="submit" value="Enregistre" name="record">'; +00100 echo '<INPUT TYPE="submit" value="Enregistre" name="record">'; 00101 } -00102 echo '<INPUT TYPE="submit" value="Ajoute une ligne" name="add_line">'; -00103 echo '<INPUT TYPE="submit" value="Efface ce rapport" name="del_form">'; +00102 echo '<INPUT TYPE="submit" value="Ajoute une ligne" name="add_line">'; +00103 echo '<INPUT TYPE="submit" value="Efface ce rapport" name="del_form">'; 00104 00105 echo "</FORM>"; 00106 @@ -185,7 +185,7 @@ 00239 ${"form$i"}="!!!!!!! FORMULE INVALIDE ".${"form$i"}; 00240 00241 ${"form$i"}=(${"form$i"}==null)?"null":"'".${"form$i"}."'"; -00242 $sql=sprintf("insert into form (fo_fr_id, +00242 $sql=sprintf("insert into form (fo_fr_id, 00243 fo_pos, 00244 fo_label, 00245 fo_formula) values @@ -215,7 +215,7 @@ 00276 return; 00277 } 00278 $form_nom=(FormatString($form_nom)==null)?"NoName":FormatString($form_nom); -00279 $sql="insert into formdef (fr_label) values ('".$form_nom."')"; +00279 $sql="insert into formdef (fr_label) values ('".$form_nom."')"; 00280 $Res=ExecSql($p_cn,$sql); 00281 $n=GetSequence($p_cn,"s_formdef"); 00282 @@ -226,7 +226,7 @@ 00287 // ${"form$i"}=(${"form$i"}==null)?${"form$i"}:"'".${"form$i"}."'"; 00288 ${"form$i"}=(${"form$i"}==null)?"null":"'".${"form$i"}."'"; 00289 CheckFormula(${"form$i"}); -00290 $sql=sprintf("insert into form (fo_fr_id, +00290 $sql=sprintf("insert into form (fo_fr_id, 00291 fo_pos, 00292 fo_label, 00293 fo_formula) values @@ -242,7 +242,7 @@ 00303 } 00304 00305 ?> -
                    Generated on Mon Jun 26 20:13:15 2006 for phpcompta by  +
                    Generated on Tue Jun 27 01:39:28 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 89c9e71b7..8b87b2e6e 100644 --- a/doc/developper/html/form__inc_8php.html +++ b/doc/developper/html/form__inc_8php.html @@ -84,7 +84,7 @@ Add a report.

                    Definition at line 267 of file form_inc.php.

                    -References $n, $Res, $sql, CheckFormula(), echo_debug(), echo_error(), ExecSql(), FormatString(), and GetSequence(). +References $n, $Res, $sql, CheckFormula(), echo_debug(), echo_error(), ExecSql(), FormatString(), and GetSequence().

                    @@ -189,7 +189,7 @@ parm :

                    Parameters:

                    Definition at line 34 of file form_inc.php.

                    -References $search, echo_debug(), name, size, and value. +References $search, echo_debug(), name, size, and value.

                    Referenced by ViewForm(). @@ -398,7 +398,7 @@ Update a report.

                    Definition at line 208 of file form_inc.php.

                    -References $i, $o, $Res, $sql, CheckFormula(), echo_debug(), ExecSql(), and FormatString(). +References $i, $o, $Res, $sql, CheckFormula(), echo_debug(), ExecSql(), and FormatString().

                    @@ -457,7 +457,7 @@ Definition at line 117$array, $l_line, EncodeForm(), GetDataForm(), GetFormName(), and GetNumberLine(). -


                    Generated on Mon Jun 26 20:13:16 2006 for phpcompta by  +
                    Generated on Tue Jun 27 01:39:29 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 4fb631b98..45a696466 100644 --- a/doc/developper/html/form__pdf_8php-source.html +++ b/doc/developper/html/form__pdf_8php-source.html @@ -94,11 +94,11 @@ 00089 } 00090 else 00091 { // With Step -00092 $a=0; +00092 $a=0; 00093 foreach ($array as $e) 00094 { 00095 $pdf->ezText($periode_name[$a],25); -00096 $a++; +00096 $a++; 00097 $pdf->ezTable($e, 00098 array ('desc'=>'Description', 00099 'montant' => 'Montant' @@ -111,7 +111,7 @@ 00106 $pdf->ezStream(); 00107 00108 ?> -
                    Generated on Mon Jun 26 20:13:15 2006 for phpcompta by  +
                    Generated on Tue Jun 27 01:39:27 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 46ec433f9..b55e63819 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 Mon Jun 26 20:13:16 2006 for phpcompta by  +
                    Generated on Tue Jun 27 01:39:29 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 518f9a1c6..68c0befc6 100644 --- a/doc/developper/html/fortis__be_8inc_8php-source.html +++ b/doc/developper/html/fortis__be_8inc_8php-source.html @@ -73,7 +73,7 @@ 00068 00069 $detail=str_replace("\"","",$detail); 00070 -00071 $sql = "select * from import_tmp +00071 $sql = "select * from import_tmp 00072 where 00073 code='".$code."' and 00074 num_compte='".$num_compte."'"; @@ -116,7 +116,7 @@ 00111 } // file is read 00112 fclose($handle); 00113 ?> -
                    Generated on Mon Jun 26 20:13:15 2006 for phpcompta by  +
                    Generated on Tue Jun 27 01:39:28 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 23522783b..970c2a7d6 100644 --- a/doc/developper/html/fortis__be_8inc_8php.html +++ b/doc/developper/html/fortis__be_8inc_8php.html @@ -65,7 +65,7 @@ Definition in file fortis_

                    Definition at line 54 of file fortis_be.inc.php.

                    -Referenced by DefModele(), widget::IOValue(), and UpdateJrn(). +Referenced by DefModele(), widget::IOValue(), and UpdateJrn().

                    @@ -301,7 +301,7 @@ Definition at line Definition at line 71 of file fortis_be.inc.php. -


                    Generated on Mon Jun 26 20:13:16 2006 for phpcompta by  +
                    Generated on Tue Jun 27 01:39:29 2006 for phpcompta by  doxygen 1.4.4
                    diff --git a/doc/developper/html/functions.html b/doc/developper/html/functions.html index 4f3970621..9fcc66f35 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 : Supplier, Customer, Admin
                  • $wordSpaceAdjust : Cpdf
                  • $y : Cezpdf
                  -
                  Generated on Mon Jun 26 20:13:16 2006 for phpcompta by  +
                  Generated on Tue Jun 27 01:39:30 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 352e406c9..5810045e9 100644 --- a/doc/developper/html/functions_0x61.html +++ b/doc/developper/html/functions_0x61.html @@ -13,7 +13,7 @@ Here is a list of all struct and union fields with links to the structures/union

                  - a -

                  • a_ref() -: Document
                  • AccessJrn() +: Document
                  • AccessJrn() : cl_user
                  • action() : action
                  • addContent() : Cpdf
                  • addDestination() @@ -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 Mon Jun 26 20:13:16 2006 for phpcompta by  +
                  Generated on Tue Jun 27 01:39:30 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 52b928758..5b108ab56 100644 --- a/doc/developper/html/functions_0x62.html +++ b/doc/developper/html/functions_0x62.html @@ -14,8 +14,8 @@ Here is a list of all struct and union fields with links to the structures/union

                  - b -

                  -
                  Generated on Mon Jun 26 20:13:16 2006 for phpcompta by  +: fiche, Document
                +
                Generated on Tue Jun 27 01:39:30 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 1aa2e669c..590cee64a 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 Mon Jun 26 20:13:16 2006 for phpcompta by  +
              Generated on Tue Jun 27 01:39:30 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 aeaf67786..90a4fa029 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 Mon Jun 26 20:13:16 2006 for phpcompta by  +
            Generated on Tue Jun 27 01:39:30 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 90e301834..4347d75ca 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 Mon Jun 26 20:13:16 2006 for phpcompta by  +
          Generated on Tue Jun 27 01:39:30 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 ca67dabeb..6fc81ae27 100644 --- a/doc/developper/html/functions_0x66.html +++ b/doc/developper/html/functions_0x66.html @@ -20,7 +20,7 @@ Here is a list of all struct and union fields with links to the structures/union : Cpdf
        • filterText() : Cpdf
        • form() : Document_modele
        -
        Generated on Mon Jun 26 20:13:16 2006 for phpcompta by  +
        Generated on Tue Jun 27 01:39:30 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 d446f82ab..6dc24cbed 100644 --- a/doc/developper/html/functions_0x67.html +++ b/doc/developper/html/functions_0x67.html @@ -13,9 +13,9 @@ Here is a list of all struct and union fields with links to the structures/union

        - g -

        -
        Generated on Mon Jun 26 20:13:16 2006 for phpcompta by  +
        Generated on Tue Jun 27 01:39:30 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 9515e7a00..578e74667 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 Mon Jun 26 20:13:16 2006 for phpcompta by  +
        Generated on Tue Jun 27 01:39:30 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 6e7d14b0e..b9c07a0ac 100644 --- a/doc/developper/html/functions_0x69.html +++ b/doc/developper/html/functions_0x69.html @@ -18,7 +18,7 @@ Here is a list of all struct and union fields with links to the structures/union : fiche
      • insert_default_global_pref() : cl_user
      • IOValue() : widget
      -
      Generated on Mon Jun 26 20:13:16 2006 for phpcompta by  +
      Generated on Tue Jun 27 01:39:30 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 a0115f999..31dee4e42 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 Mon Jun 26 20:13:16 2006 for phpcompta by  +
      Generated on Tue Jun 27 01:39:30 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 d54859688..1748ade62 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 Mon Jun 26 20:13:16 2006 for phpcompta by  +
    Generated on Tue Jun 27 01:39:30 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 6490fe1f2..03e70dddd 100644 --- a/doc/developper/html/functions_0x6d.html +++ b/doc/developper/html/functions_0x6d.html @@ -14,9 +14,9 @@ Here is a list of all struct and union fields with links to the structures/union

    - m -

    -
    Generated on Mon Jun 26 20:13:16 2006 for phpcompta by  +
    Generated on Tue Jun 27 01:39:30 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 d685533df..8e8388e2d 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 Mon Jun 26 20:13:16 2006 for phpcompta by  +
Generated on Tue Jun 27 01:39:30 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 b6513daf4..b67415e29 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 Mon Jun 26 20:13:16 2006 for phpcompta by  +
    Generated on Tue Jun 27 01:39:30 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 8d770fba0..07816e525 100644 --- a/doc/developper/html/functions_0x70.html +++ b/doc/developper/html/functions_0x70.html @@ -14,7 +14,7 @@ Here is a list of all struct and union fields with links to the structures/union

    - p -

    • parm_code() : parm_code
    • ParseDocument() -: Document
    • partEllipse() +: Document
    • partEllipse() : Cpdf
    • polygon() : Cpdf
    • poste() : poste
    • PRVT_getBytes() @@ -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 Mon Jun 26 20:13:16 2006 for phpcompta by  +
    Generated on Tue Jun 27 01:39:30 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 8b2dfda0c..7f20f5324 100644 --- a/doc/developper/html/functions_0x72.html +++ b/doc/developper/html/functions_0x72.html @@ -15,13 +15,13 @@ Here is a list of all struct and union fields with links to the structures/union
  • rapport() : rapport
  • rectangle() : Cpdf
  • remove() -: fiche, Document
  • reopenObject() +: fiche, Document
  • reopenObject() : Cpdf
  • Replace() -: Document
  • Reset() +: Document
  • Reset() : widget
  • restoreState() : Cpdf
  • rf() : Creport -
    Generated on Mon Jun 26 20:13:16 2006 for phpcompta by  +
    Generated on Tue Jun 27 01:39:30 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 df9115b0f..63cef6f71 100644 --- a/doc/developper/html/functions_0x73.html +++ b/doc/developper/html/functions_0x73.html @@ -14,12 +14,12 @@ Here is a list of all struct and union fields with links to the structures/union

    - s -

    -
    Generated on Mon Jun 26 20:13:16 2006 for phpcompta by  +
    Generated on Tue Jun 27 01:39:30 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 739645ba1..6f725ca21 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 Mon Jun 26 20:13:16 2006 for phpcompta by  +
    Generated on Tue Jun 27 01:39:30 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 0a97946de..7cd681108 100644 --- a/doc/developper/html/functions_0x75.html +++ b/doc/developper/html/functions_0x75.html @@ -13,12 +13,13 @@ Here is a list of all struct and union fields with links to the structures/union

    - u -

    -
    Generated on Mon Jun 26 20:13:16 2006 for phpcompta by  +: Document +
    Generated on Tue Jun 27 01:39:30 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 fbe40e917..31d9e42a7 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 Mon Jun 26 20:13:16 2006 for phpcompta by  +
    Generated on Tue Jun 27 01:39:30 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 6f6242cb7..2cb4b7fd2 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 Mon Jun 26 20:13:16 2006 for phpcompta by  +
    Generated on Tue Jun 27 01:39:30 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 3163e9d31..bb969770d 100644 --- a/doc/developper/html/functions_func.html +++ b/doc/developper/html/functions_func.html @@ -13,7 +13,7 @@

    - a -

    - c -

    - g -

    -
    Generated on Mon Jun 26 20:13:16 2006 for phpcompta by  +
    Generated on Tue Jun 27 01:39:30 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals.html b/doc/developper/html/globals.html index d61ed43f9..03e8e49ef 100644 --- a/doc/developper/html/globals.html +++ b/doc/developper/html/globals.html @@ -14,12 +14,12 @@ Here is a list of all functions, variables, defines, enums, and typedefs with li

    - $ -

    -
    Generated on Mon Jun 26 20:13:18 2006 for phpcompta by  +
    Generated on Tue Jun 27 01:39:35 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 a6254cd61..4ff1ee44e 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 Mon Jun 26 20:13:18 2006 for phpcompta by  +
    Generated on Tue Jun 27 01:39:35 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 ea8339a3e..3c18d2966 100644 --- a/doc/developper/html/globals_0x61.html +++ b/doc/developper/html/globals_0x61.html @@ -17,10 +17,10 @@ Here is a list of all functions, variables, defines, enums, and typedefs with li : fiche_inc.php
  • AddForm() : form_inc.php
  • AddModele() : fiche_inc.php
  • ag_comment -: action.inc.php
  • ag_id +: action.inc.php
  • ag_id : facture.inc.php, action.inc.php
  • ag_timestamp -: action.inc.php
  • ag_title -: action.inc.php
  • ALL +: action.inc.php
  • ag_title +: action.inc.php
  • ALL : constant.php
  • ALL_FICHE_DEF_REF : constant.php
  • AlterSequence() : postgres.php
  • AnalyzeError() @@ -43,7 +43,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 Mon Jun 26 20:13:18 2006 for phpcompta by  +
    Generated on Tue Jun 27 01:39:35 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 e76af6535..9b2c7399f 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 Mon Jun 26 20:13:18 2006 for phpcompta by  +
    Generated on Tue Jun 27 01:39:35 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 f6f9b613c..c5ee1f4af 100644 --- a/doc/developper/html/globals_0x63.html +++ b/doc/developper/html/globals_0x63.html @@ -32,7 +32,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 Mon Jun 26 20:13:18 2006 for phpcompta by  +
    Generated on Tue Jun 27 01:39:35 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 6105991b4..226c97bf8 100644 --- a/doc/developper/html/globals_0x64.html +++ b/doc/developper/html/globals_0x64.html @@ -12,8 +12,9 @@ Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:

    - d -

    -
    Generated on Mon Jun 26 20:13:18 2006 for phpcompta by  +: action.inc.php +
    Generated on Tue Jun 27 01:39:35 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 266df1d21..9caba5ddb 100644 --- a/doc/developper/html/globals_0x65.html +++ b/doc/developper/html/globals_0x65.html @@ -29,9 +29,9 @@ 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, 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
  • extra -: contact.inc.php, action.inc.php
  • extra2 -: action.inc.php -
    Generated on Mon Jun 26 20:13:18 2006 for phpcompta by  +: contact.inc.php, bank.inc.php, action.inc.php
  • extra2 +: action.inc.php +
    Generated on Tue Jun 27 01:39:35 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 e8b8df954..e7159e656 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 Mon Jun 26 20:13:18 2006 for phpcompta by  +
    Generated on Tue Jun 27 01:39:35 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 0fc4786ba..bf1bc22ae 100644 --- a/doc/developper/html/globals_0x67.html +++ b/doc/developper/html/globals_0x67.html @@ -13,7 +13,7 @@ Here is a list of all functions, variables, defines, enums, and typedefs with li

    - g -

    -
    Generated on Mon Jun 26 20:13:18 2006 for phpcompta by  +
    Generated on Tue Jun 27 01:39:35 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 8a7bbb410..8a1792105 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 Mon Jun 26 20:13:18 2006 for phpcompta by  +
    Generated on Tue Jun 27 01:39:35 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 2084b3f35..29f6c216b 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 Mon Jun 26 20:13:18 2006 for phpcompta by  +
    Generated on Tue Jun 27 01:39:35 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 660b86421..d497bb15b 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 Mon Jun 26 20:13:18 2006 for phpcompta by  +
    Generated on Tue Jun 27 01:39:35 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 a0287d8e5..677e7e4fe 100644 --- a/doc/developper/html/globals_0x6c.html +++ b/doc/developper/html/globals_0x6c.html @@ -13,11 +13,11 @@ Here is a list of all functions, variables, defines, enums, and typedefs with li

    - l -

    -
    Generated on Mon Jun 26 20:13:18 2006 for phpcompta by  +
    Generated on Tue Jun 27 01:39:35 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 e4a52c285..82d645bc0 100644 --- a/doc/developper/html/globals_0x6d.html +++ b/doc/developper/html/globals_0x6d.html @@ -15,7 +15,7 @@ Here is a list of all functions, variables, defines, enums, and typedefs with li
  • make_array() : ac_common.php
  • MakeListingVat() : decla.BE.inc.php
  • md_id -: facture.inc.php, document_modele.inc.php, action.inc.php
  • md_name +: facture.inc.php, document_modele.inc.php, action.inc.php
  • md_name : document_modele.inc.php
  • md_type : document_modele.inc.php
  • MENU_FACT : constant.php
  • MENU_FICHE @@ -34,7 +34,7 @@ Here is a list of all functions, variables, defines, enums, and typedefs with li : parametre.php
  • MY_TEL : parametre.php
  • MY_TVA : parametre.php -
    Generated on Mon Jun 26 20:13:18 2006 for phpcompta by  +
    Generated on Tue Jun 27 01:39:35 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 a0df94116..369f2e19c 100644 --- a/doc/developper/html/globals_0x6e.html +++ b/doc/developper/html/globals_0x6e.html @@ -13,7 +13,7 @@ Here is a list of all functions, variables, defines, enums, and typedefs with li

    - n -

    -
    Generated on Mon Jun 26 20:13:18 2006 for phpcompta by  +
    Generated on Tue Jun 27 01:39:35 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 85206cd75..aaabbd746 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 Mon Jun 26 20:13:18 2006 for phpcompta by  +
    Generated on Tue Jun 27 01:39:35 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 805df8c38..74f9eeb6c 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 -
    Generated on Mon Jun 26 20:13:18 2006 for phpcompta by  +
    Generated on Tue Jun 27 01:39:35 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 6278d707c..9e4ada540 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 Mon Jun 26 20:13:18 2006 for phpcompta by  +
    Generated on Tue Jun 27 01:39:35 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 10843801e..be8a18374 100644 --- a/doc/developper/html/globals_0x73.html +++ b/doc/developper/html/globals_0x73.html @@ -16,9 +16,9 @@ Here is a list of all functions, variables, defines, enums, and typedefs with li : postgres.php
  • SaveModeleName() : fiche_inc.php
  • SECU : constant.php
  • selected -: user_action_ven.php, user_action_ods.php, user_action_gl.php, user_action_fin.php, user_action_ach.php, impress_jrn.php, impress_fiche.php, facture.inc.php, depense.inc.php, bank.inc.php, action.inc.php
  • SetInternalCode() +: user_action_ven.php, user_action_ods.php, user_action_gl.php, user_action_fin.php, user_action_ach.php, impress_jrn.php, impress_fiche.php, facture.inc.php, depense.inc.php, bank.inc.php, action.inc.php
  • SetInternalCode() : jrn.php
  • ShowActionList() -: action.inc.php
  • ShowDevise() +: action.inc.php
  • ShowDevise() : preference.php
  • ShowDossier() : postgres.php
  • ShowFormTransfert() : import_inc.php
  • ShowItem() @@ -47,7 +47,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 Mon Jun 26 20:13:18 2006 for phpcompta by  +
    Generated on Tue Jun 27 01:39:35 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 ae690a7a8..f8d9e9f12 100644 --- a/doc/developper/html/globals_0x74.html +++ b/doc/developper/html/globals_0x74.html @@ -16,7 +16,7 @@ Here is a list of all functions, variables, defines, enums, and typedefs with li : parametre.php, ecrit_ouv.php, impress_rapport.php, impress_poste.php, impress_listing_client.php, impress_jrn.php, impress_bilan.php, balance.php
  • template_dir : test_smarty.php
  • TransferCSV() : import_inc.php -
    Generated on Mon Jun 26 20:13:18 2006 for phpcompta by  +
    Generated on Tue Jun 27 01:39:35 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 4d165a907..7e5cb9082 100644 --- a/doc/developper/html/globals_0x75.html +++ b/doc/developper/html/globals_0x75.html @@ -21,7 +21,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 Mon Jun 26 20:13:18 2006 for phpcompta by  +
    Generated on Tue Jun 27 01:39:35 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 16d84074d..ef00f7917 100644 --- a/doc/developper/html/globals_0x76.html +++ b/doc/developper/html/globals_0x76.html @@ -13,7 +13,7 @@ Here is a list of all functions, variables, defines, enums, and typedefs with li

    - v -

    -
    Generated on Mon Jun 26 20:13:18 2006 for phpcompta by  +
    Generated on Tue Jun 27 01:39:35 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 41cf976d5..f848544b5 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 Mon Jun 26 20:13:18 2006 for phpcompta by  +
    Generated on Tue Jun 27 01:39:35 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 01d8e502f..c9ff70be5 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 Mon Jun 26 20:13:18 2006 for phpcompta by  +
    Generated on Tue Jun 27 01:39:35 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 a6beba143..ad43dff29 100644 --- a/doc/developper/html/globals_enum.html +++ b/doc/developper/html/globals_enum.html @@ -134,7 +134,7 @@

    - y -

    -
    Generated on Mon Jun 26 20:13:18 2006 for phpcompta by  +
    Generated on Tue Jun 27 01:39:35 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 f2b36c6b9..9dc14b209 100644 --- a/doc/developper/html/globals_func.html +++ b/doc/developper/html/globals_func.html @@ -188,7 +188,7 @@ : postgres.php
  • SaveModeleName() : fiche_inc.php
  • SetInternalCode() : jrn.php
  • ShowActionList() -: action.inc.php
  • ShowDevise() +: action.inc.php
  • ShowDevise() : preference.php
  • ShowDossier() : postgres.php
  • ShowFormTransfert() : import_inc.php
  • ShowItem() @@ -241,7 +241,7 @@

    - w -

    -
    Generated on Mon Jun 26 20:13:18 2006 for phpcompta by  +
    Generated on Tue Jun 27 01:39:35 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 dd762c67b..09fd0b655 100644 --- a/doc/developper/html/globals_vars.html +++ b/doc/developper/html/globals_vars.html @@ -14,12 +14,12 @@

    - $ -

    -
    Generated on Mon Jun 26 20:13:18 2006 for phpcompta by  +
    Generated on Tue Jun 27 01:39:35 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 702d9fb3f..b2ff83ef9 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 Mon Jun 26 20:13:18 2006 for phpcompta by  +
    Generated on Tue Jun 27 01:39:35 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 index 0753fa82d..8d1a4fefc 100644 --- a/doc/developper/html/globals_vars_0x61.html +++ b/doc/developper/html/globals_vars_0x61.html @@ -13,11 +13,11 @@

    - a -

    -
    Generated on Mon Jun 26 20:13:18 2006 for phpcompta by  +: action.inc.php
  • ag_title +: action.inc.php +
    Generated on Tue Jun 27 01:39:35 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 4b0db52d5..e4dee7c6d 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 Mon Jun 26 20:13:18 2006 for phpcompta by  +
    Generated on Tue Jun 27 01:39:35 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 e238ea46b..2f882a09b 100644 --- a/doc/developper/html/globals_vars_0x63.html +++ b/doc/developper/html/globals_vars_0x63.html @@ -16,7 +16,7 @@ : test_smarty.php
  • compile_dir : test_smarty.php
  • config_dir : test_smarty.php -
    Generated on Mon Jun 26 20:13:18 2006 for phpcompta by  +
    Generated on Tue Jun 27 01:39:35 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 983478d52..34f00c428 100644 --- a/doc/developper/html/globals_vars_0x64.html +++ b/doc/developper/html/globals_vars_0x64.html @@ -12,11 +12,12 @@

    - d -

    -
    Generated on Mon Jun 26 20:13:18 2006 for phpcompta by  +: action.inc.php +
    Generated on Tue Jun 27 01:39:35 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 51b906184..226355755 100644 --- a/doc/developper/html/globals_vars_0x65.html +++ b/doc/developper/html/globals_vars_0x65.html @@ -15,9 +15,9 @@
  • 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, 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
  • extra -: contact.inc.php, action.inc.php
  • extra2 -: action.inc.php -
    Generated on Mon Jun 26 20:13:18 2006 for phpcompta by  +: contact.inc.php, bank.inc.php, action.inc.php
  • extra2 +: action.inc.php +
    Generated on Tue Jun 27 01:39:35 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 912bb51f5..c0d2e4641 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 Mon Jun 26 20:13:18 2006 for phpcompta by  +
    Generated on Tue Jun 27 01:39:35 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 c84e91a06..8c0bebefd 100644 --- a/doc/developper/html/globals_vars_0x68.html +++ b/doc/developper/html/globals_vars_0x68.html @@ -14,7 +14,7 @@

    - h -

    -
    Generated on Mon Jun 26 20:13:18 2006 for phpcompta by  +
    Generated on Tue Jun 27 01:39:35 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 6991300fa..6b6559dcf 100644 --- a/doc/developper/html/globals_vars_0x69.html +++ b/doc/developper/html/globals_vars_0x69.html @@ -14,7 +14,7 @@

    - i -

    -
    Generated on Mon Jun 26 20:13:18 2006 for phpcompta by  +
    Generated on Tue Jun 27 01:39:35 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 6dcc99ce6..9873fced8 100644 --- a/doc/developper/html/globals_vars_0x6c.html +++ b/doc/developper/html/globals_vars_0x6c.html @@ -13,9 +13,9 @@

    - l -

    -
    Generated on Mon Jun 26 20:13:18 2006 for phpcompta by  +
    Generated on Tue Jun 27 01:39:35 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 fe4232af1..33fdca810 100644 --- a/doc/developper/html/globals_vars_0x6d.html +++ b/doc/developper/html/globals_vars_0x6d.html @@ -13,7 +13,7 @@

    - m -

    -
    Generated on Mon Jun 26 20:13:18 2006 for phpcompta by  +
    Generated on Tue Jun 27 01:39:35 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 5780a752d..149b2a094 100644 --- a/doc/developper/html/globals_vars_0x6e.html +++ b/doc/developper/html/globals_vars_0x6e.html @@ -13,8 +13,8 @@

    - n -

    -
    Generated on Mon Jun 26 20:13:18 2006 for phpcompta by  +: ecrit_ouv.php, user_action_ven.php, user_action_ods.php, user_action_gl.php, user_action_fin.php, user_action_ach.php, tva.inc.php, supplier.inc.php, poste.inc.php, facture.inc.php, depense.inc.php, contact.inc.php, client.inc.php, bank.inc.php, admin.inc.php, action.inc.php +
    Generated on Tue Jun 27 01:39:35 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 5a0f7e051..06b88da18 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 -
    Generated on Mon Jun 26 20:13:18 2006 for phpcompta by  +
    Generated on Tue Jun 27 01:39:35 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 909c1d696..534458da8 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 Mon Jun 26 20:13:18 2006 for phpcompta by  +
    Generated on Tue Jun 27 01:39:35 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 808ed155c..231fa37c6 100644 --- a/doc/developper/html/globals_vars_0x73.html +++ b/doc/developper/html/globals_vars_0x73.html @@ -13,11 +13,11 @@

    - s -

    -
    Generated on Mon Jun 26 20:13:18 2006 for phpcompta by  +
    Generated on Tue Jun 27 01:39:35 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 7ebeb5b89..113cb88a8 100644 --- a/doc/developper/html/globals_vars_0x74.html +++ b/doc/developper/html/globals_vars_0x74.html @@ -15,7 +15,7 @@
  • table : parametre.php, ecrit_ouv.php, impress_rapport.php, impress_poste.php, impress_listing_client.php, impress_jrn.php, impress_bilan.php, balance.php
  • template_dir : test_smarty.php -
    Generated on Mon Jun 26 20:13:18 2006 for phpcompta by  +
    Generated on Tue Jun 27 01:39:35 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 0591eaeca..e7b5c91ad 100644 --- a/doc/developper/html/globals_vars_0x76.html +++ b/doc/developper/html/globals_vars_0x76.html @@ -13,8 +13,8 @@

    - v -

    -
    Generated on Mon Jun 26 20:13:18 2006 for phpcompta by  +: ecrit_ouv.php, user_action_ven.php, user_action_ods.php, user_action_gl.php, user_action_fin.php, user_action_ach.php, tva.inc.php, supplier.inc.php, poste.inc.php, facture.inc.php, depense.inc.php, contact.inc.php, client.inc.php, bank.inc.php, admin.inc.php, action.inc.php +
    Generated on Tue Jun 27 01:39:35 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 41da95a67..158ddce3e 100644 --- a/doc/developper/html/globals_vars_0x77.html +++ b/doc/developper/html/globals_vars_0x77.html @@ -14,7 +14,7 @@

    - w -

    -
    Generated on Mon Jun 26 20:13:18 2006 for phpcompta by  +
    Generated on Tue Jun 27 01:39:35 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/hierarchy.html b/doc/developper/html/hierarchy.html index b41e99601..010ca6cff 100644 --- a/doc/developper/html/hierarchy.html +++ b/doc/developper/html/hierarchy.html @@ -36,7 +36,7 @@
  • rapport
  • widget -
    Generated on Mon Jun 26 20:13:16 2006 for phpcompta by  +
    Generated on Tue Jun 27 01:39:30 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 fb2e8aa6f..1f3b26c9d 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 Mon Jun 26 20:13:15 2006 for phpcompta by  +
    Generated on Tue Jun 27 01:39:27 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 2ef7431e2..a66f978cc 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 Mon Jun 26 20:13:16 2006 for phpcompta by  +
    Generated on Tue Jun 27 01:39:29 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 3b5114d48..3c14daac7 100644 --- a/doc/developper/html/import__inc_8php-source.html +++ b/doc/developper/html/import__inc_8php-source.html @@ -52,24 +52,24 @@ 00055 00056 } 00060 function UpdateCSV($p_cn, $code, $poste){ -00061 $sql = "update import_tmp set poste_comptable='".$poste."' where code='".$code."'"; +00061 $sql = "update import_tmp set poste_comptable='".$poste."' where code='".$code."'"; 00062 $Res=ExecSql($p_cn,$sql); 00063 } 00067 function VerifImport($p_cn){ -00068 $sql = "select * from import_tmp where poste_comptable='' or poste_comptable is null"; +00068 $sql = "select * from import_tmp where poste_comptable='' or poste_comptable is null"; 00069 $Res=ExecSql($p_cn,$sql); 00070 $Num=pg_NumRows($Res); 00071 echo $Num." opérations à complèter.<br/><br/>"; 00072 $i=1; 00073 while($val = pg_fetch_array($Res)){ 00074 echo '<form METHOD="POST" action="import.php?action=verif">'; -00075 echo '<input type="hidden" name="code" value="'.$val['code'].'">'; +00075 echo '<input type="hidden" name="code" value="'.$val['code'].'">'; 00076 echo '<table border="1" width="500">'; 00077 echo '<tr><td width="200">'.$val['code'].'</td><td width="200">'.$val['date_exec'].'</td><td width="100">'.$val['montant'].' EUR</td><tr/>'; 00078 echo '<tr><td height="50" colspan="3">'.$val['detail'].'</td><tr/>'; -00079 echo '<tr><td>Poste Comptable : <input type="text" size="10" name="poste"></td>'; +00079 echo '<tr><td>Poste Comptable : <input type="text" size="10" name="poste"></td>'; 00080 echo "<td>n° compte : ".$val['num_compte']."</td>"; -00081 echo '<td><input type="submit" value="modifier"></td><tr/>'; +00081 echo '<td><input type="submit" value="modifier"></td><tr/>'; 00082 echo '</table>'; 00083 echo '</FORM>'; 00084 $i++; @@ -81,12 +81,12 @@ 00093 //$periode = GetUserPeriode($p_cn,$p_user); 00094 //$periode = $p_user->GetPeriode(); 00095 // on trouve les dates frontières de cette période -00096 $sql = "select p_start,p_end from parm_periode where p_id = '".$periode."'"; +00096 $sql = "select p_start,p_end from parm_periode where p_id = '".$periode."'"; 00097 $Res=ExecSql($p_cn,$sql); 00098 $val = pg_fetch_array($Res); 00099 $start = $val['p_start']; $end = $val['p_end']; 00100 -00101 $sql = "select * from import_tmp where poste_comptable is not null and poste_comptable <> '' +00101 $sql = "select * from import_tmp where poste_comptable is not null and poste_comptable <> '' 00102 AND ok <> TRUE AND date_exec BETWEEN '".$start."' and '".$end."'"; 00103 $Res=ExecSql($p_cn,$sql); 00104 //echo "boucle: ".sizeof($Res)."<br/>"; @@ -150,7 +150,7 @@ 00174 function ShowFormTransfert($p_cn){ 00175 $w=new widget("select"); 00176 echo '<FORM METHOD="POST" action="import.php?action=import" enctype="multipart/form-data">'; -00177 echo '<INPUT TYPE="file" name="fupload" size="20"><br>'; +00177 echo '<INPUT TYPE="file" name="fupload" size="20"><br>'; 00178 // ask for the journal target 00179 $jrn=make_array ($p_cn,"select jrn_def_id,jrn_def_name from jrn_def where jrn_def_type='FIN';"); 00180 $w->label='Journal'; @@ -166,7 +166,7 @@ 00190 echo '</FORM>'; 00191 } 00192 ?> -
    Generated on Mon Jun 26 20:13:15 2006 for phpcompta by  +
    Generated on Tue Jun 27 01:39:28 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 4c21e56bd..8173528f6 100644 --- a/doc/developper/html/import__inc_8php.html +++ b/doc/developper/html/import__inc_8php.html @@ -131,7 +131,7 @@ parm : database connection

      Definition at line 174 of file import_inc.php.

      -References $jrn, $w, make_array(), METHOD, name, and size. +References $jrn, $w, make_array(), METHOD, name, and size.

      @@ -174,7 +174,7 @@ Transfert data into the ledger.

      Definition at line 90 of file import_inc.php.

      -References $_SESSION, $code, $date_exec, $end, $jrn, $Max, $montant, $poste_comptable, $r, $Res, $Res2, $seq, $sql, $start, $val, Commit(), ExecSql(), exit, InsertJrn(), InsertJrnx(), NextSequence(), Rollback(), SetInternalCode(), and StartSql(). +References $_SESSION, $code, $date_exec, $end, $jrn, $Max, $montant, $poste_comptable, $r, $Res, $Res2, $seq, $sql, $start, $val, Commit(), ExecSql(), exit, InsertJrn(), InsertJrnx(), NextSequence(), Rollback(), SetInternalCode(), and StartSql().

      @@ -224,7 +224,7 @@ Update import_tmp with the bank account.

      Definition at line 60 of file import_inc.php.

      -References $code, $Res, $sql, and ExecSql(). +References $code, $Res, $sql, and ExecSql().

      @@ -258,10 +258,10 @@ Verify the import.

      Definition at line 67 of file import_inc.php.

      -References $i, $Num, $Res, $sql, $val, ExecSql(), METHOD, name, size, table, value, and width. +References $i, $Num, $Res, $sql, $val, ExecSql(), METHOD, name, size, table, value, and width. -


      Generated on Mon Jun 26 20:13:16 2006 for phpcompta by  +
      Generated on Tue Jun 27 01:39:29 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 e3d75f97e..312371d8e 100644 --- a/doc/developper/html/impress__bilan_8php-source.html +++ b/doc/developper/html/impress__bilan_8php-source.html @@ -61,7 +61,7 @@ 00059 echo '</FORM>'; 00060 echo '</div>'; 00061 ?> -
      Generated on Mon Jun 26 20:13:15 2006 for phpcompta by  +
      Generated on Tue Jun 27 01:39:28 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 6c3644008..b4c8df90a 100644 --- a/doc/developper/html/impress__bilan_8php.html +++ b/doc/developper/html/impress__bilan_8php.html @@ -139,7 +139,7 @@ Definition at line 4

      Definition at line 32 of file impress_bilan.php.

      -Referenced by cl_user::Check(), fiche::Display(), ExecSql(), FormPeriode(), FormPeriodeMult(), Document::Generate(), poste::get(), Document_modele::Get(), Document::get(), GetJrnName(), rapport::GetName(), poste::GetName(), jrn::GetName(), GetNextFiche(), getPeriodeName(), ImpHtml(), ParseFormula(), PosteForm(), Document_modele::Save(), save_upload_document(), Document::Send(), ShowItem(), ShowMenuJrn(), and Document::Upload(). +Referenced by cl_user::Check(), fiche::Display(), ExecSql(), FormPeriode(), FormPeriodeMult(), Document::Generate(), poste::get(), Document_modele::Get(), Document::get(), GetJrnName(), rapport::GetName(), poste::GetName(), jrn::GetName(), GetNextFiche(), getPeriodeName(), ImpHtml(), ParseFormula(), PosteForm(), Document_modele::Save(), save_upload_document(), Document::Send(), ShowItem(), ShowMenuJrn(), and Document::Upload().

      @@ -244,7 +244,7 @@ Referenced by ExecuteScript() Definition at line 39 of file impress_bilan.php. -


      Generated on Mon Jun 26 20:13:16 2006 for phpcompta by  +
      Generated on Tue Jun 27 01:39:29 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 815243178..32ff932e6 100644 --- a/doc/developper/html/impress__fiche_8php-source.html +++ b/doc/developper/html/impress__fiche_8php-source.html @@ -42,14 +42,14 @@ 00033 include_once("class_poste.php"); 00034 00035 echo '<div class="u_content">'; -00036 $submit=new widget(); +00036 $submit=new widget(); 00037 $hid=new widget("hidden"); 00038 $fiche_id=new widget("hidden"); 00039 $w=new widget("select"); 00040 $fiche_def=new fiche_def($cn); 00041 00042 echo '<form method="POST" ACTION="fiche_csv.php">'. -00043 $submit->Submit('bt_csv',"Export CSV"). +00043 $submit->Submit('bt_csv',"Export CSV"). 00044 $hid->IOValue("type","fiche"). 00045 $fiche_id->IOValue("fd_id",$_REQUEST['fd_id']); 00046 if ($with_amount) { @@ -79,7 +79,7 @@ 00070 print " Jusque ".$w->IOValue('to_periode',$periode_end); 00071 00072 -00073 print $submit->Submit('bt_solde',"Avec solde"). +00073 print $submit->Submit('bt_solde',"Avec solde"). 00074 $hid->IOValue("type","fiche"). 00075 $fiche_id->IOValue("fd_id",$_REQUEST['fd_id']). 00076 $hid->IOValue("with_amount"); @@ -89,7 +89,7 @@ 00080 00081 $fiche=new fiche($cn); 00082 $e=$fiche->GetByType($fiche_def->id); -00083 $l=var_export($e,true); +00083 $l=var_export($e,true); 00084 echo_debug('impress_fiche.php',__LINE__,$l); 00085 $old=-1; 00086 echo "<TABLE class=\"result\">"; @@ -144,14 +144,14 @@ 00135 00136 $i=0; 00137 foreach ($fiche_def->all as $l_fiche) { -00138 $a[$i]=array("user_impress.php?type=fiche&fd_id=".$l_fiche->id,$l_fiche->label); +00138 $a[$i]=array("user_impress.php?type=fiche&fd_id=".$l_fiche->id,$l_fiche->label); 00139 $i++; 00140 } 00141 echo ShowItem($a,'V'); 00142 } 00143 00144 ?> -
      Generated on Mon Jun 26 20:13:15 2006 for phpcompta by  +
      Generated on Tue Jun 27 01:39:28 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 7b6bea5d4..c9c1bd287 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 66 of file impress_fiche.php. -
      Generated on Mon Jun 26 20:13:16 2006 for phpcompta by  +
      Generated on Tue Jun 27 01:39:29 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 867dbc521..0a5d41e91 100644 --- a/doc/developper/html/impress__inc_8php-source.html +++ b/doc/developper/html/impress__inc_8php-source.html @@ -56,15 +56,15 @@ 00060 echo '<FORM ACTION=send_poste_pdf.php METHOD="GET">'; 00061 } 00062 echo $periode; -00063 echo '<INPUT TYPE="HIDDEN" NAME="type" value="'.$type.'">'; -00064 echo '<INPUT TYPE="HIDDEN" NAME="action" value="'.$action.'">'; +00063 echo '<INPUT TYPE="HIDDEN" NAME="type" value="'.$type.'">'; +00064 echo '<INPUT TYPE="HIDDEN" NAME="action" value="'.$action.'">'; 00065 00066 echo $centr; 00067 00068 if ( isset($filter)) -00069 echo '<INPUT TYPE="HIDDEN" NAME="filter" value="'.$filter.'">'; +00069 echo '<INPUT TYPE="HIDDEN" NAME="filter" value="'.$filter.'">'; 00070 if ( isset ($p_id)) { -00071 echo '<INPUT TYPE="HIDDEN" NAME="p_id" value="'.$p_id.'">'; +00071 echo '<INPUT TYPE="HIDDEN" NAME="p_id" value="'.$p_id.'">'; 00072 } else { 00073 include_once("poste.php"); 00074 echo "<BR>"; @@ -72,7 +72,7 @@ 00076 echo ' <BR>Tous les postes '; 00077 echo '<INPUT TYPE="checkbox" NAME="all_poste"><BR>'; 00078 } -00079 echo '<INPUT TYPE="SUBMIT" name="print" Value="Executer">'; +00079 echo '<INPUT TYPE="SUBMIT" name="print" Value="Executer">'; 00080 00081 echo '</FORM>'; 00082 echo "</DIV>"; @@ -481,8 +481,8 @@ 00565 00566 } 00567 echo_debug('impress_inc.php',__LINE__,"Total debit $tot_deb,credit $tot_cred"); -00568 $a=array($array,$tot_deb,$tot_cred); -00569 return $a; +00568 $a=array($array,$tot_deb,$tot_cred); +00569 return $a; 00570 } 00582 function GetDataGrpt($p_cn,$p_array) 00583 { @@ -524,7 +524,7 @@ 00635 " and c_order $cmp $p_jrnx_id "); 00636 00637 if ($c_line == 0 ) { return array (0,0); } -00638 $sql="select sum(c_montant) as tot_amount ". +00638 $sql="select sum(c_montant) as tot_amount ". 00639 " from centralized ". 00640 " left join parm_periode on c_periode=p_id ". 00641 " inner join jrn on jr_grpt_id=c_grp ". @@ -548,8 +548,8 @@ 00659 $cred=$line['tot_amount']; 00660 } 00661 echo_debug('impress_inc.php',__LINE__,"MONTANT $deb,$cred"); -00662 $a=array($deb,$cred); -00663 return $a; +00662 $a=array($deb,$cred); +00663 return $a; 00664 00665 } 00666 } // Type = jrn @@ -560,7 +560,7 @@ 00671 " and c_id $cmp $p_jrnx_id "); 00672 00673 if ($c_line == 0 ) { return array (0,0); } -00674 $sql="select sum(c_montant) as tot_amount ". +00674 $sql="select sum(c_montant) as tot_amount ". 00675 " from centralized ". 00676 " left join parm_periode on c_periode=p_id ". 00677 " where ". @@ -583,8 +583,8 @@ 00694 $cred=$line['tot_amount']; 00695 } 00696 echo_debug('impress_inc.php',__LINE__,"MONTANT $deb,$cred"); -00697 $a=array($deb,$cred); -00698 return $a; +00697 $a=array($deb,$cred); +00698 return $a; 00699 } // central == 1 00700 else // Donnée non centralisée => pas de rappel 00701 { @@ -678,8 +678,8 @@ 00822 if (pg_NumRows($Res)==0){ 00823 $l_debit=0; 00824 } else { -00825 $l=pg_fetch_array($Res,0); -00826 $l_debit=$l['montant']; +00825 $l=pg_fetch_array($Res,0); +00826 $l_debit=$l['montant']; 00827 } 00828 // somme credit 00829 $Res=ExecSql($p_cn,"select sum (j_montant) as montant from @@ -687,8 +687,8 @@ 00831 if (pg_NumRows($Res)==0) { 00832 $l_credit=0; 00833 } else { -00834 $l=pg_fetch_array($Res,0); -00835 $l_credit=$l['montant']; +00834 $l=pg_fetch_array($Res,0); +00835 $l_credit=$l['montant']; 00836 } 00837 00838 if ( $l_credit==$l_debit) { @@ -738,7 +738,7 @@ 00893 } 00894 00895 ?> -
      Generated on Mon Jun 26 20:13:15 2006 for phpcompta by  +
      Generated on Tue Jun 27 01:39:28 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 e181a2a76..ee938c0a1 100644 --- a/doc/developper/html/impress__inc_8php.html +++ b/doc/developper/html/impress__inc_8php.html @@ -282,7 +282,7 @@ gen :

        Definition at line 423 of file impress_inc.php.

        -References $a, $array, $cond, $Max, $Res, $Sql, CreatePeriodeCond(), echo_debug(), and ExecSql(). +References $a, $array, $cond, $Max, $Res, $Sql, CreatePeriodeCond(), echo_debug(), and ExecSql().

        @@ -397,7 +397,7 @@ $p_label

          Definition at line 814 of file impress_inc.php.

          -References $l, $Res, and ExecSql(). +References $l, $Res, and ExecSql().

          Referenced by ImpHtml(). @@ -478,7 +478,7 @@ $p_jrnx_id jrnx.j_id

            Definition at line 616 of file impress_inc.php.

            -References $a, $Res, $sql, CountSql(), echo_debug(), and ExecSql(). +References $a, $Res, $sql, CountSql(), echo_debug(), and ExecSql().

            @@ -698,10 +698,10 @@ connection gen :

              Definition at line 36 of file impress_inc.php.

              -References $centr, echo_debug(), FormPeriodeMult(), METHOD, name, PosteForm(), and value. +References $centr, echo_debug(), FormPeriodeMult(), METHOD, name, PosteForm(), and value. -


              Generated on Mon Jun 26 20:13:16 2006 for phpcompta by  +
              Generated on Tue Jun 27 01:39:29 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 f1ab75ce8..e8db97e70 100644 --- a/doc/developper/html/impress__jrn_8php-source.html +++ b/doc/developper/html/impress__jrn_8php-source.html @@ -55,18 +55,18 @@ 00050 // var_dump($Row); 00051 } 00052 $rep=""; -00053 $submit=new widget(); +00053 $submit=new widget(); 00054 $hid=new widget("hidden"); 00055 echo '<div class="u_content">'; 00056 echo '<h2 class="info">'.$Jrn->name.'</h2>'; 00057 echo "<table>"; 00058 echo '<TR>'; 00059 echo '<TD><form method="GET" ACTION="user_impress.php">'. -00060 $submit->Submit('bt_other',"Autre journal"). +00060 $submit->Submit('bt_other',"Autre journal"). 00061 $hid->IOValue("type","jrn")."</form></TD>"; 00062 00063 echo '<TD><form method="GET" ACTION="jrn_pdf.php">'. -00064 $submit->Submit('bt_pdf',"Export PDF"). +00064 $submit->Submit('bt_pdf',"Export PDF"). 00065 $hid->IOValue("type","jrn"). 00066 $hid->IOValue("central",$p_cent). 00067 $hid->IOValue("jrn_id",$Jrn->id). @@ -76,7 +76,7 @@ 00071 00072 echo "</form></TD>"; 00073 echo '<TD><form method="GET" ACTION="jrn_csv.php">'. -00074 $submit->Submit('bt_csv',"Export CSV"). +00074 $submit->Submit('bt_csv',"Export CSV"). 00075 $hid->IOValue("type","jrn"). 00076 $hid->IOValue("central",$p_cent). 00077 $hid->IOValue("jrn_id",$Jrn->id). @@ -192,9 +192,9 @@ 00187 "); 00188 // Pour voir tout les journal ? 00189 if ( $NoPriv == 0 ) { -00190 $a=count($ret); -00191 $all=array('value'=>0,'label'=>'Grand Livre'); -00192 $ret[$a]=$all; +00190 $a=count($ret); +00191 $all=array('value'=>0,'label'=>'Grand Livre'); +00192 $ret[$a]=$all; 00193 } 00194 if ( count($ret) < 1 ) 00195 NoAccess(); @@ -221,9 +221,9 @@ 00216 $centralise->label="Depuis les journaux centralisés"; 00217 $centralise->table=1; 00218 print $centralise->IOValue('cent'); -00219 $a=array( -00220 array('value'=>0,'label'=>'Detaillé'), -00221 array('value'=>1,'label'=>'Simple') +00219 $a=array( +00220 array('value'=>0,'label'=>'Detaillé'), +00221 array('value'=>1,'label'=>'Simple') 00222 ); 00223 $w->selected=1; 00224 echo $w->IOValue('p_simple',$a,'Style d\'impression'); @@ -234,7 +234,7 @@ 00229 echo '</FORM>'; 00230 echo '</div>'; 00231 ?> -
              Generated on Mon Jun 26 20:13:15 2006 for phpcompta by  +
              Generated on Tue Jun 27 01:39:28 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 9341e4c08..be2ae177d 100644 --- a/doc/developper/html/impress__jrn_8php.html +++ b/doc/developper/html/impress__jrn_8php.html @@ -76,8 +76,8 @@ Definition in file impress_jr

              Initial value:

              array(
              -         array('value'=>0,'label'=>'Detaillé'),
              -         array('value'=>1,'label'=>'Simple')
              +         array('value'=>0,'label'=>'Detaillé'),
              +         array('value'=>1,'label'=>'Simple')
                        )
               

              @@ -158,7 +158,7 @@ Definition at line 215

              Definition at line 35 of file impress_jrn.php.

              -Referenced by action::SaveStage2(), and Cpdf::selectFont(). +Referenced by action::SaveStage2(), and Cpdf::selectFont().

              @@ -486,7 +486,7 @@ Definition at line 223 Definition at line 203 of file impress_jrn.php. -


              Generated on Mon Jun 26 20:13:16 2006 for phpcompta by  +
              Generated on Tue Jun 27 01:39:29 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 d8877b230..ca9ed20f2 100644 --- a/doc/developper/html/impress__listing__client_8php-source.html +++ b/doc/developper/html/impress__listing__client_8php-source.html @@ -55,7 +55,7 @@ 00050 "; 00051 foreach ($a_Res as $key=>$elt) { 00052 echo "<tr>". -00053 "<td>".$elt['name']."</td>". +00053 "<td>".$elt['name']."</td>". 00054 "<td>".$elt['vat_number']."</td>". 00055 "<td align=\"right\">".sprintf("% 8.2f",$elt['amount'])."</td>". 00056 "<td align=\"right\">".sprintf("% 8.2f",$elt['tva'])."</td>". @@ -89,7 +89,7 @@ 00084 echo '</div>'; 00085 00086 ?> -
              Generated on Mon Jun 26 20:13:15 2006 for phpcompta by  +
              Generated on Tue Jun 27 01:39:28 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 d7c9a048e..4fc78e4e2 100644 --- a/doc/developper/html/impress__listing__client_8php.html +++ b/doc/developper/html/impress__listing__client_8php.html @@ -213,7 +213,7 @@ Definition at line 59 of file impress_listing_client.php.

              -Referenced by fiche_def::Get(), fiche_def::GetAll(), fiche::getAttribut(), fiche_def::GetAttribut(), fiche::GetByDef(), fiche::GetByType(), and UpdateJrn(). +Referenced by fiche_def::Get(), fiche_def::GetAll(), fiche::getAttribut(), fiche_def::GetAttribut(), fiche::GetByDef(), fiche::GetByType(), action::Update(), and UpdateJrn().

              @@ -241,7 +241,7 @@ Referenced by fiche_de Definition at line 68 of file impress_listing_client.php. -


              Generated on Mon Jun 26 20:13:16 2006 for phpcompta by  +
              Generated on Tue Jun 27 01:39:30 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 5ae0eea5d..11d8a6465 100644 --- a/doc/developper/html/impress__poste_8php-source.html +++ b/doc/developper/html/impress__poste_8php-source.html @@ -42,18 +42,18 @@ 00041 ); 00042 00043 $rep=""; -00044 $submit=new widget(); +00044 $submit=new widget(); 00045 $hid=new widget("hidden"); 00046 echo '<div class="u_content">'; 00047 echo '<h2 class="info">'.$Poste->id." ".$Poste->name.'</h2>'; 00048 echo "<table >"; 00049 echo '<TR>'; 00050 echo '<TD><form method="GET" ACTION="user_impress.php">'. -00051 $submit->Submit('bt_other',"Autre poste"). +00051 $submit->Submit('bt_other',"Autre poste"). 00052 $hid->IOValue("type","poste")."</form></TD>"; 00053 00054 echo '<TD><form method="POST" ACTION="poste_pdf.php">'. -00055 $submit->Submit('bt_pdf',"Export PDF"). +00055 $submit->Submit('bt_pdf',"Export PDF"). 00056 $hid->IOValue("type","poste"). 00057 $hid->IOValue("poste_id",$Poste->id). 00058 $hid->IOValue("from_periode",$_POST['from_periode']). @@ -61,7 +61,7 @@ 00060 00061 echo "</form></TD>"; 00062 echo '<TD><form method="POST" ACTION="poste_csv.php">'. -00063 $submit->Submit('bt_csv',"Export CSV"). +00063 $submit->Submit('bt_csv',"Export CSV"). 00064 $hid->IOValue("type","poste"). 00065 $hid->IOValue("poste_id",$Poste->id). 00066 $hid->IOValue("from_periode",$_POST['from_periode']). @@ -150,7 +150,7 @@ 00149 echo '</FORM>'; 00150 echo '</div>'; 00151 ?> -
              Generated on Mon Jun 26 20:13:15 2006 for phpcompta by  +
              Generated on Tue Jun 27 01:39:28 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 98fdb1af4..ad5f1fcd3 100644 --- a/doc/developper/html/impress__poste_8php.html +++ b/doc/developper/html/impress__poste_8php.html @@ -328,7 +328,7 @@ Definition at line 1

              Definition at line 144 of file impress_poste.php.

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

              @@ -431,7 +431,7 @@ Definition at line 1 Definition at line 127 of file impress_poste.php. -


              Generated on Mon Jun 26 20:13:16 2006 for phpcompta by  +
              Generated on Tue Jun 27 01:39:30 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 2acd9acd5..1edfab2c3 100644 --- a/doc/developper/html/impress__rapport_8php-source.html +++ b/doc/developper/html/impress__rapport_8php-source.html @@ -57,7 +57,7 @@ 00056 00057 00058 $rep=""; -00059 $submit=new widget(); +00059 $submit=new widget(); 00060 $hid=new widget("hidden"); 00061 echo '<div class="u_content">'; 00062 $t=($_POST['from_periode']==$_POST['to_periode'])?"":" -> ".getPeriodeName($cn,$_POST['to_periode'],'p_end'); @@ -68,11 +68,11 @@ 00067 echo '<table >'; 00068 echo '<TR>'; 00069 echo '<TD><form method="GET" ACTION="user_impress.php">'. -00070 $submit->Submit('bt_other',"Autre Rapport"). +00070 $submit->Submit('bt_other',"Autre Rapport"). 00071 $hid->IOValue("type","rapport")."</form></TD>"; 00072 00073 echo '<TD><form method="POST" ACTION="form_pdf.php">'. -00074 $submit->Submit('bt_pdf',"Export PDF"). +00074 $submit->Submit('bt_pdf',"Export PDF"). 00075 $hid->IOValue("type","rapport"). 00076 $hid->IOValue("form_id",$Form->id). 00077 $hid->IOValue("from_periode",$_POST['from_periode']). @@ -82,7 +82,7 @@ 00081 00082 echo "</form></TD>"; 00083 echo '<TD><form method="POST" ACTION="form_csv.php">'. -00084 $submit->Submit('bt_csv',"Export CSV"). +00084 $submit->Submit('bt_csv',"Export CSV"). 00085 $hid->IOValue("type","form"). 00086 $hid->IOValue("form_id",$Form->id). 00087 $hid->IOValue("from_periode",$_POST['from_periode']). @@ -104,10 +104,10 @@ 00103 } 00104 else 00105 { -00106 $a=0; +00106 $a=0; 00107 foreach ( $array as $e) { -00108 echo '<h2 class="info">Periode : '.$periode_name[$a]."</h2>"; -00109 $a++; +00108 echo '<h2 class="info">Periode : '.$periode_name[$a]."</h2>"; +00109 $a++; 00110 ShowReportResult($e); 00111 } 00112 } @@ -150,8 +150,8 @@ 00149 print $w->IOValue('to_periode',$periode_end); 00150 print "</TR>"; 00151 $aStep=array( -00152 array('value'=>0,'label'=>'Pas d\'étape'), -00153 array('value'=>1,'label'=>'1 mois') +00152 array('value'=>0,'label'=>'Pas d\'étape'), +00153 array('value'=>1,'label'=>'1 mois') 00154 ); 00155 $w->label='Par étape de'; 00156 echo '<TR> '.$w->IOValue('p_step',$aStep); @@ -187,7 +187,7 @@ 00186 } 00187 00188 ?> -
              Generated on Mon Jun 26 20:13:15 2006 for phpcompta by  +
              Generated on Tue Jun 27 01:39:28 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 85322ee3d..16dfd39c3 100644 --- a/doc/developper/html/impress__rapport_8php.html +++ b/doc/developper/html/impress__rapport_8php.html @@ -104,8 +104,8 @@ References $i.

              Initial value:

              array(
              -             array('value'=>0,'label'=>'Pas d\'étape'),
              -             array('value'=>1,'label'=>'1 mois')
              +             array('value'=>0,'label'=>'Pas d\'étape'),
              +             array('value'=>1,'label'=>'1 mois')
                            )
               

              @@ -417,7 +417,7 @@ Definition at line 136 of file impress_rapport.php. -


              Generated on Mon Jun 26 20:13:16 2006 for phpcompta by  +
              Generated on Tue Jun 27 01:39:30 2006 for phpcompta by  doxygen 1.4.4
              diff --git a/doc/developper/html/index.html b/doc/developper/html/index.html index f9a508620..eb38fd3f8 100644 --- a/doc/developper/html/index.html +++ b/doc/developper/html/index.html @@ -55,7 +55,7 @@ et il ne faut conna
            • \return ce que la fonction retourne
            -
            Generated on Mon Jun 26 20:13:14 2006 for phpcompta by  +
            Generated on Tue Jun 27 01:39:26 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 7aac7f902..ac82f4a44 100644 --- a/doc/developper/html/index_8php-source.html +++ b/doc/developper/html/index_8php-source.html @@ -56,19 +56,19 @@ 00093 <IMG SRC="image/logo7.jpg" alt="Logo"> 00094 <BR> 00095 -00096 <form action="login.php" method="post" name="loginform"> +00096 <form action="login.php" method="post" name="loginform"> 00097 <TABLE><TR><TD> 00098 <TABLE BORDER=0 CELLSPACING=0> 00099 <TR> 00100 <TD class="cell">Login</TD> -00101 <TD><input type="text" name="p_user" tabindex="1"></TD> +00101 <TD><input type="text" name="p_user" tabindex="1"></TD> 00102 </TR> 00103 <TR> 00104 <TD> Password</TD> 00105 <TD><INPUT TYPE="PASSWORD" NAME="p_pass" tabindex="2"></TD> 00106 </TR> 00107 <TR> -00108 <TD COLSPAN=2 ALIGN=CENTER><INPUT TYPE=SUBMIT NAME="login" value="Log in"></TD> +00108 <TD COLSPAN=2 ALIGN=CENTER><INPUT TYPE=SUBMIT NAME="login" value="Log in"></TD> 00109 </TR> 00110 </table> 00111 </TD></TR></TABLE> @@ -78,7 +78,7 @@ 00115 </html>'; 00116 00117 ?> -
            Generated on Mon Jun 26 20:13:15 2006 for phpcompta by  +
            Generated on Tue Jun 27 01:39:27 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 d2159174a..f7599ec3b 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 Mon Jun 26 20:13:16 2006 for phpcompta by  +Definition in file index.php.
            Generated on Tue Jun 27 01:39:29 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 index 0cda57b9a..0dc19c497 100644 --- a/doc/developper/html/info_8php-source.html +++ b/doc/developper/html/info_8php-source.html @@ -10,7 +10,7 @@

            info.php

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

            Generated on Mon Jun 26 20:13:15 2006 for phpcompta by  +
            Generated on Tue Jun 27 01:39:27 2006 for phpcompta by  doxygen 1.4.4
            diff --git a/doc/developper/html/info_8php.html b/doc/developper/html/info_8php.html index 5cf9dafe2..5ea0c9e47 100644 --- a/doc/developper/html/info_8php.html +++ b/doc/developper/html/info_8php.html @@ -12,7 +12,7 @@ Go to the source code of this file.
            -
            Generated on Mon Jun 26 20:13:16 2006 for phpcompta by  +
            Generated on Tue Jun 27 01:39:29 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 841a61b6a..fd65b34c9 100644 --- a/doc/developper/html/ing__be_8inc_8php-source.html +++ b/doc/developper/html/ing__be_8inc_8php-source.html @@ -85,7 +85,7 @@ 00080 00081 $code = $annee."-".$code; 00082 -00083 $sql = "select * from import_tmp where code='".$code."' and num_compte='".$num_compte."'"; +00083 $sql = "select * from import_tmp where code='".$code."' and num_compte='".$num_compte."'"; 00084 $Res=ExecSql($p_cn,$sql); 00085 $Num=pg_NumRows($Res); 00086 @@ -114,7 +114,7 @@ 00109 '$p_bq_account', 00110 $p_jrn, 00111 false)"; -00112 echo $sql; +00112 echo $sql; 00113 $Res=ExecSql($p_cn,$Sql); 00114 } 00115 } @@ -124,7 +124,7 @@ 00119 } // file is read 00120 fclose($handle); 00121 ?> -
            Generated on Mon Jun 26 20:13:15 2006 for phpcompta by  +
            Generated on Tue Jun 27 01:39:28 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 2917692c3..2a0530d9a 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 Mon Jun 26 20:13:16 2006 for phpcompta by  +
            Generated on Tue Jun 27 01:39:30 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 cb9c515b9..b55a9a1c5 100644 --- a/doc/developper/html/jrn_8php-source.html +++ b/doc/developper/html/jrn_8php-source.html @@ -115,15 +115,15 @@ 00123 echo "<tr>"; 00124 echo "<TD>"; 00125 printf ('<SELECT NAME="class_deb%d">',$i); -00126 foreach ( $poste as $key => $value){ +00126 foreach ( $poste as $key => $value){ 00127 $selected=""; 00128 if ( ${"e_class_deb$i"} == $key ) $selected="SELECTED"; -00129 $a=sprintf('<OPTION VALUE="%s" %s >%s - % .40s', +00129 $a=sprintf('<OPTION VALUE="%s" %s >%s - % .40s', 00130 $key, -00131 $selected, +00131 $selected, 00132 $key, -00133 $value); -00134 echo $a; +00133 $value); +00134 echo $a; 00135 } 00136 echo "</SELECT>"; 00137 printf ('</TD>'); @@ -182,15 +182,15 @@ 00190 echo "<tr>"; 00191 echo "<TD>"; 00192 printf ('<SELECT NAME="class_cred%d">',$i); -00193 foreach ( $poste_c as $key => $value){ +00193 foreach ( $poste_c as $key => $value){ 00194 $selected=""; 00195 if ( ${"e_class_cred$i"} == $key ) $selected="SELECTED"; -00196 $a=sprintf('<OPTION VALUE="%s" %s >%s - % .40s', +00196 $a=sprintf('<OPTION VALUE="%s" %s >%s - % .40s', 00197 $key, -00198 $selected, +00198 $selected, 00199 $key, -00200 $value); -00201 echo $a; +00200 $value); +00201 echo $a; 00202 } 00203 00204 echo "</SELECT>"; @@ -223,7 +223,7 @@ 00231 } 00232 00233 echo '<TR><TD colspan="2"> -00234 rapprochement : <INPUT TYPE="TEXT" name="rapt" value="'.$e_rapt.'">'.$search.'</TD></TR>'; +00234 rapprochement : <INPUT TYPE="TEXT" name="rapt" value="'.$e_rapt.'">'.$search.'</TD></TR>'; 00235 echo "</TABLE>"; 00236 00237 // To avoid problem with unknown variable @@ -282,11 +282,11 @@ 00305 $r.=$content['jr_date']; 00306 $r.="</TD>"; 00307 // for upload document we need the grpt_id -00308 $r.='<Input type="hidden" name="jr_grpt_id" value="'.$content['jr_grpt_id'].'">'; +00308 $r.='<Input type="hidden" name="jr_grpt_id" value="'.$content['jr_grpt_id'].'">'; 00309 00310 // comment can be changed 00311 $r.="<TD>"; -00312 $r.='<INPUT TYPE="TEXT" name="comment" value="'; +00312 $r.='<INPUT TYPE="TEXT" name="comment" value="'; 00313 $r.=$content['jr_comment']; 00314 $r.='" SIZE="25">'; 00315 $r.="</TD>"; @@ -302,7 +302,7 @@ 00325 // Is Paid 00326 $r.="<TD>"; 00327 $check=( $content['jr_rapt'] != null )?"CHECKED":"UNCHECKED"; -00328 $r.='<TD>Payé <INPUT TYPE="CHECKBOX" name="is_paid" '.$check.'></TD>'; +00328 $r.='<TD>Payé <INPUT TYPE="CHECKBOX" name="is_paid" '.$check.'></TD>'; 00329 } 00330 $r.="</TR>"; 00331 $r.="</TABLE>"; @@ -324,7 +324,7 @@ 00347 $file=new widget("file"); 00348 $file->table=1; 00349 //document -00350 $r.='<TD>A effacer <INPUT TYPE="CHECKBOX" name="to_remove" ></TD>'; +00350 $r.='<TD>A effacer <INPUT TYPE="CHECKBOX" name="to_remove" ></TD>'; 00351 $r.="<TD>".sprintf('<A class="detail" HREF="show_pj.php?jrn=%s&jr_grpt_id=%s">%s</A>', 00352 $content['jr_id'], 00353 $content['jr_grpt_id'], @@ -339,7 +339,7 @@ 00362 $r.="</table>"; 00363 $r.="Total ".$content['jr_montant']."<br>"; 00364 // show all the related operation -00365 $a=GetConcerned($p_cn,$content['jr_id']); +00365 $a=GetConcerned($p_cn,$content['jr_id']); 00366 00367 if ( $a != null ) { 00368 $r.="<b>Operation concernée</b> <br>"; @@ -354,7 +354,7 @@ 00377 foreach ($a as $key => $element) { 00378 $r.=sprintf ('%s <INPUT TYPE="BUTTON" VALUE="Détail" onClick="viewDetail(\'%s\',\'%s\')">', 00379 GetInternal($p_cn,$element),GetGrpt($p_cn,$element),$sessid); -00380 $r.=sprintf('<INPUT TYPE="button" value="Efface" onClick="dropLink(\'%s\',\'%s\',\'%s\')"><BR>', +00380 $r.=sprintf('<INPUT TYPE="button" value="Efface" onClick="dropLink(\'%s\',\'%s\',\'%s\')"><BR>', 00381 $content['jr_id'],$element,$sessid); 00382 }//for 00383 $r.= "</div>"; @@ -370,8 +370,8 @@ 00393 $search='<INPUT TYPE="BUTTON" VALUE="Cherche" OnClick="SearchJrn(\''.$sessid."','rapt')\">"; 00394 00395 $r.= '<H2 class="info">rapprochement </H2> -00396 <INPUT TYPE="TEXT" name="rapt" value="">'.$search; -00397 $r.='<input type="hidden" name="jr_id" value="'.$content['jr_id'].'">'; +00396 <INPUT TYPE="TEXT" name="rapt" value="">'.$search; +00397 $r.='<input type="hidden" name="jr_id" value="'.$content['jr_id'].'">'; 00398 00399 // echo $r; 00400 return $r; @@ -503,7 +503,7 @@ 00604 ${"l_$key"}=$element; 00605 echo_debug ("l_$key $element"); 00606 } -00607 $sql="select j_id,to_char(j_date,'DD.MM.YYYY') as j_date,j_montant,j_poste, +00607 $sql="select j_id,to_char(j_date,'DD.MM.YYYY') as j_date,j_montant,j_poste, 00608 pcm_lib,j_grpt,jr_id,j_debit,j_centralized,j_tech_per,jr_internal 00609 from jrnx inner join tmp_pcmn on j_poste=pcm_val 00610 inner join jrn on jr_grpt_id=j_grpt @@ -511,20 +511,20 @@ 00612 j_jrn_def=$p_jrn"; 00613 $l_and="and "; 00614 if ( ereg("^[0-9]+$", $l_s_montant) || ereg ("^[0-9]+\.[0-9]+$", $l_s_montant) ) { -00615 $sql.=" and jr_montant $l_mont_sel $l_s_montant"; +00615 $sql.=" and jr_montant $l_mont_sel $l_s_montant"; 00616 } 00617 if ( isDate($l_date_start) != null ) { -00618 $sql.=$l_and." j_date >= to_date('".$l_date_start."','DD.MM.YYYY')"; +00618 $sql.=$l_and." j_date >= to_date('".$l_date_start."','DD.MM.YYYY')"; 00619 } 00620 if ( isDate($l_date_end) != null ) { -00621 $sql.=$l_and." j_date <= to_date('".$l_date_end."','DD.MM.YYYY')"; +00621 $sql.=$l_and." j_date <= to_date('".$l_date_end."','DD.MM.YYYY')"; 00622 } 00623 $l_s_comment=FormatString($l_s_comment); 00624 if ( $l_s_comment != null ) { -00625 $sql.=$l_and." upper(jr_comment) like upper('%".$l_s_comment."%') "; +00625 $sql.=$l_and." upper(jr_comment) like upper('%".$l_s_comment."%') "; 00626 } 00627 -00628 $sql.=" order by j_id,j_grpt,j_debit desc"; +00628 $sql.=" order by j_id,j_grpt,j_debit desc"; 00629 echo_debug ("search query is $sql"); 00630 $Res=ExecSql($cn,$sql); 00631 } @@ -679,7 +679,7 @@ 00842 } 00843 // Montre ce qu'on a encodé et demande vérif 00844 $next=""; -00845 foreach ( $p_array as $name=>$element ) { +00845 foreach ( $p_array as $name=>$element ) { 00846 echo_debug('jrn.php',__LINE__,"element $name -> $element "); 00847 // Sauve les données dans des variables 00848 ${"p_$name"}=$element; @@ -805,7 +805,7 @@ 01020 return $ret_array; 01021 } 01022 ?> -
            Generated on Mon Jun 26 20:13:15 2006 for phpcompta by  +
            Generated on Tue Jun 27 01:39:28 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 580802a83..7156e54da 100644 --- a/doc/developper/html/jrn_8php.html +++ b/doc/developper/html/jrn_8php.html @@ -624,7 +624,7 @@ p_user user id

              Definition at line 38 of file jrn.php.

              -References $a, $cn, $e, $l2_line, $l_line, $poste, $Res, $search, $sessid, $Sql, DbConnect(), echo_debug(), ExecSql(), GetJrnProperty(), GetPeriode(), METHOD, name, selected, and value. +References $a, $cn, $e, $l2_line, $l_line, $poste, $Res, $search, $sessid, $Sql, DbConnect(), echo_debug(), ExecSql(), GetJrnProperty(), GetPeriode(), METHOD, name, selected, and value.

              Referenced by CorrectRecord(). @@ -734,7 +734,7 @@ p_jrn

                Definition at line 282 of file jrn.php.

                -References $a, $check, $col_vide, $file, $i, $r, $search, $sessid, echo_debug(), echo_error(), GetConcerned(), GetDataJrnJrId(), GetGrpt(), GetInternal(), name, return, and value. +References $a, $check, $col_vide, $file, $i, $r, $search, $sessid, echo_debug(), echo_error(), GetConcerned(), GetDataJrnJrId(), GetGrpt(), GetInternal(), name, return, and value.

                @@ -790,7 +790,7 @@ p_array array with all the values

                  Definition at line 834 of file jrn.php.

                  -References cmpDate(), echo_debug(), echo_error(), GetPeriode(), isDate(), name, and PeriodeClosed(). +References cmpDate(), echo_debug(), echo_error(), GetPeriode(), isDate(), name, and PeriodeClosed().

                  @@ -858,7 +858,7 @@ p_user,

                    Definition at line 583 of file jrn.php.

                    -References $cn, $col_vide, $db, $l_id, $l_line, $MaxLine, $Res, $sessid, $sql, DbConnect(), echo_debug(), ExecSql(), FormatString(), GetJrnProp(), and isDate(). +References $cn, $col_vide, $db, $l_id, $l_line, $MaxLine, $Res, $sessid, $sql, DbConnect(), echo_debug(), ExecSql(), FormatString(), GetJrnProp(), and isDate().

                    @@ -971,7 +971,7 @@ Definition at line 457 of f References $col_vide, echo_debug(), GetJrnProp(), GetPosteLibelle(), and table. -


                    Generated on Mon Jun 26 20:13:16 2006 for phpcompta by  +
                    Generated on Tue Jun 27 01:39:30 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 f1f9347a9..0c53236c4 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 Mon Jun 26 20:13:15 2006 for phpcompta by  +
                    Generated on Tue Jun 27 01:39:27 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 8f729d1b5..e7fb04043 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 Mon Jun 26 20:13:16 2006 for phpcompta by  +
                    Generated on Tue Jun 27 01:39:29 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 288a0ebf2..11b72d545 100644 --- a/doc/developper/html/jrn__csv_8php-source.html +++ b/doc/developper/html/jrn__csv_8php-source.html @@ -89,6 +89,7 @@ 00084 $Row=$Jrn->GetRowSimple($_GET['from_periode'], 00085 $_GET['to_periode'], 00086 $p_cent); +00087 //----------------------------------------------------- 00088 printf ('" operation "'. 00089 '"Date"'. 00090 '"commentaire"'. @@ -122,9 +123,10 @@ 00118 printf("\r\n"); 00119 } 00120 +00121 //----------------------------------------------------- 00122 } 00123 ?> -
                    Generated on Mon Jun 26 20:13:15 2006 for phpcompta by  +
                    Generated on Tue Jun 27 01:39:27 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 6cf7177ed..787516da8 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 Mon Jun 26 20:13:16 2006 for phpcompta by  +
                    Generated on Tue Jun 27 01:39:29 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 bef670231..51ad9beaf 100644 --- a/doc/developper/html/jrn__detail_8php-source.html +++ b/doc/developper/html/jrn__detail_8php-source.html @@ -253,7 +253,7 @@ 00248 echo "</DIV>"; 00249 html_page_stop(); 00250 ?> -
                    Generated on Mon Jun 26 20:13:15 2006 for phpcompta by  +
                    Generated on Tue Jun 27 01:39:27 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 56117a82d..1f721bf0e 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 Mon Jun 26 20:13:16 2006 for phpcompta by  +
                    Generated on Tue Jun 27 01:39:29 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 4944aa7bb..c3d64c6fb 100644 --- a/doc/developper/html/jrn__op__detail_8php-source.html +++ b/doc/developper/html/jrn__op__detail_8php-source.html @@ -82,7 +82,7 @@ 00077 } 00078 echo '</div>'; 00079 -00080 $a=GetConcerned($cn,$e_jr_id); +00080 $a=GetConcerned($cn,$e_jr_id); 00081 00082 if ( $a != null ) { 00083 echo "operation concernée <br>"; @@ -94,11 +94,11 @@ 00089 echo "</div>"; 00090 }// if ( $a != null ) { 00091 ?> -00092 <input type="button" onClick="window.close()" value="Fermer"> +00092 <input type="button" onClick="window.close()" value="Fermer"> 00093 <? 00094 html_page_stop(); 00095 ?> -
                    Generated on Mon Jun 26 20:13:15 2006 for phpcompta by  +
                    Generated on Tue Jun 27 01:39:27 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 7e0685779..8fe8003f3 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 Mon Jun 26 20:13:16 2006 for phpcompta by  +
                    Generated on Tue Jun 27 01:39:29 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 5906fa255..ea6a9dc9e 100644 --- a/doc/developper/html/jrn__pdf_8php-source.html +++ b/doc/developper/html/jrn__pdf_8php-source.html @@ -73,10 +73,10 @@ 00068 // filter : 0 for Grand Livre otherwise 1 00069 $filter=( $Jrn->id == 0)?0:1; 00070 -00071 $offset=0;$limit=22;$step=22; +00071 $offset=0;$limit=22;$step=22; 00072 $rap_deb=0;$rap_cred=0; 00073 while (1) { -00074 $a=0; +00074 $a=0; 00075 list ($a_jrn,$tot_deb,$tot_cred)=$Jrn->GetRow($_GET['from_periode'], 00076 $_GET['to_periode'], 00077 $_GET['central'], @@ -84,7 +84,7 @@ 00079 echo_debug('jrn_pdf.php',__LINE__,"Total debit $tot_deb,credit $tot_cred"); 00080 00081 if ( $a_jrn==null) break; -00082 $offset+=$step; +00082 $offset+=$step; 00083 $first_id=$a_jrn[0]['int_j_id']; 00084 $Exercice=GetExercice($cn,$a_jrn[0]['periode']); 00085 @@ -115,7 +115,7 @@ 00110 array('shaded'=>0,'showHeadings'=>1,'width'=>500, 00111 'cols'=>array('deb_montant'=> array('justification'=>'right'), 00112 'cred_montant'=> array('justification'=>'right')))); -00113 $a=1; +00113 $a=1; 00114 // Total Page 00115 $apage=array(array('deb'=>sprintf("%8.2f",$tot_deb),'cred'=>$tot_cred)); 00116 foreach ($apage as $key=>$element) echo_debug('jrn_pdf.php',__LINE__,"apage $key => $element"); @@ -165,7 +165,7 @@ 00160 $pdf->ezStream(); 00161 00162 ?> -
                    Generated on Mon Jun 26 20:13:15 2006 for phpcompta by  +
                    Generated on Tue Jun 27 01:39:27 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 e5c8fafcf..68506e659 100644 --- a/doc/developper/html/jrn__pdf_8php.html +++ b/doc/developper/html/jrn__pdf_8php.html @@ -366,7 +366,7 @@ Definition at line 127

                    Definition at line 71 of file jrn_pdf.php.

                    -Referenced by fiche::GetByDef(), ListJrn(), and action::myList(). +Referenced by fiche::GetByDef(), ListJrn(), and action::myList().

                    @@ -594,7 +594,7 @@ Definition at line 132 Definition at line 54 of file jrn_pdf.php. -


                    Generated on Mon Jun 26 20:13:16 2006 for phpcompta by  +
                    Generated on Tue Jun 27 01:39:29 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 c1d2ee1af..188d6fc4b 100644 --- a/doc/developper/html/jrn__search_8php-source.html +++ b/doc/developper/html/jrn__search_8php-source.html @@ -117,32 +117,32 @@ 00112 if ( ! isset ($p_montant)) $p_montant=""; 00113 if ( ! isset ($p_comment)) $p_comment=""; 00114 if ( ! isset ($p_internal)) $p_internal=""; -00115 echo '<input type="hidden" name="p_ctl" value="'.$p_ctl.'">'; +00115 echo '<input type="hidden" name="p_ctl" value="'.$p_ctl.'">'; 00116 echo '<TD> Date </TD>'; 00117 echo '<TD> <SELECT NAME="p_date_sel">'.$opt_date.' </TD>'; -00118 echo '<TD> <INPUT TYPE="text" name="p_date" VALUE="'.$p_date.'"></TD>'; +00118 echo '<TD> <INPUT TYPE="text" name="p_date" VALUE="'.$p_date.'"></TD>'; 00119 00120 echo '<TD> Montant </TD>'; 00121 echo '<TD> <SELECT NAME="p_montant_sel">'.$opt_montant.' </TD>'; -00122 echo '<TD> <INPUT TYPE="text" name="p_montant" VALUE="'.$p_montant.'"></TD>'; +00122 echo '<TD> <INPUT TYPE="text" name="p_montant" VALUE="'.$p_montant.'"></TD>'; 00123 echo '</TR><TR>'; 00124 echo '<TD> Commentaire </TD>'; 00125 echo '<TD> contient </TD>'; -00126 echo '<TD> <INPUT TYPE="text" name="p_comment" VALUE="'.$p_comment.'"></TD>'; +00126 echo '<TD> <INPUT TYPE="text" name="p_comment" VALUE="'.$p_comment.'"></TD>'; 00127 ?> 00128 </TR><TR> 00129 <TD> Code interne </TD><TD>comme </TD> 00130 <? -00131 echo '<TD> <INPUT TYPE="text" name="p_internal" VALUE="'.$p_internal.'"></TD>'; +00131 echo '<TD> <INPUT TYPE="text" name="p_internal" VALUE="'.$p_internal.'"></TD>'; 00132 echo "</TR>"; 00133 00134 echo '</TABLE>'; -00135 echo '<INPUT TYPE="submit" name="search" value="cherche">'; +00135 echo '<INPUT TYPE="submit" name="search" value="cherche">'; 00136 echo '</FORM>'; 00137 00138 // if a search is asked otherwise don't show all the rows 00139 if ( isset ($_GET["search"]) ) { -00140 $sql="select j_id,to_char(j_date,'DD.MM.YYYY') as j_date, +00140 $sql="select j_id,to_char(j_date,'DD.MM.YYYY') as j_date, 00141 j_montant,j_poste,j_debit,j_tech_per,jr_id,jr_comment,j_grpt,pcm_lib,jr_internal from jrnx inner join 00142 jrn on jr_grpt_id=j_grpt inner join tmp_pcmn on j_poste=pcm_val ". 00143 " inner join user_sec_jrn on uj_jrn_id=j_jrn_def". @@ -150,19 +150,19 @@ 00145 $Res=ExecSql($cn,$sql); 00146 00147 $MaxLine=pg_NumRows($Res); -00148 $offset=(isset($_GET['offset']))?$_GET['offset']:0; +00148 $offset=(isset($_GET['offset']))?$_GET['offset']:0; 00149 $limit=$_SESSION['g_pagesize']; 00150 $sql_limit=""; 00151 $sql_offset=""; -00152 $bar=""; +00152 $bar=""; 00153 if ( $limit != -1) { -00154 $page=(isset($_GET['page']))?$_GET['page']:0; +00154 $page=(isset($_GET['page']))?$_GET['page']:0; 00155 $sql_limit=" LIMIT $limit "; 00156 $sql_offset=" OFFSET $offset "; -00157 $bar=jrn_navigation_bar($offset,$MaxLine,$limit,$page); +00157 $bar=jrn_navigation_bar($offset,$MaxLine,$limit,$page); 00158 00159 } -00160 $sql.=$sql_limit.$sql_offset; +00160 $sql.=$sql_limit.$sql_offset; 00161 if ( $MaxLine==0) { 00162 html_page_stop(); 00163 return; @@ -171,7 +171,7 @@ 00166 $MaxLine=pg_NumRows($Res); 00167 00168 $col_vide="<TD></TD>"; -00169 echo $bar; +00169 echo $bar; 00170 echo '<TABLE ALIGN="center" BORDER="0" CELLSPACING="O">'; 00171 $l_id=""; 00172 // if ( $MaxLine > 250 ) { @@ -238,7 +238,7 @@ 00233 <? 00234 html_page_stop(); 00235 ?> -
                    Generated on Mon Jun 26 20:13:15 2006 for phpcompta by  +
                    Generated on Tue Jun 27 01:39:27 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 3d15e720b..c52913f9d 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 Mon Jun 26 20:13:16 2006 for phpcompta by  +
                    Generated on Tue Jun 27 01:39:29 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 1dae12000..e6ef56cae 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 Mon Jun 26 20:13:15 2006 for phpcompta by  +
                    Generated on Tue Jun 27 01:39:27 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 0caf89cbe..dbd660064 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 Mon Jun 26 20:13:16 2006 for phpcompta by  +
                    Generated on Tue Jun 27 01:39:29 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 5f4abfacd..70678b6be 100644 --- a/doc/developper/html/line__update_8php-source.html +++ b/doc/developper/html/line__update_8php-source.html @@ -53,7 +53,7 @@ 00047 00048 /* Modif d'une ligne */ 00049 if ( isset ($_POST["update"] ) ) { -00050 foreach ($HTTP_POST_VARS as $name => $element) { +00050 foreach ($HTTP_POST_VARS as $name => $element) { 00051 echo_debug('line_update.php',__LINE__,"name $name $element"); 00052 } 00053 echo JS_UPDATE_PCMN; @@ -97,23 +97,23 @@ 00091 <TABLE> 00092 <TR> 00093 <? -00094 $l=$_GET['l']; +00094 $l=$_GET['l']; 00095 $p=$_GET['p']; 00096 $n=$_GET['n']; 00097 -00098 printf ('<TD>Numéro de classe </TD><TD><INPUT TYPE="TEXT" name="p_val" value="%s"></TD>',$l); +00098 printf ('<TD>Numéro de classe </TD><TD><INPUT TYPE="TEXT" name="p_val" value="%s"></TD>',$l); 00099 echo "</TR><TR>"; -00100 printf('<TD>Libellé </TD><TD><INPUT TYPE="TEXT" size="70" NAME="p_name" value="%s"></TD>',urldecode($n)); +00100 printf('<TD>Libellé </TD><TD><INPUT TYPE="TEXT" size="70" NAME="p_name" value="%s"></TD>',urldecode($n)); 00101 echo "</TR><TR>"; -00102 printf ('<TD>Classe Parent</TD><TD><INPUT TYPE="TEXT" name="p_val_parent" value="%s"></TD>',$p); +00102 printf ('<TD>Classe Parent</TD><TD><INPUT TYPE="TEXT" name="p_val_parent" value="%s"></TD>',$p); 00103 ?> 00104 </TR> 00105 </TABLE> 00106 <TABLE> 00107 <TR> 00108 <TD><INPUT TYPE="Submit" VALUE="Sauve"> -00109 <INPUT TYPE="HIDDEN" name="update"> -00110 <? printf ('<INPUT TYPE="HIDDEN" name="p_old" value="%s">',$l); ?> +00109 <INPUT TYPE="HIDDEN" name="update"> +00110 <? printf ('<INPUT TYPE="HIDDEN" name="p_old" value="%s">',$l); ?> 00111 </TD><TD><input type="button" Value="Retour sans sauver" onClick='window.close();'></TD></TR> 00112 </TABLE> 00113 </FORM> @@ -122,7 +122,7 @@ 00116 <? 00117 html_page_stop(); 00118 ?> -
                    Generated on Mon Jun 26 20:13:15 2006 for phpcompta by  +
                    Generated on Tue Jun 27 01:39:27 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 dc27592c9..9ac5fe1fb 100644 --- a/doc/developper/html/line__update_8php.html +++ b/doc/developper/html/line__update_8php.html @@ -169,7 +169,7 @@ Definition at line 58<

                    Definition at line 95 of file line_update.php.

                    -Referenced by Cezpdf::ezTable(), Document::Replace(), and Cpdf::setEncryption(). +Referenced by Cezpdf::ezTable(), Document::Replace(), and Cpdf::setEncryption().

                    @@ -351,7 +351,7 @@ Definition at line 36< Definition at line 43 of file line_update.php. -


                    Generated on Mon Jun 26 20:13:16 2006 for phpcompta by  +
                    Generated on Tue Jun 27 01:39:29 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 aa953a57c..55061dc3a 100644 --- a/doc/developper/html/listing__client_8php-source.html +++ b/doc/developper/html/listing__client_8php-source.html @@ -29,7 +29,7 @@ 00020 // Copyright Author Dany De Bontridder ddebontridder@yahoo.fr 00021 require_once("ac_common.php"); 00022 require_once("postgres.php"); -00026 +00026 //----------------------------------------------------- 00027 // Check User 00028 include ('class_user.php'); 00029 /* Admin. Dossier */ @@ -48,20 +48,22 @@ 00042 header('Content-type: application/bin'); 00043 header('Content-Disposition: attachment;filename="declaration.bin"',FALSE); 00044 +00045 //----------------------------------------------------- 00046 // Submit for a magnetic declaration 00047 // Belgium only -00049 if ( isset($_POST['bt_disk'])) { +00048 //----------------------------------------------------- +00049 if ( isset($_POST['bt_disk'])) { 00050 require_once("class_customer.php"); 00051 $customer=new Customer($cn); 00052 $a_Res=$customer->VatListing($_POST['year']); 00053 00054 require_once("decla.BE.inc.php"); -00055 $a=MakeListingVat($cn,$a_Res,$_POST['year']); +00055 $a=MakeListingVat($cn,$a_Res,$_POST['year']); 00056 echo "$a"; 00057 return; 00058 } 00059 ?> -
                    Generated on Mon Jun 26 20:13:15 2006 for phpcompta by  +
                    Generated on Tue Jun 27 01:39:27 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 99307fe00..c71a5f33b 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 Mon Jun 26 20:13:16 2006 for phpcompta by  +
                    Generated on Tue Jun 27 01:39:29 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 d7f4a2aa2..a99859987 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 Mon Jun 26 20:13:15 2006 for phpcompta by  +
                    Generated on Tue Jun 27 01:39:27 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 703a9f2fd..20e31e090 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 Mon Jun 26 20:13:16 2006 for phpcompta by  +
                    Generated on Tue Jun 27 01:39:29 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 82f168285..270406c2e 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 Mon Jun 26 20:13:15 2006 for phpcompta by  +
                    Generated on Tue Jun 27 01:39:27 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 3dd1f3339..219cb86da 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 Mon Jun 26 20:13:16 2006 for phpcompta by  +Definition in file logout.php.
                    Generated on Tue Jun 27 01:39:29 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 bc8cb3e84..0fe702ee2 100644 --- a/doc/developper/html/modify__op_8php-source.html +++ b/doc/developper/html/modify__op_8php-source.html @@ -75,6 +75,7 @@ 00069 00070 // Javascript 00071 echo JS_VIEW_JRN_MODIFY; +00072 //----------------------------------------------------- 00073 if ( $action == 'update' ) { 00074 if ( ($priv=CheckJrn($_SESSION['g_dossier'],$_SESSION['g_user'],$_GET['p_jrn'],true)) < 1 ) { 00075 NoAccess(); @@ -89,13 +90,13 @@ 00084 $r ='<FORM METHOD="POST" enctype="multipart/form-data" ACTION="modify_op.php">'; 00085 $r.=UpdateJrn($cn,$p_id); 00086 -00087 $r.='<INPUT TYPE="Hidden" name="action" value="update_record">'; +00087 $r.='<INPUT TYPE="Hidden" name="action" value="update_record">'; 00088 $r.="<br>"; 00089 $r.="<br>"; 00090 $r.="<br>"; -00091 $r.='<input type="SUBMIT" name="update_record" value="Enregistre">'; +00091 $r.='<input type="SUBMIT" name="update_record" value="Enregistre">'; 00092 $r.="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"; -00093 $r.='<input type="button" value="Fermer" onClick="window.close();">'; +00093 $r.='<input type="button" value="Fermer" onClick="window.close();">'; 00094 $r.='</FORM>'; 00095 00096 // echo '<div class="redcontent">'; @@ -145,7 +146,8 @@ 00143 self.opener.RefreshMe(); 00144 </script>'; 00145 } // if update_record -00147 if ( $action == 'delete' ) { +00146 //----------------------------------------------------- +00147 if ( $action == 'delete' ) { 00148 echo_debug('modify_op.php',__LINE__," Call DeleteRapt($cn,".$_GET['line'].",".$_GET['line2'].")"); 00149 DeleteRapt($cn,$_GET['line'],$_GET['line2']); 00150 echo ' <script> @@ -155,7 +157,7 @@ 00154 } 00155 html_page_stop(); 00156 ?> -
                    Generated on Mon Jun 26 20:13:15 2006 for phpcompta by  +
                    Generated on Tue Jun 27 01:39:27 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 bde81ad00..0fe3f7419 100644 --- a/doc/developper/html/modify__op_8php.html +++ b/doc/developper/html/modify__op_8php.html @@ -59,7 +59,7 @@ Definition in file modify_op.ph

                    Definition at line 125 of file modify_op.php.

                    -Referenced by Document_modele::Save(), save_upload_document(), and Document::Upload(). +Referenced by Document_modele::Save(), save_upload_document(), and Document::Upload().

                    @@ -214,7 +214,7 @@ Definition at line 3776 of file modify_op.php. -


                    Generated on Mon Jun 26 20:13:16 2006 for phpcompta by  +
                    Generated on Tue Jun 27 01:39:29 2006 for phpcompta by  doxygen 1.4.4
                    diff --git a/doc/developper/html/namespaceCpdf.html b/doc/developper/html/namespaceCpdf.html index ebf052d44..38585acba 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 Mon Jun 26 20:13:18 2006 for phpcompta by  +
                    Generated on Tue Jun 27 01:39:35 2006 for phpcompta by  doxygen 1.4.4
                    diff --git a/doc/developper/html/namespaces.html b/doc/developper/html/namespaces.html index dffca6b76..d990202d1 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 Mon Jun 26 20:13:18 2006 for phpcompta by  +
                    Generated on Tue Jun 27 01:39:35 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 576dc9feb..df4770369 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 Mon Jun 26 20:13:15 2006 for phpcompta by  +
                    Generated on Tue Jun 27 01:39:27 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 963445b2d..1c8014447 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 Mon Jun 26 20:13:16 2006 for phpcompta by  +
                    Generated on Tue Jun 27 01:39:29 2006 for phpcompta by  doxygen 1.4.4
                    diff --git a/doc/developper/html/pages.html b/doc/developper/html/pages.html index 2918f2c05..73f2343d6 100644 --- a/doc/developper/html/pages.html +++ b/doc/developper/html/pages.html @@ -9,7 +9,7 @@
                  • Todo List
                  -
                  Generated on Mon Jun 26 20:13:18 2006 for phpcompta by  +
                  Generated on Tue Jun 27 01:39:35 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 d916ec4b1..6d35ba213 100644 --- a/doc/developper/html/parametre_8php-source.html +++ b/doc/developper/html/parametre_8php-source.html @@ -81,27 +81,35 @@ 00076 $action=$_POST['action']; 00077 } 00078 echo_debug("parametre",__LINE__,$_POST); +00079 //----------------------------------------------------- 00080 // TVA RATE -00082 if ( $p_action == "tva" ) +00081 //----------------------------------------------------- +00082 if ( $p_action == "tva" ) 00083 { 00084 require_once("tva.inc.php"); 00085 // 00086 } +00087 //----------------------------------------------------- 00088 // Account -00090 if ( $p_action == "poste" ) +00089 //----------------------------------------------------- +00090 if ( $p_action == "poste" ) 00091 { 00092 require_once('poste.inc.php'); 00093 00094 } +00095 //----------------------------------------------------- 00096 // fiche -00098 if ( $p_action == "fiche" ) +00097 //----------------------------------------------------- +00098 if ( $p_action == "fiche" ) 00099 { 00100 require_once('fiche_def.inc.php'); 00101 return; 00102 } 00103 echo '<DIV CLASS="u_redcontent">'; +00104 //----------------------------------------------------- 00105 // Currency -00107 if ( $p_action == "change" ) { +00106 //----------------------------------------------------- +00107 if ( $p_action == "change" ) { 00108 $p_mid=$_GET['p_mid']; 00109 $p_rate=$_GET['p_rate']; 00110 $p_code=$_GET['p_code']; @@ -140,8 +148,10 @@ 00143 ShowDevise($cn); 00144 } 00145 +00146 //----------------------------------------------------- 00147 // Coord societe -00149 if ( $p_action=='company') { +00148 //----------------------------------------------------- +00149 if ( $p_action=='company') { 00150 require_once("class_own.php"); 00151 require_once("class_widget.php"); 00152 if ( isset ($_POST['record_company'] )) { @@ -175,12 +185,14 @@ 00180 echo "<tr>".$all->IOValue("p_tva",$my->MY_TVA,"Numéro de Tva")."</tr>"; 00181 00182 echo "</table>"; -00183 $submit=new widget("submit"); -00184 echo $submit->Submit("record_company","Enregistre"); +00183 $submit=new widget("submit"); +00184 echo $submit->Submit("record_company","Enregistre"); 00185 echo "</form>"; 00186 } +00187 //----------------------------------------------------- 00188 // Document -00190 echo "</DIV>"; +00189 //----------------------------------------------------- +00190 echo "</DIV>"; 00191 if ( $p_action == 'document' ) { 00192 echo '<div class="u_content">'; 00193 require_once('document_modele.inc.php'); @@ -190,7 +202,7 @@ 00197 00198 html_page_stop(); 00199 ?> -
                  Generated on Mon Jun 26 20:13:15 2006 for phpcompta by  +
                  Generated on Tue Jun 27 01:39:27 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 945e937c9..d46898125 100644 --- a/doc/developper/html/parametre_8php.html +++ b/doc/developper/html/parametre_8php.html @@ -187,7 +187,7 @@ Definition at line 56

                  Definition at line 167 of file parametre.php.

                  -Referenced by MakeListingVat(), and Document::Replace(). +Referenced by MakeListingVat(), and Document::Replace().

                  @@ -339,7 +339,7 @@ Definition at line 61

                  Definition at line 160 of file parametre.php.

                  -Referenced by Document::Replace(), and Own::Save(). +Referenced by Document::Replace(), and Own::Save().

                  @@ -366,7 +366,7 @@ Referenced by Docum

                  Definition at line 159 of file parametre.php.

                  -Referenced by Document::Replace(), and Own::Save(). +Referenced by Document::Replace(), and Own::Save().

                  @@ -393,7 +393,7 @@ Referenced by Docum

                  Definition at line 162 of file parametre.php.

                  -Referenced by Document::Replace(), and Own::Save(). +Referenced by Document::Replace(), and Own::Save().

                  @@ -420,7 +420,7 @@ Referenced by Docum

                  Definition at line 155 of file parametre.php.

                  -Referenced by Document::Replace(), and Own::Save(). +Referenced by Document::Replace(), and Own::Save().

                  @@ -447,7 +447,7 @@ Referenced by Docum

                  Definition at line 158 of file parametre.php.

                  -Referenced by Document::Replace(), and Own::Save(). +Referenced by Document::Replace(), and Own::Save().

                  @@ -474,7 +474,7 @@ Referenced by Docum

                  Definition at line 163 of file parametre.php.

                  -Referenced by Document::Replace(), and Own::Save(). +Referenced by Document::Replace(), and Own::Save().

                  @@ -501,7 +501,7 @@ Referenced by Docum

                  Definition at line 157 of file parametre.php.

                  -Referenced by Document::Replace(), and Own::Save(). +Referenced by Document::Replace(), and Own::Save().

                  @@ -528,7 +528,7 @@ Referenced by Docum

                  Definition at line 161 of file parametre.php.

                  -Referenced by Document::Replace(), and Own::Save(). +Referenced by Document::Replace(), and Own::Save().

                  @@ -555,7 +555,7 @@ Referenced by Docum

                  Definition at line 156 of file parametre.php.

                  -Referenced by Document::Replace(), and Own::Save(). +Referenced by Document::Replace(), and Own::Save().

                  @@ -608,7 +608,7 @@ Definition at line 101169 of file parametre.php. -


                  Generated on Mon Jun 26 20:13:16 2006 for phpcompta by  +
                  Generated on Tue Jun 27 01:39:29 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 1ef4d60a0..1246c58b1 100644 --- a/doc/developper/html/pcmn__update_8php-source.html +++ b/doc/developper/html/pcmn__update_8php-source.html @@ -76,6 +76,7 @@ 00070 /* Analyse ce qui est demandé */ 00071 /* Effacement d'une ligne */ 00072 if (isset ($_GET['action'])) { +00073 //----------------------------------------------------- 00074 // Action == remove a line 00075 if ( $_GET['action']=="del" ) { 00076 if ( isset ($_GET['l']) ) { @@ -96,7 +97,8 @@ 00091 } // isset ($l) 00092 } //$action == del 00093 } // isset action -00095 /* Ajout d'une ligne */ +00094 //----------------------------------------------------- +00095 /* Ajout d'une ligne */ 00096 if ( isset ( $_POST["Add"] ) ) { 00097 extract ($_POST); 00098 if ( isset ( $p_val) && isset ( $p_lib ) && isNumber(trim($p_val)) && isNumber(trim($p_parent)) ) { @@ -201,7 +203,7 @@ 00197 echo "</DIV>"; 00198 html_page_stop(); 00199 ?> -
                  Generated on Mon Jun 26 20:13:15 2006 for phpcompta by  +
                  Generated on Tue Jun 27 01:39:27 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 51c3c3fa4..c0d038e5d 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 Mon Jun 26 20:13:16 2006 for phpcompta by  +
                  Generated on Tue Jun 27 01:39:29 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 ae4496723..3637833ee 100644 --- a/doc/developper/html/periode_8inc_8php-source.html +++ b/doc/developper/html/periode_8inc_8php-source.html @@ -114,7 +114,7 @@ 00110 ShowPeriode($cn); 00111 00112 ?> -
                  Generated on Mon Jun 26 20:13:15 2006 for phpcompta by  +
                  Generated on Tue Jun 27 01:39:28 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 a27fa54c8..a66c1212e 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 Mon Jun 26 20:13:16 2006 for phpcompta by  +
                  Generated on Tue Jun 27 01:39:30 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 9fea3b27d..a1990ba75 100644 --- a/doc/developper/html/poste_8inc_8php-source.html +++ b/doc/developper/html/poste_8inc_8php-source.html @@ -81,7 +81,7 @@ 00076 echo "</div>"; 00077 00078 } -
                  Generated on Mon Jun 26 20:13:15 2006 for phpcompta by  +
                  Generated on Tue Jun 27 01:39:28 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 032c656ca..72615bec0 100644 --- a/doc/developper/html/poste_8inc_8php.html +++ b/doc/developper/html/poste_8inc_8php.html @@ -88,7 +88,7 @@ Definition at line 39 Definition at line 69 of file poste.inc.php.

                  -Referenced by Document_modele::form(), FormAchInput(), FormAchView(), FormFin(), Cpdf::getFontDecender(), Cpdf::getFontHeight(), fiche_def_ref::Input(), ListJrn(), Document::ParseDocument(), and ros_logo(). +Referenced by Document_modele::form(), FormAchInput(), FormAchView(), FormFin(), Cpdf::getFontDecender(), Cpdf::getFontHeight(), fiche_def_ref::Input(), ListJrn(), Document::ParseDocument(), and ros_logo().

                  @@ -270,7 +270,7 @@ Referenced by par Definition at line 48 of file poste.inc.php. -


                  Generated on Mon Jun 26 20:13:16 2006 for phpcompta by  +
                  Generated on Tue Jun 27 01:39:30 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 e87037e71..311f5284d 100644 --- a/doc/developper/html/poste_8php-source.html +++ b/doc/developper/html/poste_8php-source.html @@ -91,7 +91,7 @@ 00128 } 00129 00130 ?> -
                  Generated on Mon Jun 26 20:13:15 2006 for phpcompta by  +
                  Generated on Tue Jun 27 01:39:28 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 fdcea3a2f..a883064fc 100644 --- a/doc/developper/html/poste_8php.html +++ b/doc/developper/html/poste_8php.html @@ -238,7 +238,7 @@ References $Max, ViewImp(). -
                  Generated on Mon Jun 26 20:13:16 2006 for phpcompta by  +
                  Generated on Tue Jun 27 01:39:30 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 80efb44e1..aabef69c8 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 Mon Jun 26 20:13:15 2006 for phpcompta by  +
                  Generated on Tue Jun 27 01:39:27 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 eec692062..a98edb822 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 Mon Jun 26 20:13:16 2006 for phpcompta by  +
                  Generated on Tue Jun 27 01:39:29 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 9cff3600d..a73993abb 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 Mon Jun 26 20:13:15 2006 for phpcompta by  +
                  Generated on Tue Jun 27 01:39:27 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 51de6b9b5..17b843ad8 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 Mon Jun 26 20:13:16 2006 for phpcompta by  +
                  Generated on Tue Jun 27 01:39:29 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 c1cb3f45b..02ed92323 100644 --- a/doc/developper/html/poste__search_8php-source.html +++ b/doc/developper/html/poste__search_8php-source.html @@ -133,7 +133,7 @@ 00127 00128 echo '<FORM ACTION="poste_search.php'.$url.'" METHOD="POST">'; 00129 if ( isset($p_ctl) ) { -00130 if ($p_ctl != 'not') echo '<INPUT TYPE="hidden" name="p_ctl" value="'.$p_ctl.'">'; +00130 if ($p_ctl != 'not') echo '<INPUT TYPE="hidden" name="p_ctl" value="'.$p_ctl.'">'; 00131 } 00132 echo '<TABLE>'; 00133 echo '<TR>'; @@ -142,14 +142,14 @@ 00136 00137 if ( ! isset ($p_class) ) $p_class=""; 00138 $opt=" <INPUT TYPE=\"text\" value=\"$p_class\" name=\"st_with\">"; -00139 echo '<TD> <INPUT TYPE="text" name="p_class" VALUE="'.$p_class.'"></TD>'; +00139 echo '<TD> <INPUT TYPE="text" name="p_class" VALUE="'.$p_class.'"></TD>'; 00140 00141 echo '<TD> Libellé </TD>'; 00142 echo '<TD> contient </TD>'; 00143 if ( ! isset ($p_comment) ) $p_comment=""; -00144 echo '<TD> <INPUT TYPE="text" name="p_comment" VALUE="'.$p_comment.'"></TD></TR>'; +00144 echo '<TD> <INPUT TYPE="text" name="p_comment" VALUE="'.$p_comment.'"></TD></TR>'; 00145 echo '</TABLE>'; -00146 echo '<INPUT TYPE="submit" name="search" value="cherche">'; +00146 echo '<INPUT TYPE="submit" name="search" value="cherche">'; 00147 echo '</FORM>'; 00148 00149 // if request search @@ -189,7 +189,7 @@ 00183 echo '<INPUT TYPE="BUTTON" Value="Close" onClick=\'GetIt()\'>'; 00184 html_page_stop(); 00185 ?> -
                  Generated on Mon Jun 26 20:13:15 2006 for phpcompta by  +
                  Generated on Tue Jun 27 01:39:27 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 0859cd231..cf41617e0 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 Mon Jun 26 20:13:16 2006 for phpcompta by  +
                  Generated on Tue Jun 27 01:39:29 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 3a7ca1a63..a0691a232 100644 --- a/doc/developper/html/postgres_8php-source.html +++ b/doc/developper/html/postgres_8php-source.html @@ -80,9 +80,9 @@ 00086 } 00087 } 00088 $password=phpcompta_password; -00089 $a=pg_connect("dbname=$l_dossier host=127.0.0.1 user='phpcompta' password='$password'"); +00089 $a=pg_connect("dbname=$l_dossier host=127.0.0.1 user='phpcompta' password='$password'"); 00090 echo_debug ('postgres.php',__LINE__,"connect to $p_db dbname $l_dossier"); -00091 return $a; +00091 return $a; 00092 } 00099 function ExecSql($p_connection, $p_string) { 00100 echo_debug('postgres.php',__LINE__,"SQL = $p_string"); @@ -101,7 +101,7 @@ 00117 function GetAllUser() { 00118 echo_debug('postgres.php',__LINE__,"GetUser"); 00119 $cn=DbConnect(); -00120 $sql="select * from ac_users where use_login!='phpcompta'"; +00120 $sql="select * from ac_users where use_login!='phpcompta'"; 00121 echo_debug('postgres.php',__LINE__,"ExecSql"); 00122 $Res=ExecSql($cn,$sql); 00123 $Num=pg_NumRows($Res); @@ -249,7 +249,7 @@ 00292 00293 $cn=DbConnect($p_dossier); 00294 -00295 $sql="insert into user_sec_jrn(uj_login,uj_jrn_id,uj_priv) ". +00295 $sql="insert into user_sec_jrn(uj_login,uj_jrn_id,uj_priv) ". 00296 "select '".$p_user."',jrn_def_id,'".$right."' from jrn_def ". 00297 "where jrn_def_id not in ". 00298 "(select uj_jrn_id from user_sec_jrn where uj_login='".$p_user."')"; @@ -257,7 +257,7 @@ 00300 } 00315 function GetUserProperty($p_cn,$p_user) 00316 { -00317 $sql="select use_login,use_first_name,use_name,use_admin,use_usertype,g_theme +00317 $sql="select use_login,use_first_name,use_name,use_admin,use_usertype,g_theme 00318 from ac_users where use_login='$p_user'"; 00319 $Ret=ExecSql($p_cn,$sql); 00320 if ( pg_NumRows($Ret) == 0) @@ -268,8 +268,8 @@ 00325 'g_theme'=>'classic', 00326 'use_login'=>$p_user); 00327 -00328 $a=pg_fetch_array($Ret,0); -00329 return $a; +00328 $a=pg_fetch_array($Ret,0); +00329 return $a; 00330 } 00340 function GetModeleId($p_cn,$p_modname) { 00341 $Res=ExecSql($p_cn,"select mod_id from modeledef where mod_name='$p_modname'"); @@ -312,7 +312,7 @@ 00393 pg_lo_unlink($cn,$old_oid); 00394 } 00395 // Load new document -00396 ExecSql($cn,"update jrn set jr_pj=".$oid.", jr_pj_name='".$_FILES['pj']['name']."', ". +00396 ExecSql($cn,"update jrn set jr_pj=".$oid.", jr_pj_name='".$_FILES['pj']['name']."', ". 00397 "jr_pj_type='".$_FILES['pj']['type']."' where jr_grpt_id=$seq"); 00398 return $oid; 00399 @@ -328,7 +328,7 @@ 00409 00410 00411 ?> -
                  Generated on Mon Jun 26 20:13:15 2006 for phpcompta by  +
                  Generated on Tue Jun 27 01:39:28 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 bb07f2c69..dccb05049 100644 --- a/doc/developper/html/postgres_8php.html +++ b/doc/developper/html/postgres_8php.html @@ -162,7 +162,7 @@ Definition at line 263

                  References $Res, and ExecSql().

                  -Referenced by Centralise(), Document_modele::Delete(), Document::Generate(), Document_modele::Get(), ImportCSV(), fiche::insert(), RecordInvoice(), RecordSell(), Document_modele::Save(), Document::SaveGenerated(), Document::Send(), TransferCSV(), and Document::Upload(). +Referenced by Centralise(), Document_modele::Delete(), Document::Generate(), Document_modele::Get(), ImportCSV(), fiche::insert(), RecordInvoice(), RecordSell(), Document_modele::Save(), Document::SaveGenerated(), Document::Send(), TransferCSV(), and Document::Upload().

                  @@ -205,7 +205,7 @@ Definition at line 222

                  References ExecSql().

                  -Referenced by cl_user::AccessJrn(), AddFiche(), cl_user::Admin(), CheckDossier(), CheckIsAdmin(), CheckJrn(), DeleteRapt(), form_verify_input(), FormODS(), FormVenteView(), GetParent(), GetRappel(), fiche_def::HasAttribute(), fiche::insert(), InsertRapt(), ListJrn(), action::myList(), NextJrn(), Remove(), ShowDossier(), fiche::update(), UpdateFiche(), and ViewFiche(). +Referenced by cl_user::AccessJrn(), AddFiche(), cl_user::Admin(), CheckDossier(), CheckIsAdmin(), CheckJrn(), DeleteRapt(), form_verify_input(), FormODS(), FormVenteView(), GetParent(), GetRappel(), fiche_def::HasAttribute(), fiche::insert(), InsertRapt(), ListJrn(), action::myList(), NextJrn(), Remove(), ShowDossier(), fiche::update(), UpdateFiche(), and ViewFiche().

                  @@ -254,7 +254,7 @@ connect to the database

                  Definition at line 72 of file postgres.php.

                  -References $a, and echo_debug(). +References $a, and echo_debug().

                  Referenced by cl_user::Admin(), cl_user::Check(), CheckAction(), CheckDossier(), CheckIsAdmin(), CheckJrn(), cl_user::cl_user(), ExisteJnt(), ExistePriv(), GetAllUser(), GetAvailableFolder(), GetDbId(), GetDossierName(), GetFirstJrnIdForJrnType(), GetJnt(), GetJrnProp(), GetLogin(), GetNumberLine(), GetPosteLibelle(), GetPriv(), GetUid(), html_page_start(), ListJrn(), MenuJrn(), ParseFormula(), RecordJrn(), ShowDossier(), ShowMenuComptaForm(), ShowMenuFiche(), ShowMenuJrnUser(), SyncRight(), and ViewJrn(). @@ -342,7 +342,7 @@ Definition at line 99

                  References $ret, echo_debug(), echo_error(), and exit.

                  -Referenced by AddFiche(), AddForm(), AddModele(), AlterSequence(), fiche::blank(), Centralise(), cl_user::CheckAction(), CheckAction(), CheckJrn(), Commit(), action::Confirm(), fiche::CountByDef(), CountSql(), Document_modele::Delete(), DeleteForm(), DeleteRapt(), fiche::Display(), action::Display(), DisplayDetailModele(), EncodeFiche(), EndSql(), ExecuteScript(), ExisteJnt(), ExistePriv(), FormPeriode(), FormPeriodeMult(), Document::Generate(), poste::get(), parm_code::Get(), fiche_def_ref::Get(), fiche_def::Get(), Document_type::get(), Document_modele::Get(), action::get(), Get_attr_def(), Get_attr_min(), Get_fiche_def_ref(), fiche_def::GetAll(), GetAllUser(), GetAmount(), GetArray(), fiche::getAttribut(), fiche_def::GetAttribut(), GetAvailableFolder(), GetBaseFiche(), GetBaseFicheDefault(), fiche::GetByDef(), fiche::GetByQCode(), fiche::GetByType(), GetClass(), GetConcerned(), GetCreateAccount(), GetData(), GetDataForm(), GetDataGrpt(), GetDataJrn(), GetDataJrnJrId(), GetDataJrnPdf(), GetDataModele(), GetDataPoste(), GetDbId(), jrn::GetDefLine(), GetDossierName(), GetExercice(), cl_user::getExercice(), getFicheAttribut(), GetFicheDef(), getFicheDefName(), GetFicheDefRef(), GetFicheJrn(), getFicheName(), getFicheNameById(), getFicheNameCode(), GetFirstJrnIdForJrnType(), GetFormName(), GetFormulaValue(), Supplier::GetFromPoste(), Customer::GetFromPoste(), cl_user::GetGlobalPref(), GetGrpt(), GetInternal(), GetJnt(), GetJrnName(), GetJrnProp(), GetJrnProperty(), GetLogin(), GetModeleId(), jrn::GetName(), fiche::getName(), GetNextFiche(), GetNumberLine(), GetPeriode(), getPeriodeFromDate(), getPeriodeFromMonth(), GetPosteLibelle(), cl_user::GetPreferences(), GetPriv(), GetQuantity(), GetRappel(), rapport::GetRow(), poste::GetRow(), jrn::GetRow(), Balance::GetRow(), jrn::GetRowSimple(), GetSequence(), GetSolde(), poste::GetSolde(), poste::GetSoldeDetail(), GetTvaPoste(), GetTvaRate(), GetUid(), GetUserProperty(), GetVersion(), html_page_start(), ImpHtml(), fiche::insert(), cl_user::insert_default_global_pref(), InsertJrn(), InsertJrnx(), InsertModeleLine(), InsertRapt(), InsertStockGoods(), isCentralize(), IsFicheOfJrn(), isValid(), ListJrn(), parm_code::LoadAll(), fiche_def_ref::LoadAll(), MenuJrn(), Document::MoveDocumentPj(), Document_modele::myList(), action::myList(), new_fiche(), NextSequence(), Own::Own(), ParseFormula(), PeriodeClosed(), PosteForm(), RecordFin(), RecordInvoice(), RecordJrn(), RecordSell(), Remove(), fiche::remove(), Document::remove(), Rollback(), parm_code::Save(), fiche_def_ref::Save(), Document_modele::Save(), save_upload_document(), Document::SaveGenerated(), SaveModeleName(), action::SaveStage2(), Document::Send(), SetInternalCode(), cl_user::SetPeriode(), ShowDevise(), ShowDossier(), ShowMenuComptaForm(), ShowMenuFiche(), ShowMenuJrn(), ShowMenuJrnUser(), ShowPeriode(), StartSql(), fiche::strAttribut(), SyncRight(), TransferCSV(), fiche::update(), cl_user::update_global_pref(), UpdateComment(), UpdateCSV(), UpdateFiche(), UpdateForm(), Document::Upload(), Customer::VatListing(), VerifImport(), ViewDetailStock(), ViewFiche(), ViewFicheDetail(), ViewJrn(), and ViewStock(). +Referenced by AddFiche(), AddForm(), AddModele(), AlterSequence(), fiche::blank(), Document::blank(), Centralise(), cl_user::CheckAction(), CheckAction(), CheckJrn(), Commit(), action::Confirm(), fiche::CountByDef(), CountSql(), Document_modele::Delete(), DeleteForm(), DeleteRapt(), fiche::Display(), DisplayDetailModele(), EncodeFiche(), EndSql(), ExecuteScript(), ExisteJnt(), ExistePriv(), FormPeriode(), FormPeriodeMult(), Document::Generate(), poste::get(), parm_code::Get(), fiche_def_ref::Get(), fiche_def::Get(), Document_type::get(), Document_modele::Get(), action::get(), Get_attr_def(), Get_attr_min(), Get_fiche_def_ref(), fiche_def::GetAll(), GetAllUser(), GetAmount(), GetArray(), fiche::getAttribut(), fiche_def::GetAttribut(), GetAvailableFolder(), GetBaseFiche(), GetBaseFicheDefault(), fiche::GetByDef(), fiche::GetByQCode(), fiche::GetByType(), GetClass(), GetConcerned(), GetCreateAccount(), GetData(), GetDataForm(), GetDataGrpt(), GetDataJrn(), GetDataJrnJrId(), GetDataJrnPdf(), GetDataModele(), GetDataPoste(), GetDbId(), jrn::GetDefLine(), GetDossierName(), GetExercice(), cl_user::getExercice(), getFicheAttribut(), GetFicheDef(), getFicheDefName(), GetFicheDefRef(), GetFicheJrn(), getFicheName(), getFicheNameById(), getFicheNameCode(), GetFirstJrnIdForJrnType(), GetFormName(), GetFormulaValue(), Supplier::GetFromPoste(), Customer::GetFromPoste(), cl_user::GetGlobalPref(), GetGrpt(), GetInternal(), GetJnt(), GetJrnName(), GetJrnProp(), GetJrnProperty(), GetLogin(), GetModeleId(), jrn::GetName(), fiche::getName(), GetNextFiche(), GetNumberLine(), GetPeriode(), getPeriodeFromDate(), getPeriodeFromMonth(), GetPosteLibelle(), cl_user::GetPreferences(), GetPriv(), GetQuantity(), GetRappel(), rapport::GetRow(), poste::GetRow(), jrn::GetRow(), Balance::GetRow(), jrn::GetRowSimple(), GetSequence(), GetSolde(), poste::GetSolde(), poste::GetSoldeDetail(), GetTvaPoste(), GetTvaRate(), GetUid(), GetUserProperty(), GetVersion(), html_page_start(), ImpHtml(), fiche::insert(), cl_user::insert_default_global_pref(), InsertJrn(), InsertJrnx(), InsertModeleLine(), InsertRapt(), InsertStockGoods(), isCentralize(), IsFicheOfJrn(), isValid(), ListJrn(), parm_code::LoadAll(), fiche_def_ref::LoadAll(), MenuJrn(), Document::MoveDocumentPj(), Document_modele::myList(), action::myList(), new_fiche(), NextSequence(), Own::Own(), ParseFormula(), PeriodeClosed(), PosteForm(), RecordFin(), RecordInvoice(), RecordJrn(), RecordSell(), Remove(), fiche::remove(), Document::remove(), Rollback(), parm_code::Save(), fiche_def_ref::Save(), Document_modele::Save(), save_upload_document(), Document::SaveGenerated(), SaveModeleName(), action::SaveStage2(), Document::Send(), SetInternalCode(), cl_user::SetPeriode(), ShowDevise(), ShowDossier(), ShowMenuComptaForm(), ShowMenuFiche(), ShowMenuJrn(), ShowMenuJrnUser(), ShowPeriode(), StartSql(), fiche::strAttribut(), SyncRight(), TransferCSV(), fiche::update(), action::Update(), cl_user::update_global_pref(), UpdateComment(), UpdateCSV(), UpdateFiche(), UpdateForm(), Document::Upload(), Customer::VatListing(), VerifImport(), ViewDetailStock(), ViewFiche(), ViewFicheDetail(), ViewJrn(), and ViewStock().

                  @@ -450,7 +450,7 @@ Return all the users as an array.

                  Definition at line 117 of file postgres.php.

                  -References $cn, $Num, $Res, $sql, $User, DbConnect(), echo_debug(), and ExecSql(). +References $cn, $Num, $Res, $sql, $User, DbConnect(), echo_debug(), and ExecSql().

                  @@ -784,7 +784,7 @@ Definition at line 242

                  References $Res, $seq, and ExecSql().

                  -Referenced by AddFiche(), AddForm(), AddModele(), InsertJrn(), InsertJrnx(), and Document::SaveGenerated(). +Referenced by AddFiche(), AddForm(), AddModele(), InsertJrn(), InsertJrnx(), and Document::SaveGenerated().

                  @@ -870,7 +870,7 @@ Get the properties of an user it means theme, profile, admin...

                  Definition at line 315 of file postgres.php.

                  -References $a, $Ret, $sql, and ExecSql(). +References $a, $Ret, $sql, and ExecSql().

                  @@ -915,7 +915,7 @@ Definition at line 251

                  References $Res, $seq, and ExecSql().

                  -Referenced by Document::Generate(), fiche::insert(), RecordFin(), RecordInvoice(), RecordODS(), RecordSell(), Document_modele::Save(), action::SaveStage2(), SetInternalCode(), and TransferCSV(). +Referenced by Document::blank(), Document::Generate(), fiche::insert(), RecordFin(), RecordInvoice(), RecordODS(), RecordSell(), Document_modele::Save(), action::SaveStage2(), SetInternalCode(), and TransferCSV().

                  @@ -949,7 +949,7 @@ Definition at line 266

                  References $Res, and ExecSql().

                  -Referenced by ExecuteScript(), RecordFin(), RecordInvoice(), RecordSell(), Document_modele::Save(), save_upload_document(), Document::SaveGenerated(), TransferCSV(), and Document::Upload(). +Referenced by ExecuteScript(), RecordFin(), RecordInvoice(), RecordSell(), Document_modele::Save(), save_upload_document(), Document::SaveGenerated(), TransferCSV(), and Document::Upload().

                  @@ -1000,7 +1000,7 @@ save_upload_document

                  Definition at line 371 of file postgres.php.

                  -References $old_oid, $r, $ret, echo_debug(), echo_error(), ExecSql(), name, and Rollback(). +References $old_oid, $r, $ret, echo_debug(), echo_error(), ExecSql(), name, and Rollback().

                  Referenced by RecordInvoice(), and RecordSell(). @@ -1094,7 +1094,7 @@ Definition at line 257

                  References $Res, and ExecSql().

                  -Referenced by Centralise(), Document_modele::Delete(), Document::Generate(), Document_modele::Get(), ImportCSV(), fiche::insert(), RecordFin(), RecordInvoice(), RecordODS(), RecordSell(), Document_modele::Save(), Document::SaveGenerated(), Document::Send(), TransferCSV(), and Document::Upload(). +Referenced by Centralise(), Document_modele::Delete(), Document::Generate(), Document_modele::Get(), ImportCSV(), fiche::insert(), RecordFin(), RecordInvoice(), RecordODS(), RecordSell(), Document_modele::Save(), Document::SaveGenerated(), Document::Send(), TransferCSV(), and Document::Upload().

                  @@ -1143,10 +1143,10 @@ SyncRight

                  Parameters:

                  Definition at line 289 of file postgres.php.

                  -References $cn, $priv, $Res, $right, $sql, DbConnect(), ExecSql(), and GetPriv(). +References $cn, $priv, $Res, $right, $sql, DbConnect(), ExecSql(), and GetPriv(). -


                  Generated on Mon Jun 26 20:13:16 2006 for phpcompta by  +
                  Generated on Tue Jun 27 01:39:30 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 c7865cc8b..f02cd49a7 100644 --- a/doc/developper/html/pref_8inc_8php-source.html +++ b/doc/developper/html/pref_8inc_8php-source.html @@ -52,9 +52,9 @@ 00047 00048 <FORM ACTION="<?echo $url;?>" METHOD="POST"> 00049 <TABLE ALIGN="CENTER"> -00050 <TR><TD><input type="password" name="pass_1"></TD></TR> -00051 <TR><TD><input type="password" name="pass_2"></TD></TR> -00052 <TR><TD><input type="submit" name="spass" value="Change mot de passe"></TD></TR> +00050 <TR><TD><input type="password" name="pass_1"></TD></TR> +00051 <TR><TD><input type="password" name="pass_2"></TD></TR> +00052 <TR><TD><input type="submit" name="spass" value="Change mot de passe"></TD></TR> 00053 </TABLE> 00054 </FORM> 00055 <? @@ -104,58 +104,59 @@ 00099 $periode=$_POST["periode"]; 00100 $User->SetPeriode($periode); 00101 echo_debug('pref.inc',__LINE__,"Periode returns ".PeriodeClosed($cn,$periode)); -00102 // if periode is closed then warns the users -00103 if ( PeriodeClosed($cn,$periode)=='t') -00104 { -00105 $msg= '<h2 class="error">Attention cette période est fermée, vous ne pourrez rien modifier dans le module comptable</h2>'; -00106 } -00107 -00108 } -00109 -00110 $l_user_per=$User->GetPeriode(); -00111 $l_form_per=FormPeriode($cn,$l_user_per,ALL); -00112 -00113 ?> -00114 <H2 CLASS="info"> Période</H2> -00115 <? echo $msg; ?> -00116 <FORM ACTION="<? echo $url;?>" METHOD="POST"> -00117 <TABLE ALIGN="CENTER"> -00118 <TR><TD>PERIODE</TD> -00119 <? printf('<TD> %s </TD></TR>',$l_form_per); ?> -00120 <TR><TD><input type="submit" name="sub_periode" value="Sauve"></TD></TR> -00121 </TABLE> -00122 </FORM> -00123 -00124 <H2 CLASS="info"> Taille des pages</H2> -00125 <FORM ACTION="<? echo $url;?>" METHOD="POST"> -00126 <TABLE ALIGN="CENTER"> -00127 <TR><TD>Taille des pages</TD> -00128 <TD> -00129 <SELECT NAME="p_size"> -00130 <option value="15">15 -00131 <option value="25">25 -00132 <option value="50">50 -00133 <option value="100">100 -00134 <option value="150">150 -00135 <option value="200">200 -00136 <option value="-1">Illimité -00137 <? -00138 $label=($_SESSION['g_pagesize'] == -1)?'Illimité':$_SESSION['g_pagesize']; -00139 echo '<option value="'.$_SESSION['g_pagesize'].'" selected>'.$label; -00140 ?> -00141 </SELECT> -00142 </TD></TR> -00143 <TR><TD><input type="submit" name="sub_taille" value="Sauve"></TD></TR> -00144 </TABLE> -00145 </FORM> -00146 +00102 } +00103 +00104 $l_user_per=$User->GetPeriode(); +00105 // if periode is closed then warns the users +00106 if ( PeriodeClosed($cn,$l_user_per)=='t') +00107 { +00108 $msg= '<h2 class="error">Attention cette période est fermée, vous ne pourrez rien modifier dans le module comptable</h2>'; +00109 } +00110 +00111 +00112 $l_form_per=FormPeriode($cn,$l_user_per,ALL); +00113 +00114 ?> +00115 <H2 CLASS="info"> Période</H2> +00116 <? echo $msg; ?> +00117 <FORM ACTION="<? echo $url;?>" METHOD="POST"> +00118 <TABLE ALIGN="CENTER"> +00119 <TR><TD>PERIODE</TD> +00120 <? printf('<TD> %s </TD></TR>',$l_form_per); ?> +00121 <TR><TD><input type="submit" name="sub_periode" value="Sauve"></TD></TR> +00122 </TABLE> +00123 </FORM> +00124 +00125 <H2 CLASS="info"> Taille des pages</H2> +00126 <FORM ACTION="<? echo $url;?>" METHOD="POST"> +00127 <TABLE ALIGN="CENTER"> +00128 <TR><TD>Taille des pages</TD> +00129 <TD> +00130 <SELECT NAME="p_size"> +00131 <option value="15">15 +00132 <option value="25">25 +00133 <option value="50">50 +00134 <option value="100">100 +00135 <option value="150">150 +00136 <option value="200">200 +00137 <option value="-1">Illimité +00138 <? +00139 $label=($_SESSION['g_pagesize'] == -1)?'Illimité':$_SESSION['g_pagesize']; +00140 echo '<option value="'.$_SESSION['g_pagesize'].'" selected>'.$label; +00141 ?> +00142 </SELECT> +00143 </TD></TR> +00144 <TR><TD><input type="submit" name="sub_taille" value="Sauve"></TD></TR> +00145 </TABLE> +00146 </FORM> 00147 -00148 <? -00149 } -00150 -00151 echo "</DIV>"; -00152 ?> -
                  Generated on Mon Jun 26 20:13:15 2006 for phpcompta by  +00148 +00149 <? +00150 } +00151 +00152 echo "</DIV>"; +00153 ?> +
                  Generated on Tue Jun 27 01:39:28 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 9d82a24f4..578894c2f 100644 --- a/doc/developper/html/pref_8inc_8php.html +++ b/doc/developper/html/pref_8inc_8php.html @@ -22,7 +22,7 @@  $msg = "" - $l_form_per = FormPeriode($cn,$l_user_per,ALL) + $l_user_per = $User->GetPeriode()  $label = ($_SESSION['g_pagesize'] == -1)?'Illimité':$_SESSION['g_pagesize'] @@ -53,13 +53,13 @@ Definition at line 66 of file pref.inc.php. -

                  +

                  @@ -75,7 +75,7 @@ Definition at line 66

                  -Definition at line 111 of file pref.inc.php. +Definition at line 104 of file pref.inc.php.

                  - +
                  $l_form_per = FormPeriode($cn,$l_user_per,ALL) $l_user_per = $User->GetPeriode()

                  @@ -100,7 +100,7 @@ Definition at line 111

                  -Definition at line 138 of file pref.inc.php. +Definition at line 139 of file pref.inc.php.

                  Referenced by fiche::blank(), fiche::Display(), EncodeFiche(), Cpdf::o_annotation(), Cpdf::o_fontEncoding(), and UpdateFiche(). @@ -129,7 +129,7 @@ Referenced by fiche::b

                  Definition at line 96 of file pref.inc.php.

                  -Referenced by fiche::blank(), fiche::Display(), form_verify_input(), FormAchInput(), FormODS(), FormVenInput(), and VerifyOperationDate(). +Referenced by fiche::blank(), fiche::Display(), form_verify_input(), FormAchInput(), FormODS(), FormVenInput(), widget::IOValue(), and VerifyOperationDate().

                  @@ -210,9 +210,9 @@ Referenced by html_page_

                  Initial value:

                  "POST">
                   <TABLE ALIGN="CENTER">
                  -<TR><TD><input type="password" name="pass_1"></TD></TR>
                  -<TR><TD><input type="password" name="pass_2"></TD></TR>
                  -<TR><TD><input type="submit" name="spass" value="Change mot de passe"></TD></TR>
                  +<TR><TD><input type="password" name="pass_1"></TD></TR>
                  +<TR><TD><input type="password" name="pass_2"></TD></TR>
                  +<TR><TD><input type="submit" name="spass" value="Change mot de passe"></TD></TR>
                   </TABLE>
                   </FORM>
                   <?
                  @@ -224,7 +224,7 @@ Definition at line 48
                   Referenced by DefModele(), EncodeModele(), FormAchView(), FormVenteView(), RecordJrn(), ShowDevise(), ShowFormTransfert(), ShowPeriode(), u_ShowMenuRecherche(), VerifImport(), ViewFiche(), and ViewImp().    
                     
                   
                  -
                  Generated on Mon Jun 26 20:13:16 2006 for phpcompta by  +
                  Generated on Tue Jun 27 01:39:30 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 259f517fc..fc7de51a4 100644 --- a/doc/developper/html/preference_8php-source.html +++ b/doc/developper/html/preference_8php-source.html @@ -31,7 +31,7 @@ 00022 /* $Revision$ */ 00037 function FormPeriodeMult($p_cn) 00038 { -00039 $sql="select p_id,to_char(p_start,'DD.MM.YYYY') as p_start, +00039 $sql="select p_id,to_char(p_start,'DD.MM.YYYY') as p_start, 00040 to_char(p_end,'DD.MM.YYYY') as p_end 00041 from parm_periode 00042 order by p_exercice,p_start"; @@ -67,7 +67,7 @@ 00086 default: 00087 error("invalide p_type in 'preference.php'#__LINE__"); 00088 } -00089 $sql="select p_id,to_char(p_start,'DD.MM.YYYY') as p_start_string, +00089 $sql="select p_id,to_char(p_start,'DD.MM.YYYY') as p_start_string, 00090 to_char(p_end,'DD.MM.YYYY') as p_end_string 00091 from parm_periode 00092 $sql_closed @@ -95,7 +95,7 @@ 00114 } 00125 function GetPeriode($p_cn,$p_periode) 00126 { -00127 $sql="select to_char(p_start,'DD.MM.YYYY') as p_start, +00127 $sql="select to_char(p_start,'DD.MM.YYYY') as p_start, 00128 to_char(p_end,'DD.MM.YYYY') as p_end 00129 from parm_periode 00130 where p_id=".$p_periode; @@ -106,7 +106,7 @@ 00135 } 00146 function PeriodeClosed($p_cn,$p_periode) 00147 { -00148 $sql="select p_closed +00148 $sql="select p_closed 00149 from parm_periode 00150 where p_id=".$p_periode; 00151 $Res=ExecSql($p_cn,$sql); @@ -211,7 +211,7 @@ 00279 } 00280 00281 ?> -

                  Generated on Mon Jun 26 20:13:15 2006 for phpcompta by  +
                  Generated on Tue Jun 27 01:39:28 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 d5aa9eb7a..b6109736c 100644 --- a/doc/developper/html/preference_8php.html +++ b/doc/developper/html/preference_8php.html @@ -103,7 +103,7 @@ Generate the form for the periode.

                  Definition at line 71 of file preference.php.

                  -References $l_line, $Max, $Res, $ret, $sql, and ExecSql(). +References $l_line, $Max, $Res, $ret, $sql, and ExecSql().

                  @@ -144,7 +144,7 @@ FormPeriodeMult

                  Definition at line 37 of file preference.php.

                  -References $l_line, $Max, $Res, $ret, $sql, and ExecSql(). +References $l_line, $Max, $Res, $ret, $sql, and ExecSql().

                  Referenced by ViewImp(). @@ -247,7 +247,7 @@ GetPeriode

                  Definition at line 125 of file preference.php.

                  -References $Res, $sql, and ExecSql(). +References $Res, $sql, and ExecSql().

                  Referenced by FormAchInput(), FormFin(), FormODS(), FormVenInput(), RecordJrn(), VerifData(), and VerifyOperationDate(). @@ -299,7 +299,7 @@ get the status of a periode

                  Definition at line 146 of file preference.php.

                  -References $l_line, $Res, $sql, and ExecSql(). +References $l_line, $Res, $sql, and ExecSql().

                  Referenced by VerifData(), and VerifyOperationDate(). @@ -384,7 +384,7 @@ Definition at line 224$l_line, $Max, $Res, echo_debug(), ExecSql(), and METHOD. -


                  Generated on Mon Jun 26 20:13:16 2006 for phpcompta by  +
                  Generated on Tue Jun 27 01:39:30 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 7b2d46d24..185f49d33 100644 --- a/doc/developper/html/print__balance_8php-source.html +++ b/doc/developper/html/print__balance_8php-source.html @@ -74,20 +74,20 @@ 00077 exit(); 00078 00079 } -00080 $a=GetPeriode($cn,$from_periode); +00080 $a=GetPeriode($cn,$from_periode); 00081 $b=GetPeriode($cn,$to_periode); 00082 $per_text=" période du ".$a['p_start']." au ".$b['p_end']; 00083 $pdf=& new Cezpdf('a4'); 00084 $pdf->selectFont('./addon/fonts/Helvetica.afm'); 00085 $pdf->ezSetCmMargins(2,2,2,2); -00086 $pdf->ezTable($array,array('poste'=>'Poste','label'=>'Libellé','sum_deb'=>'Total Débit', +00086 $pdf->ezTable($array,array('poste'=>'Poste','label'=>'Libellé','sum_deb'=>'Total Débit', 00087 'sum_cred'=>'Total crédit','solde_deb'=>'Solde débiteur', 00088 'solde_cred'=>'Solde créditeur'),'Balance des comptes '.$t_cent.$per_text); 00089 $pdf->ezStream(); 00090 00091 00092 ?> -
                  Generated on Mon Jun 26 20:13:15 2006 for phpcompta by  +
                  Generated on Tue Jun 27 01:39:27 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 4041e3e8c..3c15e3b28 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 Mon Jun 26 20:13:16 2006 for phpcompta by  +
                  Generated on Tue Jun 27 01:39:29 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 57eb8b960..34f9c4388 100644 --- a/doc/developper/html/priv__user_8php-source.html +++ b/doc/developper/html/priv__user_8php-source.html @@ -94,13 +94,13 @@ 00088 use_id=".$uid; 00089 $Res=ExecSql($cn,$Sql); 00090 // Update Priv on Folder -00091 foreach ($HTTP_POST_VARS as $name=>$elem) +00091 foreach ($HTTP_POST_VARS as $name=>$elem) 00092 { 00093 echo_debug('priv_user.php',__LINE__,"HTTP_POST_VARS $name $elem"); -00094 if ( substr_count($name,'PRIV')!=0 ) +00094 if ( substr_count($name,'PRIV')!=0 ) 00095 { 00096 echo_debug('priv_user.php',__LINE__,"Found a priv"); -00097 $db_id=substr($name,4); +00097 $db_id=substr($name,4); 00098 $cn=DbConnect(); 00099 if ( ExisteJnt($db_id,$uid) != 1 ) 00100 { @@ -248,7 +248,7 @@ 00242 ?> 00243 00244 -
                  Generated on Mon Jun 26 20:13:15 2006 for phpcompta by  +
                  Generated on Tue Jun 27 01:39:27 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 00f60a414..1f3c0578e 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 Mon Jun 26 20:13:16 2006 for phpcompta by  +
                  Generated on Tue Jun 27 01:39:29 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 6c25bcf05..2176a1a86 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 Mon Jun 26 20:13:14 2006 for phpcompta by  +
                  Generated on Tue Jun 27 01:39:26 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 0852a7f2d..5c5c87ae0 100644 --- a/doc/developper/html/readme_8php.html +++ b/doc/developper/html/readme_8php.html @@ -774,10 +774,10 @@ Definition at line 281 o

                  Definition at line 200 of file readme.php.

                  -Referenced by Document::Replace(). +Referenced by Document::Replace(). -


                  Generated on Mon Jun 26 20:13:15 2006 for phpcompta by  +
                  Generated on Tue Jun 27 01:39:29 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 a82ae85de..211cb1c04 100644 --- a/doc/developper/html/recherche_8php-source.html +++ b/doc/developper/html/recherche_8php-source.html @@ -57,30 +57,32 @@ 00052 echo '<DIV class="lextmenu">'; // class="recherche_form">'; 00053 echo $search_box; 00054 echo "</div>"; +00055 //----------------------------------------------------- 00056 // Display search result -00058 if ( isset ($_GET['viewsearch'])) { +00057 //----------------------------------------------------- +00058 if ( isset ($_GET['viewsearch'])) { 00059 // Navigation bar -00060 $step=$_SESSION['g_pagesize']; -00061 $page=(isset($_GET['offset']))?$_GET['page']:1; -00062 $offset=(isset($_GET['offset']))?$_GET['offset']:0; +00060 $step=$_SESSION['g_pagesize']; +00061 $page=(isset($_GET['offset']))?$_GET['page']:1; +00062 $offset=(isset($_GET['offset']))?$_GET['offset']:0; 00063 if (count ($_GET) == 0) 00064 $array=null; 00065 else 00066 $array=$_GET; 00067 00068 list($max_line,$a)=ListJrn($cn,0,"",$array,$offset,2); -00069 $bar=jrn_navigation_bar($offset,$max_line,$step,$page); +00069 $bar=jrn_navigation_bar($offset,$max_line,$step,$page); 00070 00071 echo '<div class="u_redcontent">'; -00072 echo $bar; -00073 echo $a; +00072 echo $bar; +00073 echo $a; 00074 echo $bar; 00075 echo '</div>'; 00076 } 00077 echo '</DIV>'; 00078 00079 ?> -
                  Generated on Mon Jun 26 20:13:15 2006 for phpcompta by  +
                  Generated on Tue Jun 27 01:39:27 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 628c8374a..2eb1efcf1 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 Mon Jun 26 20:13:16 2006 for phpcompta by  +
                  Generated on Tue Jun 27 01:39:29 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 ba03d84ba..bbb94a3a0 100644 --- a/doc/developper/html/sec__pdf_8php-source.html +++ b/doc/developper/html/sec__pdf_8php-source.html @@ -39,6 +39,7 @@ 00034 require_once("check_priv.php"); 00035 echo_debug('sec_pdf.php',__LINE__,"imp pdf securité"); 00036 $cn=DbConnect($_SESSION['g_dossier']); +00037 //----------------------------------------------------- 00038 // Security 00039 00040 // Check User @@ -52,6 +53,7 @@ 00048 NoAccess(); 00049 exit -1; 00050 } +00051 //----------------------------------------------------- 00052 // Get User's info 00053 if ( ! isset($_GET['user_id']) ) 00054 return; @@ -59,6 +61,7 @@ 00056 $SecUser=new cl_user($rep,$_GET['user_id']); 00057 00058 +00059 //----------------------------------------------------- 00060 // Print result 00061 00062 $pdf=& new Cezpdf("A4"); @@ -76,6 +79,7 @@ 00074 00075 if ( $SecUser->admin==1) 00076 $pdf->ezText('Administrateur',12,array('justification'=>'center')); +00077 //----------------------------------------------------- 00078 // Journal 00079 $Res=ExecSql($cn,"select jrn_def_id,jrn_def_name from jrn_def "); 00080 for ($e=0;$e < pg_NumRows($Res);$e++) { @@ -101,6 +105,7 @@ 00100 'priv'=>'Privilège')," ", 00101 array('shaded'=>0,'showHeadings'=>1,'width'=>500)); 00102 +00103 //----------------------------------------------------- 00104 // Action 00105 $Res=ExecSql($cn, 00106 "select ac_id, ac_description from action order by ac_description "); @@ -131,7 +136,7 @@ 00131 $pdf->ezStream(); 00132 00133 ?> -
                  Generated on Mon Jun 26 20:13:15 2006 for phpcompta by  +
                  Generated on Tue Jun 27 01:39:27 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 1d83663f6..2143c0fef 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 Mon Jun 26 20:13:16 2006 for phpcompta by  +
                  Generated on Tue Jun 27 01:39:29 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 774726c00..3153b8f82 100644 --- a/doc/developper/html/send__jrn__pdf_8php-source.html +++ b/doc/developper/html/send__jrn__pdf_8php-source.html @@ -61,15 +61,15 @@ 00056 $pdf=& new Cezpdf("A4"); 00057 $pdf->selectFont('./addon/fonts/Helvetica.afm'); 00058 -00059 $offset=0;$limit=25;$step=25; +00059 $offset=0;$limit=25;$step=25; 00060 $rap_deb=0;$rap_cred=0; 00061 while (1) { -00062 $a=0; +00062 $a=0; 00063 list ($a_jrn,$tot_deb,$tot_cred)=GetDataJrnPdf($cn,$HTTP_GET_VARS,$limit,$offset); 00064 echo_debug('send_jrn_pdf.php',__LINE__,"Total debit $tot_deb,credit $tot_cred"); 00065 00066 if ( $a_jrn==null) break; -00067 $offset+=$step; +00067 $offset+=$step; 00068 foreach ($a_jrn as $key=>$element) { 00069 echo_debug('send_jrn_pdf.php',__LINE__,"$key => $element"); 00070 foreach ($element as $c1=>$c2) @@ -105,7 +105,7 @@ 00100 array('shaded'=>0,'showHeadings'=>1,'width'=>500, 00101 'cols'=>array('deb_montant'=> array('justification'=>'right'), 00102 'cred_montant'=> array('justification'=>'right')))); -00103 $a=1; +00103 $a=1; 00104 // Total Page 00105 $apage=array(array('deb'=>sprintf("%8.2f",$tot_deb),'cred'=>$tot_cred)); 00106 foreach ($apage as $key=>$element) echo_debug('send_jrn_pdf.php',__LINE__,"apage $key => $element"); @@ -155,7 +155,7 @@ 00150 $pdf->ezStream(); 00151 00152 ?> -
                  Generated on Mon Jun 26 20:13:15 2006 for phpcompta by  +
                  Generated on Tue Jun 27 01:39:27 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 e2d417922..b1c6a41af 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 Mon Jun 26 20:13:16 2006 for phpcompta by  +
                  Generated on Tue Jun 27 01:39:29 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 7593fa53d..d69619f3f 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 Mon Jun 26 20:13:15 2006 for phpcompta by  +
                  Generated on Tue Jun 27 01:39:27 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 07e53677d..1d73931c0 100644 --- a/doc/developper/html/send__poste__pdf_8php.html +++ b/doc/developper/html/send__poste__pdf_8php.html @@ -192,7 +192,7 @@ Definition at line Definition at line 44 of file send_poste_pdf.php.

                  -Referenced by form_verify_input(), ImpHtml(), parm_code::Input(), RecordFin(), RecordInvoice(), RecordJrn(), RecordSell(), and Document::Replace(). +Referenced by form_verify_input(), ImpHtml(), parm_code::Input(), RecordFin(), RecordInvoice(), RecordJrn(), RecordSell(), and Document::Replace().

                  @@ -270,7 +270,7 @@ Definition at line 75 of file send_poste_pdf.php. -


                  Generated on Mon Jun 26 20:13:16 2006 for phpcompta by  +
                  Generated on Tue Jun 27 01:39:29 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 4a9bf1782..66416b36d 100644 --- a/doc/developper/html/setup_8php-source.html +++ b/doc/developper/html/setup_8php-source.html @@ -88,8 +88,8 @@ 00079 */ 00080 function GetVersion($p_cn) { 00081 $Res=ExecSql($p_cn,"select val from version"); -00082 $a=pg_fetch_array($Res,0); -00083 return $a['val']; +00082 $a=pg_fetch_array($Res,0); +00083 return $a['val']; 00084 } 00085 /* function ExecuteScript 00086 ************************************************** @@ -109,7 +109,7 @@ 00100 echo 'Ne peut ouvrir '.$script; 00101 exit(); 00102 } -00103 $sql=""; +00103 $sql=""; 00104 $flag_function=false; 00105 while (!feof($hf)) { 00106 $buffer=fgets($hf); @@ -128,38 +128,38 @@ 00119 if ( strpos(strtolower($buffer),"create function")===0 ) { 00120 echo "found a function"; 00121 $flag_function=true; -00122 $sql=$buffer; +00122 $sql=$buffer; 00123 continue; 00124 } 00125 if ( strpos(strtolower($buffer),"create or replace function")===0 ) { 00126 echo "found a function"; 00127 $flag_function=true; -00128 $sql=$buffer; +00128 $sql=$buffer; 00129 continue; 00130 } 00131 // No semi colon -> multiline command 00132 if ( $flag_function== false && strpos($buffer,';') == false ) { -00133 $sql.=$buffer; +00133 $sql.=$buffer; 00134 continue; 00135 } 00136 if ( $flag_function ) { 00137 if ( strpos(strtolower($buffer), "language plpgsql") === false && 00138 strpos(strtolower($buffer), "language 'plpgsql'") === false ) { -00139 $sql.=$buffer; +00139 $sql.=$buffer; 00140 continue; 00141 } 00142 } else { 00143 // cut the semi colon 00144 $buffer=str_replace (';','',$buffer); 00145 } -00146 $sql.=$buffer; +00146 $sql.=$buffer; 00147 if ( ExecSql($p_cn,$sql) == false ) { 00148 Rollback($p_cn); 00149 if ( DEBUG=='false' ) ob_end_flush(); 00150 print "ERROR : $sql"; 00151 exit(); 00152 } -00153 $sql=""; +00153 $sql=""; 00154 $flag_function=false; 00155 print "<hr>"; 00156 } // while (feof) @@ -181,7 +181,7 @@ 00172 $flag_php=0; 00173 foreach (array('magic_quotes_gpc','magic_quotes_runtime') as $a) { 00174 -00175 if ( ini_get($a) == false ) print $a.': Ok <br>'; +00175 if ( ini_get($a) == false ) print $a.': Ok <br>'; 00176 else { 00177 print ("<h2 class=\"error\">$a has a bad value !!!</h2>"); 00178 $flag_php++; @@ -230,7 +230,7 @@ 00221 <? 00222 // Verify Psql version 00223 //-- -00224 $sql="select setting from pg_settings where name='server_version'"; +00224 $sql="select setting from pg_settings where name='server_version'"; 00225 $Res=ExecSql($cn,$sql); 00226 $row=pg_fetch_array($Res,0); 00227 $version=$row[0]; @@ -268,26 +268,26 @@ 00259 $Res=ExecSql($cn,$sql); 00260 $flag=0; 00261 for ($e=0;$e<pg_NumRows($Res);$e++) { -00262 $a=pg_fetch_array($Res,$e); -00263 switch ($a['name']){ +00262 $a=pg_fetch_array($Res,$e); +00263 switch ($a['name']){ 00264 case 'effective_cache_size': 00265 if ( $a['setting'] < 1000 ){ 00266 print '<p class="warning">Attention le paramètre effective_cache_size est de '. -00267 $a['setting']." au lieu de 1000 </p>"; +00267 $a['setting']." au lieu de 1000 </p>"; 00268 $flag++; 00269 } 00270 break; 00271 case 'shared_buffers': 00272 if ( $a['setting'] < 640 ){ 00273 print '<p class="warning">Attention le paramètre shared_buffer est de '. -00274 $a['setting']."au lieu de 640</p>"; +00274 $a['setting']."au lieu de 640</p>"; 00275 $flag++; 00276 } 00277 break; 00278 case 'work_mem': 00279 if ( $a['setting'] < 8192 ){ 00280 print '<p class="warning">Attention le paramètre work_mem est de '. -00281 $a['setting']." au lieu de 8192 </p>"; +00281 $a['setting']." au lieu de 8192 </p>"; 00282 $flag++; 00283 } 00284 break; @@ -302,7 +302,7 @@ 00293 if ( ! isset($_POST['go']) ) { 00294 ?> 00295 <FORM action="setup.php" METHOD="post"> -00296 <input type="submit" name="go" value="Prêt à commencer la mise à jour ou l'installation?"> +00296 <input type="submit" name="go" value="Prêt à commencer la mise à jour ou l'installation?"> 00297 </form> 00298 <? 00299 } @@ -358,7 +358,7 @@ 00349 // 00350 // Test the connection 00351 //-- -00352 $a=DbConnect(); +00352 $a=DbConnect(); 00353 if ( $a==false) { 00354 exit ("<h2 class=\"error\">".__LINE__." test has failed !!!</h2>"); 00355 @@ -540,7 +540,7 @@ 00531 00532 if (DEBUG=='false') ob_end_clean(); 00533 echo "<h2 class=\"info\">Voilà tout est installé ;-)</h2>"; -
                  Generated on Mon Jun 26 20:13:14 2006 for phpcompta by  +
                  Generated on Tue Jun 27 01:39:26 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 f728d78e7..64dc3a332 100644 --- a/doc/developper/html/setup_8php.html +++ b/doc/developper/html/setup_8php.html @@ -87,7 +87,7 @@

                  Definition at line 97 of file setup.php.

                  -References $sql, ExecSql(), exit, print, and Rollback(). +References $sql, ExecSql(), exit, print, and Rollback().

                  @@ -119,7 +119,7 @@ References $sql, Definition at line 80 of file setup.php.

                  -References $a, $Res, and ExecSql(). +References $a, $Res, and ExecSql().


                  Variable Documentation

                  @@ -508,7 +508,7 @@ Definition at line 243 of Definition at line 360 of file setup.php. -
                  Generated on Mon Jun 26 20:13:16 2006 for phpcompta by  +
                  Generated on Tue Jun 27 01:39:29 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 76dff0e2b..91a41446f 100644 --- a/doc/developper/html/show__document_8php-source.html +++ b/doc/developper/html/show__document_8php-source.html @@ -39,9 +39,9 @@ 00034 $User=new cl_user(DbConnect()); 00037 $User->Check(); 00038 // retrieve the document -00039 $doc=new Document($cn,$_REQUEST['d_id']); +00039 $doc=new Document($cn,$_REQUEST['d_id']); 00040 $doc->Send(); -
                  Generated on Mon Jun 26 20:13:15 2006 for phpcompta by  +
                  Generated on Tue Jun 27 01:39:27 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 635618b15..2f7bde91d 100644 --- a/doc/developper/html/show__document_8php.html +++ b/doc/developper/html/show__document_8php.html @@ -18,7 +18,7 @@  $User = new cl_user(DbConnect()) - $doc = new Document($cn,$_REQUEST['d_id']) + $doc = new Document($cn,$_REQUEST['d_id'])

                  Detailed Description

                  @@ -58,7 +58,7 @@ Definition at line 3 - +
                  $doc = new Document($cn,$_REQUEST['d_id']) $doc = new Document($cn,$_REQUEST['d_id'])
                  @@ -102,7 +102,7 @@ Definition at line
                  3 Definition at line 34 of file show_document.php. -
                  Generated on Mon Jun 26 20:13:16 2006 for phpcompta by  +
                  Generated on Tue Jun 27 01:39:29 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 index 41d806aaf..30f114af4 100644 --- a/doc/developper/html/show__document__modele_8php-source.html +++ b/doc/developper/html/show__document__modele_8php-source.html @@ -40,7 +40,7 @@ 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']); +00040 from document_modele where md_id=".$_REQUEST['md_id']); 00041 if ( pg_num_rows($r) == 0 ) { 00042 echo_error("Invalid Document"); 00043 exit; @@ -69,7 +69,7 @@ 00066 unlink ($tmp); 00067 00068 Commit($cn); -
                  Generated on Mon Jun 26 20:13:15 2006 for phpcompta by  +
                  Generated on Tue Jun 27 01:39:27 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 index d157da36b..5fe9e6723 100644 --- a/doc/developper/html/show__document__modele_8php.html +++ b/doc/developper/html/show__document__modele_8php.html @@ -84,7 +84,7 @@ Definition at line 60 of file show_document_modele.php.

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

                  @@ -108,7 +108,7 @@ Referenced by FormA

                  Initial value:

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

                  Definition at line 39 of file show_document_modele.php. @@ -163,7 +163,7 @@ Definition at line 50 of file show_document_modele.php.

                  -Referenced by Creport::dots(), Cpdf::ellipse(), Cpdf::encryptInit(), Cezpdf::ezPRVTaddPageNumbers(), Document_modele::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(), Document::Send(), Cpdf::stream(), and fiche::update(). +Referenced by Creport::dots(), Cpdf::ellipse(), Cpdf::encryptInit(), Cezpdf::ezPRVTaddPageNumbers(), Document_modele::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(), Document::Send(), Cpdf::stream(), and fiche::update().

                  @@ -216,7 +216,7 @@ Definition at line 43 of file show_document_modele.php. -


                  Generated on Mon Jun 26 20:13:16 2006 for phpcompta by  +
                  Generated on Tue Jun 27 01:39:29 2006 for phpcompta by  doxygen 1.4.4
                  diff --git a/doc/developper/html/show__fiche_8php-source.html b/doc/developper/html/show__fiche_8php-source.html index df988662b..277f42c55 100644 --- a/doc/developper/html/show__fiche_8php-source.html +++ b/doc/developper/html/show__fiche_8php-source.html @@ -59,7 +59,7 @@ 00058 $f->GetByQCode($_REQUEST['q'],false); 00059 echo $f->Display(true); 00060 ?> -
                  Generated on Mon Jun 26 20:13:15 2006 for phpcompta by  +
                  Generated on Tue Jun 27 01:39:27 2006 for phpcompta by  doxygen 1.4.4
                  diff --git a/doc/developper/html/show__fiche_8php.html b/doc/developper/html/show__fiche_8php.html index 53dafada8..f0df50eda 100644 --- a/doc/developper/html/show__fiche_8php.html +++ b/doc/developper/html/show__fiche_8php.html @@ -75,7 +75,7 @@ Definition at line 4838 of file show_fiche.php. -
                  Generated on Mon Jun 26 20:13:16 2006 for phpcompta by  +
                  Generated on Tue Jun 27 01:39:29 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 index c4710e485..e2dc1a464 100644 --- a/doc/developper/html/show__pj_8php-source.html +++ b/doc/developper/html/show__pj_8php-source.html @@ -51,8 +51,8 @@ 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']; +00045 $a=pg_fetch_array($r,0); +00046 $jrn=$a['jr_def_id']; 00047 00048 if ($User->AccessJrn($cn,$jrn) == false ){ 00049 /* Cannot Access */ @@ -84,7 +84,7 @@ 00075 unlink ($tmp); 00076 00077 Commit($cn); -
                  Generated on Mon Jun 26 20:13:15 2006 for phpcompta by  +
                  Generated on Tue Jun 27 01:39:27 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 index 3dbb63e88..ee6f29f57 100644 --- a/doc/developper/html/show__pj_8php.html +++ b/doc/developper/html/show__pj_8php.html @@ -313,7 +313,7 @@ Definition at line 37 Definition at line 43 of file show_pj.php. -
                  Generated on Mon Jun 26 20:13:16 2006 for phpcompta by  +
                  Generated on Tue Jun 27 01:39:29 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 67f8e6f10..02aec624b 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 Mon Jun 26 20:13:15 2006 for phpcompta by  +
                  Generated on Tue Jun 27 01:39:27 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 05988810d..d3bd9a590 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 Mon Jun 26 20:13:16 2006 for phpcompta by  +
                  Generated on Tue Jun 27 01:39:29 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 3bd666487..966267cb0 100644 --- a/doc/developper/html/stock_8php-source.html +++ b/doc/developper/html/stock_8php-source.html @@ -123,7 +123,7 @@ 00118 // if year is not set then use the year of the user's periode 00119 if ( ! isset ($_GET['year']) ) { 00120 // get defaut periode -00121 $a=$User->GetPeriode(); +00121 $a=$User->GetPeriode(); 00122 // get exercice of periode 00123 $year=GetExercice($cn,$a); 00124 } else @@ -140,25 +140,25 @@ 00135 } 00136 $sg_code=(isset ($_GET['sg_code'] ))?$_GET['sg_code']:$_POST['sg_code']; 00137 $year=(isset($_GET['year']))?$_GET['year']:$_POST['year']; -00138 $a=ViewDetailStock($cn,$sg_code,$year); +00138 $a=ViewDetailStock($cn,$sg_code,$year); 00139 $b=ChangeStock($sg_code,$year); 00140 echo '<div class="u_redcontent">' ; -00141 echo $a; +00141 echo $a; 00142 echo 'Entrer la valeur qui doit augmenter ou diminuer le stock'; 00143 echo '<form action="stock.php" method="POST">'; 00144 echo $b; -00145 echo '<input type="submit" name="sub_change" value="Ok">'; +00145 echo '<input type="submit" name="sub_change" value="Ok">'; 00146 echo '</form>'; 00147 echo '</div>'; 00148 exit(); 00149 } 00150 00151 // Show the possible years -00152 $sql="select distinct (p_exercice) as exercice from parm_periode "; +00152 $sql="select distinct (p_exercice) as exercice from parm_periode "; 00153 $Res=ExecSql($cn,$sql); 00154 $r=""; 00155 for ( $i = 0; $i < pg_NumRows($Res);$i++) { -00156 $l=pg_fetch_array($Res,$i); +00156 $l=pg_fetch_array($Res,$i); 00157 $r.=sprintf('<A class="one" HREF="stock.php?year=%d">%d</a> - ', 00158 $l['exercice'], 00159 $l['exercice']); @@ -173,14 +173,14 @@ 00168 // Show the current stock 00169 echo '<div class="u_redcontent">'; 00170 echo $r; -00171 $a=ViewStock($cn,$year); +00171 $a=ViewStock($cn,$year); 00172 if ( $a != null ) { -00173 echo $a; +00173 echo $a; 00174 } 00175 echo '</div>'; 00176 html_page_stop(); 00177 ?> -
                  Generated on Mon Jun 26 20:13:15 2006 for phpcompta by  +
                  Generated on Tue Jun 27 01:39:27 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 320e6d0e7..857f1165c 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 Mon Jun 26 20:13:16 2006 for phpcompta by  +
                  Generated on Tue Jun 27 01:39:29 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 d6fd68269..fddb5cb8b 100644 --- a/doc/developper/html/stock__inc_8php-source.html +++ b/doc/developper/html/stock__inc_8php-source.html @@ -30,7 +30,7 @@ 00035 function ViewStock($p_cn,$p_year) { 00036 // build sql -- get the different merchandise sold or bought 00037 // during the p_year -00038 $sql=" select distinct sg_code +00038 $sql=" select distinct sg_code 00039 from stock_goods 00040 join jrnx on (stock_goods.j_id=jrnx.j_id) 00041 join parm_periode on (parm_periode.p_id=jrnx.j_tech_per) @@ -95,7 +95,7 @@ 00100 } 00111 function getFicheNameCode ($p_cn,$p_sg_code) { 00112 // Sql stmt -00113 $sql="select distinct f_id,av_text +00113 $sql="select distinct f_id,av_text 00114 from stock_goods 00115 join jnt_fic_att_value using (f_id ) 00116 join attr_value using (jft_id) @@ -110,9 +110,9 @@ 00125 // Store in an array 00126 for ( $i=0; $i<$M;$i++) { 00127 $r=pg_fetch_array($Res,$i); -00128 $a['f_id']=$r['f_id']; -00129 $a['av_text']=$r['av_text']; -00130 $result[$i]=$a; +00128 $a['f_id']=$r['f_id']; +00129 $a['av_text']=$r['av_text']; +00130 $result[$i]=$a; 00131 00132 } 00133 @@ -120,7 +120,7 @@ 00135 00136 } 00147 function ViewDetailStock($p_cn,$p_sg_code,$p_year) { -00148 $sql="select sg_code, +00148 $sql="select sg_code, 00149 j_montant, 00150 j_date, 00151 sg_quantity, @@ -173,17 +173,17 @@ 00198 $l_sessid=$_REQUEST['PHPSESSID']; 00199 00200 for ( $i=0; $i < $M;$i++) { -00201 $l=pg_fetch_array($Res,$i); +00201 $l=pg_fetch_array($Res,$i); 00202 $r.="<tR>"; 00203 00204 // date 00205 $r.="<TD>"; -00206 $r.=$l['j_date']; +00206 $r.=$l['j_date']; 00207 $r.="</TD>"; 00208 00209 //type (deb = out cred=in) 00210 $r.="<TD>"; -00211 $r.=($l['sg_type']=='c')?'OUT':'IN'; +00211 $r.=($l['sg_type']=='c')?'OUT':'IN'; 00212 $r.="</TD>"; 00213 00214 // jr_internal @@ -193,22 +193,22 @@ 00218 00219 // comment 00220 $r.="<TD>"; -00221 $r.=$l['jr_comment']; +00221 $r.=$l['jr_comment']; 00222 $r.="</TD>"; 00223 00224 //amount 00225 $r.="<TD>"; -00226 $r.=$l['j_montant']; +00226 $r.=$l['j_montant']; 00227 $r.="</TD>"; 00228 00229 //quantity 00230 $r.="<TD>"; -00231 $r.=$l['sg_quantity']; +00231 $r.=$l['sg_quantity']; 00232 $r.="</TD>"; 00233 00234 // Unit Price 00235 $r.="<TD>"; -00236 $up=$l['j_montant']/$l['sg_quantity']; +00236 $up=$l['j_montant']/$l['sg_quantity']; 00237 $r.=$up; 00238 $r.="</TD>"; 00239 @@ -224,17 +224,17 @@ 00259 function ChangeStock($p_sg_code,$p_year){ 00260 $sg_date=date("d.m.Y"); 00261 $r=' -00262 <input type="text" name="stock_change" value="0"> -00263 <input type="hidden" name="sg_code" value="'.$p_sg_code.'"> -00264 <input type="text" name="sg_date" value="'.$sg_date.'"> -00265 <input type="hidden" name="year" value="'.$p_year.'"> +00262 <input type="text" name="stock_change" value="0"> +00263 <input type="hidden" name="sg_code" value="'.$p_sg_code.'"> +00264 <input type="text" name="sg_date" value="'.$sg_date.'"> +00265 <input type="hidden" name="year" value="'.$p_year.'"> 00266 <br> 00267 '; 00268 return $r; 00269 00270 } 00276 function GetQuantity($p_cn,$p_sg_code,$p_year,$p_type) { -00277 $sql="select sum(sg_quantity) as result +00277 $sql="select sum(sg_quantity) as result 00278 from stock_goods 00279 join jrnx on (stock_goods.j_id=jrnx.j_id) 00280 join parm_periode on (parm_periode.p_id=jrnx.j_tech_per) @@ -248,7 +248,7 @@ 00288 return $value['result']; 00289 00290 } -
                  Generated on Mon Jun 26 20:13:15 2006 for phpcompta by  +
                  Generated on Tue Jun 27 01:39:28 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 614976bb4..7dea0833f 100644 --- a/doc/developper/html/stock__inc_8php.html +++ b/doc/developper/html/stock__inc_8php.html @@ -80,7 +80,7 @@ parm :

                    Definition at line 259 of file stock_inc.php.

                    -References $r, name, and value. +References $r, name, and value.

                    @@ -132,7 +132,7 @@ return an array of f_id and f_name

                    Definition at line 111 of file stock_inc.php.

                    -References $a, $i, $r, $Res, $result, $sql, ExecSql(), and f_id. +References $a, $i, $r, $Res, $result, $sql, ExecSql(), and f_id.

                    Referenced by ViewDetailStock(), and ViewStock(). @@ -190,7 +190,7 @@ return the quantity of a sg_code for the period

                    Definition at line 276 of file stock_inc.php.

                    -References $Res, $sql, and ExecSql(). +References $Res, $sql, and ExecSql().

                    Referenced by ViewStock(). @@ -249,7 +249,7 @@ View the details of a stock.

                    Definition at line 147 of file stock_inc.php.

                    -References $l, $r, $Res, $sql, ExecSql(), and getFicheNameCode(). +References $l, $r, $Res, $sql, ExecSql(), and getFicheNameCode().

                    @@ -300,10 +300,10 @@ show the listing of all goods

                    Definition at line 35 of file stock_inc.php.

                    -References $diff, $r, $Res, $result, $sql, ExecSql(), getFicheNameCode(), and GetQuantity(). +References $diff, $r, $Res, $result, $sql, ExecSql(), getFicheNameCode(), and GetQuantity(). -


                    Generated on Mon Jun 26 20:13:16 2006 for phpcompta by  +
                    Generated on Tue Jun 27 01:39:30 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 2a578a69e..ed8f7e724 100644 --- a/doc/developper/html/test_8php-source.html +++ b/doc/developper/html/test_8php-source.html @@ -43,7 +43,7 @@ 00034 include_once("ac_common.php"); 00035 include_once("postgres.php"); 00036 // Test the connection -00037 $a=DbConnect(); +00037 $a=DbConnect(); 00038 if ( $a==false) { 00039 exit ("<h2 class=\"error\">__LINE__ test has failed !!!</h2>"); 00040 @@ -61,7 +61,7 @@ 00052 // register_global 00053 foreach (array('magic_quotes_gpc','magic_quotes_runtime') as $a) { 00054 -00055 if ( ini_get($a) == false ) print $a.': Ok <br>'; +00055 if ( ini_get($a) == false ) print $a.': Ok <br>'; 00056 else { 00057 print ("<h2 class=\"error\">$a has a bad value !!!</h2>"); 00058 } @@ -75,7 +75,7 @@ 00066 echo "<h2 class=\"info\"> Congratulation : Test successfull</h2>"; 00067 00068 ?> -
                    Generated on Mon Jun 26 20:13:15 2006 for phpcompta by  +
                    Generated on Tue Jun 27 01:39:27 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 3c7e75c44..40bdf3f9f 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 Mon Jun 26 20:13:16 2006 for phpcompta by  +
                    Generated on Tue Jun 27 01:39:29 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 a3a24a106..0b756a461 100644 --- a/doc/developper/html/test__smarty_8php-source.html +++ b/doc/developper/html/test__smarty_8php-source.html @@ -17,12 +17,12 @@ 00008 $smarty->cache_dir = '../cache'; 00009 $smarty->config_dir = '../configs'; 00010 -00011 $smarty->assign('name', 'Stan'); +00011 $smarty->assign('name', 'Stan'); 00012 $smarty->display('index.tpl'); 00013 00014 ?> 00015 -
                    Generated on Mon Jun 26 20:13:15 2006 for phpcompta by  +
                    Generated on Tue Jun 27 01:39:27 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 e59a950c4..3454a73b3 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 Mon Jun 26 20:13:16 2006 for phpcompta by  +
                    Generated on Tue Jun 27 01:39:29 2006 for phpcompta by  doxygen 1.4.4
                    diff --git a/doc/developper/html/todo.html b/doc/developper/html/todo.html index b86c37cb7..f7e0dddd8 100644 --- a/doc/developper/html/todo.html +++ b/doc/developper/html/todo.html @@ -17,27 +17,27 @@

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

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

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

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

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

                  @@ -81,7 +81,7 @@

                  Global ShowMenuFiche
                  Only for developper A test must be added
                  -
                  Generated on Mon Jun 26 20:13:18 2006 for phpcompta by  +
                  Generated on Tue Jun 27 01:39:35 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 d7e1992d0..6209fdc40 100644 --- a/doc/developper/html/tva_8inc_8php-source.html +++ b/doc/developper/html/tva_8inc_8php-source.html @@ -132,8 +132,8 @@ 00127 echo "</TD>"; 00128 00129 echo "<TD>"; -00130 echo '<input type="submit" name="rm" value="Efface">'; -00131 echo '<input type="submit" name="mod" value="Modifie">'; +00130 echo '<input type="submit" name="rm" value="Efface">'; +00131 echo '<input type="submit" name="mod" value="Modifie">'; 00132 $w=new widget("hidden"); 00133 $w->name="tva_id"; 00134 $w->value=$row['tva_id']; @@ -157,8 +157,8 @@ 00152 00153 ) { ?> 00154 <form method="post"> -00155 <input type="submit" name="add" value="Ajouter un taux de tva"> -00156 <input type="hidden" name="p_action" value="tva"> +00155 <input type="submit" name="add" value="Ajouter un taux de tva"> +00156 <input type="hidden" name="p_action" value="tva"> 00157 </form> 00158 <? 00159 } @@ -181,7 +181,7 @@ 00176 <th>Poste</th> 00177 </tr> 00178 <tr> -00179 <td> <? echo $a[$index]['tva_label']; ?></td> +00179 <td> <? echo $a[$index]['tva_label']; ?></td> 00180 <td> <? echo $a[$index]['tva_rate']; ?></td> 00181 <td> <? echo $a[$index]['tva_comment']; ?></td> 00182 <td> <? echo $a[$index]['tva_poste']; ?></td> @@ -189,9 +189,9 @@ 00184 </table> 00185 <? 00186 echo '<FORM method="post">'; -00187 echo '<input type="hidden" name="tva_id" value="'.$index.'">'; -00188 echo '<input type="submit" name="confirm_rm" value="Confirme">'; -00189 echo '<input type="submit" value="Cancel" name="no">'; +00187 echo '<input type="hidden" name="tva_id" value="'.$index.'">'; +00188 echo '<input type="submit" name="confirm_rm" value="Confirme">'; +00189 echo '<input type="submit" value="Cancel" name="no">'; 00190 echo "</form>"; 00191 00192 } @@ -221,8 +221,8 @@ 00216 <td> <? $w=new widget("text"); $w->size=10;echo $w->IOValue('tva_poste','') ?></td> 00217 </Tr> 00218 </table> -00219 <input type="submit" value="Confirme" name="confirm_add"> -00220 <input type="submit" value="Cancel" name="no"> +00219 <input type="submit" value="Confirme" name="confirm_add"> +00220 <input type="submit" value="Cancel" name="no"> 00221 00222 </FORM> 00223 <? } @@ -237,7 +237,7 @@ 00232 $index=$_POST['tva_id']; 00233 00234 echo '<FORM method="post">'; -00235 echo '<input type="hidden" name="tva_id" value="'.$index.'">'; +00235 echo '<input type="hidden" name="tva_id" value="'.$index.'">'; 00236 ?> 00237 <table> 00238 <TR> @@ -254,14 +254,14 @@ 00249 <td> <? $w=new widget("text");$w->size=5; echo $w->IOValue('tva_poste',$a[$index]['tva_poste']) ?></td> 00250 </Tr> 00251 </table> -00252 <input type="submit" value="Confirme" name="confirm_mod"> -00253 <input type="submit" value="Cancel" name="no"> +00252 <input type="submit" value="Confirme" name="confirm_mod"> +00253 <input type="submit" value="Cancel" name="no"> 00254 </FORM> 00255 <? 00256 } 00257 00258 ?> -
                  Generated on Mon Jun 26 20:13:15 2006 for phpcompta by  +
                  Generated on Tue Jun 27 01:39:28 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 209f34f63..eab9e952f 100644 --- a/doc/developper/html/tva_8inc_8php.html +++ b/doc/developper/html/tva_8inc_8php.html @@ -412,7 +412,7 @@ Definition at line 132

                  Definition at line 215 of file tva.inc.php.

                  -Referenced by widget::widget(). +Referenced by widget::widget().

                  @@ -464,7 +464,7 @@ Definition at line 133

                  Definition at line 212 of file tva.inc.php.

                  -Referenced by Cezpdf::Cezpdf(), Creport::dots(), EncodeForm(), Cezpdf::ezPRVTaddPageNumbers(), Cezpdf::ezPrvtGetTextWidth(), Cezpdf::ezPrvtTableColumnHeadings(), Cezpdf::ezStartPageNumbers(), Cezpdf::ezText(), jrn_navigation_bar(), ShowFormTransfert(), u_ShowMenuRecherche(), VerifImport(), and widget::widget(). +Referenced by Cezpdf::Cezpdf(), Creport::dots(), EncodeForm(), Cezpdf::ezPRVTaddPageNumbers(), Cezpdf::ezPrvtGetTextWidth(), Cezpdf::ezPrvtTableColumnHeadings(), Cezpdf::ezStartPageNumbers(), Cezpdf::ezText(), jrn_navigation_bar(), ShowFormTransfert(), u_ShowMenuRecherche(), VerifImport(), and widget::widget().

                  @@ -516,10 +516,10 @@ Definition at line 134

                  Definition at line 215 of file tva.inc.php.

                  -Referenced by Cezpdf::ezColumnsStart(), Cezpdf::ezImage(), Cezpdf::ezNewPage(), Cezpdf::ezTable(), Cpdf::filledRectangle(), Cpdf::rectangle(), Cpdf::selectFont(), Cpdf::setLineStyle(), ShowMenuCompta(), ShowMenuParam(), VerifImport(), and widget::widget(). +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 Mon Jun 26 20:13:16 2006 for phpcompta by  +
                  Generated on Tue Jun 27 01:39:30 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 3ea8eabb5..177b80f6d 100644 --- a/doc/developper/html/user__action__ach_8php-source.html +++ b/doc/developper/html/user__action__ach_8php-source.html @@ -52,10 +52,10 @@ 00046 00047 if ( isset($_GET['blank'] )) { 00048 // Submit button in the form -00049 $submit='<INPUT TYPE="SUBMIT" NAME="add_item" VALUE="Ajout article"> +00049 $submit='<INPUT TYPE="SUBMIT" NAME="add_item" VALUE="Ajout article"> 00050 <INPUT TYPE="SUBMIT" NAME="view_invoice" VALUE="Sauver" ID="SubmitButton">'; 00051 $jrn=new jrn($cn, $_GET['p_jrn']); -00052 $r=FormAchInput($cn,$_GET['p_jrn'],$User->GetPeriode(),$HTTP_POST_VARS,$submit,false,$jrn->getDefLine('cred')); +00052 $r=FormAchInput($cn,$_GET['p_jrn'],$User->GetPeriode(),$HTTP_POST_VARS,$submit,false,$jrn->getDefLine('cred')); 00053 echo '<div class="u_redcontent">'; 00054 echo $r; 00055 echo "<div><h4>On-line calculator</h4>".JS_CALC_LINE."<div>"; @@ -67,15 +67,15 @@ 00061 // Add an item 00062 if ( isset ($_POST['add_item'])) { 00063 // Add a line -00064 $nb_number=$_POST["nb_item"]; -00065 $nb_number++; +00064 $nb_number=$_POST["nb_item"]; +00065 $nb_number++; 00066 00067 // submit button in the form 00068 $submit='<INPUT TYPE="SUBMIT" NAME="add_item" VALUE="Ajout article"> 00069 <INPUT TYPE="SUBMIT" NAME="view_invoice" VALUE="Sauver">'; 00070 00071 $r=FormAchInput($cn,$_GET['p_jrn'],$User->GetPeriode(),$HTTP_POST_VARS,$submit,false, -00072 $nb_number); +00072 $nb_number); 00073 echo '<div class="u_redcontent">'; 00074 echo $r; 00075 echo "<div><h4>On-line calculator</h4>".JS_CALC_LINE."<div>"; @@ -84,13 +84,13 @@ 00078 // Correct it 00079 if ( isset ($_POST['correct'])) { 00080 // Get number of lines -00081 $nb_number=$_POST["nb_item"]; +00081 $nb_number=$_POST["nb_item"]; 00082 00083 // submit button in the form 00084 $submit='<INPUT TYPE="SUBMIT" NAME="add_item" VALUE="Ajout article"> 00085 <INPUT TYPE="SUBMIT" NAME="view_invoice" VALUE="Sauver">'; 00086 -00087 $r=FormAchInput($cn,$_GET['p_jrn'],$User->GetPeriode(),$HTTP_POST_VARS,$submit,false, $nb_number); +00087 $r=FormAchInput($cn,$_GET['p_jrn'],$User->GetPeriode(),$HTTP_POST_VARS,$submit,false, $nb_number); 00088 echo '<div class="u_redcontent">'; 00089 echo $r; 00090 echo "<div><h4>On-line calculator</h4>".JS_CALC_LINE."<div>"; @@ -102,18 +102,18 @@ 00096 // View the charge and show a submit button to save it 00097 if ( isset ($_POST['view_invoice']) and 00098 ! isset ($_POST['save'])) { -00099 $nb_number=$_POST["nb_item"]; -00100 $submit='<INPUT TYPE="SUBMIT" name="save" value="Confirmer">'; -00101 $submit.='<INPUT TYPE="SUBMIT" name="correct" value="Corriger">'; -00102 if ( form_verify_input ($cn,$_GET['p_jrn'],$User->GetPeriode(),$HTTP_POST_VARS,$nb_number) == true ) { +00099 $nb_number=$_POST["nb_item"]; +00100 $submit='<INPUT TYPE="SUBMIT" name="save" value="Confirmer">'; +00101 $submit.='<INPUT TYPE="SUBMIT" name="correct" value="Corriger">'; +00102 if ( form_verify_input ($cn,$_GET['p_jrn'],$User->GetPeriode(),$HTTP_POST_VARS,$nb_number) == true ) { 00103 // Should use a read only view instead of FormAch 00104 // where we can check -00105 $r=FormAchView($cn,$_GET['p_jrn'],$User->GetPeriode(),$HTTP_POST_VARS,$submit,$nb_number); +00105 $r=FormAchView($cn,$_GET['p_jrn'],$User->GetPeriode(),$HTTP_POST_VARS,$submit,$nb_number); 00106 } else { 00107 // if something goes wrong, correct it 00108 $submit='<INPUT TYPE="SUBMIT" NAME="add_item" VALUE="Ajout article"> 00109 <INPUT TYPE="SUBMIT" NAME="view_invoice" VALUE="Sauver">'; -00110 $r=FormAchInput($cn,$_GET['p_jrn'],$User->GetPeriode(),$HTTP_POST_VARS,$submit, false, $nb_number); +00110 $r=FormAchInput($cn,$_GET['p_jrn'],$User->GetPeriode(),$HTTP_POST_VARS,$submit, false, $nb_number); 00111 } 00112 echo '<div class="u_redcontent">'; 00113 echo $r; @@ -123,12 +123,12 @@ 00117 // Save the charge into database 00118 if ( isset($_POST['save'] )) { 00119 // Get number of lines -00120 $nb_number=$_POST["nb_item"]; +00120 $nb_number=$_POST["nb_item"]; 00121 00122 // submit button in the form 00123 $submit='<h2 class="info">Recorded</h2>'; 00124 $r=RecordSell($cn,$HTTP_POST_VARS,$User,$_GET['p_jrn']); -00125 $r=FormAchView($cn,$_GET['p_jrn'],$User->GetPeriode(),$HTTP_POST_VARS,"",$nb_number,false); +00125 $r=FormAchView($cn,$_GET['p_jrn'],$User->GetPeriode(),$HTTP_POST_VARS,"",$nb_number,false); 00126 echo '<div class="u_redcontent">'; 00127 echo $submit; 00128 echo $r; @@ -180,23 +180,23 @@ 00174 { 00175 // reset all the paid flag because the checkbox is post only 00176 // when checked -00177 foreach ($_POST as $name=>$paid) +00177 foreach ($_POST as $name=>$paid) 00178 { -00179 list($ad) = sscanf($name,"set_jr_id%d"); +00179 list($ad) = sscanf($name,"set_jr_id%d"); 00180 if ( $ad == null ) continue; -00181 $sql="update jrn set jr_rapt='' where jr_id=$ad"; +00181 $sql="update jrn set jr_rapt='' where jr_id=$ad"; 00182 $Res=ExecSql($cn,$sql); 00183 00184 } 00185 // set a paid flag for the checked box -00186 foreach ($_POST as $name=>$paid) +00186 foreach ($_POST as $name=>$paid) 00187 { -00188 list ($id) = sscanf ($name,"rd_paid%d"); +00188 list ($id) = sscanf ($name,"rd_paid%d"); 00189 00190 if ( $id == null ) continue; 00191 00192 $paid=($paid=='on')?'paid':''; -00193 $sql="update jrn set jr_rapt='$paid' where jr_id=$id"; +00193 $sql="update jrn set jr_rapt='$paid' where jr_id=$id"; 00194 $Res=ExecSql($cn,$sql); 00195 } 00196 @@ -205,14 +205,14 @@ 00199 // Show list of sell 00200 echo_debug ("user_action_ach.php"); 00201 // Date - date of payment - Customer - amount -00202 $sql=SQL_LIST_ALL_INVOICE." and jr_tech_per=".$current." and jr_def_id=".$_GET['p_jrn']; +00202 $sql=SQL_LIST_ALL_INVOICE." and jr_tech_per=".$current." and jr_def_id=".$_GET['p_jrn']; 00203 -00204 $step=$_SESSION['g_pagesize']; -00205 $page=(isset($_GET['offset']))?$_GET['page']:1; -00206 $offset=(isset($_GET['offset']))?$_GET['offset']:0; +00204 $step=$_SESSION['g_pagesize']; +00205 $page=(isset($_GET['offset']))?$_GET['page']:1; +00206 $offset=(isset($_GET['offset']))?$_GET['offset']:0; 00207 00208 list ($max_ligne,$list)=ListJrn($cn,$_GET['p_jrn'],$sql,null,$offset,1); -00209 $bar=jrn_navigation_bar($offset,$max_ligne,$step,$page); +00209 $bar=jrn_navigation_bar($offset,$max_ligne,$step,$page); 00210 echo '<form method="POST">'; 00211 00212 echo "<hr> $bar"; @@ -235,23 +235,23 @@ 00229 { 00230 // reset all the paid flag because the checkbox is post only 00231 // when checked -00232 foreach ($_POST as $name=>$paid) +00232 foreach ($_POST as $name=>$paid) 00233 { -00234 list($ad) = sscanf($name,"set_jr_id%d"); +00234 list($ad) = sscanf($name,"set_jr_id%d"); 00235 if ( $ad == null ) continue; -00236 $sql="update jrn set jr_rapt='' where jr_id=$ad"; +00236 $sql="update jrn set jr_rapt='' where jr_id=$ad"; 00237 $Res=ExecSql($cn,$sql); 00238 00239 } 00240 // set a paid flag for the checked box -00241 foreach ($_POST as $name=>$paid) +00241 foreach ($_POST as $name=>$paid) 00242 { -00243 list ($id) = sscanf ($name,"rd_paid%d"); +00243 list ($id) = sscanf ($name,"rd_paid%d"); 00244 00245 if ( $id == null ) continue; 00246 echo "Mise à jour $id"; 00247 $paid=($paid=='on')?'paid':''; -00248 $sql="update jrn set jr_rapt='$paid' where jr_id=$id"; +00248 $sql="update jrn set jr_rapt='$paid' where jr_id=$id"; 00249 $Res=ExecSql($cn,$sql); 00250 } 00251 @@ -259,16 +259,16 @@ 00253 00254 // Show list of unpaid sell 00255 // Date - date of payment - Customer - amount -00256 $sql=SQL_LIST_UNPAID_INVOICE_DATE_LIMIT." and jr_def_id=".$_GET['p_jrn'] ; -00257 $offset=(isset($_GET['offset']))?$_GET['offset']:0; -00258 $step=$_SESSION['g_pagesize']; -00259 $page=(isset($_GET['offset']))?$_GET['page']:1; +00256 $sql=SQL_LIST_UNPAID_INVOICE_DATE_LIMIT." and jr_def_id=".$_GET['p_jrn'] ; +00257 $offset=(isset($_GET['offset']))?$_GET['offset']:0; +00258 $step=$_SESSION['g_pagesize']; +00259 $page=(isset($_GET['offset']))?$_GET['page']:1; 00260 00261 list ($max_line,$list)=ListJrn($cn,$_GET['p_jrn'],$sql,null,$offset,1); 00262 // $bar=jrn_navigation_bar($offset,$max_ligne,$step,$page); 00263 00264 -00265 $sql=SQL_LIST_UNPAID_INVOICE." and jr_def_id=".$_GET['p_jrn'] ; +00265 $sql=SQL_LIST_UNPAID_INVOICE." and jr_def_id=".$_GET['p_jrn'] ; 00266 list ($max_line2,$list2)=ListJrn($cn,$_GET['p_jrn'],$sql,null,$offset,1); 00267 00268 // Get the max line @@ -304,9 +304,9 @@ 00298 // PhpSessid 00299 $sessid=$_REQUEST['PHPSESSID']; 00300 // Search modules -00301 $offset=(isset($_GET['offset']))?$_GET['offset']:0; -00302 $step=$_SESSION['g_pagesize']; -00303 $page=(isset($_GET['offset']))?$_GET['page']:1; +00301 $offset=(isset($_GET['offset']))?$_GET['offset']:0; +00302 $step=$_SESSION['g_pagesize']; +00303 $page=(isset($_GET['offset']))?$_GET['page']:1; 00304 00305 // display a search box 00306 $search_box=u_ShowMenuRecherche($cn,$_GET['p_jrn'],$sessid,$_POST); @@ -315,13 +315,13 @@ 00309 // if nofirst is set then show result 00310 if ( isset ($_GET['nofirst'] ) ) { 00311 list ($max_line,$a)=ListJrn($cn,$_GET['p_jrn'],"",$_POST); -00312 echo $a; +00312 echo $a; 00313 } 00314 echo '</DIV>'; 00315 } 00316 include("user_update.php"); 00317 ?> -
                  Generated on Mon Jun 26 20:13:15 2006 for phpcompta by  +
                  Generated on Tue Jun 27 01:39:28 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 35764f652..872e47a58 100644 --- a/doc/developper/html/user__action__ach_8php.html +++ b/doc/developper/html/user__action__ach_8php.html @@ -341,7 +341,7 @@ Definition at line 52 of file user_action_ach.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(), 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(), 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().

                  @@ -648,7 +648,7 @@ Definition at line 149 of file user_action_ach.php. -


                  Generated on Mon Jun 26 20:13:16 2006 for phpcompta by  +
                  Generated on Tue Jun 27 01:39:30 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 66a2f9d60..5fe6fbffd 100644 --- a/doc/developper/html/user__action__fin_8php-source.html +++ b/doc/developper/html/user__action__fin_8php-source.html @@ -55,13 +55,13 @@ 00050 // We request a new form 00051 if ( isset($_GET['blank'] )) { 00052 // Submit button in the form -00053 $submit='<INPUT TYPE="SUBMIT" NAME="add_item" VALUE="Ajout article"> +00053 $submit='<INPUT TYPE="SUBMIT" NAME="add_item" VALUE="Ajout article"> 00054 <INPUT TYPE="SUBMIT" NAME="view_invoice" VALUE="Sauver">'; 00055 // add a one-line calculator 00056 $p_jrn=$_GET['p_jrn']; 00057 $jrn=new jrn($cn, $p_jrn); 00058 -00059 $r=FormFin($cn,$p_jrn,$User->GetPeriode(),$submit,null,false,$jrn->GetDefLine('deb')); +00059 $r=FormFin($cn,$p_jrn,$User->GetPeriode(),$submit,null,false,$jrn->GetDefLine('deb')); 00060 echo '<div class="u_redcontent">'; 00061 echo $r; 00062 echo "<div><h4>On-line calculator</h4>".JS_CALC_LINE."</div>"; @@ -74,14 +74,14 @@ 00069 // Add an item 00070 if ( isset ($_POST['add_item'])) { 00071 // Add a line -00072 $nb_number=$_POST["nb_item"]; -00073 $nb_number++; +00072 $nb_number=$_POST["nb_item"]; +00073 $nb_number++; 00074 00075 // submit button in the form -00076 $submit='<INPUT TYPE="SUBMIT" NAME="add_item" VALUE="Ajout article"> +00076 $submit='<INPUT TYPE="SUBMIT" NAME="add_item" VALUE="Ajout article"> 00077 <INPUT TYPE="SUBMIT" NAME="view_invoice" VALUE="Sauver">'; 00078 -00079 $r=FormFin($cn,$_GET['p_jrn'],$User->GetPeriode(),$submit,$HTTP_POST_VARS,false, $nb_number); +00079 $r=FormFin($cn,$_GET['p_jrn'],$User->GetPeriode(),$submit,$HTTP_POST_VARS,false, $nb_number); 00080 echo '<div class="u_redcontent">'; 00081 echo $r; 00082 echo "<div><h4>On-line calculator</h4>".JS_CALC_LINE."</div>"; @@ -91,13 +91,13 @@ 00086 // Correct it 00087 if ( isset ($_POST['correct'])) { 00088 // Get number of lines -00089 $nb_number=$_POST["nb_item"]; +00089 $nb_number=$_POST["nb_item"]; 00090 00091 // submit button in the form -00092 $submit='<INPUT TYPE="SUBMIT" NAME="add_item" VALUE="Ajout article"> +00092 $submit='<INPUT TYPE="SUBMIT" NAME="add_item" VALUE="Ajout article"> 00093 <INPUT TYPE="SUBMIT" NAME="view_invoice" VALUE="Sauver">'; 00094 -00095 $r=FormFin($cn,$_GET['p_jrn'],$User->GetPeriode(),$submit,$HTTP_POST_VARS,false, $nb_number); +00095 $r=FormFin($cn,$_GET['p_jrn'],$User->GetPeriode(),$submit,$HTTP_POST_VARS,false, $nb_number); 00096 echo '<div class="u_redcontent">'; 00097 echo $r; 00098 echo "<div><h4>On-line calculator</h4>".JS_CALC_LINE."</div>"; @@ -108,22 +108,22 @@ 00103 00104 // View the charge and show a submit button to save it 00105 if ( isset ($_POST['view_invoice']) ) { -00106 $nb_number=$_POST["nb_item"]; -00107 $submit='<INPUT TYPE="SUBMIT" name="save" value="Confirmer">'; -00108 $submit.='<INPUT TYPE="SUBMIT" name="correct" value="Corriger">'; -00109 $r=form_verify_input($cn,$_GET['p_jrn'],$User->GetPeriode(),$HTTP_POST_VARS,$nb_number); +00106 $nb_number=$_POST["nb_item"]; +00107 $submit='<INPUT TYPE="SUBMIT" name="save" value="Confirmer">'; +00108 $submit.='<INPUT TYPE="SUBMIT" name="correct" value="Corriger">'; +00109 $r=form_verify_input($cn,$_GET['p_jrn'],$User->GetPeriode(),$HTTP_POST_VARS,$nb_number); 00110 // if something goes wrong correct it 00111 if ( $r == null ) 00112 { 00113 // submit button in the form -00114 $submit='<INPUT TYPE="SUBMIT" NAME="add_item" VALUE="Ajout article"> +00114 $submit='<INPUT TYPE="SUBMIT" NAME="add_item" VALUE="Ajout article"> 00115 <INPUT TYPE="SUBMIT" NAME="view_invoice" VALUE="Sauver">'; 00116 -00117 $r=FormFin($cn,$_GET['p_jrn'],$User->GetPeriode(),$submit,$HTTP_POST_VARS,false, $nb_number); +00117 $r=FormFin($cn,$_GET['p_jrn'],$User->GetPeriode(),$submit,$HTTP_POST_VARS,false, $nb_number); 00118 } 00119 else 00120 { -00121 $r=FormFin($cn,$_GET['p_jrn'],$User->GetPeriode(),$submit,$HTTP_POST_VARS,true,$nb_number); +00121 $r=FormFin($cn,$_GET['p_jrn'],$User->GetPeriode(),$submit,$HTTP_POST_VARS,true,$nb_number); 00122 } 00123 00124 echo '<div class="u_redcontent">'; @@ -135,12 +135,12 @@ 00130 if ( isset($_POST['save'] )) { 00131 $r=RecordFin($cn,$HTTP_POST_VARS,$User,$_GET['p_jrn']); 00132 // Get number of lines -00133 $nb_number=$_POST["nb_item"]; +00133 $nb_number=$_POST["nb_item"]; 00134 00135 // submit button in the form -00136 $submit='<h2 class="info">Recorded '.$r.'</h2>'; +00136 $submit='<h2 class="info">Recorded '.$r.'</h2>'; 00137 -00138 $r.=FormFin($cn,$_GET['p_jrn'],$User->GetPeriode(),$submit,$HTTP_POST_VARS,true, $nb_number,true); +00138 $r.=FormFin($cn,$_GET['p_jrn'],$User->GetPeriode(),$submit,$HTTP_POST_VARS,true, $nb_number,true); 00139 echo '<div class="u_redcontent">'; 00140 echo $r; 00141 echo "</div>"; @@ -195,18 +195,18 @@ 00190 // Show list of sell 00191 echo_debug ("user_action_jrn.php"); 00192 // Date - date of payment - Customer - amount -00193 $sql=SQL_LIST_ALL_INVOICE." and jr_tech_per=".$current." and jr_def_id=".$_GET['p_jrn']; +00193 $sql=SQL_LIST_ALL_INVOICE." and jr_tech_per=".$current." and jr_def_id=".$_GET['p_jrn']; 00194 00195 // Nav. bar -00196 $step=$_SESSION['g_pagesize']; -00197 $page=(isset($_GET['offset']))?$_GET['page']:1; -00198 $offset=(isset($_GET['offset']))?$_GET['offset']:0; +00196 $step=$_SESSION['g_pagesize']; +00197 $page=(isset($_GET['offset']))?$_GET['page']:1; +00198 $offset=(isset($_GET['offset']))?$_GET['offset']:0; 00199 // SQL 00200 list($max_line,$list)=ListJrn($cn,$_GET['p_jrn'],$sql,null,$offset); 00201 -00202 $bar=jrn_navigation_bar($offset,$max_line,$step,$page); +00202 $bar=jrn_navigation_bar($offset,$max_line,$step,$page); 00203 -00204 echo $bar; +00204 echo $bar; 00205 echo $list; 00206 echo $bar; 00207 echo '</div>'; @@ -233,16 +233,16 @@ 00228 // for each account 00229 for ( $i = 0; $i < pg_NumRows($ResAccount);$i++) { 00230 // get the saldo -00231 $l=pg_fetch_array($ResAccount,$i); +00231 $l=pg_fetch_array($ResAccount,$i); 00232 $m=GetSolde($cn,$l['pcm_val']); 00233 // print the result if the saldo is not equal to 0 00234 if ( $m != 0.0 ) { 00235 echo "<tr>"; 00236 echo "<TD>". -00237 $l['pcm_val']. +00237 $l['pcm_val']. 00238 "</TD>". 00239 "<TD>". -00240 $l['pcm_lib']. +00240 $l['pcm_lib']. 00241 "</TD>"."<TD>". 00242 $m. 00243 "</TD>"."</TR>"; @@ -256,7 +256,7 @@ 00251 00252 00253 ?> -
                  Generated on Mon Jun 26 20:13:15 2006 for phpcompta by  +
                  Generated on Tue Jun 27 01:39:28 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 9fba54261..31d8da3f2 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 165 of file user_action_fin.php. -
                  Generated on Mon Jun 26 20:13:16 2006 for phpcompta by  +
                  Generated on Tue Jun 27 01:39:30 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 aeafd1aa2..366ff0d13 100644 --- a/doc/developper/html/user__action__gl_8php-source.html +++ b/doc/developper/html/user__action__gl_8php-source.html @@ -64,23 +64,23 @@ 00059 </form> 00060 <? 00061 -00062 $sql=SQL_LIST_ALL_INVOICE." and jr_tech_per=".$current; +00062 $sql=SQL_LIST_ALL_INVOICE." and jr_tech_per=".$current; 00063 // Nav. bar -00064 $step=$_SESSION['g_pagesize']; -00065 $page=(isset($_GET['offset']))?$_GET['page']:1; -00066 $offset=(isset($_GET['offset']))?$_GET['offset']:0; +00064 $step=$_SESSION['g_pagesize']; +00065 $page=(isset($_GET['offset']))?$_GET['page']:1; +00066 $offset=(isset($_GET['offset']))?$_GET['offset']:0; 00067 00068 list ($max_line,$list)=ListJrn($cn,0,$sql,null,$offset); 00069 -00070 $bar=jrn_navigation_bar($offset,$max_line,$step,$page); +00070 $bar=jrn_navigation_bar($offset,$max_line,$step,$page); 00071 -00072 echo $bar; +00072 echo $bar; 00073 echo $list; 00074 echo $bar; 00075 00076 ?> 00077 </div> -
                  Generated on Mon Jun 26 20:13:15 2006 for phpcompta by  +
                  Generated on Tue Jun 27 01:39:28 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 53c1155f5..4f4cd6d51 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 Mon Jun 26 20:13:16 2006 for phpcompta by  +
                  Generated on Tue Jun 27 01:39:30 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 780d69b33..c54cbd564 100644 --- a/doc/developper/html/user__action__ods_8php-source.html +++ b/doc/developper/html/user__action__ods_8php-source.html @@ -55,12 +55,12 @@ 00050 // We request a new form 00051 if ( isset($_GET['blank'] )) { 00052 // Submit button in the form -00053 $submit='<INPUT TYPE="SUBMIT" NAME="add_item" VALUE="Ajout poste"> +00053 $submit='<INPUT TYPE="SUBMIT" NAME="add_item" VALUE="Ajout poste"> 00054 <INPUT TYPE="SUBMIT" NAME="view_invoice" VALUE="Confirmer">'; 00055 // add a one-line calculator 00056 00057 -00058 $r=FormODS($cn,$_GET['p_jrn'],$User->GetPeriode(),$submit,null,false); +00058 $r=FormODS($cn,$_GET['p_jrn'],$User->GetPeriode(),$submit,null,false); 00059 echo '<div class="u_redcontent">'; 00060 echo $r; 00061 echo "<div><h4>On-line calculator</h4>".JS_CALC_LINE."<div>"; @@ -72,14 +72,14 @@ 00067 // Add an item 00068 if ( isset ($_POST['add_item'])) { 00069 // Add a line -00070 $nb_number=$_POST["nb_item"]; -00071 $nb_number++; +00070 $nb_number=$_POST["nb_item"]; +00071 $nb_number++; 00072 00073 // submit button in the form -00074 $submit='<INPUT TYPE="SUBMIT" NAME="add_item" VALUE="Ajout Poste"> +00074 $submit='<INPUT TYPE="SUBMIT" NAME="add_item" VALUE="Ajout Poste"> 00075 <INPUT TYPE="SUBMIT" NAME="view_invoice" VALUE="Sauver">'; 00076 -00077 $r=FormODS($cn,$_GET['p_jrn'],$User->GetPeriode(),$submit,$HTTP_POST_VARS,false, $nb_number); +00077 $r=FormODS($cn,$_GET['p_jrn'],$User->GetPeriode(),$submit,$HTTP_POST_VARS,false, $nb_number); 00078 echo '<div class="u_redcontent">'; 00079 echo $r; 00080 echo "<div><h4>On-line calculator</h4>".JS_CALC_LINE."<div>"; @@ -88,13 +88,13 @@ 00083 // Correct it 00084 if ( isset ($_POST['correct'])) { 00085 // Get number of lines -00086 $nb_number=$_POST["nb_item"]; +00086 $nb_number=$_POST["nb_item"]; 00087 00088 // submit button in the form -00089 $submit='<INPUT TYPE="SUBMIT" NAME="add_item" VALUE="Ajout Poste"> +00089 $submit='<INPUT TYPE="SUBMIT" NAME="add_item" VALUE="Ajout Poste"> 00090 <INPUT TYPE="SUBMIT" NAME="view_invoice" VALUE="Sauver">'; 00091 -00092 $r=FormODS($cn,$_GET['p_jrn'],$User->GetPeriode(),$submit,$HTTP_POST_VARS,false, $nb_number); +00092 $r=FormODS($cn,$_GET['p_jrn'],$User->GetPeriode(),$submit,$HTTP_POST_VARS,false, $nb_number); 00093 echo '<div class="u_redcontent">'; 00094 echo $r; 00095 echo "<div><h4>On-line calculator</h4>".JS_CALC_LINE."<div>"; @@ -106,19 +106,19 @@ 00101 // TODO: the name 'view_invoice' should be changed to something more self-explaining, like 00102 // 'submit_od', no? 00103 if ( isset ($_POST['view_invoice']) ) { -00104 $nb_number=$_POST["nb_item"]; -00105 $submit='<INPUT TYPE="SUBMIT" name="save" value="Confirmer">'; -00106 $submit.='<INPUT TYPE="SUBMIT" name="correct" value="Corriger">'; +00104 $nb_number=$_POST["nb_item"]; +00105 $submit='<INPUT TYPE="SUBMIT" name="save" value="Confirmer">'; +00106 $submit.='<INPUT TYPE="SUBMIT" name="correct" value="Corriger">'; 00107 -00108 $r=FormODS($cn,$_GET['p_jrn'],$User->GetPeriode(),$submit,$HTTP_POST_VARS,true,$nb_number); +00108 $r=FormODS($cn,$_GET['p_jrn'],$User->GetPeriode(),$submit,$HTTP_POST_VARS,true,$nb_number); 00109 00110 // if something goes wrong, correct it 00111 if ( $r == null ) { 00112 // submit button in the form -00113 $submit='<INPUT TYPE="SUBMIT" NAME="add_item" VALUE="Ajout Poste"> +00113 $submit='<INPUT TYPE="SUBMIT" NAME="add_item" VALUE="Ajout Poste"> 00114 <INPUT TYPE="SUBMIT" NAME="view_invoice" VALUE="Sauver">'; 00115 -00116 $r=FormODS($cn,$_GET['p_jrn'],$User->GetPeriode(),$submit,$HTTP_POST_VARS,false, $nb_number); +00116 $r=FormODS($cn,$_GET['p_jrn'],$User->GetPeriode(),$submit,$HTTP_POST_VARS,false, $nb_number); 00117 } 00118 echo '<div class="u_redcontent">'; 00119 echo $r; @@ -129,12 +129,12 @@ 00124 if ( isset($_POST['save'] )) { 00125 $r=RecordODS($cn,$HTTP_POST_VARS,$User,$_GET['p_jrn']); 00126 // Get number of lines -00127 $nb_number=$_POST["nb_item"]; +00127 $nb_number=$_POST["nb_item"]; 00128 00129 // submit button in the form -00130 $submit='<h2 class="info">Recorded</h2>'; +00130 $submit='<h2 class="info">Recorded</h2>'; 00131 -00132 $r.=FormODS($cn,$_GET['p_jrn'],$User->GetPeriode(),$submit,$HTTP_POST_VARS,true, $nb_number,true); +00132 $r.=FormODS($cn,$_GET['p_jrn'],$User->GetPeriode(),$submit,$HTTP_POST_VARS,true, $nb_number,true); 00133 echo '<div class="u_redcontent">'; 00134 echo $r; 00135 echo "</div>"; @@ -187,13 +187,13 @@ 00182 ?> 00183 </form> 00184 <? -00185 $sql=SQL_LIST_ALL_INVOICE." and jr_tech_per=".$current." and jr_def_id=".$_GET['p_jrn'] ; -00186 $step=$_SESSION['g_pagesize']; -00187 $page=(isset($_GET['offset']))?$_GET['page']:1; -00188 $offset=(isset($_GET['offset']))?$_GET['offset']:0; +00185 $sql=SQL_LIST_ALL_INVOICE." and jr_tech_per=".$current." and jr_def_id=".$_GET['p_jrn'] ; +00186 $step=$_SESSION['g_pagesize']; +00187 $page=(isset($_GET['offset']))?$_GET['page']:1; +00188 $offset=(isset($_GET['offset']))?$_GET['offset']:0; 00189 list ($max_line,$list)=ListJrn($cn,$_GET['p_jrn'],$sql,null,$offset); -00190 $bar=jrn_navigation_bar($offset,$max_line,$step,$page); -00191 echo $bar; +00190 $bar=jrn_navigation_bar($offset,$max_line,$step,$page); +00191 echo $bar; 00192 echo $list; 00193 echo $bar; 00194 echo '</div>'; @@ -217,13 +217,13 @@ 00212 // if nofirst is set then show result 00213 if ( isset ($_GET['nofirst'] ) ) { 00214 list ($max_line,$a)=ListJrn($cn,$_GET['p_jrn'],"",$HTTP_POST_VARS); -00215 echo $a; +00215 echo $a; 00216 } 00217 echo '</DIV>'; 00218 } 00219 include("user_update.php"); 00220 ?> -
                  Generated on Mon Jun 26 20:13:15 2006 for phpcompta by  +
                  Generated on Tue Jun 27 01:39:28 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 cf8a2f352..82765bdd4 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 Mon Jun 26 20:13:16 2006 for phpcompta by  +
                  Generated on Tue Jun 27 01:39:30 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 f498c59c7..fb2642c2f 100644 --- a/doc/developper/html/user__action__ven_8php-source.html +++ b/doc/developper/html/user__action__ven_8php-source.html @@ -45,29 +45,29 @@ 00039 // Add item 00040 if (isset($_POST["add_item"]) ) { 00041 echo_debug('user_action_ven.php',__LINE__,"Add an item"); -00042 $nb_number=$_POST["nb_item"]; -00043 $nb_number++; +00042 $nb_number=$_POST["nb_item"]; +00043 $nb_number++; 00044 -00045 $form=FormVenInput($cn,$_GET['p_jrn'],$User->GetPeriode(),$HTTP_POST_VARS,false,$nb_number); +00045 $form=FormVenInput($cn,$_GET['p_jrn'],$User->GetPeriode(),$HTTP_POST_VARS,false,$nb_number); 00046 echo '<div class="u_redcontent">'; -00047 echo $form; +00047 echo $form; 00048 echo '</div>'; 00049 00050 } // add an item 00051 00052 // We want to see the encoded invoice 00053 if ( isset ($_POST["view_invoice"])) { -00054 $nb_number=$_POST["nb_item"]; -00055 if ( form_verify_input($cn,$_GET['p_jrn'],$User->GetPeriode(),$HTTP_POST_VARS,$nb_number) == true) +00054 $nb_number=$_POST["nb_item"]; +00055 if ( form_verify_input($cn,$_GET['p_jrn'],$User->GetPeriode(),$HTTP_POST_VARS,$nb_number) == true) 00056 { -00057 $form=FormVenteView($cn,$_GET['p_jrn'],$User->GetPeriode(),$HTTP_POST_VARS,$nb_number); +00057 $form=FormVenteView($cn,$_GET['p_jrn'],$User->GetPeriode(),$HTTP_POST_VARS,$nb_number); 00058 // Check failed : invalid date or quantity 00059 } else { 00060 echo_error("Cannot validate "); -00061 $form=FormVenInput($cn,$_GET['p_jrn'],$User->GetPeriode(),$HTTP_POST_VARS,false,$nb_number); +00061 $form=FormVenInput($cn,$_GET['p_jrn'],$User->GetPeriode(),$HTTP_POST_VARS,false,$nb_number); 00062 } 00063 echo '<div class="u_redcontent">'; -00064 echo $form; +00064 echo $form; 00065 echo '</div>'; 00066 00067 } @@ -78,9 +78,9 @@ 00072 $jrn=new jrn($cn, $_GET['p_jrn']); 00073 echo_debug('user_action_ven.php',__LINE__,"Blank form"); 00074 // Show an empty form of invoice -00075 $form=FormVenInput($cn,$_GET['p_jrn'],$User->GetPeriode(),null,false,$jrn->GetDefLine('deb')); +00075 $form=FormVenInput($cn,$_GET['p_jrn'],$User->GetPeriode(),null,false,$jrn->GetDefLine('deb')); 00076 echo '<div class="u_redcontent">'; -00077 echo $form; +00077 echo $form; 00078 echo '</div>'; 00079 } 00080 @@ -106,9 +106,9 @@ 00100 } 00101 00102 $nb=$_POST['nb_item']; -00103 $form=FormVenInput($cn,$_GET['p_jrn'],$User->GetPeriode(),$HTTP_POST_VARS,false,$nb); +00103 $form=FormVenInput($cn,$_GET['p_jrn'],$User->GetPeriode(),$HTTP_POST_VARS,false,$nb); 00104 echo '<div class="u_redcontent">'; -00105 echo $form; +00105 echo $form; 00106 echo '</div>'; 00107 } 00108 // Save and print the invoice @@ -123,16 +123,16 @@ 00117 00118 $comment=RecordInvoice($cn,$HTTP_POST_VARS,$User,$_GET['p_jrn']); 00119 -00120 $nb_number=$_POST["nb_item"]; -00121 if ( form_verify_input($cn,$p_jrn,$User->GetPeriode(),$HTTP_POST_VARS,$nb_number)== true) { -00122 $form=FormVenteView($cn,$p_jrn,$User->GetPeriode(),$HTTP_POST_VARS,$nb_number,'noform',$comment); +00120 $nb_number=$_POST["nb_item"]; +00121 if ( form_verify_input($cn,$p_jrn,$User->GetPeriode(),$HTTP_POST_VARS,$nb_number)== true) { +00122 $form=FormVenteView($cn,$p_jrn,$User->GetPeriode(),$HTTP_POST_VARS,$nb_number,'noform',$comment); 00123 } else { 00124 echo_error("Cannot validate "); -00125 $form=FormVenInput($cn,$_GET['p_jrn'],$User,$HTTP_POST_VARS,false,$nb_number); +00125 $form=FormVenInput($cn,$_GET['p_jrn'],$User,$HTTP_POST_VARS,false,$nb_number); 00126 } 00127 00128 echo '<div class="u_redcontent">'; -00129 echo $form; +00129 echo $form; 00130 echo "</div> "; 00131 } 00132 @@ -186,36 +186,36 @@ 00180 { 00181 // reset all the paid flag because the checkbox is post only 00182 // when checked -00183 foreach ($_POST as $name=>$paid) +00183 foreach ($_POST as $name=>$paid) 00184 { -00185 list($ad) = sscanf($name,"set_jr_id%d"); +00185 list($ad) = sscanf($name,"set_jr_id%d"); 00186 if ( $ad == null ) continue; -00187 $sql="update jrn set jr_rapt='' where jr_id=$ad"; +00187 $sql="update jrn set jr_rapt='' where jr_id=$ad"; 00188 $Res=ExecSql($cn,$sql); 00189 00190 } 00191 // set a paid flag for the checked box -00192 foreach ($_POST as $name=>$paid) +00192 foreach ($_POST as $name=>$paid) 00193 { -00194 list ($id) = sscanf ($name,"rd_paid%d"); +00194 list ($id) = sscanf ($name,"rd_paid%d"); 00195 00196 if ( $id == null ) continue; 00197 00198 $paid=($paid=='on')?'paid':''; -00199 $sql="update jrn set jr_rapt='$paid' where jr_id=$id"; +00199 $sql="update jrn set jr_rapt='$paid' where jr_id=$id"; 00200 $Res=ExecSql($cn,$sql); 00201 } 00202 00203 } 00204 // Show list of sell 00205 // Date - date of payment - Customer - amount -00206 $sql=SQL_LIST_ALL_INVOICE." and jr_tech_per=".$current." and jr_def_id=".$_GET['p_jrn'] ; -00207 $step=$_SESSION['g_pagesize']; -00208 $page=(isset($_GET['offset']))?$_GET['page']:1; -00209 $offset=(isset($_GET['offset']))?$_GET['offset']:0; +00206 $sql=SQL_LIST_ALL_INVOICE." and jr_tech_per=".$current." and jr_def_id=".$_GET['p_jrn'] ; +00207 $step=$_SESSION['g_pagesize']; +00208 $page=(isset($_GET['offset']))?$_GET['page']:1; +00209 $offset=(isset($_GET['offset']))?$_GET['offset']:0; 00210 00211 list($max_line,$list)=ListJrn($cn,$_GET['p_jrn'],$sql,null,$offset,1); -00212 $bar=jrn_navigation_bar($offset,$max_line,$step,$page); +00212 $bar=jrn_navigation_bar($offset,$max_line,$step,$page); 00213 00214 echo "<hr>$bar"; 00215 echo '<form method="POST">'; @@ -254,23 +254,23 @@ 00248 { 00249 // reset all the paid flag because the checkbox is post only 00250 // when checked -00251 foreach ($_POST as $name=>$paid) +00251 foreach ($_POST as $name=>$paid) 00252 { -00253 list($ad) = sscanf($name,"set_jr_id%d"); +00253 list($ad) = sscanf($name,"set_jr_id%d"); 00254 if ( $ad == null ) continue; -00255 $sql="update jrn set jr_rapt='' where jr_id=$ad"; +00255 $sql="update jrn set jr_rapt='' where jr_id=$ad"; 00256 $Res=ExecSql($cn,$sql); 00257 00258 } 00259 // set a paid flag for the checked box -00260 foreach ($_POST as $name=>$paid) +00260 foreach ($_POST as $name=>$paid) 00261 { -00262 list ($id) = sscanf ($name,"rd_paid%d"); +00262 list ($id) = sscanf ($name,"rd_paid%d"); 00263 00264 if ( $id == null ) continue; 00265 echo "Mise à jour $id"; 00266 $paid=($paid=='on')?'paid':''; -00267 $sql="update jrn set jr_rapt='$paid' where jr_id=$id"; +00267 $sql="update jrn set jr_rapt='$paid' where jr_id=$id"; 00268 $Res=ExecSql($cn,$sql); 00269 } 00270 @@ -279,13 +279,13 @@ 00273 // Show list of unpaid sell 00274 // Date - date of payment - Customer - amount 00275 // Nav. bar -00276 $step=$_SESSION['g_pagesize']; -00277 $page=(isset($_GET['offset']))?$_GET['page']:1; -00278 $offset=(isset($_GET['offset']))?$_GET['offset']:0; +00276 $step=$_SESSION['g_pagesize']; +00277 $page=(isset($_GET['offset']))?$_GET['page']:1; +00278 $offset=(isset($_GET['offset']))?$_GET['offset']:0; 00279 -00280 $sql=SQL_LIST_UNPAID_INVOICE_DATE_LIMIT." and jr_def_id=".$_GET['p_jrn'] ; +00280 $sql=SQL_LIST_UNPAID_INVOICE_DATE_LIMIT." and jr_def_id=".$_GET['p_jrn'] ; 00281 list($max_line,$list)=ListJrn($cn,$_GET['p_jrn'],$sql,null,$offset,1); -00282 $sql=SQL_LIST_UNPAID_INVOICE." and jr_def_id=".$_GET['p_jrn'] ; +00282 $sql=SQL_LIST_UNPAID_INVOICE." and jr_def_id=".$_GET['p_jrn'] ; 00283 list($max_line2,$list2)=ListJrn($cn,$_GET['p_jrn'],$sql,null,$offset,1); 00284 00285 // Get the max line @@ -327,7 +327,7 @@ 00321 00322 include("user_update.php"); 00323 ?> -
                  Generated on Mon Jun 26 20:13:15 2006 for phpcompta by  +
                  Generated on Tue Jun 27 01:39:28 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 71a5b717c..e4b746c20 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 Mon Jun 26 20:13:16 2006 for phpcompta by  +
                  Generated on Tue Jun 27 01:39:30 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 590ff39f3..9ee632c8c 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 Mon Jun 26 20:13:15 2006 for phpcompta by  +
                  Generated on Tue Jun 27 01:39:27 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 499d7e55f..cdbd2a2c9 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 Mon Jun 26 20:13:16 2006 for phpcompta by  +
                  Generated on Tue Jun 27 01:39:29 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 5f95cc5d9..76806d619 100644 --- a/doc/developper/html/user__common_8php-source.html +++ b/doc/developper/html/user__common_8php-source.html @@ -77,7 +77,7 @@ 00101 if ( $a_vat != null and $a_vat['tva_id'] != "" ) 00102 { 00103 $flag=true; -00104 $a=$a_vat['tva_id']; +00104 $a=$a_vat['tva_id']; 00105 // Compute vat for this item 00106 $vat_amount=round($a_price[$idx]*$a_vat['tva_rate']*$a_quant[$idx],2); 00107 @@ -119,7 +119,7 @@ 00143 } 00144 } 00145 -00146 $r[$a]=isset ( $r[$a] )?$r[$a]+$vat_amount:$vat_amount; +00146 $r[$a]=isset ( $r[$a] )?$r[$a]+$vat_amount:$vat_amount; 00147 } 00148 00149 } @@ -146,7 +146,7 @@ 00186 // Get the attribut price of the card(fiche) 00187 if ( $a_vat != null and $a_vat['tva_id'] != "" ) 00188 { -00189 $a=$a_vat['tva_id']; +00189 $a=$a_vat['tva_id']; 00190 $vat_amount=$p_price*$a_vat['tva_rate']*$p_quant; 00191 } 00192 echo_debug('user_common',__LINE__,'return '.round($vat_amount,2)); @@ -159,7 +159,7 @@ 00211 function GetTvaPoste($p_cn,$p_tva_id,$p_cred) { 00212 $Res=ExecSql($p_cn,"select tva_poste from tva_rate where tva_id=$p_tva_id"); 00213 if ( pg_NumRows($Res) == 0 ) return null; -00214 $a=pg_fetch_array($Res,0); +00214 $a=pg_fetch_array($Res,0); 00215 list ($deb,$cred)=split(",",$a['tva_poste']); 00216 if ( $p_cred=='c' ) return $cred; 00217 if ($p_cred=='d') return $deb; @@ -186,7 +186,7 @@ 00257 $debit=($debit=='false')?'true':'false'; 00258 } 00259 -00260 $sql=sprintf("select insert_jrnx +00260 $sql=sprintf("select insert_jrnx 00261 ('%s',abs(%.2f),%d,%d,%d,%s,'%s',%d,'%s')", 00262 $p_date,round($p_amount,2),$p_poste,$p_grpt,$p_jrn,$debit,$p_user,$p_periode,$p_qcode); 00263 @@ -208,7 +208,7 @@ 00297 } else { 00298 $p_echeance=sprintf("to_date('%s','DD.MM.YYYY')",$p_echeance); 00299 } -00300 $sql=sprintf("insert into jrn (jr_def_id,jr_montant,jr_comment,jr_date,jr_ech,jr_grpt_id,jr_tech_per) +00300 $sql=sprintf("insert into jrn (jr_def_id,jr_montant,jr_comment,jr_date,jr_ech,jr_grpt_id,jr_tech_per) 00301 values ( %d,abs(%.2f),'%s',to_date('%s','DD.MM.YYYY'),%s,%d,%d)", 00302 $p_jrn, round($p_amount,2),$p_comment,$p_date,$p_echeance,$p_grpt,$p_periode); 00303 echo_debug('user_common.php',__LINE__,"InsertJrn $sql"); @@ -221,12 +221,12 @@ 00324 00325 include_once("central_inc.php"); 00326 $limit=($_SESSION['g_pagesize']!=-1)?" LIMIT ".$_SESSION['g_pagesize']:""; -00327 $offset=($_SESSION['g_pagesize']!=-1)?" OFFSET ".$p_value:""; +00327 $offset=($_SESSION['g_pagesize']!=-1)?" OFFSET ".$p_value:""; 00328 if ( $p_array == null ) { 00329 00330 //que fait cette requête??? 00331 -00332 $sql="select jr_id , +00332 $sql="select jr_id , 00333 jr_montant, 00334 jr_comment, 00335 jr_ech, @@ -255,7 +255,7 @@ 00358 foreach ( $p_array as $key=>$element) { 00359 ${"l_$key"}=$element; 00360 } -00361 $sql="select jr_id , +00361 $sql="select jr_id , 00362 jr_montant, 00363 jr_comment, 00364 jr_ech, @@ -281,43 +281,43 @@ 00384 // amount 00385 if ( ereg("^[0-9]+$", $l_s_montant) || ereg ("^[0-9]+\.[0-9]+$", $l_s_montant) ) 00386 { -00387 $sql.=$l_and." jr_montant $l_mont_sel $l_s_montant"; +00387 $sql.=$l_and." jr_montant $l_mont_sel $l_s_montant"; 00388 $l_and=" and "; 00389 } 00390 // date 00391 if ( isDate($l_date_start) != null ) 00392 { -00393 $sql.=$l_and." jr_date >= to_date('".$l_date_start."','DD.MM.YYYY')"; +00393 $sql.=$l_and." jr_date >= to_date('".$l_date_start."','DD.MM.YYYY')"; 00394 $l_and=" and "; 00395 } 00396 if ( isDate($l_date_end) != null ) { -00397 $sql.=$l_and." jr_date <= to_date('".$l_date_end."','DD.MM.YYYY')"; +00397 $sql.=$l_and." jr_date <= to_date('".$l_date_end."','DD.MM.YYYY')"; 00398 $l_and=" and "; 00399 } 00400 // comment 00401 $l_s_comment=FormatString($l_s_comment); 00402 if ( $l_s_comment != null ) 00403 { -00404 $sql.=$l_and." upper(jr_comment) like upper('%".$l_s_comment."%') "; +00404 $sql.=$l_and." upper(jr_comment) like upper('%".$l_s_comment."%') "; 00405 $l_and=" and "; 00406 } 00407 // internal 00408 $l_s_internal=FormatString($l_s_internal); 00409 if ( $l_s_internal != null ) { -00410 $sql.=$l_and." jr_internal like ('%$l_s_internal%') "; +00410 $sql.=$l_and." jr_internal like ('%$l_s_internal%') "; 00411 $l_and=" and "; 00412 } 00413 // Poste 00414 $l_poste=FormatString($l_poste); 00415 if ( $l_poste != null ) { -00416 $sql.=$l_and." jr_grpt_id in (select j_grpt +00416 $sql.=$l_and." jr_grpt_id in (select j_grpt 00417 from jrnx where j_poste = $l_poste) "; 00418 $l_and=" and "; 00419 } 00420 // Quick Code 00421 if ( $l_qcode != null ) 00422 { -00423 $sql.=$l_and." jr_grpt_id in ( select j_grpt from +00423 $sql.=$l_and." jr_grpt_id in ( select j_grpt from 00424 jrnx where j_qcode = '$l_qcode')"; 00425 $l_and=" and "; 00426 } @@ -326,17 +326,17 @@ 00429 $User->Check(); 00430 if ( $User->admin == 0 ) 00431 { -00432 $sql.=$l_and." jr_def_id in ( select uj_jrn_id ". +00432 $sql.=$l_and." jr_def_id in ( select uj_jrn_id ". 00433 " from user_sec_jrn where ". 00434 " uj_login='".$_SESSION['g_user']."'". 00435 " and uj_priv in ('R','W'))"; 00436 } -00437 $sql.=" order by jr_date_order asc"; +00437 $sql.=" order by jr_date_order asc"; 00438 }// p_array != null 00439 // Count 00440 $count=CountSql($p_cn,$sql); 00441 // Add the limit -00442 $sql.=$limit.$offset; +00442 $sql.=$limit.$offset; 00443 00444 // Execute SQL stmt 00445 $Res=ExecSql($p_cn,$sql); @@ -434,7 +434,7 @@ 00537 } 00538 00539 // Rapprochement -00540 $a=GetConcerned($p_cn,$row['jr_id']); +00540 $a=GetConcerned($p_cn,$row['jr_id']); 00541 $r.="<TD>"; 00542 if ( $a != null ) { 00543 // $r.="operation concernée "; @@ -479,7 +479,7 @@ 00598 echo_debug('user_common.php',__LINE__,"function InsertStockGoods($p_cn,$p_j_id,$p_good,$p_quant,$p_type)"); 00599 // Retrieve the good account for stock 00600 $code_marchandise=GetFicheAttribut($p_cn,$p_good,ATTR_DEF_STOCK); -00601 $sql="select f_id from vw_poste_qcode where j_qcode='$p_good'"; +00601 $sql="select f_id from vw_poste_qcode where j_qcode='$p_good'"; 00602 $Res=ExecSql($p_cn,$sql); 00603 $r=pg_fetch_array($Res,0); 00604 $f_id=$r['f_id']; @@ -498,7 +498,7 @@ 00617 } 00631 function withStock($p_cn,$p_f_id) 00632 { -00633 $a=getFicheAttribut($p_cn,$p_f_id, ATTR_DEF_STOCK); +00633 $a=getFicheAttribut($p_cn,$p_f_id, ATTR_DEF_STOCK); 00634 if ( $a == "1" ) return true; 00635 return false; 00636 @@ -573,7 +573,7 @@ 00744 } 00745 00758 function GetConcerned ($p_cn, $jr_id) { -00759 $sql=" select jr_id as cn from jrn_rapt where jra_concerned=$jr_id +00759 $sql=" select jr_id as cn from jrn_rapt where jra_concerned=$jr_id 00760 union 00761 select jra_concerned as cn from jrn_rapt where jr_id=$jr_id"; 00762 $Res=ExecSql($p_cn,$sql); @@ -585,8 +585,8 @@ 00768 00769 // put everything in an array 00770 for ($i=0;$i<$n;$i++) { -00771 $l=pg_fetch_array($Res,$i); -00772 $r[$i]=$l['cn']; +00771 $l=pg_fetch_array($Res,$i); +00772 $r[$i]=$l['cn']; 00773 } 00774 return $r; 00775 } @@ -611,7 +611,7 @@ 00833 00834 if ( ( $M = pg_NumRows($Res)) == 0 ) return 0; 00835 -00836 $a=pg_fetch_array($Res,0); +00836 $a=pg_fetch_array($Res,0); 00837 00838 if ( $a['jr_valid'] == 't') return 1; 00839 if ( $a['jr_valid'] == 'f') return 0; @@ -637,9 +637,9 @@ 00871 $and=""; 00872 $get=$_GET; 00873 if ( isset ($get) ) { -00874 foreach ($get as $name=>$value ) { +00874 foreach ($get as $name=>$value ) { 00875 // we clean the parameter offset, step, page and size -00876 if ( ! in_array($name,array('offset','step','page','size'))) { +00876 if ( ! in_array($name,array('offset','step','page','size'))) { 00877 $url.=$and.$name."=".$value; 00878 $and="&"; 00879 }// if @@ -658,10 +658,10 @@ 00892 // previous 00893 if ($p_page !=1) { 00894 $e=$p_page-1; -00895 $step=$_SESSION['g_pagesize']; -00896 $offset=($e-1)*$step; +00895 $step=$_SESSION['g_pagesize']; +00896 $offset=($e-1)*$step; 00897 -00898 $r='<A class="mtitle" href="'.$_SERVER['PHP_SELF']."?".$url."&offset=$offset&step=$step&page=$e&size=$step".'">'; +00898 $r='<A class="mtitle" href="'.$_SERVER['PHP_SELF']."?".$url."&offset=$offset&step=$step&page=$e&size=$step".'">'; 00899 $r.="Pr&eacute;c&eacute;dent"; 00900 $r.="</A>&nbsp;&nbsp;"; 00901 } @@ -670,8 +670,8 @@ 00904 for ($e=1;$e<=$nb_page;$e++) { 00905 // do not included current page 00906 if ( $e != $p_page ) { -00907 $step=$_SESSION['g_pagesize']; -00908 $offset=($e-1)*$step; +00907 $step=$_SESSION['g_pagesize']; +00908 $offset=($e-1)*$step; 00909 $go=sprintf($_SERVER['PHP_SELF']."?".$url."&offset=$offset&step=$step&page=$e&size=$step"); 00910 $r.=sprintf('<A class="mtitle" HREF="%s" CLASS="one">%d</A>&nbsp;',$go,$e); 00911 } else { @@ -685,10 +685,10 @@ 00919 // next 00920 if ($p_page !=$nb_page) { 00921 $e=$p_page+1; -00922 $step=$_SESSION['g_pagesize']; -00923 $offset=($e-1)*$step; +00922 $step=$_SESSION['g_pagesize']; +00923 $offset=($e-1)*$step; 00924 -00925 $r.='&nbsp;<A class="mtitle" href="'.$_SERVER['PHP_SELF']."?".$url."&offset=$offset&step=$step&page=$e&size=$step".'">'; +00925 $r.='&nbsp;<A class="mtitle" href="'.$_SERVER['PHP_SELF']."?".$url."&offset=$offset&step=$step&page=$e&size=$step".'">'; 00926 $r.="Suivant"; 00927 $r.="</A>"; 00928 } @@ -697,7 +697,7 @@ 00931 return $r; 00932 } 00933 -
                  Generated on Mon Jun 26 20:13:15 2006 for phpcompta by  +
                  Generated on Tue Jun 27 01:39:28 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 dc306730b..b1d95d4f8 100644 --- a/doc/developper/html/user__common_8php.html +++ b/doc/developper/html/user__common_8php.html @@ -147,7 +147,7 @@ Compute the vat, the fiche.f_id<

                  Definition at line 69 of file user_common.php.

                  -References $a, $flag, $idx, $r, $tva_id, echo_debug(), GetTvaRate(), and isNumber(). +References $a, $flag, $idx, $r, $tva_id, echo_debug(), GetTvaRate(), and isNumber().

                  Referenced by RecordInvoice(), and RecordSell(). @@ -222,7 +222,7 @@ Compute the vat for only one elt, the 172 of file user_common.php.

                  -References $a, $tva_id, echo_debug(), GetTvaRate(), and isNumber(). +References $a, $tva_id, echo_debug(), GetTvaRate(), and isNumber().

                  Referenced by RecordInvoice(), and RecordSell(). @@ -332,7 +332,7 @@ array if something is found

                  Definition at line 758 of file user_common.php.

                  -References $i, $l, $n, $r, $Res, $sql, and ExecSql(). +References $i, $l, $n, $r, $Res, $sql, and ExecSql().

                  Referenced by ListJrn(), and UpdateJrn(). @@ -443,7 +443,7 @@ Get the account of tva_rate.tva_poste return the credit or the debit account.

                  Definition at line 211 of file user_common.php.

                  -References $a, $Res, echo_error(), and ExecSql(). +References $a, $Res, echo_error(), and ExecSql().

                  Referenced by RecordInvoice(), and RecordSell(). @@ -497,7 +497,7 @@ Definition at line 40<

                  References $r, $Res, and ExecSql().

                  -Referenced by ComputeTotalVat(), ComputeVat(), FormAchView(), FormVenteView(), and Document::Replace(). +Referenced by ComputeTotalVat(), ComputeVat(), FormAchView(), FormVenteView(), and Document::Replace().

                  @@ -585,7 +585,7 @@ nothing

                  Definition at line 288 of file user_common.php.

                  -References $Res, $sql, echo_debug(), ExecSql(), FormatString(), GetSequence(), and p_comment. +References $Res, $sql, echo_debug(), ExecSql(), FormatString(), GetSequence(), and p_comment.

                  Referenced by RecordFin(), RecordInvoice(), RecordSell(), and TransferCSV(). @@ -687,7 +687,7 @@ nothing

                  Definition at line 244 of file user_common.php.

                  -References $Res, $sql, echo_debug(), ExecSql(), and GetSequence(). +References $Res, $sql, echo_debug(), ExecSql(), and GetSequence().

                  Referenced by RecordFin(), RecordInvoice(), RecordODS(), RecordSell(), and TransferCSV(). @@ -817,7 +817,7 @@ $p_j_id the j_id

                    Definition at line 596 of file user_common.php.

                    -References $r, $Res, $sql, echo_debug(), ExecSql(), and f_id. +References $r, $Res, $sql, echo_debug(), ExecSql(), and f_id.

                    Referenced by RecordInvoice(), and RecordSell(). @@ -868,7 +868,7 @@ p_grpt_id gen :

                      Definition at line 831 of file user_common.php.

                      -References $a, $Res, echo_error(), and ExecSql(). +References $a, $Res, echo_error(), and ExecSql().

                      Referenced by cl_user::cl_user(). @@ -934,9 +934,9 @@ jrn_navigation_bar

                      Definition at line 858 of file user_common.php.

                      -References $_SESSION, $e, $offset, $r, $step, $url, name, size, and value. +References $_SESSION, $e, $offset, $r, $step, $url, name, size, and value.

                      -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().

                      @@ -1015,7 +1015,7 @@ ListJrn($p_cn,$p_jrn,$p_wherel)

                      Definition at line 322 of file user_common.php.

                      -References $_SESSION, $a, $count, $h, $limit, $Max, $offset, $p_jrn, $r, $Res, $row, $sql, $tr, $User, $w, CountSql(), DbConnect(), ExecSql(), FormatString(), GetConcerned(), GetInternal(), GetJrnProp(), isDate(), and table. +References $_SESSION, $a, $count, $h, $limit, $Max, $offset, $p_jrn, $r, $Res, $row, $sql, $tr, $User, $w, CountSql(), DbConnect(), ExecSql(), FormatString(), GetConcerned(), GetInternal(), GetJrnProp(), isDate(), and table.

                      @@ -1180,10 +1180,10 @@ $p_f_id fiche.f_id gen :

                        Definition at line 631 of file user_common.php.

                        -References $a, and getFicheAttribut(). +References $a, and getFicheAttribut(). -


                        Generated on Mon Jun 26 20:13:16 2006 for phpcompta by  +
                        Generated on Tue Jun 27 01:39:30 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 2eb1d7d73..463b21fc3 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 Mon Jun 26 20:13:15 2006 for phpcompta by  +
                        Generated on Tue Jun 27 01:39:27 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 e96331a9d..988ba16ff 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 Mon Jun 26 20:13:16 2006 for phpcompta by  +
                        Generated on Tue Jun 27 01:39:29 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 55392cf38..29afb5180 100644 --- a/doc/developper/html/user__form__ach_8php-source.html +++ b/doc/developper/html/user__form__ach_8php-source.html @@ -74,7 +74,7 @@ 00082 $r.="<FORM NAME=\"form_detail\" enctype=\"multipart/form-data\" ACTION=\"$href\" METHOD=\"POST\">"; 00083 } 00084 -00085 $sql="select jrn_def_id as value,jrn_def_name as label from jrn_def where jrn_def_type='VEN'"; +00085 $sql="select jrn_def_id as value,jrn_def_name as label from jrn_def where jrn_def_type='VEN'"; 00086 $list=GetArray($p_cn,$sql); 00087 $r.='<TABLE>'; 00088 // Date widget @@ -126,15 +126,15 @@ 00134 } 00135 } 00136 // widget search -00137 $W1=new widget("js_search"); -00138 $W1->label="Fournisseur"; -00139 $W1->name="e_client"; -00140 $W1->value=$e_client; -00141 $W1->extra=$fiche; // list of card -00142 $W1->extra2=$p_jrn; +00137 $W1=new widget("js_search"); +00138 $W1->label="Fournisseur"; +00139 $W1->name="e_client"; +00140 $W1->value=$e_client; +00141 $W1->extra=$fiche; // list of card +00142 $W1->extra2=$p_jrn; 00143 $r.="<TR>".$W1->IOValue(); -00144 $client_label=new widget("span"); -00145 $r.= $client_label->IOValue("e_client_label",$e_client_label)."</TD></TR>"; +00144 $client_label=new widget("span"); +00145 $r.= $client_label->IOValue("e_client_label",$e_client_label)."</TD></TR>"; 00146 $r.="</TABLE>"; 00147 // Set correctly the REQUEST param for jrn_type 00148 $h=new widget('hidden'); @@ -193,13 +193,13 @@ 00201 00202 // Show input 00203 -00204 $W1=new widget("js_search"); -00205 $W1->label=""; -00206 $W1->name="e_march".$i; -00207 $W1->value=$march; -00208 $W1->extra='deb'; // credits -00209 $W1->extra2=$p_jrn; -00210 $W1->readonly=$pview_only; +00204 $W1=new widget("js_search"); +00205 $W1->label=""; +00206 $W1->name="e_march".$i; +00207 $W1->value=$march; +00208 $W1->extra='deb'; // credits +00209 $W1->extra2=$p_jrn; +00210 $W1->readonly=$pview_only; 00211 $r.="<TR>".$W1->IOValue()."</TD>"; 00212 $Span=new widget ("span"); 00213 $Span->SetReadOnly($pview_only); @@ -249,7 +249,7 @@ 00269 function form_verify_input($p_cn,$p_jrn,$p_periode,$p_array,$p_number) 00270 { 00271 echo_debug('user_form_ach.php',__LINE__,"Enter form_verify_input $p_cn,$p_jrn,$p_periode,".var_export($p_array,true).",$p_number"); -00272 foreach ($p_array as $name=>$content) { +00272 foreach ($p_array as $name=>$content) { 00273 ${"$name"}=$content; 00274 } 00275 // Verify the date @@ -441,8 +441,8 @@ 00475 // Keep all the data if hidden 00476 // and store the array in variables 00477 $hidden=new widget("hidden"); -00478 foreach ($p_array as $name=>$content) { -00479 $data.=$hidden->IOValue($name,$content); +00478 foreach ($p_array as $name=>$content) { +00479 $data.=$hidden->IOValue($name,$content); 00480 ${"$name"}=$content; 00481 } 00482 @@ -773,7 +773,7 @@ 00836 } 00837 00838 ?> -
                        Generated on Mon Jun 26 20:13:15 2006 for phpcompta by  +
                        Generated on Tue Jun 27 01:39:28 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 20d45a648..e0ec64c17 100644 --- a/doc/developper/html/user__form__ach_8php.html +++ b/doc/developper/html/user__form__ach_8php.html @@ -101,7 +101,7 @@ verify if the data to insert are valid

                        Definition at line 269 of file user_form_ach.php.

                        -References $msg, CountSql(), echo_debug(), echo_error(), isDate(), isNumber(), and name. +References $msg, CountSql(), echo_debug(), echo_error(), isDate(), isNumber(), and name.

                        @@ -184,7 +184,7 @@ Display the form for a sell Used to show detail, encode a new invoice or update

                        Definition at line 44 of file user_form_ach.php.

                        -References $client_label, $fiche, $h, $list, $msg, $p_jrn, $r, $sql, $W1, echo_debug(), echo_error(), exit, GetArray(), GetPeriode(), isNumber(), and make_array(). +References $client_label, $fiche, $h, $list, $msg, $p_jrn, $r, $sql, $W1, echo_debug(), echo_error(), exit, GetArray(), GetPeriode(), isNumber(), and make_array().

                        @@ -267,7 +267,7 @@ Show the invoice before inserting it the database.

                        Definition at line 471 of file user_form_ach.php.

                        -References $data, $file, $h, $r, echo_error(), exit, getFicheAttribut(), getFicheName(), GetTvaRate(), isNumber(), METHOD, and name. +References $data, $file, $h, $r, echo_error(), exit, getFicheAttribut(), getFicheName(), GetTvaRate(), isNumber(), METHOD, and name.

                        @@ -332,7 +332,7 @@ Definition at line References $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 Mon Jun 26 20:13:16 2006 for phpcompta by  +
                        Generated on Tue Jun 27 01:39:30 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 4afaa15cf..8106d12c4 100644 --- a/doc/developper/html/user__form__fin_8php-source.html +++ b/doc/developper/html/user__form__fin_8php-source.html @@ -34,7 +34,7 @@ 00025 require_once("user_common.php"); 00042 function form_verify_input($p_cn,$p_jrn,$p_periode,$p_array,$p_number) 00043 { -00044 foreach ($p_array as $name=>$content) { +00044 foreach ($p_array as $name=>$content) { 00045 ${"$name"}=$content; 00046 } 00047 // Verify the date @@ -170,7 +170,7 @@ 00193 00194 00195 include_once("fiche_inc.php"); -00196 $r.='<INPUT TYPE="HIDDEN" name="nb_item" value="'.$p_item.'">'; +00196 $r.='<INPUT TYPE="HIDDEN" name="nb_item" value="'.$p_item.'">'; 00197 00198 // bank_account operation 00199 // Save old value and set a new one @@ -184,13 +184,13 @@ 00207 $e_bank_account_label=$a_client['vw_name']." adresse ".$a_client['vw_addr']." ".$a_client['vw_cp']; 00208 } 00209 // search widget -00210 $W1=new widget("js_search"); -00211 $W1->readonly=$pview_only; -00212 $W1->label="Banque"; -00213 $W1->name="e_bank_account"; -00214 $W1->value=$e_bank_account; -00215 $W1->extra=FICHE_TYPE_FIN; // credits -00216 $W1->extra2=$p_jrn; +00210 $W1=new widget("js_search"); +00211 $W1->readonly=$pview_only; +00212 $W1->label="Banque"; +00213 $W1->name="e_bank_account"; +00214 $W1->value=$e_bank_account; +00215 $W1->extra=FICHE_TYPE_FIN; // credits +00216 $W1->extra2=$p_jrn; 00217 $r.="<TR>".$W1->IOValue()."</TD>"; 00218 00219 $r.="</TABLE>"; @@ -223,7 +223,7 @@ 00246 // Parse each " tiers" 00247 for ($i=0; $i < $p_item; $i++) { 00248 $tiers=(isset(${"e_other".$i}))?${"e_other".$i}:""; -00249 $tiers_label=""; +00249 $tiers_label=""; 00250 $tiers_amount=(isset(${"e_other$i"."_amount"}))?${"e_other$i"."_amount"}:0; 00251 00252 $tiers_comment=(isset (${"e_other$i"."_comment"}))?${"e_other$i"."_comment"}:""; @@ -233,18 +233,18 @@ 00256 // retrieve the tva label and name 00257 $a_fiche=GetFicheAttribut($p_cn, $tiers); 00258 if ( $a_fiche != null ) { -00259 $tiers_label=$a_fiche['vw_name']; +00259 $tiers_label=$a_fiche['vw_name']; 00260 } 00261 } 00262 ${"e_other$i"."_amount"}=(isset (${"e_other$i"."_amount"}))?${"e_other$i"."_amount"}:0; 00263 -00264 $W1=new widget("js_search"); -00265 $W1->label=""; -00266 $W1->name="e_other".$i; -00267 $W1->value=$tiers; -00268 $W1->extra='cred'; // credits -00269 $W1->extra2=$p_jrn; -00270 $W1->readonly=$pview_only; +00264 $W1=new widget("js_search"); +00265 $W1->label=""; +00266 $W1->name="e_other".$i; +00267 $W1->value=$tiers; +00268 $W1->extra='cred'; // credits +00269 $W1->extra2=$p_jrn; +00270 $W1->readonly=$pview_only; 00271 $r.="<TR>".$W1->IOValue()."</TD>"; 00272 // label 00273 $other=new widget("span"); @@ -378,7 +378,7 @@ 00418 } else { 00419 if ( sizeof($_FILES) != 0 ) 00420 { -00421 ExecSql($p_cn,"update jrn set jr_pj=".$oid.", jr_pj_name='".$_FILES['pj']['name']."', ". +00421 ExecSql($p_cn,"update jrn set jr_pj=".$oid.", jr_pj_name='".$_FILES['pj']['name']."', ". 00422 "jr_pj_type='".$_FILES['pj']['type']."' where jr_grpt_id=$seq"); 00423 } 00424 } @@ -389,7 +389,7 @@ 00429 return $internal_code; 00430 } 00431 ?> -
                        Generated on Mon Jun 26 20:13:15 2006 for phpcompta by  +
                        Generated on Tue Jun 27 01:39:28 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 3be170f4c..2e4a79ef0 100644 --- a/doc/developper/html/user__form__fin_8php.html +++ b/doc/developper/html/user__form__fin_8php.html @@ -98,7 +98,7 @@ verify if the data to insert are valid

                        Definition at line 42 of file user_form_fin.php.

                        -References $msg, $poste, echo_debug(), echo_error(), isDate(), IsFicheOfJrn(), isNumber(), and name. +References $msg, $poste, echo_debug(), echo_error(), isDate(), IsFicheOfJrn(), isNumber(), and name.

                        @@ -189,7 +189,7 @@ Display the form for financial Used to show detail, encode a new fin op or updat

                        Definition at line 146 of file user_form_fin.php.

                        -References $file, $flag, $h, $p_jrn, $r, $solde, $tiers_label, $W1, echo_error(), exit, GetPeriode(), GetSolde(), name, and value. +References $file, $flag, $h, $p_jrn, $r, $solde, $tiers_label, $W1, echo_error(), exit, GetPeriode(), GetSolde(), name, and value.

                        @@ -257,7 +257,7 @@ Definition at line References $e, $poste, $seq, echo_debug(), ExecSql(), exit, FormatString(), InsertJrn(), InsertJrnx(), InsertRapt(), isNumber(), NextSequence(), Rollback(), SetInternalCode(), and StartSql(). -


                        Generated on Mon Jun 26 20:13:16 2006 for phpcompta by  +
                        Generated on Tue Jun 27 01:39:30 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 897a5dd54..50e92194f 100644 --- a/doc/developper/html/user__form__ods_8php-source.html +++ b/doc/developper/html/user__form__ods_8php-source.html @@ -81,7 +81,7 @@ 00091 include_once("fiche_inc.php"); 00092 00093 // Record the current number of article -00094 $r.='<INPUT TYPE="HIDDEN" name="nb_item" value="'.$p_article.'">'; +00094 $r.='<INPUT TYPE="HIDDEN" name="nb_item" value="'.$p_article.'">'; 00095 $e_comment=(isset($e_comment))?$e_comment:""; 00096 00097 @@ -160,11 +160,11 @@ 00170 $d_check=( ${"e_account$i"."_type"} == 'd' )?"CHECKED":""; 00171 $r.='<td>'; 00172 if ( $pview_only == false ) { -00173 $r.=' <input type="radio" name="'."e_account"."$i"."_type".'" value="d" '.$d_check.'> D&eacute;bit ou '; -00174 $r.=' <input type="radio" name="'."e_account"."$i"."_type".'" value="c" '.$c_check.'> Cr&eacute;dit '; +00173 $r.=' <input type="radio" name="'."e_account"."$i"."_type".'" value="d" '.$d_check.'> D&eacute;bit ou '; +00174 $r.=' <input type="radio" name="'."e_account"."$i"."_type".'" value="c" '.$c_check.'> Cr&eacute;dit '; 00175 }else { 00176 $r.=(${"e_account$i"."_type"} == 'c' )?"Cr&eacute;dit":"D&eacute;dit"; -00177 $r.='<input type="hidden" name="e_account'.$i.'_type" value="'.${"e_account$i"."_type"}.'">'; +00177 $r.='<input type="hidden" name="e_account'.$i.'_type" value="'.${"e_account$i"."_type"}.'">'; 00178 } 00179 $r.='</td>'; 00180 $r.='</TR>'; @@ -263,7 +263,7 @@ 00291 00292 00293 ?> -
                        Generated on Mon Jun 26 20:13:15 2006 for phpcompta by  +
                        Generated on Tue Jun 27 01:39:28 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 78a88f75b..517fe73f6 100644 --- a/doc/developper/html/user__form__ods_8php.html +++ b/doc/developper/html/user__form__ods_8php.html @@ -117,7 +117,7 @@ Display the miscellaneous operation Used to show detail, encode a new oper or up

                        Definition at line 45 of file user_form_ods.php.

                        -References $filter, $flag, $i, $l_line, $msg, $p_jrn, $r, CountSql(), echo_error(), GetJrnProperty(), GetPeriode(), GetPosteLibelle(), isNumber(), name, value, and VerifyOperationDate(). +References $filter, $flag, $i, $l_line, $msg, $p_jrn, $r, CountSql(), echo_error(), GetJrnProperty(), GetPeriode(), GetPosteLibelle(), isNumber(), name, value, and VerifyOperationDate().

                        @@ -184,7 +184,7 @@ Definition at line References $e, $seq, exit, InsertJrnx(), isNumber(), NextSequence(), and StartSql(). -


                        Generated on Mon Jun 26 20:13:16 2006 for phpcompta by  +
                        Generated on Tue Jun 27 01:39:30 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 83c32762d..217c0df2c 100644 --- a/doc/developper/html/user__form__ven_8php-source.html +++ b/doc/developper/html/user__form__ven_8php-source.html @@ -74,7 +74,7 @@ 00082 00083 00084 } -00085 $sql="select jrn_def_id as value,jrn_def_name as label from jrn_def where jrn_def_type='VEN'"; +00085 $sql="select jrn_def_id as value,jrn_def_name as label from jrn_def where jrn_def_type='VEN'"; 00086 $list=GetArray($p_cn,$sql); 00087 $r.='<TABLE>'; 00088 // Date @@ -130,16 +130,16 @@ 00138 } 00139 } 00140 -00141 $W1=new widget("js_search"); -00142 $W1->label="Client"; -00143 $W1->name="e_client"; -00144 $W1->tabindex=3; -00145 $W1->value=$e_client; -00146 $W1->extra=$fiche; // list of card -00147 $W1->extra2=$p_jrn; +00141 $W1=new widget("js_search"); +00142 $W1->label="Client"; +00143 $W1->name="e_client"; +00144 $W1->tabindex=3; +00145 $W1->value=$e_client; +00146 $W1->extra=$fiche; // list of card +00147 $W1->extra2=$p_jrn; 00148 $r.="<TR>".$W1->IOValue(); -00149 $client_label=new widget("span"); -00150 $r.= $client_label->IOValue("e_client_label",$e_client_label)."</TD></TR>"; +00149 $client_label=new widget("span"); +00150 $r.= $client_label->IOValue("e_client_label",$e_client_label)."</TD></TR>"; 00151 $r.="</TABLE>"; 00152 00153 // Record the current number of article @@ -195,13 +195,13 @@ 00203 } 00204 // Show input 00205 //-- -00206 $W1=new widget("js_search"); -00207 $W1->label=""; -00208 $W1->name="e_march".$i; -00209 $W1->value=$march; -00210 $W1->extra='cred'; // credits -00211 $W1->extra2=$p_jrn; -00212 $W1->readonly=$pview_only; +00206 $W1=new widget("js_search"); +00207 $W1->label=""; +00208 $W1->name="e_march".$i; +00209 $W1->value=$march; +00210 $W1->extra='cred'; // credits +00211 $W1->extra2=$p_jrn; +00212 $W1->readonly=$pview_only; 00213 $r.="<TR>".$W1->IOValue()."</TD>"; 00214 $Span=new widget ("span"); 00215 $Span->SetReadOnly($pview_only); @@ -261,7 +261,7 @@ 00269 } 00284 function form_verify_input($p_cn,$p_jrn,$p_periode,$p_array,$p_number) 00285 { -00286 foreach ($p_array as $name=>$content) { +00286 foreach ($p_array as $name=>$content) { 00287 ${"$name"}=$content; 00288 } 00289 // Verify the date @@ -391,8 +391,8 @@ 00429 // Keep all the data if hidden 00430 // and store the array in variables 00431 $hidden=new widget("hidden"); -00432 foreach ($p_array as $name=>$content) { -00433 $data.=$hidden->IOValue($name,$content); +00432 foreach ($p_array as $name=>$content) { +00433 $data.=$hidden->IOValue($name,$content); 00434 ${"$name"}=$content; 00435 } 00436 @@ -535,7 +535,7 @@ 00573 if ( CountSql($p_cn, 00574 "select md_id,md_name from document_modele where md_type=4") > 0 ) 00575 { -00576 $r.='G&eacute;n&eacute;rer une facture <input type="checkbox" name="gen_invoice" CHECKED>'; +00576 $r.='G&eacute;n&eacute;rer une facture <input type="checkbox" name="gen_invoice" CHECKED>'; 00577 // We propose to generate the invoice and some template 00578 $doc_gen=new widget("select"); 00579 $doc_gen->name="gen_doc"; @@ -550,9 +550,9 @@ 00588 00589 $r.=$data; 00590 if ( $sum_with_vat != 0 ) { -00591 $r.='<INPUT TYPE="SUBMIT" name="record_and_print_invoice" value="Sauver" >'; +00591 $r.='<INPUT TYPE="SUBMIT" name="record_and_print_invoice" value="Sauver" >'; 00592 } -00593 $r.='<INPUT TYPE="SUBMIT" name="correct_new_invoice" value="Corriger">'; +00593 $r.='<INPUT TYPE="SUBMIT" name="correct_new_invoice" value="Corriger">'; 00594 00595 $r.='</FORM>'; 00596 } @@ -689,7 +689,7 @@ 00753 } 00754 00755 ?> -
                        Generated on Mon Jun 26 20:13:15 2006 for phpcompta by  +
                        Generated on Tue Jun 27 01:39:29 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 d4a288cc8..bcd13070f 100644 --- a/doc/developper/html/user__form__ven_8php.html +++ b/doc/developper/html/user__form__ven_8php.html @@ -99,7 +99,7 @@ p_jrn concerned ledger

                          Definition at line 284 of file user_form_ven.php.

                          -References $msg, CountSql(), echo_debug(), echo_error(), isDate(), isNumber(), and name. +References $msg, CountSql(), echo_debug(), echo_error(), isDate(), isNumber(), and name.

                          @@ -175,7 +175,7 @@ FormVenInput

                          Definition at line 43 of file user_form_ven.php.

                          -References $client_label, $fiche, $list, $msg, $p_jrn, $r, $sql, $W1, echo_debug(), echo_error(), exit, GetArray(), GetPeriode(), isNumber(), and make_array(). +References $client_label, $fiche, $list, $msg, $p_jrn, $r, $sql, $W1, echo_debug(), echo_error(), exit, GetArray(), GetPeriode(), isNumber(), and make_array().

                          @@ -260,7 +260,7 @@ FormVenteView ($p_cn,$p_jrn,$p_periode,$p_array,$p_number,$p_doc='html',$p_comme

                          Definition at line 425 of file user_form_ven.php.

                          -References $data, $file, $r, CountSql(), echo_error(), exit, getFicheAttribut(), getFicheName(), GetTvaRate(), isNumber(), make_array(), METHOD, name, and value. +References $data, $file, $r, CountSql(), echo_error(), exit, getFicheAttribut(), getFicheName(), GetTvaRate(), isNumber(), make_array(), METHOD, name, and value.

                          @@ -330,7 +330,7 @@ Definition at line References $comment, $e, $i, $poste, $r, $Res, $seq, $t, Commit(), ComputeTotalVat(), ComputeVat(), echo_debug(), ExecSql(), exit, FormatString(), GetTvaPoste(), InsertJrn(), InsertJrnx(), InsertStockGoods(), isNumber(), NextSequence(), Rollback(), save_upload_document(), SetInternalCode(), and StartSql(). -


                          Generated on Mon Jun 26 20:13:16 2006 for phpcompta by  +
                          Generated on Tue Jun 27 01:39:30 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 2b969e53a..cfd7fe68f 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 Mon Jun 26 20:13:15 2006 for phpcompta by  +
                          Generated on Tue Jun 27 01:39:27 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 6831c6e23..a6a74da3b 100644 --- a/doc/developper/html/user__impress_8php.html +++ b/doc/developper/html/user__impress_8php.html @@ -281,7 +281,7 @@ Definition at line 80

                          Definition at line 95 of file user_impress.php.

                          -Referenced by action::Confirm(), action::Display(), action::get(), action::myList(), Document::Replace(), and action::SaveStage2(). +Referenced by action::Confirm(), action::Display(), action::get(), action::myList(), Document::Replace(), action::SaveStage2(), and action::Update().

                          @@ -361,7 +361,7 @@ Referenced by ParseFor Definition at line 85 of file user_impress.php. -


                          Generated on Mon Jun 26 20:13:16 2006 for phpcompta by  +
                          Generated on Tue Jun 27 01:39:29 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 42817fc4e..1d5d754af 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 Mon Jun 26 20:13:15 2006 for phpcompta by  +
                          Generated on Tue Jun 27 01:39:27 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 53135dcca..43ab79654 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 Mon Jun 26 20:13:16 2006 for phpcompta by  +
                          Generated on Tue Jun 27 01:39:29 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 1f8b5911c..6a0e52003 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 Mon Jun 26 20:13:15 2006 for phpcompta by  +
                          Generated on Tue Jun 27 01:39:27 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 25e7d1910..2277e8d49 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 Mon Jun 26 20:13:16 2006 for phpcompta by  +
                          Generated on Tue Jun 27 01:39:29 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 eadc071b6..7297557f0 100644 --- a/doc/developper/html/user__menu_8php-source.html +++ b/doc/developper/html/user__menu_8php-source.html @@ -76,7 +76,7 @@ 00093 if ($p_admin==0) { 00094 // show only available folders 00095 // if user is not an admin -00096 $sql="select distinct dos_id,dos_name,dos_description from ac_users +00096 $sql="select distinct dos_id,dos_name,dos_description from ac_users 00097 natural join jnt_use_dos 00098 natural join ac_dossier 00099 join priv_user on ( priv_jnt=jnt_id) @@ -85,7 +85,7 @@ 00102 and priv_priv != 'NO' "; 00103 00104 } else { -00105 $sql="select distinct dos_id,dos_name,dos_description from ac_users +00105 $sql="select distinct dos_id,dos_name,dos_description from ac_users 00106 natural join jnt_use_dos 00107 natural join ac_dossier 00108 where use_active=1 "; @@ -266,7 +266,7 @@ 00329 00341 function get_quick_key($title,&$access_key_list) 00342 { -00343 $quick = $title[0]; +00343 $quick = $title[0]; 00344 if(array_key_exists($quick, $access_key_list)) 00345 { 00346 echo_debug(" key exists: " . $quick); @@ -308,7 +308,7 @@ 00396 if ( ! isset ($p_qcode)) $p_qcode=""; 00397 00398 -00399 if ( $p_mont_sel != "" ) $opt.='<OPTION value="'.$p_mont_sel.'" SELECTED> '.$p_mont_sel; +00399 if ( $p_mont_sel != "" ) $opt.='<OPTION value="'.$p_mont_sel.'" SELECTED> '.$p_mont_sel; 00400 $r=""; 00401 00402 // $r.= '<div style="border-style:outset;border-width:1pt;">'; @@ -331,7 +331,7 @@ 00419 $r.= ' <INPUT TYPE="TEXT" NAME="s_montant" SIZE="10" VALUE="'.$p_s_montant.'"></TD>'; 00420 $r.= "</TR><TR>"; 00421 $r.="<TD> Internal code</td>"; -00422 $r.='<TD><input type="text" name="s_internal" value="'.$p_s_internal.'"></td>'; +00422 $r.='<TD><input type="text" name="s_internal" value="'.$p_s_internal.'"></td>'; 00423 00424 $r.="</TD></TR></TABLE></td><TD><table>"; 00425 @@ -346,7 +346,7 @@ 00434 $r.= "<TR>"; 00435 00436 $A=new widget('js_search_only'); -00437 $A->name='qcode'; +00437 $A->name='qcode'; 00438 $A->value=$p_qcode; 00439 $A->extra=""; 00440 $A->table=1; @@ -357,8 +357,8 @@ 00445 $A->extra='all'; 00446 //$A->name="qcode"; 00447 // $A->value=$p_qcode; -00448 $sp= new widget("span"); -00449 $sp->table=0; +00448 $sp= new widget("span"); +00449 $sp->table=0; 00450 $r.=$A->IOValue().'</TD>'.$sp->IOValue("qcode_label"); 00451 $r.= "</TR>"; 00452 echo_debug('user_menu.php',__LINE__,"<TD>".$A->IOValue().'</TD><TD>'.$sp->IOValue("p_qcode_label")."</TD>"); @@ -536,7 +536,7 @@ 00712 } 00713 00714 ?> -
                          Generated on Mon Jun 26 20:13:15 2006 for phpcompta by  +
                          Generated on Tue Jun 27 01:39:29 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 df671a8e6..e47c6d24b 100644 --- a/doc/developper/html/user__menu_8php.html +++ b/doc/developper/html/user__menu_8php.html @@ -124,7 +124,7 @@ get_quick_key

                          Definition at line 341 of file user_menu.php.

                          -References $title, and echo_debug(). +References $title, and echo_debug().

                          Referenced by ShowMenuJrn(). @@ -178,7 +178,7 @@ Get all the available folders for the users, checked with the security.

                          Definition at line 90 of file user_menu.php.

                          -References $array, $cn, $filter, $Res, $sql, DbConnect(), and ExecSql(). +References $array, $cn, $filter, $Res, $sql, DbConnect(), and ExecSql().

                          Referenced by u_ShowDossier(). @@ -899,10 +899,10 @@ Returns the form for the search (module accountancy).

                          Definition at line 371 of file user_menu.php.

                          -References $opt, $r, $sp, echo_debug(), METHOD, name, qcode, size, and value. +References $opt, $r, $sp, echo_debug(), METHOD, name, qcode, size, and value. -


                          Generated on Mon Jun 26 20:13:16 2006 for phpcompta by  +
                          Generated on Tue Jun 27 01:39:30 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 e528c7bfe..5893ae357 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 Mon Jun 26 20:13:15 2006 for phpcompta by  +
                          Generated on Tue Jun 27 01:39:27 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 ab3cbbbd0..7951ef003 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 Mon Jun 26 20:13:16 2006 for phpcompta by  +
                          Generated on Tue Jun 27 01:39:29 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 737e87ca1..ff38ac2d0 100644 --- a/doc/developper/html/user__sec_8php-source.html +++ b/doc/developper/html/user__sec_8php-source.html @@ -86,7 +86,7 @@ 00081 } 00082 00083 // session_register set to off, so variable are undefined -00084 foreach ($HTTP_GET_VARS as $name=>$value) +00084 foreach ($HTTP_GET_VARS as $name=>$value) 00085 ${"$name"}=$value; 00086 00087 if ( $action == "change_jrn" ) { @@ -269,7 +269,7 @@ 00264 echo "</DIV>"; 00265 html_page_stop(); 00266 ?> -
                          Generated on Mon Jun 26 20:13:15 2006 for phpcompta by  +
                          Generated on Tue Jun 27 01:39:27 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 3c86ab545..87eee28a7 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 Mon Jun 26 20:13:16 2006 for phpcompta by  +
                          Generated on Tue Jun 27 01:39:29 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 5743dcbbd..7544c8c2a 100644 --- a/doc/developper/html/user__update_8php-source.html +++ b/doc/developper/html/user__update_8php-source.html @@ -40,8 +40,8 @@ 00035 echo JS_CONCERNED_OP; 00036 $r ='<FORM METHOD="POST" ACTION="user_jrn.php">'; 00037 $r.=UpdateJrn($cn,$p_id); -00038 $r.='<INPUT TYPE="Hidden" name="action" value="update_record">'; -00039 $r.='<input type="SUBMIT" name="update_record" value="Enregistre">'; +00038 $r.='<INPUT TYPE="Hidden" name="action" value="update_record">'; +00039 $r.='<input type="SUBMIT" name="update_record" value="Enregistre">'; 00040 $r.='</FORM>'; 00041 echo '<div class="redcontent">'; 00042 echo $r; @@ -57,7 +57,7 @@ 00052 00053 } // if update_record 00054 ?> -
                          Generated on Mon Jun 26 20:13:15 2006 for phpcompta by  +
                          Generated on Tue Jun 27 01:39:29 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 a2d62dc98..691908175 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 Mon Jun 26 20:13:16 2006 for phpcompta by  +
                          Generated on Tue Jun 27 01:39:30 2006 for phpcompta by  doxygen 1.4.4
                          diff --git a/html/admin/sql/patch/upgrade13.sql b/html/admin/sql/patch/upgrade13.sql index 8b664cb3c..82e9f1c53 100644 --- a/html/admin/sql/patch/upgrade13.sql +++ b/html/admin/sql/patch/upgrade13.sql @@ -546,6 +546,7 @@ insert into parameter (pr_id) values ('MY_FAX'); alter table document add d_state int; alter table action_gestion add ag_ref text; +create unique index k_ag_ref on action_gestion(ag_ref); update version set val=14; commit; diff --git a/html/bilan.php b/html/bilan.php index 352b7fab7..f20ccc789 100644 --- a/html/bilan.php +++ b/html/bilan.php @@ -95,7 +95,7 @@ while (! feof ($bnb_form)) { }// end read form line per line // echo "
                          "; fclose ($bnb_form); -////////////////////////////////////////////////////////////////////// +//----------------------------------------------------- // Open the rtf document in order to read it and to // replace the <<>> by the appropriate values // diff --git a/html/commercial.php b/html/commercial.php index ab0fc42ae..b66a66a1b 100644 --- a/html/commercial.php +++ b/html/commercial.php @@ -42,9 +42,9 @@ $rep=DbConnect($_SESSION['g_dossier']); require_once ("class_user.php"); $User=new cl_user($rep); $User->Check(); -//////////////////////////////////////////////////////////////////////////////// +//----------------------------------------------------- // update preference -//////////////////////////////////////////////////////////////////////////////// +//----------------------------------------------------- if ( isset ( $_POST['style_user']) ) { $User->update_global_pref('THEME',$_POST['style_user']); $_SESSION['g_theme']=$_POST['style_user']; @@ -94,58 +94,58 @@ echo ShowItem(array( echo ''; $cn=DbConnect($_SESSION['g_dossier']); -//////////////////////////////////////////////////////////////////////////////// +//----------------------------------------------------- // p_action == pref -//////////////////////////////////////////////////////////////////////////////// +//----------------------------------------------------- if ( $p_action == "pref" ) { require_once("pref.inc.php"); } -//////////////////////////////////////////////////////////////////////////////// +//----------------------------------------------------- // p_action == client -//////////////////////////////////////////////////////////////////////////////// +//----------------------------------------------------- if ( $p_action == "client" ) { require_once("client.inc.php"); }// $p_action == fournisseur -//////////////////////////////////////////////////////////////////////////////// +//----------------------------------------------------- // Fournisseur if ( $p_action == 'fournisseur') { require_once("supplier.inc.php"); } -//////////////////////////////////////////////////////////////////////////////// +//----------------------------------------------------- // action if ( $p_action == 'suivi_courrier') { require_once("action.inc.php"); } -//////////////////////////////////////////////////////////////////////////////// +//----------------------------------------------------- // p_action == facture -//////////////////////////////////////////////////////////////////////////////// +//----------------------------------------------------- if ( $p_action == "facture" ) { require_once("facture.inc.php"); } -//////////////////////////////////////////////////////////////////////////////// +//----------------------------------------------------- // Contact if ( $p_action == 'contact') { require_once("contact.inc.php"); } -//////////////////////////////////////////////////////////////////////////////// +//----------------------------------------------------- // Expense if ( $p_action == 'depense') { require_once("depense.inc.php"); } -//////////////////////////////////////////////////////////////////////////////// +//----------------------------------------------------- // Administration if ( $p_action == 'admin') { require_once("admin.inc.php"); } -//////////////////////////////////////////////////////////////////////////////// +//----------------------------------------------------- // Banque if ( $p_action == 'bank') { diff --git a/html/ecrit_ouv.php b/html/ecrit_ouv.php index 0ba1be34d..699a2d94a 100644 --- a/html/ecrit_ouv.php +++ b/html/ecrit_ouv.php @@ -59,7 +59,7 @@ echo ShowItem ( array ( ),'V'); echo ''; echo '
                          '; -/////////////////////////// EXPORT //////////////////////////////////////////// +//----------------------------------------------------- EXPORT //////////////////////////////////////////// if ( isset ($_GET['export'])) { // if the year is not set, ask it // ask the exercice and do the export @@ -76,7 +76,7 @@ if ( isset ($_GET['export'])) { echo ""; exit(0); } -/////////////////////////// IMPORT //////////////////////////////////////////// +//----------------------------------------------------- IMPORT //////////////////////////////////////////// if ( isset ($_GET['import'])) { // show a form to upload the file // that form will parse the file, create an ods operation diff --git a/html/jrn_csv.php b/html/jrn_csv.php index 37b8adf50..a3d08fc0c 100644 --- a/html/jrn_csv.php +++ b/html/jrn_csv.php @@ -84,7 +84,7 @@ if ( $_GET['p_simple'] == 0 ) $Row=$Jrn->GetRowSimple($_GET['from_periode'], $_GET['to_periode'], $p_cent); -//////////////////////////////////////////////////////////////////////////////// +//----------------------------------------------------- printf ('" operation "'. '"Date"'. '"commentaire"'. @@ -118,6 +118,6 @@ if ( $_GET['p_simple'] == 0 ) printf("\r\n"); } -//////////////////////////////////////////////////////////////////////////////// +//----------------------------------------------------- } ?> diff --git a/html/listing_client.php b/html/listing_client.php index c055d35f4..7af69c40c 100644 --- a/html/listing_client.php +++ b/html/listing_client.php @@ -23,7 +23,7 @@ require_once("postgres.php"); /*! \file * \brief Electronic declaration for VAT BELGIUM --> experimental */ -////////////////////////////////////////////////////////////////////// +//----------------------------------------------------- // Check User include ('class_user.php'); /* Admin. Dossier */ @@ -42,10 +42,10 @@ if ($User->CheckAction($cn,IMP) == 0 ){ header('Content-type: application/bin'); header('Content-Disposition: attachment;filename="declaration.bin"',FALSE); -//////////////////////////////////////////////////////////////////////////////// +//----------------------------------------------------- // Submit for a magnetic declaration // Belgium only -//////////////////////////////////////////////////////////////////////////////// +//----------------------------------------------------- if ( isset($_POST['bt_disk'])) { require_once("class_customer.php"); $customer=new Customer($cn); diff --git a/html/modify_op.php b/html/modify_op.php index 6bb6cd92f..60517185d 100644 --- a/html/modify_op.php +++ b/html/modify_op.php @@ -69,7 +69,7 @@ if ( ! isset ( $action )) { // Javascript echo JS_VIEW_JRN_MODIFY; -////////////////////////////////////////////////////////////////////// +//----------------------------------------------------- if ( $action == 'update' ) { if ( ($priv=CheckJrn($_SESSION['g_dossier'],$_SESSION['g_user'],$_GET['p_jrn'],true)) < 1 ) { NoAccess(); @@ -143,7 +143,7 @@ if ( isset($_POST['update_record']) ) { self.opener.RefreshMe(); '; } // if update_record -////////////////////////////////////////////////////////////////////// +//----------------------------------------------------- if ( $action == 'delete' ) { echo_debug('modify_op.php',__LINE__," Call DeleteRapt($cn,".$_GET['line'].",".$_GET['line2'].")"); DeleteRapt($cn,$_GET['line'],$_GET['line2']); diff --git a/html/parametre.php b/html/parametre.php index 8eb1a83eb..8c57f1a86 100644 --- a/html/parametre.php +++ b/html/parametre.php @@ -76,34 +76,34 @@ if ( isset ($_POST['action']) ) { $action=$_POST['action']; } echo_debug("parametre",__LINE__,$_POST); -//////////////////////////////////////////////////////////////////////////////// +//----------------------------------------------------- // TVA RATE -//////////////////////////////////////////////////////////////////////////////// +//----------------------------------------------------- if ( $p_action == "tva" ) { require_once("tva.inc.php"); // } -//////////////////////////////////////////////////////////////////////////////// +//----------------------------------------------------- // Account -//////////////////////////////////////////////////////////////////////////////// +//----------------------------------------------------- if ( $p_action == "poste" ) { require_once('poste.inc.php'); } -//////////////////////////////////////////////////////////////////////////////// +//----------------------------------------------------- // fiche -//////////////////////////////////////////////////////////////////////////////// +//----------------------------------------------------- if ( $p_action == "fiche" ) { require_once('fiche_def.inc.php'); return; } echo '
                          '; -//////////////////////////////////////////////////////////////////////////////// +//----------------------------------------------------- // Currency -//////////////////////////////////////////////////////////////////////////////// +//----------------------------------------------------- if ( $p_action == "change" ) { $p_mid=$_GET['p_mid']; $p_rate=$_GET['p_rate']; @@ -143,9 +143,9 @@ if ( $p_action=="devise") { ShowDevise($cn); } -//////////////////////////////////////////////////////////////////////////////// +//----------------------------------------------------- // Coord societe -//////////////////////////////////////////////////////////////////////////////// +//----------------------------------------------------- if ( $p_action=='company') { require_once("class_own.php"); require_once("class_widget.php"); @@ -184,9 +184,9 @@ if ( $p_action=='company') { echo $submit->Submit("record_company","Enregistre"); echo ""; } -/////////////////////////////////////////////////////////////////// +//----------------------------------------------------- // Document -////////////////////////////////////////////////////////////////// +//----------------------------------------------------- echo "
                          "; if ( $p_action == 'document' ) { echo '
                          '; diff --git a/html/pcmn_update.php b/html/pcmn_update.php index 8cc06fb66..e441f7fa9 100644 --- a/html/pcmn_update.php +++ b/html/pcmn_update.php @@ -70,7 +70,7 @@ echo '
                          '; /* Analyse ce qui est demandé */ /* Effacement d'une ligne */ if (isset ($_GET['action'])) { -//////////////////////////////////////////////////////////////////////////////// +//----------------------------------------------------- // Action == remove a line if ( $_GET['action']=="del" ) { if ( isset ($_GET['l']) ) { @@ -91,7 +91,7 @@ if (isset ($_GET['action'])) { } // isset ($l) } //$action == del } // isset action -//////////////////////////////////////////////////////////////////////////////// +//----------------------------------------------------- /* Ajout d'une ligne */ if ( isset ( $_POST["Add"] ) ) { extract ($_POST); diff --git a/html/recherche.php b/html/recherche.php index 35010787c..424666dcd 100644 --- a/html/recherche.php +++ b/html/recherche.php @@ -52,9 +52,9 @@ $search_box=u_ShowMenuRecherche($cn,0,$sessid,$_GET); echo '
                          '; // class="recherche_form">'; echo $search_box; echo "
                          "; -//////////////////////////////////////////////////////////////////////////////// +//----------------------------------------------------- // Display search result -//////////////////////////////////////////////////////////////////////////////// +//----------------------------------------------------- if ( isset ($_GET['viewsearch'])) { // Navigation bar $step=$_SESSION['g_pagesize']; diff --git a/html/sec_pdf.php b/html/sec_pdf.php index 9278bff98..46c4af807 100755 --- a/html/sec_pdf.php +++ b/html/sec_pdf.php @@ -34,7 +34,7 @@ include_once("class.ezpdf.php"); require_once("check_priv.php"); echo_debug('sec_pdf.php',__LINE__,"imp pdf securité"); $cn=DbConnect($_SESSION['g_dossier']); -////////////////////////////////////////////////////////////////////// +//----------------------------------------------------- // Security // Check User @@ -48,7 +48,7 @@ if ( $User->CheckAction($cn,SECU) == 0 ) { NoAccess(); exit -1; } -////////////////////////////////////////////////////////////////////// +//----------------------------------------------------- // Get User's info if ( ! isset($_GET['user_id']) ) return; @@ -56,7 +56,7 @@ if ( ! isset($_GET['user_id']) ) $SecUser=new cl_user($rep,$_GET['user_id']); -////////////////////////////////////////////////////////////////////// +//----------------------------------------------------- // Print result $pdf=& new Cezpdf("A4"); @@ -74,7 +74,7 @@ if ( $SecUser->active==0) if ( $SecUser->admin==1) $pdf->ezText('Administrateur',12,array('justification'=>'center')); -////////////////////////////////////////////////////////////////////// +//----------------------------------------------------- // Journal $Res=ExecSql($cn,"select jrn_def_id,jrn_def_name from jrn_def "); for ($e=0;$e < pg_NumRows($Res);$e++) { @@ -100,7 +100,7 @@ $pdf->ezTable($a_jrn, 'priv'=>'Privilège')," ", array('shaded'=>0,'showHeadings'=>1,'width'=>500)); -//////////////////////////////////////////////////////////////////////// +//----------------------------------------------------- // Action $Res=ExecSql($cn, "select ac_id, ac_description from action order by ac_description "); diff --git a/include/action.inc.php b/include/action.inc.php index 11d9d868b..80ba8d202 100644 --- a/include/action.inc.php +++ b/include/action.inc.php @@ -129,17 +129,54 @@ if ( isset ($_REQUEST['url'])) $retour=sprintf('',urldecode($_REQUEST['url'])); $h_url=sprintf('',urldecode($_REQUEST['url'])); } +//---------------------------------------------------------------------- +// Update the detail +if ( $sub_action=="update" ) +{ + + + $act=new action($cn); + $act->ag_id=$_REQUEST['ag_id']; + $act->ag_comment=$_POST['ag_comment']; + $act->ag_timestamp=$_POST['ag_timestamp']; + $act->d_state=$_POST['d_state']; + $act->dt_id=(isset($_POST['dt_id']))?$_POST['dt_id']:0; + $act->qcode=$_POST['qcode']; + $act->ag_title=$_POST['ag_title']; + $act->d_id=$_POST['d_id']; + if ( $act->Update() == false ) { + $sub_action="detail"; + } + else + { + ShowActionList($cn,$retour,$h_url); + } + +} //-------------------------------------------------------------------------------- // Show the detail of an action +// permit the update if ( $sub_action=='detail' ) { $act=new action($cn); $act->ag_id=$_REQUEST['ag_id']; echo $act->get(); - echo $act->display(); + echo '
                          '; + echo $act->display(false); + echo ''; + echo ''; + echo ''; + $upload=new widget("file"); + $upload->name="file_upload"; + $upload->value=""; + echo "Enregistrer le fichier ".$upload->IOValue(); + echo $upload->Submit("save","Sauve"); + echo '
                          '; echo $retour; } + + //-------------------------------------------------------------------------------- // Show a list of the action if ( $sub_action == "list" ) @@ -233,7 +270,9 @@ initRTE("images/", "", ""); '. + ''. + 'Note Interne : '. + '"; + echo_debug ('class_widget',__LINE__,"writeRichText '$r'"); + + return $r; + + } + + //---------------------------------------------------------------------- //file if (strtoupper($this->type)=="FILE") { if ( $this->readonly == false ) { @@ -429,7 +491,7 @@ class widget { return $r; }// end js_concerned - return "INVALID WIDGET "; + return "INVALID WIDGET $this->type "; } //end function /* Debug */ diff --git a/include/pref.inc.php b/include/pref.inc.php index e671c1167..f28a6b482 100644 --- a/include/pref.inc.php +++ b/include/pref.inc.php @@ -99,15 +99,16 @@ if ( isset ($_SESSION['g_dossier']) ) { $periode=$_POST["periode"]; $User->SetPeriode($periode); echo_debug('pref.inc',__LINE__,"Periode returns ".PeriodeClosed($cn,$periode)); - // if periode is closed then warns the users - if ( PeriodeClosed($cn,$periode)=='t') - { - $msg= '

                          Attention cette période est fermée, vous ne pourrez rien modifier dans le module comptable

                          '; - } - } $l_user_per=$User->GetPeriode(); + // if periode is closed then warns the users + if ( PeriodeClosed($cn,$l_user_per)=='t') + { + $msg= '

                          Attention cette période est fermée, vous ne pourrez rien modifier dans le module comptable

                          '; + } + + $l_form_per=FormPeriode($cn,$l_user_per,ALL); ?>