@@ -76,7 +76,7 @@ |
||
76 | 76 | } |
77 | 77 | $result = restrictedArea($user, 'expedition', $object->id, ''); |
78 | 78 | |
79 | -$permissiontoadd = $user->rights->expedition->creer; // Used by the include of actions_dellink.inc.php |
|
79 | +$permissiontoadd = $user->rights->expedition->creer; // Used by the include of actions_dellink.inc.php |
|
80 | 80 | |
81 | 81 | |
82 | 82 | /* |
@@ -78,7 +78,7 @@ |
||
78 | 78 | } |
79 | 79 | $result = restrictedArea($user, 'tax', $object->id, 'chargesociales', 'charges'); |
80 | 80 | |
81 | -$permissiontoadd = $user->rights->tax->charges->creer; // Used by the include of actions_dellink.inc.php |
|
81 | +$permissiontoadd = $user->rights->tax->charges->creer; // Used by the include of actions_dellink.inc.php |
|
82 | 82 | |
83 | 83 | |
84 | 84 | /* |
@@ -74,7 +74,7 @@ |
||
74 | 74 | } |
75 | 75 | $result = restrictedArea($user, 'deplacement', $id, ''); |
76 | 76 | |
77 | -$permissiontoadd = $user->rights->deplacement->creer; // Used by the include of actions_dellink.inc.php |
|
77 | +$permissiontoadd = $user->rights->deplacement->creer; // Used by the include of actions_dellink.inc.php |
|
78 | 78 | |
79 | 79 | |
80 | 80 | /* |
@@ -79,7 +79,7 @@ |
||
79 | 79 | } |
80 | 80 | $result = restrictedArea($user, 'tax', '', 'tva', 'charges'); |
81 | 81 | |
82 | -$permissiontoadd = $user->rights->tax->charges->creer; // Used by the include of actions_dellink.inc.php |
|
82 | +$permissiontoadd = $user->rights->tax->charges->creer; // Used by the include of actions_dellink.inc.php |
|
83 | 83 | |
84 | 84 | |
85 | 85 | /* |
@@ -69,7 +69,7 @@ |
||
69 | 69 | $upload_dir = $conf->bank->dir_output.'/'.dol_sanitizeFileName($object->id); |
70 | 70 | $modulepart = 'banque'; |
71 | 71 | |
72 | -$permissiontoadd = $user->rights->banque->modifier; // Used by the include of actions_dellink.inc.php |
|
72 | +$permissiontoadd = $user->rights->banque->modifier; // Used by the include of actions_dellink.inc.php |
|
73 | 73 | |
74 | 74 | |
75 | 75 |
@@ -120,7 +120,7 @@ |
||
120 | 120 | $found = true; |
121 | 121 | } |
122 | 122 | |
123 | -$permissiontoadd = $user->rights->banque->modifier; // Used by the include of actions_dellink.inc.php |
|
123 | +$permissiontoadd = $user->rights->banque->modifier; // Used by the include of actions_dellink.inc.php |
|
124 | 124 | |
125 | 125 | |
126 | 126 | /* |
@@ -74,7 +74,7 @@ |
||
74 | 74 | |
75 | 75 | $result = restrictedArea($user, 'banque', $object->id, 'bank_account', '', ''); |
76 | 76 | |
77 | -$permissiontoadd = $user->rights->banque->modifier; // Used by the include of actions_dellink.inc.php |
|
77 | +$permissiontoadd = $user->rights->banque->modifier; // Used by the include of actions_dellink.inc.php |
|
78 | 78 | |
79 | 79 | |
80 | 80 | /* |
@@ -94,7 +94,7 @@ |
||
94 | 94 | } |
95 | 95 | } |
96 | 96 | |
97 | -$permissiontoadd = $user->rights->expensereport->creer; // Used by the include of actions_dellink.inc.php |
|
97 | +$permissiontoadd = $user->rights->expensereport->creer; // Used by the include of actions_dellink.inc.php |
|
98 | 98 | |
99 | 99 | |
100 | 100 | /* |
@@ -128,7 +128,7 @@ |
||
128 | 128 | |
129 | 129 | // Array to add new pages in new tabs |
130 | 130 | $this->tabs = array(); |
131 | - $this->tabs[] = array('data'=>'user:+skill_tab:Skills:hrm:1:/hrm/skill_tab.php?id=__ID__&objecttype=user'); // To add a new tab identified by code tabname1 |
|
131 | + $this->tabs[] = array('data'=>'user:+skill_tab:Skills:hrm:1:/hrm/skill_tab.php?id=__ID__&objecttype=user'); // To add a new tab identified by code tabname1 |
|
132 | 132 | //$this->tabs[] = array('data'=>'job:+tabname1:Poste:mylangfile@hrm:1:/hrm/poste_list.php?fk_job=__ID__'); // To add a new tab identified by code tabname1 |
133 | 133 | // Example: |
134 | 134 | // $this->tabs[] = array('data'=>'objecttype:+tabname1:Title1:mylangfile@hrm:$user->rights->hrm->read:/hrm/mynewtab1.php?id=__ID__'); // To add a new tab identified by code tabname1 |