public ActionResult ReceivablesNew(string SubMenuId)
 {
     #region Check UserGroup when user direct key in URL
     if (!(_clsGlobal.CheckUserGroup(((ClaimsIdentity)User.Identity).FindFirst("UserGroupCode").Value, Convert.ToInt16(SubMenuId))))
     {
         ViewData["Message"] = "You Have No Access Rights For This Module!, error: Invalid Access Rights";
     }
     #endregion  Check UserGroup when user direct key in URL
     ReceivableModel model = new ReceivableModel();
     ViewData["IsNew"] = true;
     return(View(model));
 }
        public PartialViewResult GetReceivableView(bool IsView, string SecurityID)
        {
            ReceivableModel model     = new ReceivableModel();
            SelectList      lstStatus = new SelectList(_clsGlobal.GetListOfValue("SECURITY_ITEM_STATUS", "", "O", "", ""), "Value", "Text");

            ViewBag.StatusList = lstStatus;

            if (!string.IsNullOrEmpty(SecurityID))
            {
                model = _clsSecurity.GetDebentureReceivablesDetails(SecurityID);
            }
            ViewBag.Viewable = IsView;

            return(PartialView("_ReceivablesPartialView", model));
        }