Esempio n. 1
0
        //
        // GET: /Order/

        public ActionResult OrderList()
        {
            BLUser objUser = new BLUser();
            List <MVCModels.HiDoctor_Master.UserModel> lstUser = new List <MVCModels.HiDoctor_Master.UserModel>();

            lstUser = objUser.GetChildUsersCodeAndNameOnly(_objCurrentInfo.GetCompanyCode(), _objCurrentInfo.GetUserCode());
            ViewBag.Child_User_Count = lstUser.Count();

            string strRegionCode = _objCurrentInfo.GetRegionCode();

            strRegionCode         += "^";
            ViewBag.LineOfBusiness = objBLOrder.GetCheckLineOfBusiness(strRegionCode);
            ViewBag.Region_Code    = _objCurrentInfo.GetRegionCode();
            ViewBag.Region_Name    = _objCurrentInfo.GetRegionName();
            ViewBag.Current_Month  = System.DateTime.Now.Month + "-" + System.DateTime.Now.Year;
            ViewBag.Previous_Month = System.DateTime.Now.AddMonths(-1).Month + "-" + System.DateTime.Now.AddMonths(-1).Year;
            ViewBag.Next_Month     = System.DateTime.Now.AddMonths(1).Month + "-" + System.DateTime.Now.AddMonths(1).Year;
            return(View());
        }