Dynamic Working Days in salary

Hello, I have a scenario where employees have different working day policies. For some employees, working days include the weekoffs, while for others, the weekoffs are excluded.
Is there a default solution to handle this situation?
Thank you

Hi

Employee List

Make two Holiday List
1)Holiday list in which week offs included and other national offs
2)Holiday list in which only national offs

Assign the Holiday List to employees accordingly.

Working days in salary slip will come accordingly.

This is suggestion, not tested.

Thanks for the suggestion, I have tried this but it’s not working