From 14127696df08aec206a768d33c43928f36658b72 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Mon, 11 Apr 2005 08:03:20 +0000 Subject: [PATCH] =?UTF-8?q?Ajout=20permission=20sur=20la=20cr=E9ation=20de?= =?UTF-8?q?=20facture?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/fourn/fiche.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/htdocs/fourn/fiche.php b/htdocs/fourn/fiche.php index 674633ad458..39bedca245e 100644 --- a/htdocs/fourn/fiche.php +++ b/htdocs/fourn/fiche.php @@ -280,9 +280,11 @@ if ( $societe->fetch($socid) ) print ''.$langs->trans("AddOrder").''; } - $langs->load("bills"); - print ''.$langs->trans("AddBill").''; - + if ($user->rights->fournisseur->facture->creer) + { + $langs->load("bills"); + print ''.$langs->trans("AddBill").''; + } print ''; /*