public ActionResult ShowEmployee(List <string> paSearchValue, List <string> paTargetTag) { //TODO: Buat Access Control untuk lookup tertentu/Pilih Akses kontrol yang pas dari menu //hlpSecurity.CredentialInfo.isValidAccessMenu(MNURUID_CCS_INPUT_PJX_REG); //Tag to Target ViewBag.ID_TAG = paTargetTag[0]; ViewBag.CODE_TAG = paTargetTag[1]; ViewBag.DESC_TAG = paTargetTag[2]; ViewBag.OTHER_TAG = paTargetTag[3]; return(View(oDSEmployee.getDatalist_lookup())); } //End public ActionResult ShowEmployee
} //End method //Prepare Lookup public void prepareLookup() { //ViewBag.SAMPLE = oDSSample.getDatalist_lookup(); ViewBag.PROJECT = oDSProject.getDatalist(); if ((hlpConfig.SessionInfo.getAppRoleId() == valROLE.ROLEID_MASTER) || (hlpConfig.SessionInfo.getAppRoleId() == valROLE.ROLEID_ADMIN)) { //MASTER/ADMIN ViewBag.EMPLOYEE = oDSEmployee.getDatalist_lookup(); } else { //LEADER ViewBag.EMPLOYEE = oDSEmployee.getDatalist_lookupBySeperiorId(hlpConfig.SessionInfo.getAppResId()); } ViewBag.EMPLOYEEUSER = oDSEmployeeuser.getData(hlpConfig.SessionInfo.getAppResId()); ViewBag.MONTH = oDSMonth.getDatalist_lookup(); ViewBag.YEAR = oDSYear.getDatalist_lookup(); } //End prepareLookup()
public void prepareLookup() { ViewBag.CLASSTYPE = oDSClasstype.getDatalist_lookup(); ViewBag.CLASSROOM = oDSClassroom.getDatalist_lookup(); ViewBag.EMPLOYEE = oDSEmployee.getDatalist_lookup(); } //End prepareLookup()
} //End prepareLookup() //Prepare Lookup Filter public void prepareLookupFilter() { //ViewBag.SAMPLE = oDSSample.getDatalist_lookup(); ViewBag.EMPLOYEE = oDSEmployee.getDatalist_lookup(); } //End prepareLookupFilter()