Modif permissions

This commit is contained in:
Rodolphe Quiedeville 2005-04-06 18:18:00 +00:00
parent ed130cc6e3
commit fce5cdcff5

View File

@ -97,7 +97,7 @@ print "</table></form><br>";
/* /*
* Factures brouillons * Factures brouillons
*/ */
if ($conf->facture->enabled) if ($conf->facture->enabled && $user->rights->facture->lire)
{ {
$sql = "SELECT f.facnumber, f.rowid, s.nom, s.idp"; $sql = "SELECT f.facnumber, f.rowid, s.nom, s.idp";
@ -294,7 +294,7 @@ if ($conf->commande->enabled && $user->rights->commande->lire)
} }
if ($conf->facture->enabled) if ($conf->facture->enabled && $user->rights->facture->lire)
{ {
/* /*