Merge branch 'master' of ssh://float.ownsoft.de/git/beyondSoft/BeWo

This commit is contained in:
2025-07-02 12:12:04 +02:00
19 changed files with 2466 additions and 1171 deletions

View File

@@ -13,23 +13,20 @@ namespace AlzeyTeilhabe.Invoicing
public override InvoiceCreation CreateInvoiceCreator(string specificId, string tenant, Dictionary<CompactSupportConceptDC, List<ServiceRecordDC>> supportConcepts2ServiceRecords)
{
// foreach (var item in supportConcepts2ServiceRecords)
// {
// var csc = item.Key;
// var cb2sc = DAOFactory.GenericDAO.LoadByID<CostBearer2SupportConcept>(csc.CostBearerRelOids[0]);
foreach (var item in supportConcepts2ServiceRecords)
{
var csc = item.Key;
var cb2sc = DAOFactory.GenericDAO.LoadByID<CostBearer2SupportConcept>(csc.CostBearerRelOids[0]);
// var org = cb2sc.CostBearer.Organisation;
var org = cb2sc.CostBearer.Organisation;
// if (org.Name != null && (org.Name.Contains("Jugendamt") || org.Name.Contains("Amt für Soziales, Pflege und Wohnen")))
// {
// return new JugendamtInvoiceCreation();
if (org.Function != null && org.Function.Value == "Kostenträger Soziotherapie")
{
return new DefaultInvoiceCreation();
}
}
// }
// }
return new DefaultInvoiceCreation();
return new InvoiceCreation();
}
}

View File

@@ -115,25 +115,28 @@ namespace AlzeyTeilhabe.Invoicing
var list = new List<InvoiceBase>();
foreach (var ib in EquityInvoiceList)
if (EquityInvoiceList != null)
{
if (ib.AccountingPeriodStart.HasValue && ib.AccountingPeriodEnd.HasValue)
foreach (var ib in EquityInvoiceList)
{
if (ib.AccountingPeriodStart <= invoice.InvoiceBase.AccountingPeriodEnd &&
ib.AccountingPeriodEnd >= invoice.InvoiceBase.AccountingPeriodStart)
if (ib.AccountingPeriodStart.HasValue && ib.AccountingPeriodEnd.HasValue)
{
list.Add(ib);
if (ib.AccountingPeriodStart <= invoice.InvoiceBase.AccountingPeriodEnd &&
ib.AccountingPeriodEnd >= invoice.InvoiceBase.AccountingPeriodStart)
{
list.Add(ib);
}
}
}
}
foreach (InvoiceBase iEquityInvoice in list)
{
foreach (InvoiceItem item in iEquityInvoice.InvoiceItems)
foreach (InvoiceBase iEquityInvoice in list)
{
if (item.AmountTotal != null)
foreach (InvoiceItem item in iEquityInvoice.InvoiceItems)
{
equity += item.AmountTotal.Value;
if (item.AmountTotal != null)
{
equity += item.AmountTotal.Value;
}
}
}
}

View File

