Exemple #1
0
        public ActionResult BillView(Int64 idx)
        {
            if (!SessionCheck(Define.Session.SESSION_CHECK))
            {
                return(ErrorPage("/Home/Error"));
            }
            if (!CheckAuth())
            {
                LogWriter.Instance().LogWrite(UserSession.UserId, "/Delivery/BillView - Error");
                return(base.Logout());
            }
            LogWriter.Instance().LogWrite(UserSession.UserId, "/Delivery/BillView");

            ViewBag.bill = billDao.SelectByIdx(idx, CompanySession.CompanyCode);
            Session[Define.Session.ACTION] = "DeliveryBillList";
            return(View("~/Views/Delivery/Web/BillView.cshtml", Define.MASTER_VIEW));
        }