34 global $db, $langs,
$conf;
39 $head[$h][0] = DOL_URL_ROOT.
'/website/websiteaccount_card.php?id='.
$object->id;
40 $head[$h][1] = $langs->trans(
"WebsiteAccount");
41 $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...
websiteaccountPrepareHead($object)
Prepare array of tabs for SocieteAccount.