Invoices no " , " in PDF by Field Amount

Hi,

since the last Update 7.14.7 “,” is missing in PDF printed Invoices in FIeld “amount”.

17,5 will be 17 in PDF. I found the following log entries.

AH01071: Got error 'PHP message: PHP Warning: Undefined array key 1 in [/var/www/vhosts/s/httpdocs/crm/modules/AOS_PDF_Templates/generatePdf.php]on line 229PHP message: PHP Warning: Undefined array key 1 in [/var/www/vhosts/s/httpdocs/crm/modules/AOS_PDF_Templates/generatePdf.php] on line 230PHP message: PHP Warning: Undefined array key 1 in [/var/www/vhosts/s/httpdocs/crm/modules/AOS_PDF_Templates/generatePdf.php] on line 249PHP message: PHP Warning: Undefined array key 1 in [/var/www/vhosts/s/httpdocs/crm/modules/AOS_PDF_Templates/generatePdf.php] on line 250

any ideas?

These are warnings!

You could turn them off by modifying the php.ini file. Look for the error_reporting.

But this will not fix our Problem? We are missing the “,” separator in the amout of invoices in PDF prints…

Hello Stefan,

it won’t solve your issue, but it’ll reduce your logfile sizes :slight_smile:

I remember, that I had a similar issue years back. If I recall correctly, it was some sort of combination of . vs. , for the decimal / thousand separator and maybe a field configuration in studio about the data type and / or precision.

It only happened after the upgrade?
Check your DB table, whether the field still is the same data type and work your way up from there. (UI, HTML, Studio, PDF, Reports, … where does it go wrong?).

I’ve just tried it on 8.9 but wasn’t able to replicate it.
Try to replicate it in the online version as well: SuiteCRM Demo - Try it today!
If it works there, what are your systems differences?
Do you have any custom code?