Example #1
0
        // MAR 충전(이체) ===================================================================
        // GET: Mar MAR 충전(이체)	mar_charge_req
        public ActionResult MarReq()
        {
            //권한 체크===================================================
            if (!chk.chkPermission("MarReq", "PER_UPDATE"))
            {
                return(RedirectToAction("Index", "Home", new { msg = chk.alertStr }));
            }
            //===========================================================

            MarReqModels model = new MarReqModels();

            model = act.GetMarReqBase(model);

            model.currencyArray = comModel.GetConfCurrencySelectBox();

            return(View(model));
        }
Example #2
0
        public ActionResult BaseNationView(string seqNo, string Msg)
        {
            //권한 체크===================================================
            if (!chk.chkPermission("BaseNation", "PER_SELECT"))
            {
                return(RedirectToAction("Index", "Home", new { msg = chk.alertStr }));
            }
            //===========================================================

            BaseNationModels model = new BaseNationModels();
            int pSeqNo             = 0;

            if (int.TryParse(seqNo, out pSeqNo))
            {
                model.act_key  = pSeqNo;
                model.act_type = "updt";
            }
            else
            {
                model.act_type   = "ins";
                model.Item.SEQNO = 0;
            }

            if (!String.IsNullOrEmpty(Msg))
            {
                ViewBag.PublicPopupMsg = Msg;
            }

            //단일 데이타 정보 가져오기
            model.Item = act.GetBaseNationView(pSeqNo);

            //SELECT BOX ARRAY 데이터 설정
            model.nationArray   = comModel.GetCommNationSelectBox();
            model.weightArray   = comModel.GetWeightSelectBox();
            model.currencyArray = comModel.GetConfCurrencySelectBox();

            return(View(model));
        }