SuiteCRM icon indicating copy to clipboard operation
SuiteCRM copied to clipboard

Fix # - VAT Values display incorrectly on Quotes->Service Line Items, if Significant Figures = 0

Open serhiisamko091184 opened this issue 8 months ago • 0 comments

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

  1. Set sign digits to 0 in settings: Profile -> Advanced Tab -> .
  2. Go to Quotes module -> Create quote -> add service line
  3. Check tax column on DetailView: image

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.

serhiisamko091184 avatar Jun 11 '24 10:06 serhiisamko091184