How to show available leave of employee in salary slip?

How to show leave Balance in Salary slip according to there leave type ?

Check how it is implemented in Leave Application.