Doc
This commit is contained in:
parent
691f7d87e8
commit
70ea669b3f
2 changed files with 1 additions and 8 deletions
|
|
@ -118,7 +118,7 @@ if (GETPOST('attribute', 'aZ09') && isset($extrafields->attributes[$object->tabl
|
|||
// For action 'update_extras', is there a specific permission set for the attribute to update
|
||||
$permissiontoeditextra = dol_eval((string) $extrafields->attributes[$object->table_element]['perms'][GETPOST('attribute', 'aZ09')]);
|
||||
}
|
||||
$permissiontoreopen = $user->hasRight("takepos", "reopencashclosing");
|
||||
$permissiontoreopen = $user->hasRight("takepos", "run");
|
||||
|
||||
|
||||
$sqlfilteronopdate = '';
|
||||
|
|
|
|||
|
|
@ -205,13 +205,6 @@ class modTakePos extends DolibarrModules
|
|||
$this->rights[$r][3] = 0;
|
||||
$this->rights[$r][4] = 'editorderedlines';
|
||||
|
||||
$r++;
|
||||
$this->rights[$r][0] = 50154;
|
||||
$this->rights[$r][1] = 'Can reopen a cash closing. Must be reserved to admin support staff only.';
|
||||
$this->rights[$r][2] = 'a';
|
||||
$this->rights[$r][3] = 0;
|
||||
$this->rights[$r][4] = 'reopencashclosing';
|
||||
|
||||
// Main menu entries
|
||||
$this->menu = array(); // List of menus to add
|
||||
$r = 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue