FIX : bug with head.lib.js if MAIN_MAX_DECIMALS_SHOWN use ...

FIX : List of supplier order to invoice must use billed new column
This commit is contained in:
Florian HENRY
2015-12-23 14:15:30 +01:00
parent 9441d98890
commit 930eb6dccf
2 changed files with 2 additions and 2 deletions

View File

@@ -1034,7 +1034,7 @@ function price2numjs(amount) {
print "var dec='" . $dec . "'; var thousand='" . $thousand . "';\n"; // Set var in javascript
?>
var main_max_dec_shown = <?php echo $conf->global->MAIN_MAX_DECIMALS_SHOWN; ?>;
var main_max_dec_shown = <?php echo str_replace('.', '', $conf->global->MAIN_MAX_DECIMALS_SHOWN); ?>;
var main_rounding_unit = <?php echo $conf->global->MAIN_MAX_DECIMALS_UNIT; ?>;
var main_rounding_tot = <?php echo $conf->global->MAIN_MAX_DECIMALS_TOT; ?>;