SimpleInvoices Group Forum › Forums › Fearless359 SimpleInvoices Discussion Group › price needs to be normalized when creating itemized invoice › Reply To: price needs to be normalized when creating itemized invoice
May 18, 2020 at 4:52 am #876
It may depend on the localization settings? This site is set to British English, so numbers display with a comma as thousands separator (see enclosed screenshot), and apparently this is passed on in the POST arguments because the sql error was complaining that this was being used in the insert command.
In your code the “edit” function already did use SiLocal::dbStd to filter that out, so it would seem logical that the insert should, too, no?
Enclosed also the phpinfo: this is a dedicated Linux server running Ubuntu 18.04