Every bill takes number 1 (numero_progresivo_documento)
Posted: Tue Oct 22, 2019 11:56 pm
I'm having a strange trouble: every bill created for a new booking, is numbered as 1. This happens since the number 10 bill. So for, example, a new bill, correctly been named as Factura_2019_00014_5.html.gz, have an incorrect bill number inside, as the text "Factura n. [numero_progresivo_documento] del [fecha_inicial_espannol]" will be converted on Factura n. 1 del 20-10-2019.
In conclusion, the bill number is correct on the file name, but incorrect in the text inside it. Any idea? Looking the code, both numbers are taken from the same variable "numero_progressivo_documento", so something is changing it in any part of the code.
I've never had this problem before this year. I run the last version, as it was updated on March.
In conclusion, the bill number is correct on the file name, but incorrect in the text inside it. Any idea? Looking the code, both numbers are taken from the same variable "numero_progressivo_documento", so something is changing it in any part of the code.
I've never had this problem before this year. I run the last version, as it was updated on March.