Merge pull request #20667 from leninrivas/patch-3
Show only code multicurrency in lists
This commit is contained in:
commit
0e710b05cd
@ -2188,7 +2188,11 @@ if ($resql) {
|
||||
|
||||
// Currency
|
||||
if (!empty($arrayfields['f.multicurrency_code']['checked'])) {
|
||||
print '<td class="nowraponall">'.dol_escape_htmltag($obj->multicurrency_code).' - '.$langs->trans('Currency'.$obj->multicurrency_code)."</td>\n";
|
||||
if (empty($conf->global->MAIN_SHOW_ONLY_CODE_MULTICURRENCY)) {
|
||||
print '<td class="nowraponall">'.dol_escape_htmltag($obj->multicurrency_code).' - '.$langs->trans('Currency'.$obj->multicurrency_code)."</td>\n";
|
||||
} else {
|
||||
print '<td class="nowraponall">'.dol_escape_htmltag($obj->multicurrency_code)."</td>\n";
|
||||
}
|
||||
if (!$i) {
|
||||
$totalarray['nbfield']++;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user