38 $head[$h][0] = DOL_URL_ROOT.
'/compta/deplacement/card.php?id='.
$object->id;
39 $head[$h][1] = $langs->trans(
"Trip");
40 $head[$h][2] =
'card';
49 $head[$h][0] = DOL_URL_ROOT.
'/compta/deplacement/document.php?id='.
$object->id;
50 $head[$h][1] = $langs->trans(
"Documents");
51 $head[$h][2] =
'documents';
54 $head[$h][0] = DOL_URL_ROOT.
'/compta/deplacement/info.php?id='.
$object->id;
55 $head[$h][1] = $langs->trans(
"Info");
56 $head[$h][2] =
'info';
if( $user->socid > 0) if(! $user->hasRight('accounting', 'chartofaccount')) $object
Class to manage trips and working credit notes.
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...
trip_prepare_head(Deplacement $object)
Prepare array with list of tabs.