No reason to restrict this tab to external users
This commit is contained in:
parent
3ecff7b4db
commit
4772e51d12
@ -96,13 +96,13 @@ function societe_prepare_head($object)
|
|||||||
$head[$h][1] = $langs->trans("Note");
|
$head[$h][1] = $langs->trans("Note");
|
||||||
$head[$h][2] = 'note';
|
$head[$h][2] = 'note';
|
||||||
$h++;
|
$h++;
|
||||||
|
|
||||||
// Attached files
|
// Attached files
|
||||||
$head[$h][0] = DOL_URL_ROOT.'/societe/document.php?socid='.$object->id;
|
$head[$h][0] = DOL_URL_ROOT.'/societe/document.php?socid='.$object->id;
|
||||||
$head[$h][1] = $langs->trans("Documents");
|
$head[$h][1] = $langs->trans("Documents");
|
||||||
$head[$h][2] = 'document';
|
$head[$h][2] = 'document';
|
||||||
$h++;
|
$h++;
|
||||||
|
|
||||||
// Notifications
|
// Notifications
|
||||||
if (! empty($conf->notification->enabled))
|
if (! empty($conf->notification->enabled))
|
||||||
{
|
{
|
||||||
@ -111,14 +111,15 @@ function societe_prepare_head($object)
|
|||||||
$head[$h][2] = 'notify';
|
$head[$h][2] = 'notify';
|
||||||
$h++;
|
$h++;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Log
|
|
||||||
$head[$h][0] = DOL_URL_ROOT.'/societe/info.php?socid='.$object->id;
|
|
||||||
$head[$h][1] = $langs->trans("Info");
|
|
||||||
$head[$h][2] = 'info';
|
|
||||||
$h++;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Log
|
||||||
|
$head[$h][0] = DOL_URL_ROOT.'/societe/info.php?socid='.$object->id;
|
||||||
|
$head[$h][1] = $langs->trans("Info");
|
||||||
|
$head[$h][2] = 'info';
|
||||||
|
$h++;
|
||||||
|
|
||||||
complete_head_from_modules($conf,$langs,$object,$head,$h,'thirdparty','remove');
|
complete_head_from_modules($conf,$langs,$object,$head,$h,'thirdparty','remove');
|
||||||
|
|
||||||
return $head;
|
return $head;
|
||||||
@ -476,7 +477,7 @@ function show_projects($conf,$langs,$db,$object,$backtopage='')
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Show html area for list of contacts
|
* Show html area for list of contacts
|
||||||
*
|
*
|
||||||
* @param Conf $conf Object conf
|
* @param Conf $conf Object conf
|
||||||
* @param Translate $langs Object langs
|
* @param Translate $langs Object langs
|
||||||
* @param DoliDB $db Database handler
|
* @param DoliDB $db Database handler
|
||||||
@ -740,7 +741,7 @@ function show_actions_todo($conf,$langs,$db,$object,$objcon='',$noprint=0)
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Show html area with actions done
|
* Show html area with actions done
|
||||||
*
|
*
|
||||||
* @param conf Object conf
|
* @param conf Object conf
|
||||||
* @param langs Object langs
|
* @param langs Object langs
|
||||||
* @param db Object db
|
* @param db Object db
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user