overtime is calculated based on basic salary ,but when we take leave the reduction is based on the full salary.