How to apply for leaves and know about the leaves taken?