public IActionResult ListDataCaseFirstLifecyclie(IDataTablesRequest request, CaseFilterReport model) { model.IsDoubleExchangeDoc = false; var data = service.CaseFirstLifecyclie_Select(userContext.CourtId, model); return(request.GetResponse(data)); }
/// <summary> /// Справка Oбразувани и свършени дела за коруп. престъпления /// </summary> /// <returns></returns> public IActionResult IndexCaseCorruptCrimes() { CaseFilterReport filter = new CaseFilterReport() { DateFrom = NomenclatureExtensions.GetStartYear(), DateTo = NomenclatureExtensions.GetEndYear(), }; return(View(filter)); }
/// <summary> /// Справка Дела с ненаписани съдебни актове от всички съдии /// </summary> /// <returns></returns> public IActionResult IndexCaseWithoutFinalAct() { CaseFilterReport filter = new CaseFilterReport() { DateFrom = NomenclatureExtensions.GetStartYear(), DateTo = NomenclatureExtensions.GetEndYear(), }; SetViewbagIndex(); return(View(filter)); }
public IActionResult CaseReport_ListData(IDataTablesRequest request, string filterJson) { var dateTimeConverter = new IsoDateTimeConverter() { DateTimeFormat = FormattingConstant.NormalDateFormat }; CaseFilterReport model = JsonConvert.DeserializeObject <CaseFilterReport>(filterJson, dateTimeConverter); var data = service.CaseReport_Select(userContext.CourtId, model); return(request.GetResponse(data)); }
/// <summary> /// Справка за Заседания за период с участието на малолетни/непълнолетни лица /// </summary> /// <returns></returns> public IActionResult IndexReportMaturity() { ViewBag.CaseGroupId_ddl = nomService.GetDropDownList <CaseGroup>(); ViewBag.SessionTypeId_ddl = nomService.GetDropDownList <SessionType>(); CaseFilterReport filter = new CaseFilterReport() { DateFrom = NomenclatureExtensions.GetStartYear(), DateTo = NomenclatureExtensions.GetEndYear(), }; return(View(filter)); }
/// <summary> /// Справка Заседания с не написани съдебни актове към [дата] от всички съдии /// </summary> /// <returns></returns> public IActionResult IndexCaseSessionWithActProject() { CaseFilterReport filter = new CaseFilterReport() { DateFrom = NomenclatureExtensions.GetStartYear(), DateTo = NomenclatureExtensions.GetEndYear(), ActDateToSpr = DateTime.Now }; ViewBag.CaseGroupId_ddl = nomService.GetDropDownList <CaseGroup>(); return(View(filter)); }
/// <summary> /// Справка за предоставени/върнати документи /// </summary> /// <returns></returns> public IActionResult IndexDocumentProvidedReturned() { CaseFilterReport filter = new CaseFilterReport() { DateFrom = NomenclatureExtensions.GetStartYear(), DateTo = NomenclatureExtensions.GetEndYear(), }; ViewBag.CaseGroupId_ddl = nomService.GetDropDownList <CaseGroup>(); ViewBag.DocumentGroupId_ddl = nomService.GetDropDownList <DocumentGroup>(); return(View(filter)); }
/// <summary> /// Справка за Образувани дела с участието на малолетни/непълнолетни лица /// </summary> /// <returns></returns> public IActionResult IndexReportMaturity() { CaseFilterReport filter = new CaseFilterReport() { DateFrom = NomenclatureExtensions.GetStartYear(), DateTo = NomenclatureExtensions.GetEndYear(), }; SetViewbagIndex(); SetHelpFile(HelpFileValues.Report3); return(View(filter)); }
/// <summary> /// Справка за срочност за насрочване на дела /// </summary> /// <returns></returns> public IActionResult IndexCaseBeginReport() { CaseFilterReport filter = new CaseFilterReport() { DateFrom = NomenclatureExtensions.GetStartYear(), DateTo = NomenclatureExtensions.GetEndYear(), }; ViewBag.CaseGroupId_ddl = nomService.GetDropDownList <CaseGroup>(); ViewBag.SessionTypeId_ddl = nomService.GetDDL_SessionTypeWithoutClosedSession(); ViewBag.SessionDateToId_ddl = nomService.GetDDL_SessionToDate(); return(View(filter)); }
/// <summary> /// Справка Справка Несвършени дела към дата /// </summary> /// <returns></returns> public IActionResult IndexCaseWithoutFinal() { CaseFilterReport filter = new CaseFilterReport() { DateFrom = NomenclatureExtensions.GetStartYear(), DateTo = NomenclatureExtensions.GetEndYear(), DateToSpr = DateTime.Now }; SetViewbagIndex(); SetHelpFile(HelpFileValues.Report1); return(View(filter)); }
/// <summary> /// Справка за времетраене на размяната на книжата (двойна размяна) /// </summary> /// <returns></returns> public IActionResult IndexCaseFirstLifecyclieDoubleExchange() { CaseFilterReport filter = new CaseFilterReport() { DateFrom = NomenclatureExtensions.GetStartYear(), DateTo = NomenclatureExtensions.GetEndYear(), Session_DateFrom = NomenclatureExtensions.GetStartYear(), SessionDateTo = NomenclatureExtensions.GetEndYear(), }; ViewBag.CaseGroupId_ddl = nomService.GetDropDownList <CaseGroup>().Where(x => x.Value != NomenclatureConstants.CaseGroups.NakazatelnoDelo.ToString()).ToList(); ViewBag.ProcessPriorityId_ddl = nomService.GetDropDownList <ProcessPriority>(); return(View(filter)); }
/// <summary> /// Разширено търсене на дела /// </summary> /// <returns></returns> public IActionResult CaseReport() { CaseFilterReport filter = new CaseFilterReport() { CaseCodeId = -1, CaseGroupId = -1, CaseTypeId = -1, //DateFrom = new DateTime(DateTime.Now.Year, 1, 1), //DateTo = new DateTime(DateTime.Now.Year, 12, 31) }; SetViewbagReport(); return(View("CaseReport", filter)); }
/// <summary> /// Справка за срочност за изготвяне на съдебен акт /// </summary> /// <returns></returns> public IActionResult IndexCaseActReport() { CaseFilterReport filter = new CaseFilterReport() { DateFrom = NomenclatureExtensions.GetStartYear(), DateTo = NomenclatureExtensions.GetEndYear(), Session_DateFrom = NomenclatureExtensions.GetStartYear(), SessionDateTo = NomenclatureExtensions.GetEndYear(), ActDateFrom = NomenclatureExtensions.GetStartYear(), ActDateTo = NomenclatureExtensions.GetEndYear(), }; ViewBag.CaseGroupId_ddl = nomService.GetDropDownList <CaseGroup>(); ViewBag.SessionTypeId_ddl = nomService.GetDropDownList <SessionType>(); ViewBag.SessionResultId_ddl = nomService.GetDropDownList <SessionResult>(); ViewBag.ActDateToId_ddl = nomService.GetDDL_ActToDate(); SetHelpFile(HelpFileValues.Report22); return(View(filter)); }
public IActionResult ListDataReportMaturity(IDataTablesRequest request, CaseFilterReport model) { var data = service.CaseSessionReportMaturity_Select(userContext.CourtId, model); return(request.GetResponse(data)); }
public IActionResult ListDataCaseWithoutFinal(IDataTablesRequest request, CaseFilterReport model) { var data = service.CaseWithoutFinal_Select(userContext.CourtId, model); return(request.GetResponse(data)); }
public IActionResult ListDataDocumentProvidedReturned(IDataTablesRequest request, CaseFilterReport model) { var data = service.DocumentProvidedReturned_Select(userContext.CourtId, model); return(request.GetResponse(data)); }
public IActionResult CaseWithoutFinalExportExcel(CaseFilterReport model) { var xlsBytes = service.CaseWithoutFinalExportExcel(model); return(File(xlsBytes, System.Net.Mime.MediaTypeNames.Application.Rtf, "Spravka.xlsx")); }