Yes, you can. While creation of salary item for a payslip component, select the option “Special Component”.

This will populate following four options for salary calculation:
- Daily Component – Daily basis
- Include Weekoffs and holidays – Include weekend and holidays
- Hourly Component – Hourly basis
- Unit Component – Unit or piece of work basis