CB Merge
This commit is contained in:
@@ -21,7 +21,7 @@ using BS.Shared.DataContracts.Compact;
|
||||
|
||||
using DevExpress.XtraPrinting;
|
||||
using DevExpress.XtraReports.UI;
|
||||
|
||||
using ReportingService.Plugins;
|
||||
using ReportingService.ServiceContracts;
|
||||
|
||||
namespace ReportingService.ServiceImplementations
|
||||
@@ -91,7 +91,22 @@ namespace ReportingService.ServiceImplementations
|
||||
employeeDetail => employeeDetail.UeberstundenGesamt ?? 0);
|
||||
}
|
||||
|
||||
private static MemoryStream CreateReportStream(XtraReport pReport)
|
||||
public String SendTimeSheetMail(TimeSheetStatusItemDC item, bool saveMailToDatabase)
|
||||
{
|
||||
try
|
||||
{
|
||||
var s = PluginLoader.FindClass<TimeSheetReportService>();
|
||||
|
||||
return s.SendTimeSheetMail(item, saveMailToDatabase);
|
||||
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
throw BeWo.Service.Core.Utils.CreateBeWoFaultException(e);
|
||||
}
|
||||
}
|
||||
|
||||
private static MemoryStream CreateReportStream(XtraReport pReport)
|
||||
{
|
||||
pReport.CreateDocument();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user