mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
FIX code not visible correctly into view of dictionnary
This commit is contained in:
parent
cce24b5045
commit
df861e76bc
|
|
@ -2367,7 +2367,10 @@ if ($id > 0) {
|
|||
continue;
|
||||
}
|
||||
|
||||
if ($value == 'element') {
|
||||
// Management of several special cases and exceptions
|
||||
if ($value == 'code' && $id == DICT_PRODUCT_NATURE) {
|
||||
$valuetoshow = (int) $valuetoshow;
|
||||
} elseif ($value == 'element') {
|
||||
$valuetoshow = isset($elementList[$valuetoshow]) ? $elementList[$valuetoshow] : $valuetoshow;
|
||||
} elseif ($value == 'source') {
|
||||
$valuetoshow = isset($sourceList[$valuetoshow]) ? $sourceList[$valuetoshow] : $valuetoshow;
|
||||
|
|
@ -2543,6 +2546,7 @@ if ($id > 0) {
|
|||
$valuetoshow = $TDurationTypes[$obj->{$value}];
|
||||
}
|
||||
}
|
||||
|
||||
$class .= ($class ? ' ' : '').'tddict';
|
||||
if ($value == 'name') {
|
||||
$class .= ' tdoverflowmax200';
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user