leave approval form status bar logic updated