protected void btnConfirm_Click1(object sender, EventArgs e)
        {
            CommonBusiness          commonBusiness = new CommonBusiness();
            CheckOutRequestBusiness reqBusiness    = new CheckOutRequestBusiness();
            var userID  = Session[sessionNames.userID_Karbar].ToString();
            var reqList = (List <int>)ViewState["studentRequestList"];

            if (reqList != null && reqList.Count > 0)
            {
                reqBusiness.SetDateApprove(reqList, Convert.ToInt32(userID), commonBusiness.GetIPAddress());
            }
            grdResualtList.Rebind();
        }
Пример #2
0
        protected void btnConfirm_Click(object sender, EventArgs e)
        {
            CommonBusiness          CommonBusiness = new CommonBusiness();
            CheckOutRequestBusiness reqBusiness    = new CheckOutRequestBusiness();
            var userID  = Session[sessionNames.userID_Karbar].ToString();
            var reqList = (List <int>)ViewState["studentRequestList"];

            if (reqList != null && reqList.Count > 0)
            {
                reqBusiness.SetSendToPay(reqList, Convert.ToInt32(userID), CommonBusiness.GetIPAddress());
            }
            foreach (int i in reqList)
            {
                CommonBusiness.InsertIntoUserLog(Convert.ToInt32(Session[sessionNames.userID_Karbar]), DateTime.Now.ToString("HH:mm"), 12, (int)DTO.eventEnum.ارسال_جهت_پرداخت_به_واحد_صادرکننده, "", i);
            }
            grdResualtList.Rebind();
            ScriptManager.RegisterStartupScript(this, GetType(), "close", "CloseModal();", true);
        }
Пример #3
0
 public void AddOrUpdateLoansDocs(List <LoanDocInfoDTO> dataList, string stcode)
 {
     DAO.AddOrUpdateLoansDocs(dataList, stcode, commonBuiss.GetIPAddress());
 }