Update evaluation_list.php
This commit is contained in:
parent
cc4bb9b40f
commit
2a9cc27843
@ -20,7 +20,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \file evaluation_list.php
|
* \file htdocs/hrm/evaluation_list.php
|
||||||
* \ingroup hrm
|
* \ingroup hrm
|
||||||
* \brief List page for evaluation
|
* \brief List page for evaluation
|
||||||
*/
|
*/
|
||||||
@ -40,8 +40,9 @@ require_once __DIR__.'/class/evaluation.class.php';
|
|||||||
//dol_include_once('/othermodule/class/otherobject.class.php');
|
//dol_include_once('/othermodule/class/otherobject.class.php');
|
||||||
|
|
||||||
// Load translation files required by the page
|
// Load translation files required by the page
|
||||||
$langs->loadLangs(array("hrm", "other"));
|
$langs->loadLangs(array('hrm', 'other'));
|
||||||
|
|
||||||
|
// Get Parameters
|
||||||
$action = GETPOST('action', 'aZ09') ?GETPOST('action', 'aZ09') : 'view'; // The action 'add', 'create', 'edit', 'update', 'view', ...
|
$action = GETPOST('action', 'aZ09') ?GETPOST('action', 'aZ09') : 'view'; // The action 'add', 'create', 'edit', 'update', 'view', ...
|
||||||
$massaction = GETPOST('massaction', 'alpha'); // The bulk action (combo box choice into lists)
|
$massaction = GETPOST('massaction', 'alpha'); // The bulk action (combo box choice into lists)
|
||||||
$show_files = GETPOST('show_files', 'int'); // Show files area generated by bulk actions ?
|
$show_files = GETPOST('show_files', 'int'); // Show files area generated by bulk actions ?
|
||||||
@ -130,6 +131,7 @@ include DOL_DOCUMENT_ROOT.'/core/tpl/extrafields_list_array_fields.tpl.php';
|
|||||||
$object->fields = dol_sort_array($object->fields, 'position');
|
$object->fields = dol_sort_array($object->fields, 'position');
|
||||||
$arrayfields = dol_sort_array($arrayfields, 'position');
|
$arrayfields = dol_sort_array($arrayfields, 'position');
|
||||||
|
|
||||||
|
// Permissions
|
||||||
$permissiontoread = $user->rights->hrm->evaluation->read;
|
$permissiontoread = $user->rights->hrm->evaluation->read;
|
||||||
$permissiontoadd = $user->rights->hrm->evaluation->write;
|
$permissiontoadd = $user->rights->hrm->evaluation->write;
|
||||||
$permissiontodelete = $user->rights->hrm->evaluation->delete;
|
$permissiontodelete = $user->rights->hrm->evaluation->delete;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user