diff --git a/include/user_action_gl.php b/include/user_action_gl.php index 61eb52e8a..767121b1d 100644 --- a/include/user_action_gl.php +++ b/include/user_action_gl.php @@ -23,8 +23,8 @@ 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"); +include("jrn.php"); $dossier=sprintf("dossier%d",$g_dossier); $cn=DbConnect($dossier); @@ -38,26 +38,15 @@ $periode_start=make_array($cn,"select p_id,to_char(p_start,'DD-MM-YYYY') from pa $User=new cl_user($cn); $current=(isset($_POST['p_periode']))?$_POST['p_periode']:$User->GetPeriode(); $w->selected=$current; -echo 'Période'.$w->IOValue("p_periode",$periode_start).$w->Submit('gl_submit','Valider'); +echo 'Période '.$w->IOValue("p_periode",$periode_start).$w->Submit('gl_submit','Valider'); ?> -$Jrn = new jrn($cn,0); -$Jrn->GetRow($current,$current); - if ( count($Jrn->row ) == 0 ) - exit; - echo "
| ".$op['internal']." | ". - "".$op['j_date']." | ". - "".$op['poste']." | ". - "".$op['description']." | ". - "".$op['deb_montant']." | ". - "".$op['cred_montant']." | ". - "