No display of user preferences in a decimal type field in PDF templates #10596
Labels
Area: PDFs
Issues & PRs related to all things regarding PDFs
Priority:Important
Issues & PRs that are important; broken functions, errors - there are workarounds
Severity: Moderate
Key function failed, but no or little impact
Status:Fix Proposed
A issue that has a PR related to it that provides a possible resolution
Type: Bug
Bugs within the core SuiteCRM codebase
Issue
It has been verified that in a decimal type field, the user preferences (thousands separator and Currency Significant Digits) are not correctly displayed when generating the PDF template.
Possible Fix
In the include/Utils.php file, there is the function
formatDecimalInConfigSettings()
, it returns the value already parsed with the decimal point. This value could be returned with the thousands separator and the Currency Significant Digits that the user has configured in his profile.Steps to Reproduce the Issue
Context
No response
Version
7.14.6
What browser are you currently using?
Chrome
Browser Version
No response
Environment Information
PHP 7.4
Operating System and Version
Ubuntu 22.04
The text was updated successfully, but these errors were encountered: