Example #1
0
        public ActionResult FormA()
        {
            if (Convert.ToString(Session["BrowserId"]) != GenerateHashKeyForCheckBroswerEveryCall())
            {
                return(RedirectToAction("Login", "Account"));
            }
            //int i = obj.CheckSessionEveryCall();
            //if (i != 0)
            //{
            //    return RedirectToAction("Login", "Account");
            //}
            FormAmodels objFAM = new FormAmodels();

            objFAM           = objSSF.GetDetailsForFormA(Convert.ToString(Session["SocietyTransID"]));
            ViewBag.Address1 = objFAM.Address1;
            ViewBag.Address2 = objFAM.Address2;
            ViewBag.District = objFAM.District;
            ViewBag.DateofApplicationReceived = objFAM.DateofApplicationReceived.ToShortDateString();
            ViewBag.SocietyName = objFAM.SocietyName;
            RCModels objRC = new RCModels();

            objRC                 = objSSF.GetDetailsForCashierReceipt(Convert.ToString(Session["SocietyTransID"]));
            ViewBag.Total         = objRC.Total;
            ViewBag.SocietyStatus = Convert.ToInt32(Session["SocietyStatus"]);
            return(View());
        }
Example #2
0
        public ActionResult FormC()
        {
            if (Convert.ToString(Session["BrowserId"]) != GenerateHashKeyForCheckBroswerEveryCall())
            {
                return(RedirectToAction("Login", "Account"));
            }
            //int i = obj.CheckSessionEveryCall();
            //if (i != 0)
            //{
            //    return RedirectToAction("Login", "Account");
            //}
            ViewBag.lstFormc = objSSF.ManagingCommitteMembersList(Convert.ToString(Session["SocietyTransID"]));
            FormAmodels  objFAM  = new FormAmodels();
            FormEDModels objFEM1 = new FormEDModels();

            objFAM                            = objSSF.GetDetailsForFormA(Convert.ToString(Session["SocietyTransID"]));
            objFEM1                           = objSSF.FormEDetails(Convert.ToString(Session["SocietyTransID"]));
            ViewBag.MeetingDate               = objFAM.MeetingDate.ToShortDateString();
            ViewBag.ARCSName                  = objFAM.ARCSName;
            ViewBag.CustodianFatherName       = objFEM1.CustodianFatherName;
            ViewBag.CustodianName             = objFEM1.CustodianName;
            ViewBag.CustodianRelationName     = objFEM1.RelationshipName;
            ViewBag.Address1                  = objFAM.Address1;
            ViewBag.Address2                  = objFAM.Address2;
            ViewBag.District                  = objFAM.District;
            ViewBag.BankName                  = objFAM.BankName;
            ViewBag.PostOffice                = objFAM.PostOffice;
            ViewBag.DateofApplicationReceived = objFAM.DateofApplicationReceived;
            ViewBag.ShareMoney                = objFAM.ShareMoney;
            ViewBag.Deposit                   = objFAM.Deposit;
            ViewBag.AdminssionFee             = objFAM.AdmissionFee;
            ViewBag.Pin                       = objFAM.Pin;
            ViewBag.SocietyName               = objFAM.SocietyName;
            ViewBag.Total                     = objFAM.Total;
            FormEDModels objFEM = new FormEDModels();

            objFEM = objSSF.GetDetailsForFormE(Convert.ToString(Session["SocietyTransID"]));
            ViewBag.SocietyMemberName = objFEM.SocietyMemberName;
            return(View());
        }
Example #3
0
        public ActionResult FormF()
        {
            if (Convert.ToString(Session["BrowserId"]) != GenerateHashKeyForCheckBroswerEveryCall())
            {
                return(RedirectToAction("Login", "Account"));
            }
            //int i = obj.CheckSessionEveryCall();
            //if (i != 0)
            //{
            //    return RedirectToAction("Login", "Account");
            //}
            FormFmodel  objFFM = new FormFmodel();
            FormAmodels objFAM = new FormAmodels();
            FormGmodel  objFGM = new FormGmodel();
            FormGmodel  objFF2 = new FormGmodel();

            objFF2           = objSSF.GetDetailsForInspectorFormG(Convert.ToString(Session["SocietyTransID"]));
            objFGM           = objSSF.GetDetailsForInspectorFormG2(Convert.ToString(Session["SocietyTransID"]));
            objFFM           = objSSF.GetDetailsForFormF(Convert.ToString(Session["SocietyTransID"]));
            objFAM           = objSSF.GetDetailsForFormA(Convert.ToString(Session["SocietyTransID"]));
            ViewBag.ARCSName = objFAM.ARCSName;
            ViewBag.Address1 = objFAM.Address1;
            ViewBag.Address2 = objFAM.Address2;
            ViewBag.District = objFAM.District;
            ViewBag.DateOfSubmittionByInspector = Convert.ToDateTime(objFF2.DateOfSubmittionByInspector).ToShortDateString();
            ViewBag.SocietyName = objFAM.SocietyName;
            ViewBag.Pin         = objFAM.Pin;
            ViewBag.PostOffice  = objFAM.PostOffice;
            ViewBag.InspectName = objFFM.InspectName;
            ViewBag.Remarks     = objFGM.Remarks;
            if (Request.IsAjaxRequest())
            {
                return(PartialView("~/Views/Inspector/FormF.cshtml"));
            }
            return(View());
        }