/// <summary> /// Generate project branch No. combobox /// </summary> /// <param name="helper"></param> /// <param name="id"></param> /// <param name="ProjectCode"></param> /// <param name="attribute"></param> /// <returns></returns> public static MvcHtmlString ProjectBranchNoComboBox(this HtmlHelper helper, string id, string ProjectCode, object attribute = null) { IProjectHandler projH = ServiceContainer.GetService <IProjectHandler>() as IProjectHandler; List <doProjectBranch> lstBranch; lstBranch = projH.GetProjectStockOutBranch(ProjectCode); MvcHtmlString aa = CommonUtil.CommonComboBox <doProjectBranch>(id, lstBranch, "BranchNo", "ProjectCodeBranch", attribute, true); return(aa); }