enhance leave module for teacher