salesagility / SuiteCRM

SuiteCRM - Open source CRM for the world
https://www.suitecrm.com
GNU Affero General Public License v3.0
4.26k stars 2.03k forks source link

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

Open serhiisamko091184 opened 3 weeks ago

serhiisamko091184 commented 3 weeks ago

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

Final checklist