FIX #20444
This commit is contained in:
parent
cd17fec00e
commit
9731f0658a
@ -2780,7 +2780,7 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($action)) {
|
|||||||
// Capital
|
// Capital
|
||||||
print '<tr><td>'.$langs->trans('Capital').'</td><td>';
|
print '<tr><td>'.$langs->trans('Capital').'</td><td>';
|
||||||
if ($object->capital) {
|
if ($object->capital) {
|
||||||
if (!empty($conf->multicurrency->enabled)) {
|
if (!empty($conf->multicurrency->enabled) && !empty($object->multicurrency_code)) {
|
||||||
print price($object->capital, '', $langs, 0, -1, -1, $object->multicurrency_code);
|
print price($object->capital, '', $langs, 0, -1, -1, $object->multicurrency_code);
|
||||||
} else {
|
} else {
|
||||||
print price($object->capital, '', $langs, 0, -1, -1, $conf->currency);
|
print price($object->capital, '', $langs, 0, -1, -1, $conf->currency);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user