From ef8119a70b60151142b3bada979d0280ce704cbd Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 31 Jan 2011 20:31:55 +0000 Subject: [PATCH] New: Add hidden option SOCIETE_DISABLE_PROSPECTS --- htdocs/admin/dict.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/admin/dict.php b/htdocs/admin/dict.php index 02553f43d27..fbe310362af 100644 --- a/htdocs/admin/dict.php +++ b/htdocs/admin/dict.php @@ -238,7 +238,7 @@ $tabcond[12]= $conf->commande->enabled||$conf->propale->enabled||$conf->facture- $tabcond[13]= $conf->commande->enabled||$conf->propale->enabled||$conf->facture->enabled||$conf->fournisseur->enabled; $tabcond[14]= $conf->product->enabled&&$conf->ecotax->enabled; $tabcond[15]= true; -$tabcond[16]= $conf->societe->enabled; +$tabcond[16]= $conf->societe->enabled && empty($conf->global->SOCIETE_DISABLE_PROSPECTS); $tabcond[17]= $conf->deplacement->enabled; $tabcond[18]= $conf->expedition->enabled; $tabcond[19]= $conf->societe->enabled;