Skip to content

Commit

Permalink
Merge pull request #779 from Easya-Solutions/2022.5.3_rc_fix_show_mul…
Browse files Browse the repository at this point in the history
…ticurrency_rate_not_truncated

CORE: Not trancate the multicurrency rate shown on cards
  • Loading branch information
lvessiller-opendsi authored Feb 23, 2024
2 parents 1f63cf3 + f344b26 commit 9fd29ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions htdocs/core/class/html.form.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -5563,9 +5563,9 @@ public function form_multicurrency_rate($page, $rate = '', $htmlname = 'multicur
print '</form>';
} else {
if (!empty($rate)) {
print price($rate, 1, $langs, 1, 0);
print price($rate, 1, $langs, 0, 0);
if ($currency && $rate != 1) {
print ' &nbsp; ('.price($rate, 1, $langs, 1, 0).' '.$currency.' = 1 '.$conf->currency.')';
print ' &nbsp; ('.price($rate, 1, $langs, 0, 0).' '.$currency.' = 1 '.$conf->currency.')';
}
} else {
print 1;
Expand Down

0 comments on commit 9fd29ea

Please sign in to comment.