I got a strange NaN error during multiple payroll by indice, with Vanga's database.
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.
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