27 lines
607 B
C#
27 lines
607 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using BeWo.Report;
|
|
using BeWo.Report.ReportObjects;
|
|
using DevExpress.XtraReports.UI;
|
|
|
|
namespace Humanitas
|
|
{
|
|
public class CustomReportCreator : DefaultReportCreator
|
|
{
|
|
public override XtraReport CreateFinanceReport(DateTime? start, DateTime? end)
|
|
{
|
|
var ro = FinanceRO.Create(null, null);
|
|
ro.ReportStartDate = start;
|
|
ro.ReportEndDate = end;
|
|
|
|
var report = new Finanzauswertung();
|
|
report.SetReportDataSource(ro);
|
|
|
|
|
|
return report;
|
|
}
|
|
}
|
|
}
|