30 lines
695 B
C#
30 lines
695 B
C#
using System;
|
|
using System.Linq;
|
|
using BeWo.Report;
|
|
using BeWo.Report.ReportObjects;
|
|
|
|
namespace AidshilfeDortmund
|
|
{
|
|
public partial class BudgetnachweisAnhang : DevExpress.XtraReports.UI.XtraReport, IBeWoReport<BudgetnachweisAnhangRO>
|
|
{
|
|
public BudgetnachweisAnhang()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
public void SetReportDataSource(BudgetnachweisAnhangRO pRO)
|
|
{
|
|
|
|
xrCheckBox4.Checked = true;
|
|
if (pRO.CustomerDC.TerminationDate.HasValue)
|
|
{
|
|
xrCheckBox3.Text = String.Format(" Die Betreuung wurde beendet am {0:dd.MM.yyyy}", pRO.CustomerDC.TerminationDate);
|
|
xrCheckBox4.Checked = false;
|
|
xrCheckBox3.Checked = true;
|
|
}
|
|
|
|
bindingSource1.DataSource = pRO;
|
|
}
|
|
}
|
|
}
|