NEW Show main currency in company info user tooltip

This commit is contained in:
Laurent Destailleur 2023-04-12 03:38:25 +02:00
parent bb0d7c59e6
commit 28c625dc6b

View File

@ -2312,7 +2312,9 @@ function top_menu_user($hideloginname = 0, $urllogout = '')
}
$dropdownBody .= '<br><b>'.$langs->trans("VATIntraShort").'</b>: <span>'.dol_print_profids(getDolGlobalString("MAIN_INFO_TVAINTRA"), 'VAT').'</span>';
$dropdownBody .= '<br><b>'.$langs->trans("Country").'</b>: <span>'.($mysoc->country_code ? $langs->trans("Country".$mysoc->country_code) : '').'</span>';
if (isModEnabled('multicurrency')) {
$dropdownBody .= '<br><b>'.$langs->trans("Currency").'</b>: <span>'.$conf->currency.'</span>';
}
$dropdownBody .= '</div>';
$dropdownBody .= '<br>';