Grundstein und Wegfinder

This commit is contained in:
Alexandra
2022-02-09 16:45:44 +01:00
parent 9f19a6227f
commit 2749aeac46
33 changed files with 217 additions and 24045 deletions

View File

@@ -1,20 +1,17 @@
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections.Generic;
using BeWo.Data.Access;
using BeWo.Data.Entities;
using BeWo.Report;
using BeWo.Report.ReportObjects;
using BeWo.Service.ServiceImplementations;
using DevExpress.XtraReports.Design;
using DevExpress.XtraReports.UI;
namespace GrundsteinEV
{
public class CustomReportCreator : DefaultReportCreator
{
//Die haben zwei Quittierungsbelege - mit Unterschrift vom Klient pro Termin und einen mit nur einer Unterschrift
//beide sollen auch als Leerformulare gedruckt werden können -> 4 Einträge in reporttemplate auf deren Datenbank
public override XtraReport CreateSettlementReport(string dcId, long? invoiceBaseOid)
{
return base.CreateSettlementReport(dcId, invoiceBaseOid, true);
@@ -22,14 +19,8 @@ namespace GrundsteinEV
public override XtraReport CreateServiceOverviewAllCustomersReport(int month, int year, long orgaOid, long empOid, long? serviceCategoryOid, int startDay, int endDay)
{
List<ServicesOverviewRO> lROs = ServicesOverviewRO.Create(month, year, orgaOid, empOid, startDay, endDay, serviceCategoryOid, false);
if (TemplateOid == 2 || TemplateOid == 4)
{
foreach (var ro in lROs)
{
CheckeHilfeplan(ro);
}
}
List<ServicesOverviewRO> lROs = ServicesOverviewRO.Create(month, year, orgaOid, empOid, startDay, endDay, serviceCategoryOid, true);
if (lROs.Count > 0)
{
XtraReport rootReport = null;
@@ -63,6 +54,7 @@ namespace GrundsteinEV
public override XtraReport CreateServiceOverviewSingleCustomerReport(long customerOid, int month, int year, long orgaOid, long empOid, long? serviceCategoryOid, int startDay, int endDay)
{
var ro = ServicesOverviewRO.Create(customerOid, month, year, false, orgaOid, empOid, startDay, endDay, serviceCategoryOid);
if (TemplateOid == 2 || TemplateOid == 4)
CheckeHilfeplan(ro);
var reports = CreateServicesOverviewReportsForRo(ro, serviceCategoryOid);
@@ -94,10 +86,7 @@ namespace GrundsteinEV
if (TemplateOid.HasValue && TemplateOid.Value == 1 || TemplateOid.Value == 2)
{
IBeWoReport<ServicesOverviewRO> report = new GrundsteinEV.Quittierungsbeleg();
report.SetReportDataSource(ro);
IBeWoReport<ServicesOverviewRO> report = new GrundsteinEV.QuittierungsbelegMitHandzeichen();
if (TemplateOid.Value == 2)
{
ro.Services = new List<ServicesOverviewRO.ServiceDetail>();
@@ -106,16 +95,13 @@ namespace GrundsteinEV
ro.Services.Add(new ServicesOverviewRO.ServiceDetail());
}
}
report.SetReportDataSource(ro);
reports.Add(report as XtraReport);
}
if (TemplateOid.HasValue && TemplateOid.Value == 3 || TemplateOid.Value == 4)
{
IBeWoReport<ServicesOverviewRO> report = new GrundsteinEV.QuittierungsbelegMitHandzeichen();
report.SetReportDataSource(ro);
IBeWoReport<ServicesOverviewRO> report = new GrundsteinEV.Quittierungsbeleg();
if (TemplateOid.Value == 4)
{
ro.Services = new List<ServicesOverviewRO.ServiceDetail>();
@@ -124,7 +110,7 @@ namespace GrundsteinEV
ro.Services.Add(new ServicesOverviewRO.ServiceDetail());
}
}
report.SetReportDataSource(ro);
reports.Add(report as XtraReport);
}
@@ -150,7 +136,7 @@ namespace GrundsteinEV
{
if (ap.ApprovedBEPerInterval.HasValue)
{
ro.ApprovedFLSTotal = ap.ApprovedBEPerInterval.Value;
ro.ApprovedFLSTotal = ap.ApprovedBETotal.Value;
}
}
}

View File

@@ -142,7 +142,7 @@ namespace GrundsteinEV
// xrTableCell13
//
this.xrTableCell13.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.StartDate", "{0:dd/MM/yyyy}")});
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.StartDateString", "{0:dd/MM/yyyy}")});
this.xrTableCell13.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTableCell13.Name = "xrTableCell13";
this.xrTableCell13.StylePriority.UseBorders = false;
@@ -184,7 +184,7 @@ namespace GrundsteinEV
// xrTableCell2
//
this.xrTableCell2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.Minutes")});
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.FLSQualifiedString")});
this.xrTableCell2.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTableCell2.Name = "xrTableCell2";
this.xrTableCell2.StylePriority.UseFont = false;
@@ -245,7 +245,8 @@ namespace GrundsteinEV
//
// xrTableCell3
//
this.xrTableCell3.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
this.xrTableCell3.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
| DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell3.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTableCell3.Name = "xrTableCell3";
@@ -260,7 +261,8 @@ namespace GrundsteinEV
//
// xrTableCell4
//
this.xrTableCell4.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
this.xrTableCell4.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
| DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell4.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTableCell4.Multiline = true;
@@ -276,7 +278,8 @@ namespace GrundsteinEV
//
// xrTableCell11
//
this.xrTableCell11.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
this.xrTableCell11.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
| DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell11.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTableCell11.Name = "xrTableCell11";
@@ -291,7 +294,8 @@ namespace GrundsteinEV
//
// xrTableCell9
//
this.xrTableCell9.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
this.xrTableCell9.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
| DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell9.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTableCell9.Multiline = true;
@@ -307,7 +311,8 @@ namespace GrundsteinEV
//
// xrTableCell28
//
this.xrTableCell28.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
this.xrTableCell28.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
| DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell28.Font = new System.Drawing.Font("Arial", 10F);
this.xrTableCell28.Name = "xrTableCell28";
@@ -692,7 +697,7 @@ namespace GrundsteinEV
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrLabel1.BorderWidth = 2F;
this.xrLabel1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "TotalFLMBillable", "{0:0.##}")});
new DevExpress.XtraReports.UI.XRBinding("Text", null, "TotalFLMQualifiedString")});
this.xrLabel1.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(327.8277F, 0F);
this.xrLabel1.Name = "xrLabel1";

