33 global $db, $langs,
$conf;
38 $head[$h][0] = DOL_URL_ROOT .
'/webhook/target_card.php?id=' .
$object->id;
39 $head[$h][1] = $langs->trans(
"Card");
40 $head[$h][2] =
'card';
if( $user->socid > 0) if(! $user->hasRight('accounting', 'chartofaccount')) $object
complete_head_from_modules($conf, $langs, $object, &$head, &$h, $type, $mode='add', $filterorigmodule='')
Complete or removed entries into a head array (used to build tabs).
global $conf
The following vars must be defined: $type2label $form $conf, $lang, The following vars may also be de...
targetPrepareHead($object)
Prepare array of tabs for Target.