Merge remote-tracking branch 'origin/3.5' into 3.6
Conflicts: htdocs/core/tpl/objectline_edit.tpl.php
This commit is contained in:
commit
039a184d70
@ -333,7 +333,7 @@ if (! empty($conf->margin->enabled))
|
||||
var rounding = main_rounding_unit;
|
||||
var pos = amount.indexOf(dec);
|
||||
var decpart = '';
|
||||
if (pos >= 0) decpart = amount.substr(pos+1).replace('/0+$/i',''); // Supprime les 0 de fin de partie decimale
|
||||
if (pos >= 0) decpart = amount.substr(pos+1).replace('/0+$/i',''); // Remove 0 for decimal part
|
||||
var nbdec = decpart.length;
|
||||
if (nbdec > rounding) rounding = nbdec;
|
||||
// If rounding higher than max shown
|
||||
|
||||
Loading…
Reference in New Issue
Block a user