Conditionnement de compta->enabled avec comptaexpert->enabled

Simplification du code pour gestion des codes compta (prparation module compta expert)
This commit is contained in:
Laurent Destailleur
2006-03-12 15:28:54 +00:00
parent 52ccd92197
commit 3d4a1ccaa5
37 changed files with 398 additions and 324 deletions

View File

@@ -103,7 +103,7 @@ if ($_GET["id"] > 0)
$h++;
}
if ($conf->compta->enabled)
if ($conf->compta->enabled || $conf->comptaexpert->enabled)
{
$head[$h][0] = DOL_URL_ROOT.'/compta/commande/fiche.php?id='.$commande->id;
$head[$h][1] = $langs->trans("ComptaCard");