@@ -30,6 +30,7 @@ namespace AlzeyTeilhabe
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
DevExpress.XtraReports.UI.XRWatermark xrWatermark1 = new DevExpress.XtraReports.UI.XRWatermark();
this.Detail = new DevExpress.XtraReports.UI.DetailBand();
this.xrTableServiceRecords1 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow();
@@ -46,7 +47,6 @@ namespace AlzeyTeilhabe
this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell15 = new DevExpress.XtraReports.UI.XRTableCell();
this.picSignature = new DevExpress.XtraReports.UI.XRPictureBox();
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
this.formattingRuleStartDate = new DevExpress.XtraReports.UI.FormattingRule();
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
this.xrLabel22 = new DevExpress.XtraReports.UI.XRLabel();
@@ -72,9 +72,9 @@ namespace AlzeyTeilhabe
this.ReportFooter = new DevExpress.XtraReports.UI.ReportFooterBand();
this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel9 = new DevExpress.XtraReports.UI.XRLabel();
this.lblGesamtFLS = new DevExpress.XtraReports.UI.XRLabel();
this.lblVerguetungssatzFLS = new DevExpress.XtraReports.UI.XRLabel();
this.lblRechnungsbetragFLS = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel20 = new DevExpress.XtraReports.UI.XRLabel();
@@ -83,7 +83,7 @@ namespace AlzeyTeilhabe
this.xrTable1 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell();
this.tcSummeFLS = new DevExpress.XtraReports.UI.XRTableCell();
this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel();
this.fieldAbrechenbareMinuten = new DevExpress.XtraReports.UI.CalculatedField();
@@ -91,10 +91,19 @@ namespace AlzeyTeilhabe
this.fieldAbrechenbareFLS = new DevExpress.XtraReports.UI.CalculatedField();
this.fieldStunden = new DevExpress.XtraReports.UI.CalculatedField();
this.fieldTotalSum = new DevExpress.XtraReports.UI.CalculatedField();
this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell8 = new DevExpress.XtraReports.UI.XRTableCell();
this.tcSummeWegepauschalen = new DevExpress.XtraReports.UI.XRTableCell();
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
this.lblRechnungsbetragWegepauschalen = new DevExpress.XtraReports.UI.XRLabel();
this.lblVerguetungssatzWegepauschalen = new DevExpress.XtraReports.UI.XRLabel();
this.lblGesamtWegepauschalen = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel28 = new DevExpress.XtraReports.UI.XRLabel();
this.lblRechnungsbetragGesamt = new DevExpress.XtraReports.UI.XRLabel();
((System.ComponentModel.ISupportInitialize)(this.xrTableServiceRecords1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
//
// Detail
@@ -109,8 +118,8 @@ namespace AlzeyTeilhabe
//
// xrTableServiceRecords1
//
this.xrTableServiceRecords1.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
| DevExpress.XtraPrinting.BorderSide.Right)
this.xrTableServiceRecords1.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
| DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableServiceRecords1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.xrTableServiceRecords1.Name = "xrTableServiceRecords1";
@@ -129,6 +138,7 @@ namespace AlzeyTeilhabe
this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell3,
this.xrTableCell4,
this.xrTableCell7,
this.xrTableCell1,
this.xrTableCell11});
this.xrTableRow2.Name = "xrTableRow2";
@@ -198,14 +208,14 @@ namespace AlzeyTeilhabe
// xrTable3
//
this.xrTable3.BorderColor = System.Drawing.Color.Black;
this.xrTable3.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
this.xrTable3.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTable3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.xrTable3.Name = "xrTable3";
this.xrTable3.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
this.xrTable3.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow6});
this.xrTable3.SizeF = new System.Drawing.SizeF(696.9999F, 20F);
this.xrTable3.SizeF = new System.Drawing.SizeF(697F, 20F);
this.xrTable3.StylePriority.UseFont = false;
this.xrTable3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
//
@@ -214,6 +224,7 @@ namespace AlzeyTeilhabe
this.xrTableRow6.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell13,
this.xrTableCell14,
this.xrTableCell8,
this.xrTableCell2,
this.xrTableCell15});
this.xrTableRow6.Name = "xrTableRow6";
@@ -236,7 +247,7 @@ namespace AlzeyTeilhabe
// xrTableCell14
//
this.xrTableCell14.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.fieldStunden", "{0:0.00}")});
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.Notice4", "{0:0.00}")});
this.xrTableCell14.Name = "xrTableCell14";
this.xrTableCell14.StylePriority.UseFont = false;
this.xrTableCell14.StylePriority.UsePadding = false;
@@ -281,10 +292,6 @@ namespace AlzeyTeilhabe
this.picSignature.StylePriority.UseBorders = false;
this.picSignature.BeforePrint += new DevExpress.XtraReports.UI.BeforePrintEventHandler(this.picSignature_BeforePrint);
//
// bindingSource1
//
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServicesOverviewRO);
//
// formattingRuleStartDate
//
this.formattingRuleStartDate.Condition = "[StartDate2] < [StartDate]";
@@ -310,7 +317,7 @@ namespace AlzeyTeilhabe
this.xrLabel13,
this.xrLabel12,
this.xrLabel1});
this.ReportHeader.Font = new System.Drawing.Font("Arial", 11F);
this.ReportHeader.Font = new DevExpress.Drawing.DXFont("Arial", 11F);
this.ReportHeader.HeightF = 240F;
this.ReportHeader.Name = "ReportHeader";
this.ReportHeader.StylePriority.UseFont = false;
@@ -338,7 +345,7 @@ namespace AlzeyTeilhabe
this.xrLabel17.Borders = DevExpress.XtraPrinting.BorderSide.Bottom;
this.xrLabel17.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "MainAttendant")});
this.xrLabel17.Font = new System.Drawing.Font("Arial", 11F);
this.xrLabel17.Font = new DevExpress.Drawing.DXFont("Arial", 11F);
this.xrLabel17.LocationFloat = new DevExpress.Utils.PointFloat(288F, 205F);
this.xrLabel17.Name = "xrLabel17";
this.xrLabel17.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
@@ -360,7 +367,7 @@ namespace AlzeyTeilhabe
this.xrLabel29.Borders = DevExpress.XtraPrinting.BorderSide.Bottom;
this.xrLabel29.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "ApprovedFLSPerMonthTotal", "{0:0.00}")});
this.xrLabel29.Font = new System.Drawing.Font("Arial", 11F);
this.xrLabel29.Font = new DevExpress.Drawing.DXFont("Arial", 11F);
this.xrLabel29.LocationFloat = new DevExpress.Utils.PointFloat(288F, 180F);
this.xrLabel29.Name = "xrLabel29";
this.xrLabel29.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
@@ -373,7 +380,7 @@ namespace AlzeyTeilhabe
this.xrLabel26.Borders = DevExpress.XtraPrinting.BorderSide.Bottom;
this.xrLabel26.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "ApprovedFLSTotal", "{0:0.00}")});
this.xrLabel26.Font = new System.Drawing.Font("Arial", 11F);
this.xrLabel26.Font = new DevExpress.Drawing.DXFont("Arial", 11F);
this.xrLabel26.LocationFloat = new DevExpress.Utils.PointFloat(288F, 155F);
this.xrLabel26.Name = "xrLabel26";
this.xrLabel26.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
@@ -384,7 +391,7 @@ namespace AlzeyTeilhabe
// xrLabel25
//
this.xrLabel25.Borders = DevExpress.XtraPrinting.BorderSide.Bottom;
this.xrLabel25.Font = new System.Drawing.Font("Arial", 11F);
this.xrLabel25.Font = new DevExpress.Drawing.DXFont("Arial", 11F);
this.xrLabel25.LocationFloat = new DevExpress.Utils.PointFloat(200F, 130F);
this.xrLabel25.Name = "xrLabel25";
this.xrLabel25.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
@@ -398,7 +405,7 @@ namespace AlzeyTeilhabe
this.xrLabel24.Borders = DevExpress.XtraPrinting.BorderSide.Bottom;
this.xrLabel24.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "CustomerFirstName")});
this.xrLabel24.Font = new System.Drawing.Font("Arial", 11F);
this.xrLabel24.Font = new DevExpress.Drawing.DXFont("Arial", 11F);
this.xrLabel24.LocationFloat = new DevExpress.Utils.PointFloat(200F, 105F);
this.xrLabel24.Name = "xrLabel24";
this.xrLabel24.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
@@ -411,7 +418,7 @@ namespace AlzeyTeilhabe
this.xrLabel23.Borders = DevExpress.XtraPrinting.BorderSide.Bottom;
this.xrLabel23.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "CustomerLastName")});
this.xrLabel23.Font = new System.Drawing.Font("Arial", 11F);
this.xrLabel23.Font = new DevExpress.Drawing.DXFont("Arial", 11F);
this.xrLabel23.LocationFloat = new DevExpress.Utils.PointFloat(200F, 79.99998F);
this.xrLabel23.Name = "xrLabel23";
this.xrLabel23.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
@@ -466,7 +473,7 @@ namespace AlzeyTeilhabe
//
// xrLabel1
//
this.xrLabel1.Font = new System.Drawing.Font("Arial", 12F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Underline))));
this.xrLabel1.Font = new DevExpress.Drawing.DXFont("Arial", 12F, ((DevExpress.Drawing.DXFontStyle)((DevExpress.Drawing.DXFontStyle.Bold | DevExpress.Drawing.DXFontStyle.Underline))));
this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.xrLabel1.Multiline = true;
this.xrLabel1.Name = "xrLabel1";
@@ -500,7 +507,7 @@ namespace AlzeyTeilhabe
//
// topMarginBand1
//
this.topMarginBand1.Font = new System.Drawing.Font("Times New Roman", 9.75F);
this.topMarginBand1.Font = new DevExpress.Drawing.DXFont("Times New Roman", 9.75F);
this.topMarginBand1.HeightF = 50F;
this.topMarginBand1.Name = "topMarginBand1";
this.topMarginBand1.StylePriority.UseFont = false;
@@ -513,11 +520,16 @@ namespace AlzeyTeilhabe
// ReportFooter
//
this.ReportFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.lblRechnungsbetragGesamt,
this.lblRechnungsbetragWegepauschalen,
this.lblVerguetungssatzWegepauschalen,
this.lblGesamtWegepauschalen,
this.xrLabel28,
this.xrLabel4,
this.xrLabel6,
this.xrLabel7,
this.xrLabel8,
this.xrLabel9,
this.lblGesamtFLS,
this.lblVerguetungssatzFLS,
this.lblRechnungsbetragFLS,
this.xrLabel11,
this.xrLabel10,
this.xrLabel20,
@@ -526,14 +538,15 @@ namespace AlzeyTeilhabe
this.xrTable1,
this.xrLabel2,
this.xrLabel5});
this.ReportFooter.Font = new System.Drawing.Font("Arial", 11F);
this.ReportFooter.HeightF = 247.2917F;
this.ReportFooter.Font = new DevExpress.Drawing.DXFont("Arial", 11F);
this.ReportFooter.HeightF = 281.6667F;
this.ReportFooter.Name = "ReportFooter";
this.ReportFooter.StylePriority.UseFont = false;
//
// xrLabel4
//
this.xrLabel4.Font = new System.Drawing.Font("Arial", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel4.Font = new DevExpress.Drawing.DXFont("Arial", 11.25F, DevExpress.Drawing.DXFontStyle.Bold, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(9.536743E-05F, 92.84382F);
this.xrLabel4.Name = "xrLabel4";
this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
@@ -550,41 +563,33 @@ namespace AlzeyTeilhabe
this.xrLabel6.StylePriority.UseFont = false;
this.xrLabel6.Text = "Anzahl FLStd.";
//
// xrLabel7
// lblGesamtFLS
//
this.xrLabel7.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "fieldBillableFLS", "{0:0.00}")});
this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(194.7918F, 142.4688F);
this.xrLabel7.Name = "xrLabel7";
this.xrLabel7.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel7.SizeF = new System.Drawing.SizeF(72.37503F, 19.79172F);
this.xrLabel7.StylePriority.UseFont = false;
this.xrLabel7.Text = "Zusätzliche Fachkraft:";
this.lblGesamtFLS.LocationFloat = new DevExpress.Utils.PointFloat(194.7918F, 142.4688F);
this.lblGesamtFLS.Name = "lblGesamtFLS";
this.lblGesamtFLS.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.lblGesamtFLS.SizeF = new System.Drawing.SizeF(72.37503F, 19.79172F);
this.lblGesamtFLS.StylePriority.UseFont = false;
//
// xrLabel8
// lblVerguetungssatzFLS
//
this.xrLabel8.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "RateFactor", "{0:0.00} €")});
this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(267.1668F, 142.4688F);
this.xrLabel8.Name = "xrLabel8";
this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel8.SizeF = new System.Drawing.SizeF(125.5F, 19.79172F);
this.xrLabel8.StylePriority.UseFont = false;
this.xrLabel8.StylePriority.UseTextAlignment = false;
this.xrLabel8.Text = "Zusätzliche Fachkraft:";
this.xrLabel8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
this.lblVerguetungssatzFLS.LocationFloat = new DevExpress.Utils.PointFloat(267.1668F, 142.4688F);
this.lblVerguetungssatzFLS.Name = "lblVerguetungssatzFLS";
this.lblVerguetungssatzFLS.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.lblVerguetungssatzFLS.SizeF = new System.Drawing.SizeF(125.5F, 19.79172F);
this.lblVerguetungssatzFLS.StylePriority.UseFont = false;
this.lblVerguetungssatzFLS.StylePriority.UseTextAlignment = false;
this.lblVerguetungssatzFLS.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
//
// xrLabel9
// lblRechnungsbetragFLS
//
this.xrLabel9.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "fieldTotalSum", "{0:0.00} €")});
this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(392.6666F, 142.4688F);
this.xrLabel9.Name = "xrLabel9";
this.xrLabel9.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel9.SizeF = new System.Drawing.SizeF(125.5F, 19.79172F);
this.xrLabel9.StylePriority.UseFont = false;
this.xrLabel9.StylePriority.UseTextAlignment = false;
this.xrLabel9.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
this.lblRechnungsbetragFLS.LocationFloat = new DevExpress.Utils.PointFloat(392.6666F, 142.4688F);
this.lblRechnungsbetragFLS.Name = "lblRechnungsbetragFLS";
this.lblRechnungsbetragFLS.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.lblRechnungsbetragFLS.SizeF = new System.Drawing.SizeF(125.5F, 19.79172F);
this.lblRechnungsbetragFLS.StylePriority.UseFont = false;
this.lblRechnungsbetragFLS.StylePriority.UseTextAlignment = false;
this.lblRechnungsbetragFLS.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
//
// xrLabel11
//
@@ -610,7 +615,7 @@ namespace AlzeyTeilhabe
//
// xrLabel20
//
this.xrLabel20.LocationFloat = new DevExpress.Utils.PointFloat(9.536743E-05F, 182.5729F);
this.xrLabel20.LocationFloat = new DevExpress.Utils.PointFloat(9.536743E-05F, 206.9479F);
this.xrLabel20.Name = "xrLabel20";
this.xrLabel20.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel20.SizeF = new System.Drawing.SizeF(392.6667F, 19.79166F);
@@ -620,7 +625,7 @@ namespace AlzeyTeilhabe
//
// lblUebertragFLS
//
this.lblUebertragFLS.LocationFloat = new DevExpress.Utils.PointFloat(392.6666F, 182.5728F);
this.lblUebertragFLS.LocationFloat = new DevExpress.Utils.PointFloat(392.6666F, 206.9478F);
this.lblUebertragFLS.Name = "lblUebertragFLS";
this.lblUebertragFLS.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.lblUebertragFLS.SizeF = new System.Drawing.SizeF(130.7083F, 19.79172F);
@@ -643,14 +648,14 @@ namespace AlzeyTeilhabe
// xrTable1
//
this.xrTable1.BorderColor = System.Drawing.Color.Black;
this.xrTable1.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
this.xrTable1.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.xrTable1.Name = "xrTable1";
this.xrTable1.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow1});
this.xrTable1.SizeF = new System.Drawing.SizeF(200F, 40F);
this.xrTable1.SizeF = new System.Drawing.SizeF(262.3589F, 40F);
this.xrTable1.StylePriority.UseFont = false;
this.xrTable1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
//
@@ -658,7 +663,8 @@ namespace AlzeyTeilhabe
//
this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell5,
this.xrTableCell6});
this.tcSummeFLS,
this.tcSummeWegepauschalen});
this.xrTableRow1.Name = "xrTableRow1";
this.xrTableRow1.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
this.xrTableRow1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
@@ -671,25 +677,23 @@ namespace AlzeyTeilhabe
this.xrTableCell5.StylePriority.UseFont = false;
this.xrTableCell5.StylePriority.UsePadding = false;
this.xrTableCell5.StylePriority.UseTextAlignment = false;
this.xrTableCell5.Text = "Summe\r\nFLStd.";
this.xrTableCell5.Text = "Summen";
this.xrTableCell5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.xrTableCell5.Weight = 0.12626259807949769D;
this.xrTableCell5.Weight = 0.11042036573041793D;
//
// xrTableCell6
// tcSummeFLS
//
this.xrTableCell6.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "fieldBillableFLS", "{0:0.00}")});
this.xrTableCell6.Name = "xrTableCell6";
this.xrTableCell6.StylePriority.UseFont = false;
this.xrTableCell6.StylePriority.UsePadding = false;
this.xrTableCell6.StylePriority.UseTextAlignment = false;
this.xrTableCell6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.xrTableCell6.Weight = 0.12626260328760389D;
this.tcSummeFLS.Name = "tcSummeFLS";
this.tcSummeFLS.StylePriority.UseFont = false;
this.tcSummeFLS.StylePriority.UsePadding = false;
this.tcSummeFLS.StylePriority.UseTextAlignment = false;
this.tcSummeFLS.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.tcSummeFLS.Weight = 0.11042039020466815D;
//
// xrLabel2
//
this.xrLabel2.Borders = DevExpress.XtraPrinting.BorderSide.Top;
this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(356.1667F, 229.2917F);
this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(356.1667F, 253.6667F);
this.xrLabel2.Name = "xrLabel2";
this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel2.SizeF = new System.Drawing.SizeF(340.8333F, 17.99997F);
@@ -700,7 +704,7 @@ namespace AlzeyTeilhabe
// xrLabel5
//
this.xrLabel5.Borders = DevExpress.XtraPrinting.BorderSide.Top;
this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(0F, 229.2917F);
this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(0F, 253.6667F);
this.xrLabel5.Name = "xrLabel5";
this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel5.SizeF = new System.Drawing.SizeF(117.2917F, 17.99997F);
@@ -739,6 +743,90 @@ namespace AlzeyTeilhabe
this.fieldTotalSum.Expression = "Round([TotalFLMBillable] / 60, 2) * [RateFactor]";
this.fieldTotalSum.Name = "fieldTotalSum";
//
// xrTableCell7
//
this.xrTableCell7.Multiline = true;
this.xrTableCell7.Name = "xrTableCell7";
this.xrTableCell7.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 2, 0, 0, 100F);
this.xrTableCell7.StylePriority.UseFont = false;
this.xrTableCell7.StylePriority.UseTextAlignment = false;
this.xrTableCell7.Text = "Wege-pauschale";
this.xrTableCell7.Weight = 0.24385917973591581D;
//
// xrTableCell8
//
this.xrTableCell8.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.Notice5")});
this.xrTableCell8.Multiline = true;
this.xrTableCell8.Name = "xrTableCell8";
this.xrTableCell8.StylePriority.UseFont = false;
this.xrTableCell8.StylePriority.UsePadding = false;
this.xrTableCell8.StylePriority.UseTextAlignment = false;
this.xrTableCell8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
this.xrTableCell8.Weight = 0.12626260328760389D;
//
// tcSummeWegepauschalen
//
this.tcSummeWegepauschalen.Multiline = true;
this.tcSummeWegepauschalen.Name = "tcSummeWegepauschalen";
this.tcSummeWegepauschalen.StylePriority.UseFont = false;
this.tcSummeWegepauschalen.StylePriority.UsePadding = false;
this.tcSummeWegepauschalen.StylePriority.UseTextAlignment = false;
this.tcSummeWegepauschalen.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.tcSummeWegepauschalen.Weight = 0.11042039983774019D;
//
// bindingSource1
//
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServicesOverviewRO);
//
// lblRechnungsbetragWegepauschalen
//
this.lblRechnungsbetragWegepauschalen.LocationFloat = new DevExpress.Utils.PointFloat(392.6666F, 162.2604F);
this.lblRechnungsbetragWegepauschalen.Name = "lblRechnungsbetragWegepauschalen";
this.lblRechnungsbetragWegepauschalen.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.lblRechnungsbetragWegepauschalen.SizeF = new System.Drawing.SizeF(125.5F, 19.79172F);
this.lblRechnungsbetragWegepauschalen.StylePriority.UseFont = false;
this.lblRechnungsbetragWegepauschalen.StylePriority.UseTextAlignment = false;
this.lblRechnungsbetragWegepauschalen.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
//
// lblVerguetungssatzWegepauschalen
//
this.lblVerguetungssatzWegepauschalen.LocationFloat = new DevExpress.Utils.PointFloat(267.1668F, 162.2604F);
this.lblVerguetungssatzWegepauschalen.Name = "lblVerguetungssatzWegepauschalen";
this.lblVerguetungssatzWegepauschalen.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.lblVerguetungssatzWegepauschalen.SizeF = new System.Drawing.SizeF(125.5F, 19.79172F);
this.lblVerguetungssatzWegepauschalen.StylePriority.UseFont = false;
this.lblVerguetungssatzWegepauschalen.StylePriority.UseTextAlignment = false;
this.lblVerguetungssatzWegepauschalen.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
//
// lblGesamtWegepauschalen
//
this.lblGesamtWegepauschalen.LocationFloat = new DevExpress.Utils.PointFloat(194.7918F, 162.2604F);
this.lblGesamtWegepauschalen.Name = "lblGesamtWegepauschalen";
this.lblGesamtWegepauschalen.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.lblGesamtWegepauschalen.SizeF = new System.Drawing.SizeF(72.37503F, 19.79172F);
this.lblGesamtWegepauschalen.StylePriority.UseFont = false;
//
// xrLabel28
//
this.xrLabel28.LocationFloat = new DevExpress.Utils.PointFloat(9.536743E-05F, 162.2605F);
this.xrLabel28.Name = "xrLabel28";
this.xrLabel28.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel28.SizeF = new System.Drawing.SizeF(194.7917F, 19.79166F);
this.xrLabel28.StylePriority.UseFont = false;
this.xrLabel28.Text = "Anzahl Wegepauschalen";
//
// lblRechnungsbetragGesamt
//
this.lblRechnungsbetragGesamt.Font = new DevExpress.Drawing.DXFont("Arial", 11F, DevExpress.Drawing.DXFontStyle.Bold);
this.lblRechnungsbetragGesamt.LocationFloat = new DevExpress.Utils.PointFloat(392.6668F, 182.0521F);
this.lblRechnungsbetragGesamt.Name = "lblRechnungsbetragGesamt";
this.lblRechnungsbetragGesamt.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.lblRechnungsbetragGesamt.SizeF = new System.Drawing.SizeF(125.5F, 19.79172F);
this.lblRechnungsbetragGesamt.StylePriority.UseFont = false;
this.lblRechnungsbetragGesamt.StylePriority.UseTextAlignment = false;
this.lblRechnungsbetragGesamt.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
//
// StundenzettelWo
//
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
@@ -755,22 +843,24 @@ namespace AlzeyTeilhabe
this.fieldStunden,
this.fieldTotalSum});
this.DataSource = this.bindingSource1;
this.Font = new System.Drawing.Font("Arial", 11F);
this.Font = new DevExpress.Drawing.DXFont("Arial", 11F);
this.FormattingRuleSheet.AddRange(new DevExpress.XtraReports.UI.FormattingRule[] {
this.formattingRuleStartDate,
this.formattingRuleServiceDesc,
this.formattingRuleCostBearer,
this.formattingRuleEmployeeName});
this.Margins = new System.Drawing.Printing.Margins(70, 60, 50, 30);
this.Margins = new DevExpress.Drawing.DXMargins(70F, 60F, 50F, 30F);
this.PageHeight = 1169;
this.PageWidth = 827;
this.PaperKind = DevExpress.Drawing.Printing.DXPaperKind.A4;
this.SnapGridSize = 9F;
this.Version = "17.1";
this.Version = "23.2";
xrWatermark1.Id = "Watermark1";
this.Watermarks.Add(xrWatermark1);
((System.ComponentModel.ISupportInitialize)(this.xrTableServiceRecords1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
}
@@ -825,18 +915,26 @@ namespace AlzeyTeilhabe
private DevExpress.XtraReports.UI.XRTable xrTable1;
private DevExpress.XtraReports.UI.XRTableRow xrTableRow1;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell5;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell6;
private DevExpress.XtraReports.UI.XRTableCell tcSummeFLS;
private DevExpress.XtraReports.UI.XRLabel xrLabel3;
private DevExpress.XtraReports.UI.XRLabel xrLabel4;
private DevExpress.XtraReports.UI.XRLabel xrLabel6;
private DevExpress.XtraReports.UI.XRLabel xrLabel7;
private DevExpress.XtraReports.UI.XRLabel xrLabel8;
private DevExpress.XtraReports.UI.XRLabel xrLabel9;
private DevExpress.XtraReports.UI.XRLabel lblGesamtFLS;
private DevExpress.XtraReports.UI.XRLabel lblVerguetungssatzFLS;
private DevExpress.XtraReports.UI.XRLabel lblRechnungsbetragFLS;
private DevExpress.XtraReports.UI.XRLabel xrLabel11;
private DevExpress.XtraReports.UI.XRLabel xrLabel10;
private DevExpress.XtraReports.UI.XRLabel xrLabel20;
private DevExpress.XtraReports.UI.XRLabel lblUebertragFLS;
private DevExpress.XtraReports.UI.CalculatedField fieldTotalSum;
private DevExpress.XtraReports.UI.XRPictureBox picSignature;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell7;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell8;
private DevExpress.XtraReports.UI.XRTableCell tcSummeWegepauschalen;
private DevExpress.XtraReports.UI.XRLabel lblRechnungsbetragWegepauschalen;
private DevExpress.XtraReports.UI.XRLabel lblVerguetungssatzWegepauschalen;
private DevExpress.XtraReports.UI.XRLabel lblGesamtWegepauschalen;
private DevExpress.XtraReports.UI.XRLabel xrLabel28;
private DevExpress.XtraReports.UI.XRLabel lblRechnungsbetragGesamt;
}
}

