User-configured decimal symbol separator is not used in Templates #9261
Labels
Area: Emails:Templates
Issues & PRs related to email templates
Area: PDFs
Issues & PRs related to all things regarding PDFs
Priority:Moderate
Issues & PRs that are minor; broken styling, cosmetic, warnings - there are practical workarounds
Type: Bug
Bugs within the core SuiteCRM codebase
Issue
The user-configured decimal symbol separator is not used by the Email template parser and the PDF template parser.
Expected Behavior
The CRM uses the decimal symbol separator configured in the user
Actual Behavior
CRM does not use user-configured decimal symbol separator
Possible Fix
Add the necessary code for fields of type Decimal in:
Steps to Reproduce
Set a symbol to separate decimals.
Create a person-based email template that contains a decimal field.
Create a campaign and use the decimal field.
Send a test email and / or a Scheduled email
Check that in the sent email, the decimal value is not being parsed with the configured symbol
Create a PDF template based on People and include the decimal field
Generate a PDF file of a person that has a value in the decimal field
check that the decimal symbol is not applied in the generated PDF template
Your Environment
The text was updated successfully, but these errors were encountered: