Reply To: price needs to be normalized when creating itemized invoice

#936
ramanc51
Participant

while creating new invoice i need to remove comma on price digit(7,000 -> 7000) then only it saves invoice otherwise throws following error

[0] => HY000
[1] => 1366
[2] => Incorrect decimal value: ‘7,000.00’ for column ‘unit_price’ at row 1

I am using following version

OS :Linux(Ubuntu-18.04)
PHP:7.4
Simpleinvoice: simpleinvoices-master_2019.2

How to resolve it?