View File

@@ -15,6 +15,8 @@ using BS.Shared.DataContracts;
using System.Text.RegularExpressions;
using System.IO;
using System.Drawing;
using BeWo.Data.Access;
using BeWo.Data.Entities;
namespace AlzeyTeilhabe
{
@@ -27,24 +29,56 @@ namespace AlzeyTeilhabe
public void SetReportDataSource(ServicesOverviewRO pRO)
{
int pauschalen = 0;
double flm = 0;
if (pRO.Services != null)
{
List<ServicesOverviewRO.ServiceDetail> servicesBillable = new List<ServicesOverviewRO.ServiceDetail>();
foreach (ServicesOverviewRO.ServiceDetail s in pRO.Services)
{
if (s.IsBillable)
{
if (s.ServiceDescription.ToLower().Contains("wegepauschale"))
{
s.Notice5 = "1";
pauschalen++;
}
else
{
s.Notice4 = string.Format("{0:0.00}", s.Minutes / 60);
flm += s.Minutes;
}
ServicesOverviewRO.CreateSignatureString(s);
servicesBillable.Add(s);
}
}
tcSummeFLS.Text = string.Format("{0:0.00}", flm / 60);
tcSummeWegepauschalen.Text = string.Format("{0:0}", pauschalen);
pRO.Services = servicesBillable;
}
decimal stundensatz = GetStundensatz(pRO);
pRO.RateFactor = stundensatz;
decimal stundensatzFLS = GetStundensatz(pRO);
decimal stundensatzWegepauschalen = GetStundensatzWegepauschalen(pRO);
var betragFls = Convert.ToDecimal(flm) / 60 * stundensatzFLS;
var betragWegepauschalen = pauschalen * stundensatzWegepauschalen;
var betragGesamt = betragFls + betragWegepauschalen;
lblGesamtFLS.Text = string.Format("{0:0.00}", Convert.ToDecimal(flm) / 60);
lblGesamtWegepauschalen.Text = string.Format("{0:0}", pauschalen);
lblVerguetungssatzFLS.Text = string.Format("{0:0.00} EUR", stundensatzFLS);
lblVerguetungssatzWegepauschalen.Text = string.Format("{0:0.00} EUR", stundensatzWegepauschalen);
lblRechnungsbetragFLS.Text = string.Format("{0:0.00} EUR", betragFls);
lblRechnungsbetragWegepauschalen.Text = string.Format("{0:0.00} EUR", betragWegepauschalen);
lblRechnungsbetragGesamt.Text = string.Format("{0:0.00} EUR", betragGesamt);
decimal uebertragFLS = 0;
if (pRO.SupportConceptCostBearer != null)
@@ -110,6 +144,21 @@ namespace AlzeyTeilhabe
return 0;
}
private decimal GetStundensatzWegepauschalen(ServicesOverviewRO pRO)
{
var list = DAOFactory.GenericDAO.GetAllActive<ServiceDescription>();
var wegepauschale = list.FirstOrDefault(s => s.ServiceCategory.Name == "EGH_2025 neuer LRV" && s.Name == "Wegepauschale" ||
s.ServiceCategory.Name == "EGH_2025 neuer LVR" && s.Name == "Wegepauschale");
if (wegepauschale != null && wegepauschale.CostRatePeriods != null && wegepauschale.CostRatePeriods.Count > 0)
{
var crpList = MapperFactory.CostRatePeriodDC_CostRatePeriod.MapToNewDCs(wegepauschale.CostRatePeriods);
var crp = crpList.GetCostRatePeriodForDate(CostRatePeriodType.AmountOfMoney, pRO.StartDate);
if (crp != null && crp.CostRateValue.HasValue)
return crp.CostRateValue.Value;
}
return 0;
}
private void picSignature_BeforePrint(object sender, CancelEventArgs e)
{
XRPictureBox xrBox = sender as XRPictureBox;
@@ -119,7 +168,7 @@ namespace AlzeyTeilhabe
{
var base64Data = Regex.Match(base64String, @"data:image/(?<type>.+?),(?<data>.+)").Groups["data"].Value;
var binData = Convert.FromBase64String(base64Data);
Image img = ByteArrayToImage(binData);
System.Drawing.Image img = ByteArrayToImage(binData);
xrBox.Image = Utils.CropImage(img);
}
else
@@ -128,11 +177,11 @@ namespace AlzeyTeilhabe
}
}
public Image ByteArrayToImage(byte[] byteArrayIn)
public System.Drawing.Image ByteArrayToImage(byte[] byteArrayIn)
{
using (var memoryStream = new MemoryStream(byteArrayIn))
{
return Image.FromStream(memoryStream);
return System.Drawing.Image.FromStream(memoryStream);
}
}
}

View File

@@ -58,7 +58,8 @@ namespace BetreuWoWesel.Invoicing
foreach (var item in invoiceList)
{
result.Add(MapperFactory.ServiceInvoiceDC_ServiceInvoice.MapToNewDC(item));
if (item != null)
result.Add(MapperFactory.ServiceInvoiceDC_ServiceInvoice.MapToNewDC(item));
}
if (result.Count > 1)

View File

@@ -55,6 +55,12 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="InvoiceCustomerReport.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="InvoiceCustomerReport.Designer.cs">
<DependentUpon>InvoiceCustomerReport.cs</DependentUpon>
</Compile>
<Compile Include="Invoicing\CustomInvoiceCreation.cs" />
<Compile Include="Invoicing\CustomInvoiceFactory.cs" />
<Compile Include="Invoicing\SettlementInvoiceCreation.cs" />
@@ -110,6 +116,10 @@
</ItemGroup>
<ItemGroup />
<ItemGroup>
<EmbeddedResource Include="InvoiceCustomerReport.resx">
<DependentUpon>InvoiceCustomerReport.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="Mitarbeiterauslastung.resx">
<DependentUpon>Mitarbeiterauslastung.cs</DependentUpon>
</EmbeddedResource>

View File

