Example #1
0
        public ActionResult ReviewAccountTypeScreen()
        {
            List <AccountTypeVM> viewModel = ReviewMethods.GetAccountTypeRequestDetails("R");

            ViewBag.AccountTypes = new AccountTypeDataAccess().GetAccountTypes("A");//AccountTypeMethods.GetAllAccountTypes();
            return(View(viewModel));
        }
Example #2
0
        public ActionResult FilterAuthorizeAccountTypeScreen(FilterAccountTypeVM request, string RequestType)
        {
            if (RequestType == "Add")
            {
                List <AccountTypeVM> viewModel = ReviewMethods.FilterAccountTypeRequestDetails(request, "R");
                return(PartialView("_partialReviewAuthorizeAccountTypeAddView", viewModel));
            }
            else
            {
                //fetch from system requests
                List <tbl_System_Requests> lst = new SystemRequestDataAccess().GetAllSystemRequests("R", Constants.RequestTypes.AccountTypes_SystemRequest);

                List <AccountTypeVM> lstData = new List <AccountTypeVM>();
                for (int i = 0; i < lst.Count; i++)
                {
                    AccountTypeVM item = new AccountTypeVM();
                    item      = CustomHelper.ParseJson <AccountTypeVM>(lst[i].UpdatedData);
                    item.Code = lst[i].ID.ToString();//setting code as ID so it could be used at hyperlink
                    item.AuthorizationComments = lst[i].AuthorizationComments;
                    lstData.Add(item);
                }

                return(PartialView("_partialReviewAuthorizeAccountTypeUpdateView", lstData));
            }
        }
Example #3
0
        public ActionResult ReviewCardTypeScreen()
        {
            List <CardTypeVM> viewModel = ReviewMethods.GetCardTypeRequestDetails("R");

            ViewBag.CardTypes = new CardTypesDataAccess().GetCardTypes("A");//CardTypeMethods.GetAllCardTypes();
            return(View(viewModel));
        }
Example #4
0
        public ActionResult FilterAuthorizeCardChargesScreen(FilterAccountTypeVM request, string RequestType)
        {
            if (RequestType == "Add")
            {
                List <CardChargesVM> viewModel = ReviewMethods.FilterCardChargesRequestDetails(request, "R");
                return(PartialView("_partialReviewAuthorizeCardChargesAddView", viewModel));
            }
            else
            {
                //fetch from system requests
                List <tbl_System_Requests> lst = new SystemRequestDataAccess().GetAllSystemRequests("R", Constants.RequestTypes.CardCharges_SystemRequest);

                List <CardChargesVM> lstData = new List <CardChargesVM>();
                for (int i = 0; i < lst.Count; i++)
                {
                    CardChargesVM item = new CardChargesVM();
                    item = CustomHelper.ParseJson <CardChargesVM>(lst[i].UpdatedData);
                    var cardChargesData = new CardChargesDataAccess().GetCardChargeDetailsById(item.ID);
                    item.Title                 = lst[i].ID.ToString();//setting title as ID so it could be used at hyperlink
                    item.AccountTypeName       = cardChargesData.tbl_Account_Types.Name;
                    item.CardTypeName          = cardChargesData.tbl_Card_Types.Title;
                    item.AuthorizationComments = lst[i].AuthorizationComments;
                    lstData.Add(item);
                }

                return(PartialView("_partialReviewAuthorizeCardChargesUpdateView", lstData));
            }
        }
Example #5
0
        public ActionResult Authorize()
        {
            List <AccountTypeVM> viewModel = ReviewMethods.GetAccountTypeRequestDetails("P");

            ViewBag.AccountTypes = new AccountTypeDataAccess().GetAccountTypesActiveInActive("A");//AccountTypeMethods.GetAllAccountTypes();
            return(View(viewModel));
        }
Example #6
0
        public ActionResult Authorize()
        {
            List <CardTypeVM> viewModel = ReviewMethods.GetCardTypeRequestDetails("P");

            ViewBag.CardTypes = new CardTypesDataAccess().GetCardTypesActiveInactive("A"); //CardTypeMethods.GetAllCardTypes();
            return(View(viewModel));
        }
Example #7
0
        public ActionResult Authorize()
        {
            List <CardChargesVM> viewModel = ReviewMethods.GetCardChargesRequestDetails("P");

            ViewBag.AccountTypes = new AccountTypeDataAccess().GetAccountTypes("A"); //AccountTypeMethods.GetAllAccountTypes();
            ViewBag.CardTypes    = new CardTypesDataAccess().GetCardTypes("A");      //CardTypeMethods.GetAllCardTypes();
            return(View(viewModel));
        }
Example #8
0
        public ActionResult FilterAuthorizeScreen(FilterAuthorizationVM request)
        {
            List <AuthorizationVM> viewModel = ReviewMethods.FilterRequestDetails(request);

            return(PartialView("_partialReviewAuthorizeView", viewModel));
        }
Example #9
0
        public ActionResult ReviewDelinkingScreen()
        {
            List <AuthorizationVM> viewModel = ReviewMethods.GetRequestDetails("D");

            return(View(viewModel));
        }
Example #10
0
        public ActionResult ReviewCardUpgradeScreen()
        {
            List <AuthorizationVM> viewModel = ReviewMethods.GetRequestDetails("U");

            return(View(viewModel));
        }
Example #11
0
        public ActionResult ReviewCardReplacementScreen()
        {
            List <AuthorizationVM> viewModel = ReviewMethods.GetRequestDetails("R");

            return(View(viewModel));
        }