Depends on Payment Days is not working in formula calculation

This basic functionality is still working after 1 year :frowning:

I’m on latest version 12, I found another one having same issue in 2018 however it was another version I think because there is no “Leave without pay” checkbox anymore