@@ -0,0 +1,845 @@
using BeWo.Report.ReportObjects;
namespace DiakonischesWerkDinslakenBeWo
{
partial class InvoiceCustomerReport
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(InvoiceCustomerReport));
DevExpress.XtraReports.UI.XRWatermark xrWatermark1 = new DevExpress.XtraReports.UI.XRWatermark();
this.Detail = new DevExpress.XtraReports.UI.DetailBand();
this.xrTable1 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow9 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell9 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell14 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell12 = new DevExpress.XtraReports.UI.XRTableCell();
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
this.lblAddress = new DevExpress.XtraReports.UI.XRLabel();
this.xrTable3 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow10 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell15 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell16 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell17 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell18 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell19 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell20 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel();
this.lblAnrede = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel();
this.ruleRateFactorNull = new DevExpress.XtraReports.UI.FormattingRule();
this.ReportFooter = new DevExpress.XtraReports.UI.ReportFooterBand();
this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel();
this.xrTable4 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow11 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell23 = new DevExpress.XtraReports.UI.XRTableCell();
this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand();
this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand();
this.Detail1 = new DevExpress.XtraReports.UI.DetailBand();
this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel();
this.xrPictureBox1 = new DevExpress.XtraReports.UI.XRPictureBox();
this.xrRichText5 = new DevExpress.XtraReports.UI.XRRichText();
this.xrRichText6 = new DevExpress.XtraReports.UI.XRRichText();
this.xrLabel9 = new DevExpress.XtraReports.UI.XRLabel();
this.xrTable2 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow4 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow3 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell13 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow5 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel();
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable4)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrRichText5)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrRichText6)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
//
// Detail
//
this.Detail.HeightF = 0F;
this.Detail.Name = "Detail";
this.Detail.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
//
// xrTable1
//
this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.xrTable1.Name = "xrTable1";
this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow9});
this.xrTable1.SizeF = new System.Drawing.SizeF(671.4175F, 23F);
this.xrTable1.StylePriority.UseFont = false;
//
// xrTableRow9
//
this.xrTableRow9.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell6,
this.xrTableCell7,
this.xrTableCell9,
this.xrTableCell14,
this.xrTableCell10,
this.xrTableCell12});
this.xrTableRow9.Name = "xrTableRow9";
this.xrTableRow9.Weight = 0.91999999999999993D;
//
// xrTableCell6
//
this.xrTableCell6.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell6.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceItems.AccountingPeriodStart")});
this.xrTableCell6.Name = "xrTableCell6";
this.xrTableCell6.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
this.xrTableCell6.StylePriority.UseBorders = false;
this.xrTableCell6.StylePriority.UsePadding = false;
this.xrTableCell6.StylePriority.UseTextAlignment = false;
this.xrTableCell6.Text = "xrTableCell6";
this.xrTableCell6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell6.Weight = 1D;
//
// xrTableCell7
//
this.xrTableCell7.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell7.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceItems.AccountingPeriodEnd")});
this.xrTableCell7.Name = "xrTableCell7";
this.xrTableCell7.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
this.xrTableCell7.StylePriority.UseBorders = false;
this.xrTableCell7.StylePriority.UsePadding = false;
this.xrTableCell7.StylePriority.UseTextAlignment = false;
this.xrTableCell7.Text = "xrTableCell7";
this.xrTableCell7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell7.Weight = 1D;
//
// xrTableCell9
//
this.xrTableCell9.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell9.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceItems.ItemDescription")});
this.xrTableCell9.Name = "xrTableCell9";
this.xrTableCell9.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
this.xrTableCell9.StylePriority.UseBorders = false;
this.xrTableCell9.StylePriority.UsePadding = false;
this.xrTableCell9.StylePriority.UseTextAlignment = false;
this.xrTableCell9.Text = "xrTableCell9";
this.xrTableCell9.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell9.Weight = 2.3350077713203072D;
//
// xrTableCell14
//
this.xrTableCell14.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell14.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceItems.UnitPrice")});
this.xrTableCell14.Name = "xrTableCell14";
this.xrTableCell14.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
this.xrTableCell14.StylePriority.UseBorders = false;
this.xrTableCell14.StylePriority.UsePadding = false;
this.xrTableCell14.StylePriority.UseTextAlignment = false;
this.xrTableCell14.Text = "xrTableCell14";
this.xrTableCell14.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell14.Weight = 0.81217660612832132D;
//
// xrTableCell10
//
this.xrTableCell10.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell10.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceItems.UnitCount", "{0:0.##}")});
this.xrTableCell10.Name = "xrTableCell10";
this.xrTableCell10.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
this.xrTableCell10.StylePriority.UseBorders = false;
this.xrTableCell10.StylePriority.UsePadding = false;
this.xrTableCell10.StylePriority.UseTextAlignment = false;
this.xrTableCell10.Text = "xrTableCell10";
this.xrTableCell10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell10.Weight = 0.6539656324947265D;
//
// xrTableCell12
//
this.xrTableCell12.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell12.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceItems.AmountSum")});
this.xrTableCell12.Name = "xrTableCell12";
this.xrTableCell12.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 3, 0, 0, 100F);
this.xrTableCell12.StylePriority.UseBorders = false;
this.xrTableCell12.StylePriority.UsePadding = false;
this.xrTableCell12.StylePriority.UseTextAlignment = false;
this.xrTableCell12.Text = "xrTableCell12";
this.xrTableCell12.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.xrTableCell12.Weight = 1.0152204985905673D;
//
// ReportHeader
//
this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrTable2,
this.xrRichText5,
this.xrRichText6,
this.xrLabel9,
this.lblAddress,
this.xrTable3,
this.xrLabel6,
this.lblAnrede,
this.xrLabel4,
this.xrLabel3,
this.xrLabel2});
this.ReportHeader.Font = new DevExpress.Drawing.DXFont("Verdana", 10F);
this.ReportHeader.HeightF = 439.8749F;
this.ReportHeader.Name = "ReportHeader";
this.ReportHeader.StylePriority.UseFont = false;
//
// lblAddress
//
this.lblAddress.Font = new DevExpress.Drawing.DXFont("Verdana", 11F);
this.lblAddress.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.lblAddress.Multiline = true;
this.lblAddress.Name = "lblAddress";
this.lblAddress.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.lblAddress.SizeF = new System.Drawing.SizeF(351.375F, 131F);
this.lblAddress.StylePriority.UseFont = false;
this.lblAddress.Text = "[RecipientOrganisation]\r\n[RecipientDivision]\r\n[RecipientFirstName] [RecipientLast" +
"Name]\r\n[RecipientStreet]\r\n[RecipientPostCode] [RecipientTown]";
//
// xrTable3
//
this.xrTable3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 416.8749F);
this.xrTable3.Name = "xrTable3";
this.xrTable3.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow10});
this.xrTable3.SizeF = new System.Drawing.SizeF(671.4175F, 23F);
this.xrTable3.StylePriority.UseFont = false;
//
// xrTableRow10
//
this.xrTableRow10.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell15,
this.xrTableCell16,
this.xrTableCell17,
this.xrTableCell18,
this.xrTableCell19,
this.xrTableCell20});
this.xrTableRow10.Name = "xrTableRow10";
this.xrTableRow10.Weight = 0.91999999999999993D;
//
// xrTableCell15
//
this.xrTableCell15.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
| DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell15.Name = "xrTableCell15";
this.xrTableCell15.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
this.xrTableCell15.StylePriority.UseBorders = false;
this.xrTableCell15.StylePriority.UsePadding = false;
this.xrTableCell15.StylePriority.UseTextAlignment = false;
this.xrTableCell15.Text = "Von";
this.xrTableCell15.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell15.Weight = 1D;
//
// xrTableCell16
//
this.xrTableCell16.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
| DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell16.Name = "xrTableCell16";
this.xrTableCell16.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
this.xrTableCell16.StylePriority.UseBorders = false;
this.xrTableCell16.StylePriority.UsePadding = false;
this.xrTableCell16.StylePriority.UseTextAlignment = false;
this.xrTableCell16.Text = "Bis";
this.xrTableCell16.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell16.Weight = 1D;
//
// xrTableCell17
//
this.xrTableCell17.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
| DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell17.Name = "xrTableCell17";
this.xrTableCell17.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
this.xrTableCell17.StylePriority.UseBorders = false;
this.xrTableCell17.StylePriority.UsePadding = false;
this.xrTableCell17.StylePriority.UseTextAlignment = false;
this.xrTableCell17.Text = "Posten";
this.xrTableCell17.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell17.Weight = 2.3350077713203934D;
//
// xrTableCell18
//
this.xrTableCell18.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
| DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell18.Name = "xrTableCell18";
this.xrTableCell18.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
this.xrTableCell18.StylePriority.UseBorders = false;
this.xrTableCell18.StylePriority.UsePadding = false;
this.xrTableCell18.StylePriority.UseTextAlignment = false;
this.xrTableCell18.Text = "Satz";
this.xrTableCell18.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell18.Weight = 0.81217660612829246D;
//
// xrTableCell19
//
this.xrTableCell19.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
| DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell19.Name = "xrTableCell19";
this.xrTableCell19.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
this.xrTableCell19.StylePriority.UseBorders = false;
this.xrTableCell19.StylePriority.UsePadding = false;
this.xrTableCell19.StylePriority.UseTextAlignment = false;
this.xrTableCell19.Text = "Anzahl";
this.xrTableCell19.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell19.Weight = 0.6539656324946691D;
//
// xrTableCell20
//
this.xrTableCell20.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
| DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell20.Name = "xrTableCell20";
this.xrTableCell20.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 100F);
this.xrTableCell20.StylePriority.UseBorders = false;
this.xrTableCell20.StylePriority.UsePadding = false;
this.xrTableCell20.StylePriority.UseTextAlignment = false;
this.xrTableCell20.Text = "Betrag";
this.xrTableCell20.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.xrTableCell20.Weight = 1.0152204985905673D;
//
// xrLabel6
//
this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(0F, 376.875F);
this.xrLabel6.Multiline = true;
this.xrLabel6.Name = "xrLabel6";
this.xrLabel6.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel6.SizeF = new System.Drawing.SizeF(671.4175F, 23.25F);
this.xrLabel6.StylePriority.UseFont = false;
this.xrLabel6.Text = "für den Betreuungszeitraum [AccountingPeriod] berechnen wir folgende Leistungen:";
//
// lblAnrede
//
this.lblAnrede.LocationFloat = new DevExpress.Utils.PointFloat(0F, 343.875F);
this.lblAnrede.Multiline = true;
this.lblAnrede.Name = "lblAnrede";
this.lblAnrede.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.lblAnrede.SizeF = new System.Drawing.SizeF(581.4177F, 17.00003F);
this.lblAnrede.StylePriority.UseFont = false;
this.lblAnrede.Text = "[RecipientSalutation]";
//
// xrLabel4
//
this.xrLabel4.BackColor = System.Drawing.Color.Transparent;
this.xrLabel4.CanShrink = true;
this.xrLabel4.Font = new DevExpress.Drawing.DXFont("Verdana", 9F, DevExpress.Drawing.DXFontStyle.Bold);
this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(0F, 304.875F);
this.xrLabel4.Multiline = true;
this.xrLabel4.Name = "xrLabel4";
this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel4.SizeF = new System.Drawing.SizeF(671.5F, 17F);
this.xrLabel4.StylePriority.UseBackColor = false;
this.xrLabel4.StylePriority.UseFont = false;
this.xrLabel4.Text = "[CustomerReferenceNumber]";
this.xrLabel4.WordWrap = false;
//
// xrLabel3
//
this.xrLabel3.BackColor = System.Drawing.Color.Transparent;
this.xrLabel3.CanShrink = true;
this.xrLabel3.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Notice")});
this.xrLabel3.Font = new DevExpress.Drawing.DXFont("Verdana", 9F, DevExpress.Drawing.DXFontStyle.Bold);
this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 287.875F);
this.xrLabel3.Multiline = true;
this.xrLabel3.Name = "xrLabel3";
this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel3.SizeF = new System.Drawing.SizeF(671.5F, 16F);
this.xrLabel3.StylePriority.UseBackColor = false;
this.xrLabel3.StylePriority.UseFont = false;
this.xrLabel3.TextTrimming = DevExpress.Drawing.DXStringTrimming.Word;
//
// xrLabel2
//
this.xrLabel2.BackColor = System.Drawing.Color.Transparent;
this.xrLabel2.CanShrink = true;
this.xrLabel2.Font = new DevExpress.Drawing.DXFont("Verdana", 12F, DevExpress.Drawing.DXFontStyle.Bold);
this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 262.875F);
this.xrLabel2.Name = "xrLabel2";
this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel2.SizeF = new System.Drawing.SizeF(671.5F, 17F);
this.xrLabel2.StylePriority.UseBackColor = false;
this.xrLabel2.StylePriority.UseFont = false;
this.xrLabel2.Text = "Rechnung";
this.xrLabel2.WordWrap = false;
//
// ruleRateFactorNull
//
this.ruleRateFactorNull.Condition = "[RateFactorText2] == ?";
this.ruleRateFactorNull.Formatting.Visible = DevExpress.Utils.DefaultBoolean.False;
this.ruleRateFactorNull.Name = "ruleRateFactorNull";
//
// ReportFooter
//
this.ReportFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrLabel10,
this.xrLabel12,
this.xrTable4});
this.ReportFooter.Font = new DevExpress.Drawing.DXFont("Verdana", 10F);
this.ReportFooter.HeightF = 103.0836F;
this.ReportFooter.KeepTogether = true;
this.ReportFooter.Name = "ReportFooter";
this.ReportFooter.StylePriority.UseFont = false;
//
// xrLabel10
//
this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(0F, 29.25004F);
this.xrLabel10.Name = "xrLabel10";
this.xrLabel10.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel10.SizeF = new System.Drawing.SizeF(175F, 17F);
this.xrLabel10.StylePriority.UseFont = false;
this.xrLabel10.Text = "Mit freundlichen Grüßen";
//
// xrLabel12
//
this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(0F, 80.25004F);
this.xrLabel12.Name = "xrLabel12";
this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel12.SizeF = new System.Drawing.SizeF(292F, 17.00002F);
this.xrLabel12.StylePriority.UseFont = false;
this.xrLabel12.Text = "[CreatorFirstName] [CreatorLastName]";
//
// xrTable4
//
this.xrTable4.LocationFloat = new DevExpress.Utils.PointFloat(570.5F, 0F);
this.xrTable4.Name = "xrTable4";
this.xrTable4.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow11});
this.xrTable4.SizeF = new System.Drawing.SizeF(101F, 23F);
//
// xrTableRow11
//
this.xrTableRow11.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell23});
this.xrTableRow11.Name = "xrTableRow11";
this.xrTableRow11.Weight = 0.91999999999999993D;
//
// xrTableCell23
//
this.xrTableCell23.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
| DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell23.BorderWidth = 2F;
this.xrTableCell23.Font = new DevExpress.Drawing.DXFont("Verdana", 9.75F, DevExpress.Drawing.DXFontStyle.Bold);
this.xrTableCell23.Name = "xrTableCell23";
this.xrTableCell23.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 3, 0, 0, 100F);
this.xrTableCell23.StylePriority.UseBorders = false;
this.xrTableCell23.StylePriority.UseBorderWidth = false;
this.xrTableCell23.StylePriority.UseFont = false;
this.xrTableCell23.StylePriority.UsePadding = false;
this.xrTableCell23.StylePriority.UseTextAlignment = false;
this.xrTableCell23.Text = "[TotalClaim]";
this.xrTableCell23.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.xrTableCell23.Weight = 3.4827586206896557D;
//
// topMarginBand1
//
this.topMarginBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrLabel5,
this.xrPictureBox1});
this.topMarginBand1.HeightF = 159.5F;
this.topMarginBand1.Name = "topMarginBand1";
//
// bottomMarginBand1
//
this.bottomMarginBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrLabel11,
this.xrLabel7});
this.bottomMarginBand1.HeightF = 93.29147F;
this.bottomMarginBand1.Name = "bottomMarginBand1";
//
// DetailReport
//
this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
this.Detail1});
this.DetailReport.DataMember = "InvoiceItems";
this.DetailReport.DataSource = this.bindingSource1;
this.DetailReport.Level = 0;
this.DetailReport.Name = "DetailReport";
//
// Detail1
//
this.Detail1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrTable1});
this.Detail1.Font = new DevExpress.Drawing.DXFont("Verdana", 9.75F);
this.Detail1.HeightF = 23F;
this.Detail1.Name = "Detail1";
this.Detail1.StylePriority.UseFont = false;
//
// xrLabel5
//
this.xrLabel5.Font = new DevExpress.Drawing.DXFont("Verdana", 7F);
this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(0F, 130.25F);
this.xrLabel5.Multiline = true;
this.xrLabel5.Name = "xrLabel5";
this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel5.SizeF = new System.Drawing.SizeF(439.9167F, 28.16666F);
this.xrLabel5.StylePriority.UseFont = false;
this.xrLabel5.StylePriority.UseTextAlignment = false;
this.xrLabel5.Text = "Diakonisches Werk des Ev. Kirchenkreises Dinslaken • \r\nDuisburger Str. 103 • 4653" +
"5 Dinslaken\r\n";
this.xrLabel5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
//
// xrPictureBox1
//
this.xrPictureBox1.ImageAlignment = DevExpress.XtraPrinting.ImageAlignment.MiddleCenter;
this.xrPictureBox1.ImageSource = new DevExpress.XtraPrinting.Drawing.ImageSource("img", resources.GetString("xrPictureBox1.ImageSource"));
this.xrPictureBox1.LocationFloat = new DevExpress.Utils.PointFloat(510.3333F, 46.91668F);
this.xrPictureBox1.Name = "xrPictureBox1";
this.xrPictureBox1.SizeF = new System.Drawing.SizeF(166.6667F, 112.5833F);
this.xrPictureBox1.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage;
//
// xrRichText5
//
this.xrRichText5.Font = new DevExpress.Drawing.DXFont("Verdana", 10F);
this.xrRichText5.LocationFloat = new DevExpress.Utils.PointFloat(377.2017F, 14.5F);
this.xrRichText5.Name = "xrRichText5";
this.xrRichText5.SerializableRtfString = resources.GetString("xrRichText5.SerializableRtfString");
this.xrRichText5.SizeF = new System.Drawing.SizeF(62.715F, 157.5F);
//
// xrRichText6
//
this.xrRichText6.Font = new DevExpress.Drawing.DXFont("Verdana", 10F);
this.xrRichText6.LocationFloat = new DevExpress.Utils.PointFloat(451.7083F, 0F);
this.xrRichText6.Name = "xrRichText6";
this.xrRichText6.SerializableRtfString = resources.GetString("xrRichText6.SerializableRtfString");
this.xrRichText6.SizeF = new System.Drawing.SizeF(219.7917F, 155.29F);
//
// xrLabel9
//
this.xrLabel9.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "BusinessPartnerId")});
this.xrLabel9.Font = new DevExpress.Drawing.DXFont("Arial", 9F);
this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(451.7083F, 155.2917F);
this.xrLabel9.Name = "xrLabel9";
this.xrLabel9.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 2, 0, 0, 100F);
this.xrLabel9.SizeF = new System.Drawing.SizeF(225.2917F, 23F);
this.xrLabel9.StylePriority.UseFont = false;
this.xrLabel9.StylePriority.UsePadding = false;
this.xrLabel9.StylePriority.UseTextAlignment = false;
this.xrLabel9.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
this.xrLabel9.TextFormatString = "GP-Nummer: {0}";
//
// xrTable2
//
this.xrTable2.Font = new DevExpress.Drawing.DXFont("Arial", 9F);
this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(377.2017F, 185.5934F);
this.xrTable2.Name = "xrTable2";
this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow4,
this.xrTableRow3,
this.xrTableRow5});
this.xrTable2.SizeF = new System.Drawing.SizeF(294.2983F, 75F);
this.xrTable2.StylePriority.UseFont = false;
//
// xrTableRow4
//
this.xrTableRow4.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell1,
this.xrTableCell2});
this.xrTableRow4.Name = "xrTableRow4";
this.xrTableRow4.Weight = 1D;
//
// xrTableCell1
//
this.xrTableCell1.BackColor = System.Drawing.Color.Transparent;
this.xrTableCell1.BorderColor = System.Drawing.Color.Black;
this.xrTableCell1.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)));
this.xrTableCell1.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
this.xrTableCell1.Name = "xrTableCell1";
this.xrTableCell1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
this.xrTableCell1.StylePriority.UseBackColor = false;
this.xrTableCell1.StylePriority.UseBorderColor = false;
this.xrTableCell1.StylePriority.UseBorders = false;
this.xrTableCell1.StylePriority.UseFont = false;
this.xrTableCell1.StylePriority.UsePadding = false;
this.xrTableCell1.StylePriority.UseTextAlignment = false;
this.xrTableCell1.Text = "Rechnungsnummer";
this.xrTableCell1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell1.Weight = 0.53122486267026214D;
//
// xrTableCell2
//
this.xrTableCell2.BackColor = System.Drawing.Color.Transparent;
this.xrTableCell2.BorderColor = System.Drawing.Color.Black;
this.xrTableCell2.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right)));
this.xrTableCell2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceNumber")});
this.xrTableCell2.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
this.xrTableCell2.Name = "xrTableCell2";
this.xrTableCell2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
this.xrTableCell2.StylePriority.UseBackColor = false;
this.xrTableCell2.StylePriority.UseBorderColor = false;
this.xrTableCell2.StylePriority.UseBorders = false;
this.xrTableCell2.StylePriority.UseFont = false;
this.xrTableCell2.StylePriority.UsePadding = false;
this.xrTableCell2.StylePriority.UseTextAlignment = false;
this.xrTableCell2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.xrTableCell2.Weight = 0.53122488360866615D;
//
// xrTableRow3
//
this.xrTableRow3.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell3,
this.xrTableCell13});
this.xrTableRow3.Name = "xrTableRow3";
this.xrTableRow3.Weight = 1D;
//
// xrTableCell3
//
this.xrTableCell3.BackColor = System.Drawing.Color.Transparent;
this.xrTableCell3.BorderColor = System.Drawing.Color.Black;
this.xrTableCell3.Borders = DevExpress.XtraPrinting.BorderSide.Left;
this.xrTableCell3.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
this.xrTableCell3.Name = "xrTableCell3";
this.xrTableCell3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
this.xrTableCell3.StylePriority.UseBackColor = false;
this.xrTableCell3.StylePriority.UseBorderColor = false;
this.xrTableCell3.StylePriority.UseBorders = false;
this.xrTableCell3.StylePriority.UseFont = false;
this.xrTableCell3.StylePriority.UsePadding = false;
this.xrTableCell3.StylePriority.UseTextAlignment = false;
this.xrTableCell3.Text = "Rechnungsdatum";
this.xrTableCell3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell3.Weight = 0.53122486267026214D;
//
// xrTableCell13
//
this.xrTableCell13.BackColor = System.Drawing.Color.Transparent;
this.xrTableCell13.BorderColor = System.Drawing.Color.Black;
this.xrTableCell13.Borders = DevExpress.XtraPrinting.BorderSide.Right;
this.xrTableCell13.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceDate", "{0:dd.MM.yyyy}")});
this.xrTableCell13.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
this.xrTableCell13.Name = "xrTableCell13";
this.xrTableCell13.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
this.xrTableCell13.StylePriority.UseBackColor = false;
this.xrTableCell13.StylePriority.UseBorderColor = false;
this.xrTableCell13.StylePriority.UseBorders = false;
this.xrTableCell13.StylePriority.UseFont = false;
this.xrTableCell13.StylePriority.UsePadding = false;
this.xrTableCell13.StylePriority.UseTextAlignment = false;
this.xrTableCell13.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.xrTableCell13.Weight = 0.53122488360866615D;
//
// xrTableRow5
//
this.xrTableRow5.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell4,
this.xrTableCell5});
this.xrTableRow5.Name = "xrTableRow5";
this.xrTableRow5.Weight = 1D;
//
// xrTableCell4
//
this.xrTableCell4.BackColor = System.Drawing.Color.Transparent;
this.xrTableCell4.BorderColor = System.Drawing.Color.Black;
this.xrTableCell4.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell4.BorderWidth = 1F;
this.xrTableCell4.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold);
this.xrTableCell4.Name = "xrTableCell4";
this.xrTableCell4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
this.xrTableCell4.StylePriority.UseBackColor = false;
this.xrTableCell4.StylePriority.UseBorderColor = false;
this.xrTableCell4.StylePriority.UseBorders = false;
this.xrTableCell4.StylePriority.UseBorderWidth = false;
this.xrTableCell4.StylePriority.UseFont = false;
this.xrTableCell4.StylePriority.UsePadding = false;
this.xrTableCell4.StylePriority.UseTextAlignment = false;
this.xrTableCell4.Text = "Kundennummer";
this.xrTableCell4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell4.Weight = 0.53122486267026214D;
//
// xrTableCell5
//
this.xrTableCell5.BackColor = System.Drawing.Color.Transparent;
this.xrTableCell5.BorderColor = System.Drawing.Color.Black;
this.xrTableCell5.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell5.BorderWidth = 1F;
this.xrTableCell5.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold);
this.xrTableCell5.Name = "xrTableCell5";
this.xrTableCell5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
this.xrTableCell5.StylePriority.UseBackColor = false;
this.xrTableCell5.StylePriority.UseBorderColor = false;
this.xrTableCell5.StylePriority.UseBorders = false;
this.xrTableCell5.StylePriority.UseBorderWidth = false;
this.xrTableCell5.StylePriority.UseFont = false;
this.xrTableCell5.StylePriority.UsePadding = false;
this.xrTableCell5.StylePriority.UseTextAlignment = false;
this.xrTableCell5.Text = "8002669561";
this.xrTableCell5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.xrTableCell5.Weight = 0.53122488360866615D;
//
// xrLabel7
//
this.xrLabel7.Borders = DevExpress.XtraPrinting.BorderSide.Top;
this.xrLabel7.Font = new DevExpress.Drawing.DXFont("Verdana", 9F);
this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(377.2017F, 0F);
this.xrLabel7.Multiline = true;
this.xrLabel7.Name = "xrLabel7";
this.xrLabel7.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel7.SizeF = new System.Drawing.SizeF(294.2158F, 66.70831F);
this.xrLabel7.StylePriority.UseBorders = false;
this.xrLabel7.StylePriority.UseFont = false;
this.xrLabel7.Text = "Bankverbindung:\r\nBank für Kirche und Diakonie - KD-Bank\r\nIBAN: DE33 3506 0190 108" +
"8 4070 20\r\nBIC: GENODED1DKD ";
//
// xrLabel11
//
this.xrLabel11.Borders = DevExpress.XtraPrinting.BorderSide.Top;
this.xrLabel11.Font = new DevExpress.Drawing.DXFont("Verdana", 9F);
this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.xrLabel11.Multiline = true;
this.xrLabel11.Name = "xrLabel11";
this.xrLabel11.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel11.SizeF = new System.Drawing.SizeF(377.2017F, 66.70831F);
this.xrLabel11.StylePriority.UseBorders = false;
this.xrLabel11.StylePriority.UseFont = false;
this.xrLabel11.Text = "Steuernummer: 101/5765/0203";
//
// bindingSource1
//
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.InvoiceCustomerRO);
//
// InvoiceCustomerReport
//
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
this.Detail,
this.ReportHeader,
this.ReportFooter,
this.topMarginBand1,
this.bottomMarginBand1,
this.DetailReport});
this.DataSource = this.bindingSource1;
this.ExportOptions.PrintPreview.DefaultFileName = "Spitzabrechnung";
this.FormattingRuleSheet.AddRange(new DevExpress.XtraReports.UI.FormattingRule[] {
this.ruleRateFactorNull});
this.Margins = new DevExpress.Drawing.DXMargins(75F, 75F, 159.5F, 93.29147F);
this.PageHeight = 1169;
this.PageWidth = 827;
this.PaperKind = DevExpress.Drawing.Printing.DXPaperKind.A4;
this.Version = "23.2";
xrWatermark1.Id = "Watermark1";
this.Watermarks.Add(xrWatermark1);
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable4)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrRichText5)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrRichText6)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
}
#endregion
private DevExpress.XtraReports.UI.DetailBand Detail;
private System.Windows.Forms.BindingSource bindingSource1;
private DevExpress.XtraReports.UI.ReportHeaderBand ReportHeader;
private DevExpress.XtraReports.UI.XRLabel xrLabel6;
private DevExpress.XtraReports.UI.XRLabel lblAnrede;
private DevExpress.XtraReports.UI.XRLabel xrLabel4;
private DevExpress.XtraReports.UI.XRLabel xrLabel3;
private DevExpress.XtraReports.UI.XRLabel xrLabel2;
private DevExpress.XtraReports.UI.ReportFooterBand ReportFooter;
private DevExpress.XtraReports.UI.XRLabel xrLabel12;
private DevExpress.XtraReports.UI.XRLabel xrLabel10;
private DevExpress.XtraReports.UI.FormattingRule ruleRateFactorNull;
private DevExpress.XtraReports.UI.TopMarginBand topMarginBand1;
private DevExpress.XtraReports.UI.BottomMarginBand bottomMarginBand1;
private DevExpress.XtraReports.UI.XRTable xrTable1;
private DevExpress.XtraReports.UI.XRTableRow xrTableRow9;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell6;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell7;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell9;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell10;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell12;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell14;
private DevExpress.XtraReports.UI.XRTable xrTable3;
private DevExpress.XtraReports.UI.XRTableRow xrTableRow10;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell15;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell16;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell17;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell18;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell19;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell20;
private DevExpress.XtraReports.UI.XRTable xrTable4;
private DevExpress.XtraReports.UI.XRTableRow xrTableRow11;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell23;
private DevExpress.XtraReports.UI.DetailReportBand DetailReport;
private DevExpress.XtraReports.UI.DetailBand Detail1;
private DevExpress.XtraReports.UI.XRLabel lblAddress;
private DevExpress.XtraReports.UI.XRLabel xrLabel5;
private DevExpress.XtraReports.UI.XRPictureBox xrPictureBox1;
private DevExpress.XtraReports.UI.XRRichText xrRichText5;
private DevExpress.XtraReports.UI.XRRichText xrRichText6;
private DevExpress.XtraReports.UI.XRLabel xrLabel9;
private DevExpress.XtraReports.UI.XRTable xrTable2;
private DevExpress.XtraReports.UI.XRTableRow xrTableRow4;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell1;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell2;
private DevExpress.XtraReports.UI.XRTableRow xrTableRow3;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell3;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell13;
private DevExpress.XtraReports.UI.XRTableRow xrTableRow5;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell4;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell5;
private DevExpress.XtraReports.UI.XRLabel xrLabel11;
private DevExpress.XtraReports.UI.XRLabel xrLabel7;
}
}

