Third-Culture-Software/bhima

Strange NaN error during multiple payroll indice configuration

Closed this issue · 2 comments

I got a strange NaN error during multiple payroll by indice, with Vanga's database.

Screenshot 2023-05-18 at 11 58 55 AM

We should try to catch these errors and let the user know what is wrong. At the moment, the only error states that a field could not be stored in the database.

image
I just did an investigation into this issue, by searching the Vanga database, and I searched for the pay period with ID = 22, and I found that this pay period corresponds to a period of test payroll for which there is no configuration

image

I don't think there is a bug

Closed based on @lomamech's feedback.