Update modTakePos.class.php

This commit is contained in:
Laurent Destailleur 2021-05-06 17:19:28 +02:00 committed by GitHub
parent 83da58b85f
commit d5c737ddb6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -198,21 +198,21 @@ class modTakePos extends DolibarrModules
$r++; $r++;
$this->rights[$r][0] = 50151; $this->rights[$r][0] = 50151;
$this->rights[$r][1] = 'Use Point Of Sale'; $this->rights[$r][1] = 'Use Point Of Sale (record a sale, add products, record payment)';
$this->rights[$r][2] = 'a'; $this->rights[$r][2] = 'a';
$this->rights[$r][3] = 0; $this->rights[$r][3] = 0;
$this->rights[$r][4] = 'run'; $this->rights[$r][4] = 'run';
$r++; $r++;
$this->rights[$r][0] = 50152; $this->rights[$r][0] = 50152;
$this->rights[$r][1] = 'Edit sales lines'; $this->rights[$r][1] = 'Can modify added sales lines (prices, discount)';
$this->rights[$r][2] = 'a'; $this->rights[$r][2] = 'a';
$this->rights[$r][3] = 0; $this->rights[$r][3] = 0;
$this->rights[$r][4] = 'editlines'; $this->rights[$r][4] = 'editlines';
$r++; $r++;
$this->rights[$r][0] = 50153; $this->rights[$r][0] = 50153;
$this->rights[$r][1] = 'Edit ordered sales lines'; $this->rights[$r][1] = 'Edit ordered sales lines (useful only when option "Order printers" has been enabled). Allow to edit sales lines even after the order has been printed';
$this->rights[$r][2] = 'a'; $this->rights[$r][2] = 'a';
$this->rights[$r][3] = 0; $this->rights[$r][3] = 0;
$this->rights[$r][4] = 'editorderedlines'; $this->rights[$r][4] = 'editorderedlines';