SuiteCRM
SuiteCRM copied to clipboard
Fix # - VAT Values display incorrectly on Quotes->Service Line Items, if Significant Figures = 0
Description
When the user sets their Significant Digits to 0 (via their Profile)
When viewing the Quotes detailview, any "0" values are stripped, leading to displaying errors
ie: "0%" becomes "%" "20%" becomes "2%"
Motivation and Context
How To Test This
- Set sign digits to 0 in settings: Profile -> Advanced Tab -> .
- Go to Quotes module -> Create quote -> add service line
- Check tax column on DetailView:
Types of changes
- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
Final checklist
- [x] My code follows the code style of this project found here.
- [ ] My change requires a change to the documentation.
- [x] I have read the How to Contribute guidelines.