Ejemplo n.º 1
0
        void SetViewbagIndex()
        {
            ViewBag.CaseGroupId_ddl          = nomService.GetDropDownList <CaseGroup>();
            ViewBag.CaseClassificationId_ddl = nomService.GetDropDownList <Classification>();
            ViewBag.CaseStateId_ddl          = nomService.GetDropDownList <CaseState>();

            ViewBag.CourtDepartmentId_ddl          = courtDepartmentService.Department_SelectDDL(userContext.CourtId, NomenclatureConstants.DepartmentType.Systav);
            ViewBag.CourtDepartmentOtdelenieId_ddl = courtDepartmentService.Department_SelectDDL(userContext.CourtId, NomenclatureConstants.DepartmentType.Otdelenie);
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Книга глоби и присъдени на държавата суми
        /// </summary>
        /// <returns></returns>
        public IActionResult CaseObligationReport()
        {
            ViewBag.CaseGroupId_ddl  = nomService.GetDropDownList <CaseGroup>();
            ViewBag.DepartmentId_ddl = departmentService.Department_SelectDDL(userContext.CourtId, NomenclatureConstants.DepartmentType.Systav);
            var model = new CaseObligationFilterReportVM();

            model.DateFrom = new DateTime(DateTime.Now.Year, 1, 1);
            model.DateTo   = DateTime.Now;

            return(View(model));
        }
Ejemplo n.º 3
0
        /// <summary>
        /// Справка за заседания
        /// </summary>
        /// <returns></returns>
        public IActionResult Index_Spr()
        {
            ViewBag.CaseGroupId_ddl       = nomService.GetDropDownList <CaseGroup>();
            ViewBag.HallId_ddl            = commonService.GetDropDownList_CourtHall(userContext.CourtId);
            ViewBag.CaseSessionTypeId_ddl = nomService.GetDropDownList <SessionType>();
            ViewBag.SessionResultId_ddl   = nomService.GetDropDownList <SessionResult>();
            ViewBag.SessionStateId_ddl    = nomService.GetDropDownList <SessionState>();
            ViewBag.CourtDepartmentId_ddl = courtDepartmentService.Department_SelectDDL(userContext.CourtId, NomenclatureConstants.DepartmentType.Systav);
            SetHelpFile(HelpFileValues.CourtHearings);

            CaseSessionFilterVM filter = new CaseSessionFilterVM();

            return(View(filter));
        }
Ejemplo n.º 4
0
        void SetViewbagReport()
        {
            ViewBag.CaseGroupId_ddl          = nomService.GetDropDownList <CaseGroup>();
            ViewBag.CaseStateId_ddl          = nomService.GetDDL_CaseStateHand(false, true);
            ViewBag.LinkDelo_CourtId_ddl     = nomService.GetCourts();
            ViewBag.CaseClassificationId_ddl = nomService.GetDropDownList <Classification>();

            //Заседания
            ViewBag.CourtHallId_ddl     = commonService.GetDropDownList_CourtHall(userContext.CourtId);
            ViewBag.SessionTypeId_ddl   = nomService.GetDropDownList <SessionType>();
            ViewBag.SessionStateId_ddl  = nomService.GetDropDownList <SessionState>();
            ViewBag.SessionResultId_ddl = nomService.GetDropDownList <SessionResult>();

            //Актове
            ViewBag.ActTypeId_ddl = nomService.GetDropDownList <ActType>();

            //Свързани дела
            ViewBag.Institution_InstitutionTypeId_ddl = nomService.GetDropDownList <InstitutionType>();
            ViewBag.HasRegNumberOtherSystem           = false;
            if (userContext.CourtInstances.Contains(NomenclatureConstants.CaseInstanceType.SecondInstance) ||
                userContext.CourtInstances.Contains(NomenclatureConstants.CaseInstanceType.ThirdInstance))
            {
                ViewBag.HasRegNumberOtherSystem = true;
            }

            // Съдебен състав
            ViewBag.CourtDepartmentId_ddl = courtDepartmentService.Department_SelectDDL(userContext.CourtId, NomenclatureConstants.DepartmentType.Systav);
        }
        /// <summary>
        /// Справка за заседания
        /// </summary>
        /// <returns></returns>
        public IActionResult Index_Spr()
        {
            ViewBag.CaseGroupIds_ddl               = nomService.GetDropDownList <CaseGroup>(false);
            ViewBag.HallId_ddl                     = commonService.GetDropDownList_CourtHall(userContext.CourtId);
            ViewBag.CaseSessionTypeId_ddl          = nomService.GetDropDownList <SessionType>();
            ViewBag.SessionResultId_ddl            = nomService.GetDropDownList <SessionResult>();
            ViewBag.SessionStateId_ddl             = nomService.GetDropDownList <SessionState>();
            ViewBag.CourtDepartmentId_ddl          = courtDepartmentService.Department_SelectDDL(userContext.CourtId, NomenclatureConstants.DepartmentType.Systav);
            ViewBag.CourtDepartmentOtdelenieId_ddl = courtDepartmentService.Department_SelectDDL(userContext.CourtId, NomenclatureConstants.DepartmentType.Otdelenie);
            SetHelpFile(HelpFileValues.CourtHearings);

            CaseSessionFilterVM filter = new CaseSessionFilterVM();

            //filter.Year = DateTime.Now.Year;
            filter.DateFrom = new DateTime(DateTime.Now.Year, 1, 1).ForceStartDate();
            filter.DateTo   = new DateTime(DateTime.Now.Year, 12, 31).ForceEndDate();
            return(View(filter));
        }