View File

@@ -19,16 +19,10 @@ namespace GrundsteinEV
public void SetReportDataSource(ServicesOverviewRO pRO)
{
// Get calling method name
//StackTrace stackTrace = new StackTrace();
//Debug.WriteLine(stackTrace.GetFrame(1).GetMethod().Name);
pRO.TotalFLMQualifiedString = "";
pRO.TotalFLMQualified = 0;
bool hatGruppen = false;
//if (pRO == null)
// return;
if (pRO.Services != null)
{
List<ServicesOverviewRO.ServiceDetail> servicesBillable = new List<ServicesOverviewRO.ServiceDetail>();
@@ -45,72 +39,29 @@ namespace GrundsteinEV
}
servicesBillable.Add(sd);
}
if (sd.Minutes == 0)
{
sd.StartDateString = "";
sd.FLSQualifiedString = "";
servicesBillable.Add(sd);
}
else
{
sd.FLSQualifiedString = String.Format("{0:0.##}", sd.Minutes);
pRO.TotalFLMQualified += sd.Minutes;
}
}
pRO.Services = servicesBillable;
if (pRO.TotalFLMQualified != 0)
pRO.TotalFLMQualifiedString = String.Format("{0:0.##}", pRO.TotalFLMQualified);
else
pRO.TotalFLMQualifiedString = "";
pRO.Services = servicesBillable;
}
//if (String.IsNullOrWhiteSpace(pRO.AbsenceTimes))
//{
// lblHatAbwesenheiten.Text = "X";
//}
//if (!hatGruppen)
//{
// lblHatGruppen.Text = "X";
//}
ErstelleAbwesenheitenTabelle(pRO);
bindingSource1.DataSource = pRO;
}
private void ErstelleAbwesenheitenTabelle(ServicesOverviewRO pRo)
{
//if (pRo.Abwesenheiten != null)
//{
// int newRows = 0;
// int index = 1;
// foreach (var at in pRo.Abwesenheiten)
// {
// DevExpress.XtraReports.UI.XRTableRow row = null;
// if (index < xrTableAbwesenheiten.Rows.Count)
// {
// row = xrTableAbwesenheiten.Rows[index];
// }
// else
// {
// row = xrTableAbwesenheiten.InsertRowBelow(xrTableAbwesenheiten.Rows[xrTableAbwesenheiten.Rows.Count - 1]);
// newRows++;
// }
// row.Cells[0].Text = String.Format("{0:dd.MM.yyyy}", at.Start);
// int? days = null;
// if (at.End.HasValue)
// {
// row.Cells[1].Text = String.Format("{0:dd.MM.yyyy}", at.End);
// days = (int)at.End.Value.Subtract(at.Start.Value).TotalDays + 1;
// }
// else
// {
// row.Cells[1].Text = "unbekannt";
// }
// row.Cells[2].Text = String.Format("{0:0}", days);
// index++;
// }
// if (newRows > 0)
// {
// lblUnterschriftKlient.Top += newRows * 20;
// lblUnterschriftMitarbeiter.Top += newRows * 20;
// }
//}
}
// TODO: Wie anzeigen? Alle?
private void EmployeeSignature_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e)
{
return;
@@ -134,8 +85,6 @@ namespace GrundsteinEV
}
}
// TODO: Wie anzeigen? Alle?
// TODO: Visibile der Datumstextboxen auf true setzen!
private void CustomerSignature_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e)
{
return;

View File

@@ -40,6 +40,8 @@ namespace GrundsteinEV
this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell12 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell();
this.picSignature = new DevExpress.XtraReports.UI.XRPictureBox();
this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand();
this.xrTableServiceRecords1 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow();
@@ -48,6 +50,7 @@ namespace GrundsteinEV
this.xrTableCell11 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell9 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell28 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell();
this.formattingRuleStartDate = new DevExpress.XtraReports.UI.FormattingRule();
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
this.xrLabel29 = new DevExpress.XtraReports.UI.XRLabel();
@@ -73,11 +76,8 @@ namespace GrundsteinEV
this.lblUnterschriftMitarbeiter = new DevExpress.XtraReports.UI.XRLabel();
this.lblSumme = new DevExpress.XtraReports.UI.XRLabel();
this.fieldKontaktArt = new DevExpress.XtraReports.UI.CalculatedField();
this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell();
this.picSignature = new DevExpress.XtraReports.UI.XRPictureBox();
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
this.MinutesNullable = new DevExpress.XtraReports.UI.CalculatedField();
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTableServiceRecords1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
@@ -186,7 +186,7 @@ namespace GrundsteinEV
// xrTableCell2
//
this.xrTableCell2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.MinutesNullable")});
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.FLSQualifiedString", "{0:n1}")});
this.xrTableCell2.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTableCell2.Name = "xrTableCell2";
this.xrTableCell2.StylePriority.UseFont = false;
@@ -208,6 +208,28 @@ namespace GrundsteinEV
this.xrTableCell12.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.xrTableCell12.Weight = 0.341949113507231D;
//
// xrTableCell5
//
this.xrTableCell5.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.picSignature});
this.xrTableCell5.Font = new System.Drawing.Font("Arial", 10F);
this.xrTableCell5.Name = "xrTableCell5";
this.xrTableCell5.StylePriority.UseFont = false;
this.xrTableCell5.StylePriority.UseTextAlignment = false;
this.xrTableCell5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.xrTableCell5.Weight = 0.11580549336753117D;
//
// picSignature
//
this.picSignature.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.picSignature.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Tag", null, "Services.Signature")});
this.picSignature.LocationFloat = new DevExpress.Utils.PointFloat(6.852852F, 7.291671F);
this.picSignature.Name = "picSignature";
this.picSignature.SizeF = new System.Drawing.SizeF(160.0001F, 20.00001F);
this.picSignature.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage;
this.picSignature.StylePriority.UseBorders = false;
//
// GroupHeader1
//
this.GroupHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
@@ -248,7 +270,8 @@ namespace GrundsteinEV
//
// xrTableCell3
//
this.xrTableCell3.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
this.xrTableCell3.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
| DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell3.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTableCell3.Name = "xrTableCell3";
@@ -263,7 +286,8 @@ namespace GrundsteinEV
//
// xrTableCell4
//
this.xrTableCell4.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
this.xrTableCell4.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
| DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell4.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTableCell4.Multiline = true;
@@ -279,7 +303,8 @@ namespace GrundsteinEV
//
// xrTableCell11
//
this.xrTableCell11.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
this.xrTableCell11.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
| DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell11.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTableCell11.Name = "xrTableCell11";
@@ -294,7 +319,8 @@ namespace GrundsteinEV
//
// xrTableCell9
//
this.xrTableCell9.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
this.xrTableCell9.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
| DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell9.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTableCell9.Multiline = true;
@@ -310,7 +336,8 @@ namespace GrundsteinEV
//
// xrTableCell28
//
this.xrTableCell28.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
this.xrTableCell28.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
| DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell28.Font = new System.Drawing.Font("Arial", 10F);
this.xrTableCell28.Name = "xrTableCell28";
@@ -321,6 +348,20 @@ namespace GrundsteinEV
this.xrTableCell28.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.xrTableCell28.Weight = 0.96699257663464944D;
//
// xrTableCell1
//
this.xrTableCell1.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
| DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell1.Font = new System.Drawing.Font("Arial", 10F);
this.xrTableCell1.Name = "xrTableCell1";
this.xrTableCell1.StylePriority.UseBorders = false;
this.xrTableCell1.StylePriority.UseFont = false;
this.xrTableCell1.StylePriority.UseTextAlignment = false;
this.xrTableCell1.Text = "Unterschrift";
this.xrTableCell1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.xrTableCell1.Weight = 0.32748470518403239D;
//
// formattingRuleStartDate
//
this.formattingRuleStartDate.Condition = "[StartDate2] < [StartDate]";
@@ -678,7 +719,7 @@ namespace GrundsteinEV
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.lblSumme.BorderWidth = 2F;
this.lblSumme.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "TotalFLMBillable", "{0:0.##}")});
new DevExpress.XtraReports.UI.XRBinding("Text", null, "TotalFLMQualifiedString")});
this.lblSumme.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
this.lblSumme.LocationFloat = new DevExpress.Utils.PointFloat(327.8277F, 0F);
this.lblSumme.Name = "lblSumme";
@@ -699,51 +740,16 @@ namespace GrundsteinEV
this.fieldKontaktArt.FieldType = DevExpress.XtraReports.UI.FieldType.String;
this.fieldKontaktArt.Name = "fieldKontaktArt";
//
// xrTableCell1
// MinutesNullable
//
this.xrTableCell1.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell1.Font = new System.Drawing.Font("Arial", 10F);
this.xrTableCell1.Name = "xrTableCell1";
this.xrTableCell1.StylePriority.UseBorders = false;
this.xrTableCell1.StylePriority.UseFont = false;
this.xrTableCell1.StylePriority.UseTextAlignment = false;
this.xrTableCell1.Text = "Unterschrift";
this.xrTableCell1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.xrTableCell1.Weight = 0.32748470518403239D;
//
// xrTableCell5
//
this.xrTableCell5.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.picSignature});
this.xrTableCell5.Font = new System.Drawing.Font("Arial", 10F);
this.xrTableCell5.Name = "xrTableCell5";
this.xrTableCell5.StylePriority.UseFont = false;
this.xrTableCell5.StylePriority.UseTextAlignment = false;
this.xrTableCell5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.xrTableCell5.Weight = 0.11580549336753117D;
//
// picSignature
//
this.picSignature.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.picSignature.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Tag", null, "Services.Signature")});
this.picSignature.LocationFloat = new DevExpress.Utils.PointFloat(6.852852F, 7.291671F);
this.picSignature.Name = "picSignature";
this.picSignature.SizeF = new System.Drawing.SizeF(160.0001F, 20.00001F);
this.picSignature.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage;
this.picSignature.StylePriority.UseBorders = false;
this.MinutesNullable.DataMember = "Services";
this.MinutesNullable.Expression = "Iif(IsNullOrEmpty([Minutes]),9,[Minutes])";
this.MinutesNullable.Name = "MinutesNullable";
//
// bindingSource1
//
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServicesOverviewRO);
//
// MinutesNullable
//
this.MinutesNullable.DataMember = "Services";
this.MinutesNullable.Expression = "Iif(IsNullOrEmpty([Minutes]),null,[Minutes])";
this.MinutesNullable.Name = "MinutesNullable";
//
// QuittierungsbelegMitHandzeichen
//
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {

View File

@@ -19,16 +19,9 @@ namespace GrundsteinEV
public void SetReportDataSource(ServicesOverviewRO pRO)
{
// Get calling method name
//StackTrace stackTrace = new StackTrace();
//Debug.WriteLine(stackTrace.GetFrame(1).GetMethod().Name);
pRO.TotalFLMQualifiedString = "";
pRO.TotalFLMQualified = 0;
bool hatGruppen = false;
//if (pRO == null)
// return;
if (pRO.Services != null)
{
List<ServicesOverviewRO.ServiceDetail> servicesBillable = new List<ServicesOverviewRO.ServiceDetail>();
@@ -40,27 +33,36 @@ namespace GrundsteinEV
ServicesOverviewRO.CreateSignatureString(sd);
if (sd.IsGroup)
{
//sd.Notice5 = String.Format("{0} Teilnehmer", sd.CustomerCount);
hatGruppen = true;
}
servicesBillable.Add(sd);
}
if (sd.Minutes == 0)
{
// Minuten noch auf leer -> jetzt vielleicht?
//xrTableCell2.Text = "";
sd.StartDateString = "";
lblSumme.Text = "";
sd.FLSQualifiedString = "";
servicesBillable.Add(sd);
}
else
{
sd.FLSQualifiedString = String.Format("{0:0.##}", sd.Minutes);
pRO.TotalFLMQualified += sd.Minutes;
}
}
if (pRO.TotalFLMQualified != 0)
pRO.TotalFLMQualifiedString = String.Format("{0:0.##}", pRO.TotalFLMQualified);
else
pRO.TotalFLMQualifiedString = "";
pRO.Services = servicesBillable;
}
bindingSource1.DataSource = pRO;
}
// TODO: Wie anzeigen? Alle?
private void EmployeeSignature_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e)
{
return;
@@ -84,13 +86,11 @@ namespace GrundsteinEV
}
}
// TODO: Wie anzeigen? Alle?
// TODO: Visibile der Datumstextboxen auf true setzen!
private void CustomerSignature_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e)
{
return;
if(sender is XRPictureBox pictureBox)
if (sender is XRPictureBox pictureBox)
{
var base64String = pictureBox.Tag as string;

View File

@@ -36,10 +36,6 @@ namespace GrundsteinEV
this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand();
this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
this.Page1 = new DevExpress.XtraReports.UI.GroupHeaderBand();
this.xrLabel30 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel31 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel28 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel29 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel27 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel26 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel24 = new DevExpress.XtraReports.UI.XRLabel();
@@ -121,10 +117,6 @@ namespace GrundsteinEV
// Page1
//
this.Page1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrLabel30,
this.xrLabel31,
this.xrLabel28,
this.xrLabel29,
this.xrLabel27,
this.xrLabel26,
this.xrLabel24,
@@ -144,66 +136,16 @@ namespace GrundsteinEV
this.xrLabel6,
this.xrLabel7});
this.Page1.Font = new System.Drawing.Font("Verdana", 10F);
this.Page1.HeightF = 432.49F;
this.Page1.HeightF = 473.115F;
this.Page1.Name = "Page1";
this.Page1.StylePriority.UseFont = false;
//
// xrLabel30
//
this.xrLabel30.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceBase.InvoiceDate", "{0:dd.MM.yyyy}")});
this.xrLabel30.Font = new System.Drawing.Font("Verdana", 8F, System.Drawing.FontStyle.Bold);
this.xrLabel30.LocationFloat = new DevExpress.Utils.PointFloat(533.9183F, 356.6556F);
this.xrLabel30.Name = "xrLabel30";
this.xrLabel30.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel30.SizeF = new System.Drawing.SizeF(108.0817F, 23.00009F);
this.xrLabel30.StylePriority.UseFont = false;
this.xrLabel30.StylePriority.UseTextAlignment = false;
this.xrLabel30.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
//
// xrLabel31
//
this.xrLabel31.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceBase.SupportConceptCostBearerRelDc.CostBearer.CostCenter")});
this.xrLabel31.Font = new System.Drawing.Font("Verdana", 8F, System.Drawing.FontStyle.Bold);
this.xrLabel31.LocationFloat = new DevExpress.Utils.PointFloat(533.9183F, 379.6557F);
this.xrLabel31.Name = "xrLabel31";
this.xrLabel31.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel31.SizeF = new System.Drawing.SizeF(108.0817F, 23.0025F);
this.xrLabel31.StylePriority.UseFont = false;
this.xrLabel31.StylePriority.UseTextAlignment = false;
this.xrLabel31.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
//
// xrLabel28
//
this.xrLabel28.Font = new System.Drawing.Font("Verdana", 8F);
this.xrLabel28.LocationFloat = new DevExpress.Utils.PointFloat(456.8255F, 356.6559F);
this.xrLabel28.Name = "xrLabel28";
this.xrLabel28.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel28.SizeF = new System.Drawing.SizeF(77.09277F, 23.00009F);
this.xrLabel28.StylePriority.UseFont = false;
this.xrLabel28.StylePriority.UseTextAlignment = false;
this.xrLabel28.Text = "betreut seit";
this.xrLabel28.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
//
// xrLabel29
//
this.xrLabel29.Font = new System.Drawing.Font("Verdana", 8F);
this.xrLabel29.LocationFloat = new DevExpress.Utils.PointFloat(456.8255F, 379.6559F);
this.xrLabel29.Name = "xrLabel29";
this.xrLabel29.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel29.SizeF = new System.Drawing.SizeF(77.09277F, 23.00006F);
this.xrLabel29.StylePriority.UseFont = false;
this.xrLabel29.StylePriority.UseTextAlignment = false;
this.xrLabel29.Text = "Kostenstelle";
this.xrLabel29.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
//
// xrLabel27
//
this.xrLabel27.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "CustomerBirthdate", "{0:dd.MM.yyyy}")});
this.xrLabel27.Font = new System.Drawing.Font("Verdana", 8F, System.Drawing.FontStyle.Bold);
this.xrLabel27.LocationFloat = new DevExpress.Utils.PointFloat(357.5F, 379.6559F);
this.xrLabel27.LocationFloat = new DevExpress.Utils.PointFloat(419.1518F, 429.6579F);
this.xrLabel27.Name = "xrLabel27";
this.xrLabel27.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel27.SizeF = new System.Drawing.SizeF(90.13077F, 23.00006F);
@@ -216,7 +158,7 @@ namespace GrundsteinEV
this.xrLabel26.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceBase.InvoiceDate", "{0:dd.MM.yyyy}")});
this.xrLabel26.Font = new System.Drawing.Font("Verdana", 8F, System.Drawing.FontStyle.Bold);
this.xrLabel26.LocationFloat = new DevExpress.Utils.PointFloat(357.5F, 356.6559F);
this.xrLabel26.LocationFloat = new DevExpress.Utils.PointFloat(419.1518F, 406.6579F);
this.xrLabel26.Name = "xrLabel26";
this.xrLabel26.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel26.SizeF = new System.Drawing.SizeF(90.13077F, 23.00012F);
@@ -227,7 +169,7 @@ namespace GrundsteinEV
// xrLabel24
//
this.xrLabel24.Font = new System.Drawing.Font("Verdana", 8F);
this.xrLabel24.LocationFloat = new DevExpress.Utils.PointFloat(251.9707F, 379.6581F);
this.xrLabel24.LocationFloat = new DevExpress.Utils.PointFloat(313.6225F, 429.6562F);
this.xrLabel24.Name = "xrLabel24";
this.xrLabel24.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel24.SizeF = new System.Drawing.SizeF(105.5293F, 23.00006F);
@@ -239,7 +181,7 @@ namespace GrundsteinEV
// xrLabel25
//
this.xrLabel25.Font = new System.Drawing.Font("Verdana", 8F);
this.xrLabel25.LocationFloat = new DevExpress.Utils.PointFloat(251.9707F, 356.6579F);
this.xrLabel25.LocationFloat = new DevExpress.Utils.PointFloat(313.6225F, 406.6559F);
this.xrLabel25.Name = "xrLabel25";
this.xrLabel25.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel25.SizeF = new System.Drawing.SizeF(105.5293F, 23.00006F);
@@ -253,7 +195,7 @@ namespace GrundsteinEV
this.xrLabel20.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceBase.InvoiceNumber")});
this.xrLabel20.Font = new System.Drawing.Font("Verdana", 8F, System.Drawing.FontStyle.Bold);
this.xrLabel20.LocationFloat = new DevExpress.Utils.PointFloat(125F, 310.6559F);
this.xrLabel20.LocationFloat = new DevExpress.Utils.PointFloat(125F, 360.6559F);
this.xrLabel20.Name = "xrLabel20";
this.xrLabel20.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel20.SizeF = new System.Drawing.SizeF(150.2748F, 22.99985F);
@@ -264,7 +206,7 @@ namespace GrundsteinEV
// xrLabel21
//
this.xrLabel21.Font = new System.Drawing.Font("Verdana", 8F, System.Drawing.FontStyle.Bold);
this.xrLabel21.LocationFloat = new DevExpress.Utils.PointFloat(125F, 333.6558F);
this.xrLabel21.LocationFloat = new DevExpress.Utils.PointFloat(125F, 383.6558F);
this.xrLabel21.Name = "xrLabel21";
this.xrLabel21.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel21.SizeF = new System.Drawing.SizeF(150.2748F, 23.00009F);
@@ -278,10 +220,10 @@ namespace GrundsteinEV
this.xrLabel22.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "DebitorNumber")});
this.xrLabel22.Font = new System.Drawing.Font("Verdana", 8F, System.Drawing.FontStyle.Bold);
this.xrLabel22.LocationFloat = new DevExpress.Utils.PointFloat(125F, 356.6559F);
this.xrLabel22.LocationFloat = new DevExpress.Utils.PointFloat(125F, 406.6559F);
this.xrLabel22.Name = "xrLabel22";
this.xrLabel22.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel22.SizeF = new System.Drawing.SizeF(117F, 23F);
this.xrLabel22.SizeF = new System.Drawing.SizeF(150.2747F, 23F);
this.xrLabel22.StylePriority.UseFont = false;
this.xrLabel22.StylePriority.UseTextAlignment = false;
this.xrLabel22.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
@@ -291,10 +233,10 @@ namespace GrundsteinEV
this.xrLabel23.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceBase.CustomerReferenceNumber")});
this.xrLabel23.Font = new System.Drawing.Font("Verdana", 8F, System.Drawing.FontStyle.Bold);
this.xrLabel23.LocationFloat = new DevExpress.Utils.PointFloat(125F, 379.6559F);
this.xrLabel23.LocationFloat = new DevExpress.Utils.PointFloat(125F, 429.6559F);
this.xrLabel23.Name = "xrLabel23";
this.xrLabel23.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel23.SizeF = new System.Drawing.SizeF(117F, 23.00006F);
this.xrLabel23.SizeF = new System.Drawing.SizeF(150.2747F, 23.00006F);
this.xrLabel23.StylePriority.UseFont = false;
this.xrLabel23.StylePriority.UseTextAlignment = false;
this.xrLabel23.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
@@ -302,7 +244,7 @@ namespace GrundsteinEV
// xrLabel19
//
this.xrLabel19.Font = new System.Drawing.Font("Verdana", 8F);
this.xrLabel19.LocationFloat = new DevExpress.Utils.PointFloat(5.000032F, 379.6581F);
this.xrLabel19.LocationFloat = new DevExpress.Utils.PointFloat(5.000051F, 429.6581F);
this.xrLabel19.Name = "xrLabel19";
this.xrLabel19.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel19.SizeF = new System.Drawing.SizeF(120F, 23.00009F);
@@ -314,7 +256,7 @@ namespace GrundsteinEV
// xrLabel18
//
this.xrLabel18.Font = new System.Drawing.Font("Verdana", 8F);
this.xrLabel18.LocationFloat = new DevExpress.Utils.PointFloat(5.000032F, 356.6579F);
this.xrLabel18.LocationFloat = new DevExpress.Utils.PointFloat(5.000051F, 406.6579F);
this.xrLabel18.Name = "xrLabel18";
this.xrLabel18.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel18.SizeF = new System.Drawing.SizeF(120F, 23F);
@@ -326,7 +268,7 @@ namespace GrundsteinEV
// xrLabel17
//
this.xrLabel17.Font = new System.Drawing.Font("Verdana", 8F);
this.xrLabel17.LocationFloat = new DevExpress.Utils.PointFloat(5.000032F, 333.6578F);
this.xrLabel17.LocationFloat = new DevExpress.Utils.PointFloat(5.000051F, 383.6578F);
this.xrLabel17.Name = "xrLabel17";
this.xrLabel17.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel17.SizeF = new System.Drawing.SizeF(120F, 23.00006F);
@@ -338,7 +280,7 @@ namespace GrundsteinEV
// xrLabel16
//
this.xrLabel16.Font = new System.Drawing.Font("Verdana", 8F);
this.xrLabel16.LocationFloat = new DevExpress.Utils.PointFloat(5.000007F, 310.6559F);
this.xrLabel16.LocationFloat = new DevExpress.Utils.PointFloat(4.999987F, 360.6559F);
this.xrLabel16.Name = "xrLabel16";
this.xrLabel16.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel16.SizeF = new System.Drawing.SizeF(120F, 22.99985F);
@@ -353,7 +295,7 @@ namespace GrundsteinEV
| DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrLabel13.BorderWidth = 0.5F;
this.xrLabel13.LocationFloat = new DevExpress.Utils.PointFloat(1.000012F, 299.9759F);
this.xrLabel13.LocationFloat = new DevExpress.Utils.PointFloat(1.000023F, 349.9759F);
this.xrLabel13.Name = "xrLabel13";
this.xrLabel13.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel13.SizeF = new System.Drawing.SizeF(649F, 115.0141F);
@@ -368,7 +310,7 @@ namespace GrundsteinEV
this.xrLabel12.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceDateTime", "{0:MMMM yyyy}")});
this.xrLabel12.Font = new System.Drawing.Font("Verdana", 11F, System.Drawing.FontStyle.Bold);
this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(147F, 265.5592F);
this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(147F, 315.5592F);
this.xrLabel12.Multiline = true;
this.xrLabel12.Name = "xrLabel12";
this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
@@ -380,7 +322,7 @@ namespace GrundsteinEV
//
this.xrLabel11.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.xrLabel11.Font = new System.Drawing.Font("Verdana", 11F, System.Drawing.FontStyle.Bold);
this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(0F, 265.5626F);
this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(0F, 315.5626F);
this.xrLabel11.Multiline = true;
this.xrLabel11.Name = "xrLabel11";
this.xrLabel11.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
@@ -717,10 +659,10 @@ namespace GrundsteinEV
//
this.xrLabel1.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.xrLabel1.Font = new System.Drawing.Font("Verdana", 10F);
this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 173.9076F);
this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(1.000023F, 336.0038F);
this.xrLabel1.Name = "xrLabel1";
this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 5, 0, 0, 100F);
this.xrLabel1.SizeF = new System.Drawing.SizeF(658F, 25F);
this.xrLabel1.SizeF = new System.Drawing.SizeF(656.0001F, 25F);
this.xrLabel1.StylePriority.UseBorders = false;
this.xrLabel1.StylePriority.UseFont = false;
this.xrLabel1.StylePriority.UsePadding = false;
@@ -837,10 +779,6 @@ namespace GrundsteinEV
private DevExpress.XtraReports.UI.XRLabel xrLabel25;
private DevExpress.XtraReports.UI.XRLabel xrLabel27;
private DevExpress.XtraReports.UI.XRLabel xrLabel26;
private DevExpress.XtraReports.UI.XRLabel xrLabel28;
private DevExpress.XtraReports.UI.XRLabel xrLabel29;
private DevExpress.XtraReports.UI.XRLabel xrLabel30;
private DevExpress.XtraReports.UI.XRLabel xrLabel31;
private DevExpress.XtraReports.UI.XRLabel xrLabel2;
private DevExpress.XtraReports.UI.XRLabel xrLabel3;
private DevExpress.XtraReports.UI.XRLabel xrLabel1;

View File

@@ -15,17 +15,6 @@ namespace GrundsteinEV
public void SetReportDataSource(ServiceInvoiceRO pRO)
{
//DateTime start = pRO.AccountingPeriodStart;
//DateTime end = pRO.AccountingPeriodEnd;
//if (start.Month == end.Month && start.Year == end.Year)
//{
// lblAbrechnungszeitraum.Text = String.Format("hiermit berechnen wir für den Monat {0:MMMM yyyy} folgende erbrachte Tätigkeiten:", start);
//}
//else
//{
// lblAbrechnungszeitraum.Text = String.Format("hiermit berechnen wir für den Zeitraum {0:MMMM yyyy} - {1:MMMM yyyy} folgende erbrachte Tätigkeiten:", start, end);
//}
this.bindingSource1.DataSource = pRO;
}
}