View File

@@ -0,0 +1,52 @@
using System;
using System.Text;
using BeWo.Report;
using BeWo.Report.ReportObjects;
namespace DiakonischesWerkDinslakenBeWo
{
public partial class InvoiceCustomerReport : DevExpress.XtraReports.UI.XtraReport, IBeWoReport<InvoiceCustomerRO>
{
public InvoiceCustomerReport()
{
InitializeComponent();
}
public void SetReportDataSource(InvoiceCustomerRO pRO)
{
StringBuilder sb = new StringBuilder();
if (!String.IsNullOrEmpty(pRO.RecipientOrganisation) && !String.IsNullOrEmpty(pRO.RecipientOrganisation.Trim()))
{
sb.AppendLine(pRO.RecipientOrganisation);
}
if (!String.IsNullOrEmpty(pRO.RecipientDivision) && !String.IsNullOrEmpty(pRO.RecipientDivision.Trim()))
{
sb.AppendLine(pRO.RecipientDivision);
}
if ((!String.IsNullOrEmpty(pRO.RecipientFirstName) && !String.IsNullOrEmpty(pRO.RecipientFirstName.Trim()))
|| (!String.IsNullOrEmpty(pRO.RecipientLastName) && !String.IsNullOrEmpty(pRO.RecipientLastName.Trim())))
{
sb.AppendLine(String.Format("{0} {1}", pRO.RecipientFirstName, pRO.RecipientLastName).Trim());
}
if (!String.IsNullOrEmpty(pRO.RecipientStreet) && !String.IsNullOrEmpty(pRO.RecipientStreet.Trim()))
{
sb.AppendLine(pRO.RecipientStreet);
}
if (!String.IsNullOrEmpty(pRO.RecipientPostCode) && !String.IsNullOrEmpty(pRO.RecipientPostCode.Trim()))
{
sb.Append(pRO.RecipientPostCode);
sb.Append(" ");
}
if (!String.IsNullOrEmpty(pRO.RecipientTown) && !String.IsNullOrEmpty(pRO.RecipientTown.Trim()))
{
sb.Append(pRO.RecipientTown);
}
lblAddress.Text = sb.ToString();
if (pRO.RecipientSalutation == "Sehr geehrte Damen und Herren,")
pRO.RecipientSalutation = "Guten Tag,";
this.bindingSource1.DataSource = pRO;
}
}
}

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@@ -29,11 +29,12 @@ namespace DiakonischesWerkDinslakenBeWo
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
DevExpress.XtraReports.UI.XRSummary xrSummary1 = new DevExpress.XtraReports.UI.XRSummary();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Spitzabrechnung));
DevExpress.XtraReports.UI.XRSummary xrSummary1 = new DevExpress.XtraReports.UI.XRSummary();
DevExpress.XtraReports.UI.XRWatermark xrWatermark1 = new DevExpress.XtraReports.UI.XRWatermark();
this.Detail = new DevExpress.XtraReports.UI.DetailBand();
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
this.xrPictureBox1 = new DevExpress.XtraReports.UI.XRPictureBox();
this.xrLabel45 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel44 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel43 = new DevExpress.XtraReports.UI.XRLabel();
@@ -90,6 +91,7 @@ namespace DiakonischesWerkDinslakenBeWo
this.xrTableRow10 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell();
this.GroupHeader2 = new DevExpress.XtraReports.UI.GroupHeaderBand();
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
this.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand();
this.xrTable1 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow();
@@ -114,12 +116,10 @@ namespace DiakonischesWerkDinslakenBeWo
this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel();
this.AnspruchMinusEigenbeteiligung = new DevExpress.XtraReports.UI.CalculatedField();
this.xrPictureBox1 = new DevExpress.XtraReports.UI.XRPictureBox();
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
((System.ComponentModel.ISupportInitialize)(this.xrTable5)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable6)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
//
// Detail
@@ -148,6 +148,15 @@ namespace DiakonischesWerkDinslakenBeWo
this.ReportHeader.Name = "ReportHeader";
this.ReportHeader.StylePriority.UseFont = false;
//
// xrPictureBox1
//
this.xrPictureBox1.ImageAlignment = DevExpress.XtraPrinting.ImageAlignment.MiddleCenter;
this.xrPictureBox1.ImageSource = new DevExpress.XtraPrinting.Drawing.ImageSource("img", resources.GetString("xrPictureBox1.ImageSource"));
this.xrPictureBox1.LocationFloat = new DevExpress.Utils.PointFloat(573.777F, 0F);
this.xrPictureBox1.Name = "xrPictureBox1";
this.xrPictureBox1.SizeF = new System.Drawing.SizeF(156.723F, 92.25008F);
this.xrPictureBox1.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage;
//
// xrLabel45
//
this.xrLabel45.BackColor = System.Drawing.Color.Transparent;
@@ -249,7 +258,7 @@ namespace DiakonischesWerkDinslakenBeWo
this.xrLabel13.SizeF = new System.Drawing.SizeF(222.2083F, 18.83335F);
this.xrLabel13.StylePriority.UseBackColor = false;
this.xrLabel13.StylePriority.UseFont = false;
this.xrLabel13.Text = "Ambulant Betreutes Wohnen";
this.xrLabel13.Text = "Ambulant Begleitetes Wohnen";
this.xrLabel13.WordWrap = false;
//
// xrLabel9
@@ -980,6 +989,10 @@ namespace DiakonischesWerkDinslakenBeWo
this.GroupHeader2.HeightF = 0F;
this.GroupHeader2.Name = "GroupHeader2";
//
// bindingSource1
//
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.Settlement2RO);
//
// GroupFooter1
//
this.GroupFooter1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
@@ -1343,19 +1356,6 @@ namespace DiakonischesWerkDinslakenBeWo
this.AnspruchMinusEigenbeteiligung.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal;
this.AnspruchMinusEigenbeteiligung.Name = "AnspruchMinusEigenbeteiligung";
//
// xrPictureBox1
//
this.xrPictureBox1.ImageAlignment = DevExpress.XtraPrinting.ImageAlignment.MiddleCenter;
this.xrPictureBox1.ImageSource = new DevExpress.XtraPrinting.Drawing.ImageSource("img", resources.GetString("xrPictureBox1.ImageSource"));
this.xrPictureBox1.LocationFloat = new DevExpress.Utils.PointFloat(573.777F, 0F);
this.xrPictureBox1.Name = "xrPictureBox1";
this.xrPictureBox1.SizeF = new System.Drawing.SizeF(156.723F, 92.25008F);
this.xrPictureBox1.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage;
//
// bindingSource1
//
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.Settlement2RO);
//
// Spitzabrechnung
//
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
@@ -1382,8 +1382,8 @@ namespace DiakonischesWerkDinslakenBeWo
this.Watermarks.Add(xrWatermark1);
((System.ComponentModel.ISupportInitialize)(this.xrTable5)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable6)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
}

