diff --git a/htdocs/comm/index.php b/htdocs/comm/index.php index 9e9c0235861..79dfafa7a76 100644 --- a/htdocs/comm/index.php +++ b/htdocs/comm/index.php @@ -331,7 +331,11 @@ if (! empty($conf->societe->enabled) && $user->rights->societe->lire) print '
| '.$langs->trans("BoxTitleLastCustomersOrProspects",$max).' | '; + print ''; + if (empty($conf->global->SOCIETE_DISABLE_PROSPECTS) && empty($conf->global->SOCIETE_DISABLE_CUSTOMERS)) print $langs->trans("BoxTitleLastCustomersOrProspects",$max); + else if (! empty($conf->global->SOCIETE_DISABLE_CUSTOMERS)) print $langs->trans("BoxTitleLastModifiedProspects",$max); + else print $langs->trans("BoxTitleLastModifiedCustomers",$max); + print ' | '; print ''.$langs->trans("DateModificationShort").' | '; print '||