From 31ddfac574e4f810d9f5bd8af60a343d93adf66b Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Mon, 25 Jul 2005 13:16:45 +0000 Subject: [PATCH] Bugfix --- .../includes/modules/modPrelevement.class.php | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/htdocs/includes/modules/modPrelevement.class.php b/htdocs/includes/modules/modPrelevement.class.php index 193bf4ad149..d009997c74a 100644 --- a/htdocs/includes/modules/modPrelevement.class.php +++ b/htdocs/includes/modules/modPrelevement.class.php @@ -86,13 +86,15 @@ class modPrelevement extends DolibarrModules $this->rights[1][1] = 'Consulter les prélèvements'; $this->rights[1][2] = 'r'; $this->rights[1][3] = 1; - $this->rights[1][4] = 'lire'; + $this->rights[1][4] = 'bons'; + $this->rights[1][5] = 'lire'; $this->rights[2][0] = 152; $this->rights[2][1] = 'Configurer les prélèvements'; $this->rights[2][2] = 'w'; $this->rights[2][3] = 0; - $this->rights[2][4] = 'configurer'; + $this->rights[2][4] = 'bons'; + $this->rights[2][5] = 'configurer'; $this->rights[3][0] = 153; $this->rights[3][1] = 'Consulter les bons de prélèvements'; @@ -101,13 +103,12 @@ class modPrelevement extends DolibarrModules $this->rights[3][4] = 'bons'; $this->rights[3][5] = 'lire'; - $this->rights[3][0] = 154; - $this->rights[3][1] = 'Créer un bon de prélèvement'; - $this->rights[3][2] = 'w'; - $this->rights[3][3] = 0; - $this->rights[3][4] = 'bons'; - $this->rights[3][5] = 'creer'; - + $this->rights[4][0] = 154; + $this->rights[4][1] = 'Créer un bon de prélèvement'; + $this->rights[4][2] = 'w'; + $this->rights[4][3] = 0; + $this->rights[4][4] = 'bons'; + $this->rights[4][5] = 'creer'; }