View File

@@ -111,7 +111,7 @@ namespace HausDuelken
public override bool CorrectOverlappingTime(ServiceRecord newRecord)
{
if (newRecord.ServiceDescription != null && newRecord.ServiceDescription.ServiceCategory != null)
if (newRecord.ServiceDescription != null && newRecord.ServiceDescription.ServiceCategory != null && newRecord.ServiceDescription.ServiceCategory.Abbreviation != null)
{
if (newRecord.ServiceDescription.ServiceCategory.Abbreviation.ToLower() == "lt24")
{

View File

@@ -88,20 +88,29 @@ namespace LebenshilfeStadeMID
this.xrTable3 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow8 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell16 = new DevExpress.XtraReports.UI.XRTableCell();
this.tcSumVerfuegungszeit = new DevExpress.XtraReports.UI.XRTableCell();
this.tcSumZusatzleistung1 = new DevExpress.XtraReports.UI.XRTableCell();
this.tcSumZusatzleistung2 = new DevExpress.XtraReports.UI.XRTableCell();
this.tcSumSchuelerKrank = new DevExpress.XtraReports.UI.XRTableCell();
this.lblGesamtzeit = new DevExpress.XtraReports.UI.XRTableCell();
this.tcSumVerfuegungszeitMin = new DevExpress.XtraReports.UI.XRTableCell();
this.tcSumZusatzleistung1Min = new DevExpress.XtraReports.UI.XRTableCell();
this.tcSumZusatzleistung2Min = new DevExpress.XtraReports.UI.XRTableCell();
this.tcSumSchuelerKrankMin = new DevExpress.XtraReports.UI.XRTableCell();
this.lblGesamtzeitMin = new DevExpress.XtraReports.UI.XRTableCell();
this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel();
this.fieldKontaktArt = new DevExpress.XtraReports.UI.CalculatedField();
this.Hours = new DevExpress.XtraReports.UI.CalculatedField();
this.xrTable2 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow3 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell18 = new DevExpress.XtraReports.UI.XRTableCell();
this.tcSumVerfuegungszeitStd = new DevExpress.XtraReports.UI.XRTableCell();
this.tcSumZusatzleistung1Std = new DevExpress.XtraReports.UI.XRTableCell();
this.tcSumZusatzleistung2Std = new DevExpress.XtraReports.UI.XRTableCell();
this.tcSumSchuelerKrankStd = new DevExpress.XtraReports.UI.XRTableCell();
this.lblGesamtzeitStd = new DevExpress.XtraReports.UI.XRTableCell();
((System.ComponentModel.ISupportInitialize)(this.xrTableDetail)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
//
// Detail
@@ -689,6 +698,7 @@ namespace LebenshilfeStadeMID
// GroupFooter1
//
this.GroupFooter1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrTable2,
this.xrPictureBox1,
this.xrTable3,
this.xrLabel1,
@@ -701,7 +711,7 @@ namespace LebenshilfeStadeMID
// xrPictureBox1
//
this.xrPictureBox1.ImageSource = new DevExpress.XtraPrinting.Drawing.ImageSource("img", resources.GetString("xrPictureBox1.ImageSource"));
this.xrPictureBox1.LocationFloat = new DevExpress.Utils.PointFloat(401.3133F, 34.6165F);
this.xrPictureBox1.LocationFloat = new DevExpress.Utils.PointFloat(401.3133F, 60.65817F);
this.xrPictureBox1.Name = "xrPictureBox1";
this.xrPictureBox1.SizeF = new System.Drawing.SizeF(211.5F, 25F);
this.xrPictureBox1.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage;
@@ -725,11 +735,11 @@ namespace LebenshilfeStadeMID
//
this.xrTableRow8.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell16,
this.tcSumVerfuegungszeit,
this.tcSumZusatzleistung1,
this.tcSumZusatzleistung2,
this.tcSumSchuelerKrank,
this.lblGesamtzeit});
this.tcSumVerfuegungszeitMin,
this.tcSumZusatzleistung1Min,
this.tcSumZusatzleistung2Min,
this.tcSumSchuelerKrankMin,
this.lblGesamtzeitMin});
this.xrTableRow8.Name = "xrTableRow8";
this.xrTableRow8.Weight = 0.53333333333333344D;
//
@@ -741,66 +751,66 @@ namespace LebenshilfeStadeMID
this.xrTableCell16.StylePriority.UseFont = false;
this.xrTableCell16.StylePriority.UsePadding = false;
this.xrTableCell16.StylePriority.UseTextAlignment = false;
this.xrTableCell16.Text = "Summen";
this.xrTableCell16.Text = "Summen in Minuten";
this.xrTableCell16.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell16.Weight = 0.35582241246611113D;
//
// tcSumVerfuegungszeit
// tcSumVerfuegungszeitMin
//
this.tcSumVerfuegungszeit.Font = new DevExpress.Drawing.DXFont("Calibri", 12F);
this.tcSumVerfuegungszeit.Name = "tcSumVerfuegungszeit";
this.tcSumVerfuegungszeit.StylePriority.UseFont = false;
this.tcSumVerfuegungszeit.StylePriority.UseTextAlignment = false;
this.tcSumVerfuegungszeit.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.tcSumVerfuegungszeit.Weight = 0.21657708927019603D;
this.tcSumVerfuegungszeitMin.Font = new DevExpress.Drawing.DXFont("Calibri", 12F);
this.tcSumVerfuegungszeitMin.Name = "tcSumVerfuegungszeitMin";
this.tcSumVerfuegungszeitMin.StylePriority.UseFont = false;
this.tcSumVerfuegungszeitMin.StylePriority.UseTextAlignment = false;
this.tcSumVerfuegungszeitMin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.tcSumVerfuegungszeitMin.Weight = 0.21657708927019603D;
//
// tcSumZusatzleistung1
// tcSumZusatzleistung1Min
//
this.tcSumZusatzleistung1.BorderColor = System.Drawing.Color.Transparent;
this.tcSumZusatzleistung1.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.tcSumZusatzleistung1.Font = new DevExpress.Drawing.DXFont("Calibri", 12F);
this.tcSumZusatzleistung1.Multiline = true;
this.tcSumZusatzleistung1.Name = "tcSumZusatzleistung1";
this.tcSumZusatzleistung1.StylePriority.UseBorderColor = false;
this.tcSumZusatzleistung1.StylePriority.UseBorders = false;
this.tcSumZusatzleistung1.StylePriority.UseFont = false;
this.tcSumZusatzleistung1.StylePriority.UseTextAlignment = false;
this.tcSumZusatzleistung1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.tcSumZusatzleistung1.Weight = 0.27659229459618939D;
this.tcSumZusatzleistung1Min.BorderColor = System.Drawing.Color.Transparent;
this.tcSumZusatzleistung1Min.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.tcSumZusatzleistung1Min.Font = new DevExpress.Drawing.DXFont("Calibri", 12F);
this.tcSumZusatzleistung1Min.Multiline = true;
this.tcSumZusatzleistung1Min.Name = "tcSumZusatzleistung1Min";
this.tcSumZusatzleistung1Min.StylePriority.UseBorderColor = false;
this.tcSumZusatzleistung1Min.StylePriority.UseBorders = false;
this.tcSumZusatzleistung1Min.StylePriority.UseFont = false;
this.tcSumZusatzleistung1Min.StylePriority.UseTextAlignment = false;
this.tcSumZusatzleistung1Min.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.tcSumZusatzleistung1Min.Weight = 0.27659229459618939D;
//
// tcSumZusatzleistung2
// tcSumZusatzleistung2Min
//
this.tcSumZusatzleistung2.BorderColor = System.Drawing.Color.Transparent;
this.tcSumZusatzleistung2.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.tcSumZusatzleistung2.Font = new DevExpress.Drawing.DXFont("Calibri", 12F);
this.tcSumZusatzleistung2.Multiline = true;
this.tcSumZusatzleistung2.Name = "tcSumZusatzleistung2";
this.tcSumZusatzleistung2.StylePriority.UseBorderColor = false;
this.tcSumZusatzleistung2.StylePriority.UseBorders = false;
this.tcSumZusatzleistung2.StylePriority.UseFont = false;
this.tcSumZusatzleistung2.StylePriority.UseTextAlignment = false;
this.tcSumZusatzleistung2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.tcSumZusatzleistung2.Weight = 0.27629456681042475D;
this.tcSumZusatzleistung2Min.BorderColor = System.Drawing.Color.Transparent;
this.tcSumZusatzleistung2Min.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.tcSumZusatzleistung2Min.Font = new DevExpress.Drawing.DXFont("Calibri", 12F);
this.tcSumZusatzleistung2Min.Multiline = true;
this.tcSumZusatzleistung2Min.Name = "tcSumZusatzleistung2Min";
this.tcSumZusatzleistung2Min.StylePriority.UseBorderColor = false;
this.tcSumZusatzleistung2Min.StylePriority.UseBorders = false;
this.tcSumZusatzleistung2Min.StylePriority.UseFont = false;
this.tcSumZusatzleistung2Min.StylePriority.UseTextAlignment = false;
this.tcSumZusatzleistung2Min.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.tcSumZusatzleistung2Min.Weight = 0.27629456681042475D;
//
// tcSumSchuelerKrank
// tcSumSchuelerKrankMin
//
this.tcSumSchuelerKrank.Font = new DevExpress.Drawing.DXFont("Calibri", 12F);
this.tcSumSchuelerKrank.Name = "tcSumSchuelerKrank";
this.tcSumSchuelerKrank.StylePriority.UseFont = false;
this.tcSumSchuelerKrank.StylePriority.UseTextAlignment = false;
this.tcSumSchuelerKrank.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.tcSumSchuelerKrank.Weight = 0.15042691376707346D;
this.tcSumSchuelerKrankMin.Font = new DevExpress.Drawing.DXFont("Calibri", 12F);
this.tcSumSchuelerKrankMin.Name = "tcSumSchuelerKrankMin";
this.tcSumSchuelerKrankMin.StylePriority.UseFont = false;
this.tcSumSchuelerKrankMin.StylePriority.UseTextAlignment = false;
this.tcSumSchuelerKrankMin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.tcSumSchuelerKrankMin.Weight = 0.15042691376707346D;
//
// lblGesamtzeit
// lblGesamtzeitMin
//
this.lblGesamtzeit.Name = "lblGesamtzeit";
this.lblGesamtzeit.StylePriority.UseTextAlignment = false;
this.lblGesamtzeit.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.lblGesamtzeit.Weight = 0.19556364238797414D;
this.lblGesamtzeitMin.Name = "lblGesamtzeitMin";
this.lblGesamtzeitMin.StylePriority.UseTextAlignment = false;
this.lblGesamtzeitMin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.lblGesamtzeitMin.Weight = 0.19556364238797414D;
//
// xrLabel1
//
this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(274.3658F, 39.61652F);
this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(274.3658F, 65.65819F);
this.xrLabel1.Name = "xrLabel1";
this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel1.SizeF = new System.Drawing.SizeF(111.9999F, 20F);
@@ -813,7 +823,7 @@ namespace LebenshilfeStadeMID
//
this.xrLabel8.Borders = DevExpress.XtraPrinting.BorderSide.Top;
this.xrLabel8.Font = new DevExpress.Drawing.DXFont("Calibri", 10F);
this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(386.3657F, 59.6165F);
this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(386.3657F, 85.65817F);
this.xrLabel8.Name = "xrLabel8";
this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel8.SizeF = new System.Drawing.SizeF(348.6342F, 19.99999F);
@@ -825,7 +835,7 @@ namespace LebenshilfeStadeMID
//
// xrLabel10
//
this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(0F, 93.97033F);
this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(0F, 120.012F);
this.xrLabel10.Name = "xrLabel10";
this.xrLabel10.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel10.SizeF = new System.Drawing.SizeF(734.9999F, 20F);
@@ -848,6 +858,98 @@ namespace LebenshilfeStadeMID
this.Hours.Expression = "[Minutes] / 60";
this.Hours.Name = "Hours";
//
// xrTable2
//
this.xrTable2.Font = new DevExpress.Drawing.DXFont("Verdana", 10F, DevExpress.Drawing.DXFontStyle.Bold, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 20F);
this.xrTable2.Name = "xrTable2";
this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow3});
this.xrTable2.SizeF = new System.Drawing.SizeF(758F, 20F);
this.xrTable2.StylePriority.UseBorders = false;
this.xrTable2.StylePriority.UseFont = false;
this.xrTable2.StylePriority.UsePadding = false;
this.xrTable2.StylePriority.UseTextAlignment = false;
this.xrTable2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
//
// xrTableRow3
//
this.xrTableRow3.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell18,
this.tcSumVerfuegungszeitStd,
this.tcSumZusatzleistung1Std,
this.tcSumZusatzleistung2Std,
this.tcSumSchuelerKrankStd,
this.lblGesamtzeitStd});
this.xrTableRow3.Name = "xrTableRow3";
this.xrTableRow3.Weight = 0.53333333333333344D;
//
// xrTableCell18
//
this.xrTableCell18.Font = new DevExpress.Drawing.DXFont("Calibri", 12F);
this.xrTableCell18.Name = "xrTableCell18";
this.xrTableCell18.Padding = new DevExpress.XtraPrinting.PaddingInfo(10, 0, 0, 0, 100F);
this.xrTableCell18.StylePriority.UseFont = false;
this.xrTableCell18.StylePriority.UsePadding = false;
this.xrTableCell18.StylePriority.UseTextAlignment = false;
this.xrTableCell18.Text = "Summen in Stunden";
this.xrTableCell18.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell18.Weight = 0.35582241246611113D;
//
// tcSumVerfuegungszeitStd
//
this.tcSumVerfuegungszeitStd.Font = new DevExpress.Drawing.DXFont("Calibri", 12F);
this.tcSumVerfuegungszeitStd.Name = "tcSumVerfuegungszeitStd";
this.tcSumVerfuegungszeitStd.StylePriority.UseFont = false;
this.tcSumVerfuegungszeitStd.StylePriority.UseTextAlignment = false;
this.tcSumVerfuegungszeitStd.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.tcSumVerfuegungszeitStd.Weight = 0.21657708927019603D;
//
// tcSumZusatzleistung1Std
//
this.tcSumZusatzleistung1Std.BorderColor = System.Drawing.Color.Transparent;
this.tcSumZusatzleistung1Std.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.tcSumZusatzleistung1Std.Font = new DevExpress.Drawing.DXFont("Calibri", 12F);
this.tcSumZusatzleistung1Std.Multiline = true;
this.tcSumZusatzleistung1Std.Name = "tcSumZusatzleistung1Std";
this.tcSumZusatzleistung1Std.StylePriority.UseBorderColor = false;
this.tcSumZusatzleistung1Std.StylePriority.UseBorders = false;
this.tcSumZusatzleistung1Std.StylePriority.UseFont = false;
this.tcSumZusatzleistung1Std.StylePriority.UseTextAlignment = false;
this.tcSumZusatzleistung1Std.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.tcSumZusatzleistung1Std.Weight = 0.27659229459618939D;
//
// tcSumZusatzleistung2Std
//
this.tcSumZusatzleistung2Std.BorderColor = System.Drawing.Color.Transparent;
this.tcSumZusatzleistung2Std.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.tcSumZusatzleistung2Std.Font = new DevExpress.Drawing.DXFont("Calibri", 12F);
this.tcSumZusatzleistung2Std.Multiline = true;
this.tcSumZusatzleistung2Std.Name = "tcSumZusatzleistung2Std";
this.tcSumZusatzleistung2Std.StylePriority.UseBorderColor = false;
this.tcSumZusatzleistung2Std.StylePriority.UseBorders = false;
this.tcSumZusatzleistung2Std.StylePriority.UseFont = false;
this.tcSumZusatzleistung2Std.StylePriority.UseTextAlignment = false;
this.tcSumZusatzleistung2Std.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.tcSumZusatzleistung2Std.Weight = 0.27629456681042475D;
//
// tcSumSchuelerKrankStd
//
this.tcSumSchuelerKrankStd.Font = new DevExpress.Drawing.DXFont("Calibri", 12F);
this.tcSumSchuelerKrankStd.Name = "tcSumSchuelerKrankStd";
this.tcSumSchuelerKrankStd.StylePriority.UseFont = false;
this.tcSumSchuelerKrankStd.StylePriority.UseTextAlignment = false;
this.tcSumSchuelerKrankStd.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.tcSumSchuelerKrankStd.Weight = 0.15042691376707346D;
//
// lblGesamtzeitStd
//
this.lblGesamtzeitStd.Name = "lblGesamtzeitStd";
this.lblGesamtzeitStd.StylePriority.UseTextAlignment = false;
this.lblGesamtzeitStd.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.lblGesamtzeitStd.Weight = 0.19556364238797414D;
//
// Quittierungsbeleg
//
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
@@ -878,6 +980,7 @@ namespace LebenshilfeStadeMID
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
}
@@ -937,10 +1040,10 @@ namespace LebenshilfeStadeMID
private DevExpress.XtraReports.UI.XRTable xrTable3;
private DevExpress.XtraReports.UI.XRTableRow xrTableRow8;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell16;
private DevExpress.XtraReports.UI.XRTableCell tcSumVerfuegungszeit;
private DevExpress.XtraReports.UI.XRTableCell tcSumZusatzleistung1;
private DevExpress.XtraReports.UI.XRTableCell tcSumSchuelerKrank;
private DevExpress.XtraReports.UI.XRTableCell lblGesamtzeit;
private DevExpress.XtraReports.UI.XRTableCell tcSumVerfuegungszeitMin;
private DevExpress.XtraReports.UI.XRTableCell tcSumZusatzleistung1Min;
private DevExpress.XtraReports.UI.XRTableCell tcSumSchuelerKrankMin;
private DevExpress.XtraReports.UI.XRTableCell lblGesamtzeitMin;
private DevExpress.XtraReports.UI.XRLabel xrLabel1;
private DevExpress.XtraReports.UI.XRLabel xrLabel8;
private DevExpress.XtraReports.UI.XRLabel xrLabel10;
@@ -949,6 +1052,14 @@ namespace LebenshilfeStadeMID
private DevExpress.XtraReports.UI.XRTableCell xrTableCell17;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell7;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell15;
private DevExpress.XtraReports.UI.XRTableCell tcSumZusatzleistung2;
private DevExpress.XtraReports.UI.XRTableCell tcSumZusatzleistung2Min;
private DevExpress.XtraReports.UI.XRTable xrTable2;
private DevExpress.XtraReports.UI.XRTableRow xrTableRow3;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell18;
private DevExpress.XtraReports.UI.XRTableCell tcSumVerfuegungszeitStd;
private DevExpress.XtraReports.UI.XRTableCell tcSumZusatzleistung1Std;
private DevExpress.XtraReports.UI.XRTableCell tcSumZusatzleistung2Std;
private DevExpress.XtraReports.UI.XRTableCell tcSumSchuelerKrankStd;
private DevExpress.XtraReports.UI.XRTableCell lblGesamtzeitStd;
}
}

