Fix picto multicompany
This commit is contained in:
parent
a538609c9c
commit
5521cb6afc
@ -213,14 +213,14 @@ if ($resql) {
|
||||
print '<tr class="oddeven">';
|
||||
print '<td>';
|
||||
print $grouptemp->getNomUrl(1);
|
||||
if (!$obj->entity) {
|
||||
if (isModEnabled('multicompany') && !$obj->entity) {
|
||||
print img_picto($langs->trans("GlobalGroup"), 'redstar');
|
||||
}
|
||||
print "</td>";
|
||||
//multicompany
|
||||
if (!empty($conf->multicompany->enabled) && is_object($mc) && empty($conf->global->MULTICOMPANY_TRANSVERSE_MODE) && $conf->entity == 1) {
|
||||
if (isModEnabled('multicompany') && is_object($mc) && empty($conf->global->MULTICOMPANY_TRANSVERSE_MODE) && $conf->entity == 1) {
|
||||
$mc->getInfo($obj->entity);
|
||||
print '<td class="center">'.$mc->label.'</td>';
|
||||
print '<td class="center">'.dol_escape_htmltag($mc->label).'</td>';
|
||||
}
|
||||
print '<td class="center">'.$obj->nb.'</td>';
|
||||
print '<td class="center">';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user