Merge pull request #14577 from bafbes/abb120136

New option to see complete names of partners
This commit is contained in:
Laurent Destailleur 2020-08-28 17:50:18 +02:00 committed by GitHub
commit 3f1c2e9d07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1047,7 +1047,7 @@ while ($i < min($num, $limit))
{
$savalias = $obj->name_alias;
if (!empty($arrayfields['s.name_alias']['checked'])) $companystatic->name_alias = '';
print '<td class="tdoverflowmax200">';
print '<td'.(empty($conf->global->MAIN_SOCIETE_SHOW_COMPLETE_NAME) ? ' class="tdoverflowmax200"' : '').'>';
if ($contextpage == 'poslist')
{
print $obj->name;