View File

@@ -95,8 +95,10 @@ namespace LebenshilfeStadeMID
sd.Notice5 = "Klassenfahrt";
else
{
sd.Notice5 = string.Format("{0:0.00}", Math.Round(sd.Minutes / 60, 2));
gesamteZeit += Math.Round(sd.Minutes / 60, 2);
//sd.Notice5 = string.Format("{0:0.00}", Math.Round(sd.Minutes / 60, 2));
//gesamteZeit += Math.Round(sd.Minutes / 60, 2);
sd.Notice5 = string.Format("{0}", sd.Minutes);
gesamteZeit += sd.Minutes;
}
if (sd.IsBillable || sd.ServiceDescription.ToLower().Contains("fehlkontakt") || sd.ServiceCategory.ToLower().Contains("fehlkontakt"))
@@ -107,10 +109,15 @@ namespace LebenshilfeStadeMID
pRO.Services = servicesBillable;
}
tcSumVerfuegungszeit.Text = string.Format("{0:0.00}", summeVerfuegungszeit / 60);
tcSumZusatzleistung1.Text = string.Format("{0:0.00}", summeZusatzleistung1 / 60);
tcSumZusatzleistung2.Text = string.Format("{0:0.00}", summeZusatzleistung2 / 60);
lblGesamtzeit.Text = string.Format("{0:0.00}", gesamteZeit);
tcSumVerfuegungszeitMin.Text = string.Format("{0:0}", summeVerfuegungszeit);
tcSumZusatzleistung1Min.Text = string.Format("{0:0}", summeZusatzleistung1);
tcSumZusatzleistung2Min.Text = string.Format("{0:0}", summeZusatzleistung2);
lblGesamtzeitMin.Text = string.Format("{0:0}", gesamteZeit);
tcSumVerfuegungszeitStd.Text = string.Format("{0:0.00}", summeVerfuegungszeit / 60);
tcSumZusatzleistung1Std.Text = string.Format("{0:0.00}", summeZusatzleistung1 / 60);
tcSumZusatzleistung2Std.Text = string.Format("{0:0.00}", summeZusatzleistung2 / 60);
lblGesamtzeitStd.Text = string.Format("{0:0.00}", gesamteZeit / 60);
bindingSource1.DataSource = pRO;
}

