Leave application and Attendance

Hi,

I want to apply for half day leave as Privilege Leave and remaining half day as leave without pay when there is leave balance for privilege leave is 0.5 and also want to calculate leave without pay amount in LWP component in salary slip.

how can i mange this with default flow .