$leaveController->sendAssignedLeaveNotification($leaveController->getObjLeave(), "assign");
         $leaveController->redirectToLeaveApplyPage(true, $mes, $id);
     } catch (DuplicateLeaveException $e) {
         $leaveController->displayLeaveInfo(true, $e);
     }
     break;
 case 'Leave_Type_View_Define':
     $leaveController->displayLeaveTypeDefine();
     break;
 case 'Leave_Type_Define':
     $obj = $LeaveTypeExtractor->parseLeaveType($_POST);
     $leaveController->setObjLeave($obj);
     $leaveController->addLeaveType();
     break;
 case 'Leave_Type_Summary':
     $leaveController->displayLeaveTypeSummary();
     break;
 case 'Leave_Type_Undelete':
     $obj = $LeaveTypeExtractor->parseLeaveType($_POST);
     $leaveController->setObjLeave($obj);
     $leaveController->undeleteLeaveType();
     break;
 case 'Leave_List_Taken':
     $id = isset($_REQUEST['id']) ? $_REQUEST['id'] : $_SESSION['empID'];
     $year = isset($_REQUEST['year']) ? $_REQUEST['year'] : date('Y');
     $leaveController->setId($id);
     $leaveController->viewLeaves("taken", $year, true);
     break;
 case 'Leave_Type_Edit':
     $objs = $LeaveTypeExtractor->parseEditData($_POST);
     $leaveController->editLeaveTypes($objs);