View File

@@ -73,13 +73,13 @@ namespace BeWo.Report.DefaultReports
this.xrTableCell46 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell47 = new DevExpress.XtraReports.UI.XRTableCell();
this.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand();
this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel();
this.lblMobilnummer = new DevExpress.XtraReports.UI.XRLabel();
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel();
this.lblMobilnummer = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel();
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
((System.ComponentModel.ISupportInitialize)(this.xrTable4)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable5)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable6)).BeginInit();
@@ -650,6 +650,58 @@ namespace BeWo.Report.DefaultReports
this.GroupFooter1.Name = "GroupFooter1";
this.GroupFooter1.StylePriority.UseFont = false;
//
// xrLabel11
//
this.xrLabel11.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "SenderContactPersonMail")});
this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(0F, 238.3334F);
this.xrLabel11.Multiline = true;
this.xrLabel11.Name = "xrLabel11";
this.xrLabel11.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel11.SizeF = new System.Drawing.SizeF(403.12F, 17F);
this.xrLabel11.Text = "xrLabel5";
//
// lblMobilnummer
//
this.lblMobilnummer.LocationFloat = new DevExpress.Utils.PointFloat(0F, 221.3334F);
this.lblMobilnummer.Multiline = true;
this.lblMobilnummer.Name = "lblMobilnummer";
this.lblMobilnummer.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.lblMobilnummer.SizeF = new System.Drawing.SizeF(403.12F, 17F);
//
// xrLabel7
//
this.xrLabel7.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "SenderContactPersonPhone")});
this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(0F, 204.3334F);
this.xrLabel7.Multiline = true;
this.xrLabel7.Name = "xrLabel7";
this.xrLabel7.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel7.SizeF = new System.Drawing.SizeF(403.12F, 17F);
this.xrLabel7.Text = "xrLabel5";
//
// xrLabel6
//
this.xrLabel6.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "SenderContactPersonDivision")});
this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(0F, 177.25F);
this.xrLabel6.Multiline = true;
this.xrLabel6.Name = "xrLabel6";
this.xrLabel6.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel6.SizeF = new System.Drawing.SizeF(403.12F, 17F);
this.xrLabel6.Text = "xrLabel5";
//
// xrLabel5
//
this.xrLabel5.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "SenderContactPerson")});
this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(0F, 160.25F);
this.xrLabel5.Multiline = true;
this.xrLabel5.Name = "xrLabel5";
this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel5.SizeF = new System.Drawing.SizeF(403.12F, 17F);
this.xrLabel5.Text = "xrLabel5";
//
// xrLabel1
//
this.xrLabel1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
@@ -665,62 +717,10 @@ namespace BeWo.Report.DefaultReports
this.xrLabel1.Text = "xrLabel1";
this.xrLabel1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
//
// xrLabel5
//
this.xrLabel5.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "SenderContactPerson")});
this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(0F, 160.25F);
this.xrLabel5.Multiline = true;
this.xrLabel5.Name = "xrLabel5";
this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel5.SizeF = new System.Drawing.SizeF(403.12F, 17F);
this.xrLabel5.Text = "xrLabel5";
//
// xrLabel6
//
this.xrLabel6.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "SenderContactPersonDivision")});
this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(0F, 177.25F);
this.xrLabel6.Multiline = true;
this.xrLabel6.Name = "xrLabel6";
this.xrLabel6.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel6.SizeF = new System.Drawing.SizeF(403.12F, 17F);
this.xrLabel6.Text = "xrLabel5";
//
// xrLabel7
//
this.xrLabel7.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "SenderContactPersonPhone")});
this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(0F, 204.3334F);
this.xrLabel7.Multiline = true;
this.xrLabel7.Name = "xrLabel7";
this.xrLabel7.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel7.SizeF = new System.Drawing.SizeF(403.12F, 17F);
this.xrLabel7.Text = "xrLabel5";
//
// lblMobilnummer
//
this.lblMobilnummer.LocationFloat = new DevExpress.Utils.PointFloat(0F, 221.3334F);
this.lblMobilnummer.Multiline = true;
this.lblMobilnummer.Name = "lblMobilnummer";
this.lblMobilnummer.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.lblMobilnummer.SizeF = new System.Drawing.SizeF(403.12F, 17F);
//
// bindingSource1
//
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServiceInvoiceRO);
//
// xrLabel11
//
this.xrLabel11.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "SenderContactPersonMail")});
this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(0F, 238.3334F);
this.xrLabel11.Multiline = true;
this.xrLabel11.Name = "xrLabel11";
this.xrLabel11.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel11.SizeF = new System.Drawing.SizeF(403.12F, 17F);
this.xrLabel11.Text = "xrLabel5";
//
// ServiceInvoiceReport
//
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
@@ -735,7 +735,7 @@ namespace BeWo.Report.DefaultReports
this.Font = new DevExpress.Drawing.DXFont("Verdana", 10F);
this.FormattingRuleSheet.AddRange(new DevExpress.XtraReports.UI.FormattingRule[] {
this.ruleRateFactorNull});
this.Margins = new DevExpress.Drawing.DXMargins(75F, 75F, 204.375F, 50F);
this.Margins = new DevExpress.Drawing.DXMargins(93F, 52F, 204.375F, 50F);
this.PageHeight = 1169;
this.PageWidth = 827;
this.PaperKind = DevExpress.Drawing.Printing.DXPaperKind.A4;

View File

@@ -34,9 +34,12 @@ namespace BeWo.Report.DefaultReports
SetzeAdresse(pRO);
var mobilnummer = pRO.InvoiceBase.SenderContactInformations.FirstOrDefault(i => i.ContactType == BS.Shared.ContactType.business_MobilePhone);
if (mobilnummer != null)
lblMobilnummer.Text = "Mobil: " + mobilnummer.ContactValue;
if (pRO.InvoiceBase.SenderContactInformations != null)
{
var mobilnummer = pRO.InvoiceBase.SenderContactInformations.FirstOrDefault(i => i.ContactType == BS.Shared.ContactType.business_MobilePhone);
if (mobilnummer != null)
lblMobilnummer.Text = "Mobil: " + mobilnummer.ContactValue;
}
pRO.SenderContactPersonPhone = pRO.SenderContactPersonPhone.Replace("Tel.", "Telefon");

View File

@@ -32,7 +32,6 @@ namespace BeWo.Report.DefaultReports
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Spitzabrechnung));
DevExpress.XtraReports.UI.XRSummary xrSummary1 = new DevExpress.XtraReports.UI.XRSummary();
DevExpress.XtraReports.UI.XRWatermark xrWatermark1 = new DevExpress.XtraReports.UI.XRWatermark();
this.Detail = new DevExpress.XtraReports.UI.DetailBand();
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel();
@@ -92,7 +91,6 @@ namespace BeWo.Report.DefaultReports
this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow10 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell();
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
this.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand();
this.xrTable5 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow31 = new DevExpress.XtraReports.UI.XRTableRow();
@@ -111,12 +109,13 @@ namespace BeWo.Report.DefaultReports
this.xrTableRow37 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell59 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell60 = new DevExpress.XtraReports.UI.XRTableCell();
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable4)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable6)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable5)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
//
// Detail
@@ -739,10 +738,6 @@ namespace BeWo.Report.DefaultReports
this.xrTableCell7.StylePriority.UsePadding = false;
this.xrTableCell7.Weight = 3D;
//
// bindingSource1
//
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.Settlement2RO);
//
// GroupFooter1
//
this.GroupFooter1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
@@ -942,6 +937,10 @@ namespace BeWo.Report.DefaultReports
this.xrTableCell60.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
this.xrTableCell60.Weight = 0.16397432767427886D;
//
// bindingSource1
//
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.Settlement2RO);
//
// Spitzabrechnung
//
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
@@ -959,19 +958,17 @@ namespace BeWo.Report.DefaultReports
this.ExportOptions.PrintPreview.DefaultFileName = "Spitzabrechnung";
this.FormattingRuleSheet.AddRange(new DevExpress.XtraReports.UI.FormattingRule[] {
this.ruleRateFactorNull});
this.Margins = new DevExpress.Drawing.DXMargins(75F, 74F, 203.125F, 43F);
this.Margins = new DevExpress.Drawing.DXMargins(95F, 74F, 203.125F, 43F);
this.PageHeight = 1169;
this.PageWidth = 827;
this.PaperKind = DevExpress.Drawing.Printing.DXPaperKind.A4;
this.Version = "23.2";
xrWatermark1.Id = "Watermark1";
this.Watermarks.Add(xrWatermark1);
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable4)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable6)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable5)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
}

View File

@@ -54,16 +54,9 @@ namespace BeWo.Report.DefaultReports
lblAnrede.Text = "Guten Tag,";
}
if (pRO.InvoiceBaseOid.HasValue)
{
var invoiceBase = MapperFactory.InvoiceBaseDC_InvoiceBase.MapToNewDC(DAOFactory.GenericDAO.GetByID<InvoiceBase>(pRO.InvoiceBaseOid.Value));
var mobilnummer = invoiceBase.SenderContactInformations.FirstOrDefault(i => i.ContactType == BS.Shared.ContactType.business_MobilePhone);
if (mobilnummer != null)
lblMobilnummer.Text = "Mobil: " + mobilnummer.ContactValue;
}
pRO.SenderContactPersonFax = pRO.SenderContactPersonFax.Replace("Fax", "Mobil");
if (pRO.SenderContactPersonFax != null)
pRO.SenderContactPersonFax = pRO.SenderContactPersonFax.Replace("Fax", "Mobil");
if (pRO.SenderContactPersonPhone != null)
pRO.SenderContactPersonPhone = pRO.SenderContactPersonPhone.Replace("Tel.", "Telefon");
if (!pRO.SenderContactPerson.IsNullOrEmpty() && pRO.SenderContactPerson.Contains("Peters"))