42 lines
1.3 KiB
C#
42 lines
1.3 KiB
C#
using System;
|
|
using System.Collections;
|
|
using System.ComponentModel;
|
|
using DevExpress.XtraReports.UI;
|
|
using BeWo.Report.ReportObjects;
|
|
using BeWo.Report;
|
|
using System.Collections.Generic;
|
|
|
|
namespace BeWoLeverkusen
|
|
{
|
|
public partial class StundenzettelAss : DevExpress.XtraReports.UI.XtraReport //, IBeWoReport<ServicesOverviewRO>
|
|
{
|
|
public StundenzettelAss()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
public void SetReportDataSource(ServicesOverviewRO pRO)
|
|
{
|
|
//if (String.IsNullOrEmpty(pRO.AbsenceTimes))
|
|
//{
|
|
// lblAbwesenheiten.Top += 18;
|
|
// lblAbwesenheiten.Width = 376;
|
|
// lblAbwesenheiten.Borders = DevExpress.XtraPrinting.BorderSide.Top;
|
|
//}
|
|
//if (pRO.Services != null)
|
|
//{
|
|
// List<ServicesOverviewRO.ServiceDetail> servicesBillable = new List<ServicesOverviewRO.ServiceDetail>();
|
|
|
|
// foreach (ServicesOverviewRO.ServiceDetail s in pRO.Services)
|
|
// {
|
|
// if (s.IsBillable)
|
|
// servicesBillable.Add(s);
|
|
// }
|
|
|
|
// pRO.Services = servicesBillable;
|
|
//}
|
|
//this.bindingSource1.DataSource = pRO;
|
|
}
|
|
}
|
|
}
|