32 lines
764 B
C#
32 lines
764 B
C#
using BeWo.Report;
|
|
using BeWo.Report.ReportObjects;
|
|
|
|
namespace Monvita.Alt
|
|
{
|
|
public partial class Stundenzettel : DevExpress.XtraReports.UI.XtraReport, IBeWoReport<ServicesOverviewRO>
|
|
{
|
|
public Stundenzettel()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
public void SetReportDataSource(ServicesOverviewRO pRO)
|
|
{
|
|
//double gesamt = 0;
|
|
if (pRO.Services != null)
|
|
{
|
|
foreach (var sd in pRO.Services)
|
|
{
|
|
if (!sd.IsBillable)
|
|
{
|
|
//sd.Minutes = 0;
|
|
|
|
//gesamt =
|
|
}
|
|
}
|
|
}
|
|
bindingSource1.DataSource = pRO;
|
|
}
|
|
}
|
|
}
|