Fix #yogosha22395

This commit is contained in:
Laurent Destailleur
2024-06-02 22:43:54 +02:00
parent 8d85a725a2
commit ef3f007f51
4 changed files with 18 additions and 17 deletions

View File

@@ -113,21 +113,21 @@ class modReception extends DolibarrModules
$r++;
$this->rights[$r][0] = $this->numero.$r;
$this->rights[$r][1] = 'Lire les receptions';
$this->rights[$r][1] = 'Read receptions';
$this->rights[$r][2] = 'r';
$this->rights[$r][3] = 0;
$this->rights[$r][4] = 'lire';
$r++;
$this->rights[$r][0] = $this->numero.$r;
$this->rights[$r][1] = 'Creer modifier les receptions';
$this->rights[$r][1] = 'Create receptions';
$this->rights[$r][2] = 'w';
$this->rights[$r][3] = 0;
$this->rights[$r][4] = 'creer';
$r++;
$this->rights[$r][0] = $this->numero.$r;
$this->rights[$r][1] = 'Valider les receptions';
$this->rights[$r][1] = 'Validate receptions';
$this->rights[$r][2] = 'd';
$this->rights[$r][3] = 0;
$this->rights[$r][4] = 'reception_advance';
@@ -135,7 +135,7 @@ class modReception extends DolibarrModules
$r++;
$this->rights[$r][0] = $this->numero.$r; // id de la permission
$this->rights[$r][1] = 'Envoyer les receptions aux clients'; // libelle de la permission
$this->rights[$r][1] = 'Send receptions to customers'; // libelle de la permission
$this->rights[$r][2] = 'd'; // type de la permission (deprecated)
$this->rights[$r][3] = 0; // La permission est-elle une permission par default
$this->rights[$r][4] = 'reception_advance';
@@ -143,7 +143,7 @@ class modReception extends DolibarrModules
$r++;
$this->rights[$r][0] = $this->numero.$r;
$this->rights[$r][1] = 'Exporter les receptions';
$this->rights[$r][1] = 'Export receptions';
$this->rights[$r][2] = 'r';
$this->rights[$r][3] = 0;
$this->rights[$r][4] = 'reception';
@@ -151,7 +151,7 @@ class modReception extends DolibarrModules
$r++;
$this->rights[$r][0] = $this->numero.$r;
$this->rights[$r][1] = 'Supprimer les receptions';
$this->rights[$r][1] = 'Delete receptions';
$this->rights[$r][2] = 'd';
$this->rights[$r][3] = 0;
$this->rights[$r][4] = 'supprimer';