private void ShowDetail(string EmployeeInfo, string specialDate, bool isNormal) { ShowCalendarDetail1.Date = specialDate; ShowCalendarDetail1.EmployeeInfo = EmployeeInfo; ShowCalendarDetail1.SetNull(); showCalendarDetailPresenter.InitPresenter(true, false, true); mpeShowCalendarDetail.Show(); return; //if (ShowCalendarDetail1.OutApplicationDetailList.Count != 0 || // ShowCalendarDetail1.OverWorkDetailList.Count!=0 || // ShowCalendarDetail1.AttendanceBaseList.Count!=0 || // ShowCalendarDetail1.LeaveRequestList.Count!=0 ) //{ // mpeShowCalendarDetail.Show(); // return; //} //if (!isNormal) //{ // Response.Redirect("InAndOutDetailListView.aspx?" + ConstParameters.EmployeeId + "=" + // SecurityUtil.DECEncrypt(employeeID.Split(';')[0]) + "&" + // ConstParameters.DepartmentID + "=" + SecurityUtil.DECEncrypt("-1") + "&" + // ConstParameters.SearchFrom + "=" + SecurityUtil.DECEncrypt(specialDate + " 0:00:00") + "&" + // ConstParameters.SearchTo + "=" + SecurityUtil.DECEncrypt(specialDate + " 23:59:59")); //} }
private void ShowDetail(string specialDate) { ShowCalendarDetail1.Date = specialDate; ShowCalendarDetail1.EmployeeInfo = employeeID + ";" + employeeName; ShowCalendarDetail1.SetNull(); showCalendarDetailPresenter.InitPresenter(false, true, false); mpespecialDateEdit.Show(); }
private void ShowMyDayAttendanceDetail(string specialDate) { ShowCalendarDetail1.Date = specialDate; ShowCalendarDetail1.EmployeeInfo = MyDayAttendance1.EmployeeID + ";" + MyDayAttendance1.EmployeeName; ShowCalendarDetail1.SetNull(); showCalendarDetailPresenter.InitPresenter(false, false, false); UpdatePanel1.Update(); ShowMyDayAttendanceDetailWindow(null, null); }
private void ShowMyDayAttendanceDetail(string specialDate) { ShowCalendarDetail1.Date = specialDate; ShowCalendarDetail1.EmployeeInfo = MyDayAttendance1.EmployeeID + ";" + MyDayAttendance1.EmployeeName; ShowCalendarDetail1.SetNull(); showCalendarDetailPresenter.InitPresenter( LoginUser.FindAuth(AuthType.HRMIS, HrmisPowers.A506) != null || LoginUser.FindAuth(AuthType.HRMIS, HrmisPowers.A503) != null || LoginUser.FindAuth(AuthType.HRMIS, HrmisPowers.A504) != null, false, false); UpdatePanel1.Update(); ShowMyDayAttendanceDetailWindow(null, null); }