diff --git a/html/user_jrn.php b/html/user_jrn.php index a2fab3cf2..a0cacc4d3 100644 --- a/html/user_jrn.php +++ b/html/user_jrn.php @@ -82,7 +82,7 @@ if ( isset ($_GET['JRN_TYPE'] ) ) { echo $result; ShowMenuJrnUser($g_dossier,$g_UserProperty,$_GET['JRN_TYPE'],$g_jrn); echo ""; - + if ( $jrn_type=='NONE' ) include('user_action_gl.php'); } else { @@ -117,6 +117,7 @@ if ( $g_jrn != -1 ) { echo ''; // Execute Action for g_jrn + if ( $jrn_type=='VEN' ) include('user_action_ven.php'); if ( $jrn_type=='ACH' ) include('user_action_ach.php'); if ( $jrn_type=='FIN' ) include('user_action_fin.php'); diff --git a/include/user_action_gl.php b/include/user_action_gl.php new file mode 100644 index 000000000..61eb52e8a --- /dev/null +++ b/include/user_action_gl.php @@ -0,0 +1,63 @@ + +/* + * This file is part of PhpCompta. + * + * PhpCompta is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * PhpCompta is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with PhpCompta; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +*/ +// Copyright Author Dany De Bontridder ddebontridder@yahoo.fr +/* $Revision$ */ +echo_debug(__FILE__,__LINE__,"include user_action_gl.php"); + +include_once ("preference.php"); +include_once ("user_common.php"); +include_once ("class_widget.php"); +include_once("class_jrn.php"); +include_once("class_user.php"); + +$dossier=sprintf("dossier%d",$g_dossier); +$cn=DbConnect($dossier); +?> +
| ".$op['internal']." | ". + "".$op['j_date']." | ". + "".$op['poste']." | ". + "".$op['description']." | ". + "".$op['deb_montant']." | ". + "".$op['cred_montant']." | ". + "