This commit is contained in:
sparkyx 2006-11-29 21:13:29 +00:00
parent e53df2be30
commit cf27cf22ca
2 changed files with 15 additions and 8 deletions

View file

@ -49,7 +49,7 @@ $jrn_type=(isset($_REQUEST['jrn_type']))?$_REQUEST['jrn_type']:-1;
echo '<div class="u_tmenu">';
echo ShowMenuCompta($_SESSION['g_dossier']);
echo ShowMenuCompta($_SESSION['g_dossier'],"user_jrn.php?jrn_type=".$jrn_type);
echo '</div>';
if ( $User->admin == 0 ) {
@ -70,10 +70,10 @@ if ( $User->admin == 0 ) {
}
// Show the available jrn
$result=ShowJrn("user_jrn.php?jrn_type=".$jrn_type);
echo "<div class=\"u_subtmenu\">";
echo $result;
echo "</div>";
// $result=ShowJrn("user_jrn.php?jrn_type=".$jrn_type);
// echo "<div class=\"u_subtmenu\">";
// echo $result;
// echo "</div>";

View file

@ -150,10 +150,17 @@ function ShowMenuCompta($p_dossier,$p_high="")
echo_debug('user_menu.php',__LINE__,'defaut is '.$default);
$p_array=array(array("user_jrn.php?show","Journaux","Les journaux permettent d'encoder toutes les opérations"),
$p_array=array(
array("user_jrn.php?jrn_type=NONE" ,"Grand Livre"),
array("user_jrn.php?jrn_type=VEN" ,"Entrée"),
array("user_jrn.php?jrn_type=ACH","Dépense"),
array("user_jrn.php?jrn_type=FIN","Financier"),
array("user_jrn.php?jrn_type=OD","Op. Diverses"),
// array("user_jrn.php?show","Journaux","Les journaux permettent d'encoder toutes les opérations"),
array("fiche.php?p_dossier=$p_dossier","Fiche","Ajouter, modifier ou effacer des fiches"),
array("compta.php?p_action=impress","Impression","Impression"),
// array("compta.php?p_action=impress","Impression","Impression"),
array("user_advanced.php","Avancé","Opérations délicates"),
// array('user_pref.php','Preference',"Préférence de l'utilisateur"),
// array('parametre.php?dos='.$_SESSION['g_dossier'],"Paramètre"),
// array('commercial.php?dos='.$_SESSION['g_dossier'],"Gestion"),
@ -161,7 +168,7 @@ function ShowMenuCompta($p_dossier,$p_high="")
// array('logout.php','logout',"Sortie")
);
$result=ShowItem($p_array,'H',"mtitle","mtitle",$default,' width="50%"');
$result=ShowItem($p_array,'H',"mtitle","mtitle",$default,' width="100%"');
$r="<H2 class=\"info\">Comptabilit&eacute; ".$_SESSION['g_name'];