Remove some code
This commit is contained in:
parent
a5ca6cb732
commit
b7b25c9682
@ -22,35 +22,6 @@
|
|||||||
*/
|
*/
|
||||||
$langs->load('hrm');
|
$langs->load('hrm');
|
||||||
|
|
||||||
/**
|
|
||||||
* Return head table for employee tabs screen
|
|
||||||
*
|
|
||||||
* @param object $object contact
|
|
||||||
* @return array head table of tabs
|
|
||||||
*/
|
|
||||||
function employee_prepare_head($object) {
|
|
||||||
global $langs, $conf, $user;
|
|
||||||
|
|
||||||
$h = 0;
|
|
||||||
$head = array ();
|
|
||||||
|
|
||||||
$head [$h] [0] = DOL_URL_ROOT.'/hrm/employee/card.php?id=' . $object->id;
|
|
||||||
$head [$h] [1] = $langs->trans("Card");
|
|
||||||
$head [$h] [2] = 'employee';
|
|
||||||
$h ++;
|
|
||||||
|
|
||||||
complete_head_from_modules($conf, $langs, $object, $head, $h, 'employee');
|
|
||||||
|
|
||||||
$head [$h] [0] = DOL_URL_ROOT.'/hrm/employee/info.php?id=' . $object->id;
|
|
||||||
$head [$h] [1] = $langs->trans("Info");
|
|
||||||
$head [$h] [2] = 'info';
|
|
||||||
$h ++;
|
|
||||||
|
|
||||||
complete_head_from_modules($conf, $langs, $object, $head, $h, 'employee', 'remove');
|
|
||||||
|
|
||||||
return $head;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return head table for establishment tabs screen
|
* Return head table for establishment tabs screen
|
||||||
*
|
*
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user