diff --git a/htdocs/compta/index.php b/htdocs/compta/index.php index fb2323edd16..a1e9c3a3440 100644 --- a/htdocs/compta/index.php +++ b/htdocs/compta/index.php @@ -33,6 +33,7 @@ require("./pre.inc.php"); $user->getrights(); // On a besoin des permissions sur plusieurs modules $langs->load("compta"); +$langs->load("bills"); /* * Sécurité accés client @@ -84,19 +85,20 @@ print ''; /* * Zone recherche facture */ -print '
'; -print ''; -print ""; -print ''; -print "'; -print "
'.$langs->trans("SearchABill").'
"; -print $langs->trans("Ref").':  

"; - +if ($conf->facture->anabled) { + print '
'; + print ''; + print ""; + print ''; + print "'; + print "
'.$langs->trans("SearchABill").'
"; + print $langs->trans("Ref").':  

"; +} /* -* Factures brouillons -*/ + * Factures brouillons + */ if ($conf->facture->enabled && $user->rights->facture->lire) {