Hi, I’m trying to make a PDF invoice template, but I realize that the fields:
Line items Products-> $aos_products_quotes_product_qty
Line items Discount amount-> $aos_products_quotes_product_discount_amount
Only shows the first digit, I mean: if the line have 25 units, the PDF print only the first digit: “2”
Can any one help me?
Thanks.
SuiteCRM version 7.3.1
I Update to suitecrm 7.7.6 but the problem persists. In detail view the field quantity is ok, but when I print the PDF of a invoice, the field Quantity not print correctly.
I have a similar wrong result when using SuiteCRM 7.7.9, but there is a small difference: in my case the template gives the 2 first digits of the number, so if I need to show a quantity of “261”, the resulting PDF shows only “26”.
I tried converting the data type from “DECIMAL (26,6)” to “INTEGER(11)” to be sure the problem was not originated by decimal-point handling, but the error is still the same.
Anyone can help us, please?
i have similiar problem with 7.10.7 if i use . as thousand separator and decimal value to 0, print invoice to pdf qty values only shows the first qty example 8.000 it will only print 8 but if i change thousand separator to , it will print correctyl. please help if there is any update on this
Please search GitHub for similar issues, and if you can’t find it there, open a new issue giving all the details about your system. If it isn’t on GitHiub, it probably won’t get fixed.