Tooltip bei dem ComboBoxTreeViewControl - Beim Auswählen von Ziele und Maßnahmen wird ein "Hover" Effekt mit der Beschreibung angezeigt
ReportTemplate hinzugefügt
This commit is contained in:
@@ -5771,12 +5771,21 @@ namespace BeWo.Service.ServiceImplementations
|
||||
}
|
||||
}
|
||||
|
||||
public IList<ReportTemplate> GetReportTemplates(ReportTemplateType reportTemplateType)
|
||||
public IList<ReportTemplateDC> GetReportTemplates(string url)
|
||||
{
|
||||
try
|
||||
{
|
||||
return DAOFactory.GenericDAO.GetAllActive<ReportTemplate>()
|
||||
.Where(x => x.ReportTemplateType == reportTemplateType).ToList();
|
||||
if (url.IsNullOrEmpty())
|
||||
return null;
|
||||
|
||||
var index = url.IndexOf("type=") + 5;
|
||||
var typeString = url.Substring(index);
|
||||
|
||||
if (!Enum.TryParse(typeString, out ReportTypes reportType))
|
||||
return null;
|
||||
|
||||
return MapperFactory.ReportTemplateDC_ReportTemplate.MapToNewDCs(DAOFactory.GenericDAO
|
||||
.GetAllActive<ReportTemplate>().Where(x => x.ReportTemplateType == reportType));
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user