Issue in salary slip generation

Hi,
I want generate a salary slip for an employee where payment days is set to 0. When i try to save the file i get an error like this:

If the payment day is zero, then how will the salary be generated, if it is a working day, then the salary will be generated. explore the Payment Days tab details and generate from the payroll entry?

hi @NCP ,
If the payment days is 0 i want all the components to be 0 by default. Instead its throws an error