forked from Wavyzz/dolibarr
int
This commit is contained in:
@@ -8778,7 +8778,8 @@ function complete_head_from_modules($conf, $langs, $object, &$head, &$h, $type,
|
|||||||
dol_include_once($labeltemp[2]);
|
dol_include_once($labeltemp[2]);
|
||||||
$obj = new $labeltemp[1]($db);
|
$obj = new $labeltemp[1]($db);
|
||||||
$function = $labeltemp[3];
|
$function = $labeltemp[3];
|
||||||
$label .= $obj->$function($object->id, $obj);
|
$nbrec = $obj->$function($object->id, $obj);
|
||||||
|
$label .= '<span class="badge marginleftonlyshort">'.$nbrec.'</span>';
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$label = $langs->trans($values[2]);
|
$label = $langs->trans($values[2]);
|
||||||
|
|||||||
Reference in New Issue
Block a user