diff --git a/ReportImp/HshNetzwerk/ServicesOverviewReport.Designer.cs b/ReportImp/HshNetzwerk/ServicesOverviewReport.Designer.cs index 28a96dc38..629ed832b 100644 --- a/ReportImp/HshNetzwerk/ServicesOverviewReport.Designer.cs +++ b/ReportImp/HshNetzwerk/ServicesOverviewReport.Designer.cs @@ -465,6 +465,7 @@ namespace HshNetzwerk this.xrTable2}); this.ReportFooter.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold); this.ReportFooter.HeightF = 140F; + this.ReportFooter.KeepTogether = true; this.ReportFooter.Name = "ReportFooter"; this.ReportFooter.PageBreak = DevExpress.XtraReports.UI.PageBreak.BeforeBandExceptFirstEntry; this.ReportFooter.StylePriority.UseFont = false; diff --git a/ReportImp/KetteReports/ServiceInvoiceReport.Designer.cs b/ReportImp/KetteReports/ServiceInvoiceReport.Designer.cs index ba863e860..885eee3ac 100644 --- a/ReportImp/KetteReports/ServiceInvoiceReport.Designer.cs +++ b/ReportImp/KetteReports/ServiceInvoiceReport.Designer.cs @@ -39,9 +39,9 @@ namespace KetteReports this.xrRichText1 = new DevExpress.XtraReports.UI.XRRichText(); this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel(); this.Page1 = new DevExpress.XtraReports.UI.GroupHeaderBand(); - this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel(); + this.lblKundennr = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel13 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrRichText2 = new DevExpress.XtraReports.UI.XRRichText(); + this.lblAbsender = new DevExpress.XtraReports.UI.XRRichText(); this.lblAdresse = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel(); @@ -82,12 +82,14 @@ namespace KetteReports this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel(); this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components); + this.lblAbsenderJA = new DevExpress.XtraReports.UI.XRRichText(); ((System.ComponentModel.ISupportInitialize)(this.xrRichText1)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.xrRichText2)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.lblAbsender)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTable4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTable5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTable6)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.lblAbsenderJA)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // Detail @@ -155,9 +157,10 @@ namespace KetteReports // Page1 // this.Page1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { - this.xrLabel7, + this.lblAbsenderJA, + this.lblKundennr, this.xrLabel13, - this.xrRichText2, + this.lblAbsender, this.lblAdresse, this.xrLabel4, this.xrLabel3, @@ -168,20 +171,20 @@ namespace KetteReports this.Page1.Name = "Page1"; this.Page1.StylePriority.UseFont = false; // - // xrLabel7 + // lblKundennr // - this.xrLabel7.BackColor = System.Drawing.Color.Transparent; - this.xrLabel7.CanShrink = true; - this.xrLabel7.Font = new System.Drawing.Font("Arial", 11F, System.Drawing.FontStyle.Bold); - this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(0F, 301.3541F); - 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(650F, 20F); - this.xrLabel7.StylePriority.UseBackColor = false; - this.xrLabel7.StylePriority.UseFont = false; - this.xrLabel7.Text = "Kundennummer: [DebitorNumber]"; - this.xrLabel7.WordWrap = false; + this.lblKundennr.BackColor = System.Drawing.Color.Transparent; + this.lblKundennr.CanShrink = true; + this.lblKundennr.Font = new System.Drawing.Font("Arial", 11F, System.Drawing.FontStyle.Bold); + this.lblKundennr.LocationFloat = new DevExpress.Utils.PointFloat(0F, 301.3541F); + this.lblKundennr.Multiline = true; + this.lblKundennr.Name = "lblKundennr"; + this.lblKundennr.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.lblKundennr.SizeF = new System.Drawing.SizeF(650F, 20F); + this.lblKundennr.StylePriority.UseBackColor = false; + this.lblKundennr.StylePriority.UseFont = false; + this.lblKundennr.Text = "Kundennummer: [DebitorNumber]"; + this.lblKundennr.WordWrap = false; // // xrLabel13 // @@ -197,14 +200,14 @@ namespace KetteReports this.xrLabel13.Text = "Die Kette e. V. · Paffrather Str. 70 · 51465 Bergisch Gladbach"; this.xrLabel13.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; // - // xrRichText2 + // lblAbsender // - this.xrRichText2.Font = new System.Drawing.Font("Arial", 8F); - this.xrRichText2.LocationFloat = new DevExpress.Utils.PointFloat(518.278F, 0F); - this.xrRichText2.Name = "xrRichText2"; - this.xrRichText2.SerializableRtfString = resources.GetString("xrRichText2.SerializableRtfString"); - this.xrRichText2.SizeF = new System.Drawing.SizeF(183.7219F, 190.9722F); - this.xrRichText2.StylePriority.UseFont = false; + this.lblAbsender.Font = new System.Drawing.Font("Arial", 8F); + this.lblAbsender.LocationFloat = new DevExpress.Utils.PointFloat(518.278F, 0F); + this.lblAbsender.Name = "lblAbsender"; + this.lblAbsender.SerializableRtfString = resources.GetString("lblAbsender.SerializableRtfString"); + this.lblAbsender.SizeF = new System.Drawing.SizeF(183.7219F, 190.9722F); + this.lblAbsender.StylePriority.UseFont = false; // // lblAdresse // @@ -710,6 +713,16 @@ namespace KetteReports // this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServiceInvoiceRO); // + // lblAbsenderJA + // + this.lblAbsenderJA.Font = new System.Drawing.Font("Arial", 8F); + this.lblAbsenderJA.LocationFloat = new DevExpress.Utils.PointFloat(518.278F, 0F); + this.lblAbsenderJA.Name = "lblAbsenderJA"; + this.lblAbsenderJA.SerializableRtfString = resources.GetString("lblAbsenderJA.SerializableRtfString"); + this.lblAbsenderJA.SizeF = new System.Drawing.SizeF(183.7219F, 204.5139F); + this.lblAbsenderJA.StylePriority.UseFont = false; + this.lblAbsenderJA.Visible = false; + // // ServiceInvoiceReport // this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { @@ -730,11 +743,12 @@ namespace KetteReports this.PaperKind = System.Drawing.Printing.PaperKind.A4; this.Version = "17.1"; ((System.ComponentModel.ISupportInitialize)(this.xrRichText1)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.xrRichText2)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.lblAbsender)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTable4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTable5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTable6)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.lblAbsenderJA)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); } @@ -785,12 +799,13 @@ namespace KetteReports private DevExpress.XtraReports.UI.XRLabel lblAdresse; private DevExpress.XtraReports.UI.GroupFooterBand GroupFooter1; private DevExpress.XtraReports.UI.XRLabel xrLabel1; - private DevExpress.XtraReports.UI.XRRichText xrRichText2; + private DevExpress.XtraReports.UI.XRRichText lblAbsender; private DevExpress.XtraReports.UI.XRLabel xrLabel13; private DevExpress.XtraReports.UI.XRRichText xrRichText1; private DevExpress.XtraReports.UI.XRLabel xrLabel6; - private DevExpress.XtraReports.UI.XRLabel xrLabel7; + private DevExpress.XtraReports.UI.XRLabel lblKundennr; private DevExpress.XtraReports.UI.XRLabel xrLabel8; private DevExpress.XtraReports.UI.XRPictureBox xrPictureBox2; + private DevExpress.XtraReports.UI.XRRichText lblAbsenderJA; } } diff --git a/ReportImp/KetteReports/ServiceInvoiceReport.cs b/ReportImp/KetteReports/ServiceInvoiceReport.cs index 4f1dd5747..8cb87e906 100644 --- a/ReportImp/KetteReports/ServiceInvoiceReport.cs +++ b/ReportImp/KetteReports/ServiceInvoiceReport.cs @@ -32,7 +32,7 @@ namespace KetteReports } //Rechnung an Sozialamt Bergisch Gladbach, Gybowitch und Herrn Schulze. Adresse Abrechnungsbetreuungsleistung für steht kein Name SetzeAdresse(pRO); - + // Die haben verschiedene Bereiche, zwei Anpassungen sind nur für Fachbereich Jugend - Erkennungsmerkmal ist "Jugendamt" if (pRO.RecipientOrganisation.ToLower().Contains("jugendamt") && pRO.ServiceInvoicePeriods[0].ServiceInvoiceItems[0].UnitDescription != null) pRO.CustomerReferenceNumber += " " + pRO.ServiceInvoicePeriods[0].ServiceInvoiceItems[0].UnitDescription; @@ -48,9 +48,18 @@ namespace KetteReports } String notice = String.Format("Bitte überweisen Sie den geforderten Betrag bis zum {0:dd.MM.yyyy} auf die unten aufgeführte Bankverbindung.", pRO.InvoiceDateTime.Value.AddDays(21)); - + + if (pRO.RecipientOrganisation.ToLower().Contains("jugendamt")) + { + lblAbsender.Visible = false; + lblKundennr.Visible = false; + lblAbsenderJA.Visible = true; + notice += + "\nSollten Sie dem Lastschriftverfahren zugestimmt haben, wird der Rechnungsbetrag in den nächsten Tagen von ihrem Konto eingezogen.\nUm Ihre Überweisung besser zuordnen zu können bitten wir Sie um die Angabe der Rechnungsnummer."; + } + else notice += - "\nSollten Sie dem Lastschriftverfahren zugestimmt haben, wird der Rechnungsbetrag in den nächsten Tagen von ihrem Konto eingezogen.\nUm Ihre Überweisung besser zuordnen zu können bitten wir sie um die Angabe des Leistungsmonats, der Kundennummer und der Rechnungsnummer."; + "\nSollten Sie dem Lastschriftverfahren zugestimmt haben, wird der Rechnungsbetrag in den nächsten Tagen von ihrem Konto eingezogen.\nUm Ihre Überweisung besser zuordnen zu können bitten wir Sie um die Angabe des Leistungsmonats, der Kundennummer und der Rechnungsnummer."; if (String.IsNullOrEmpty(pRO.Notice)) { diff --git a/ReportImp/KetteReports/ServiceInvoiceReport.resx b/ReportImp/KetteReports/ServiceInvoiceReport.resx index 910bdea56..df0287ebe 100644 --- a/ReportImp/KetteReports/ServiceInvoiceReport.resx +++ b/ReportImp/KetteReports/ServiceInvoiceReport.resx @@ -1502,7 +1502,10 @@ ewBcAHIAdABmADEAXABkAGUAZgBmADAAewBcAGYAbwBuAHQAdABiAGwAewBcAGYAMAAgAEMAYQBsAGkAYgByAGkAOwB9AHsAXABmADEAIABUAGkAbQBlAHMAIABOAGUAdwAgAFIAbwBtAGEAbgA7AH0AewBcAGYAMgAgAEEAcgBpAGEAbAA7AH0AfQB7AFwAYwBvAGwAbwByAHQAYgBsACAAOwBcAHIAZQBkADAAXABnAHIAZQBlAG4AMABcAGIAbAB1AGUAMAAgADsAXAByAGUAZAAwAFwAZwByAGUAZQBuADAAXABiAGwAdQBlADIANQA1ACAAOwB9AHsAXAAqAFwAZABlAGYAYwBoAHAAIABcAGYAMQBcAGYAcwAyADQAfQB7AFwAcwB0AHkAbABlAHMAaABlAGUAdAAgAHsAXABxAGwAXABmADEAXABmAHMAMgA0ACAATgBvAHIAbQBhAGwAOwB9AHsAXABzADEAXABzAGIAYQBzAGUAZABvAG4AMABcAHMAbgBlAHgAdAAxAFwAcQBsAFwAdABxAGMAXAB0AHgANAA1ADMANgBcAHQAcQByAFwAdAB4ADkAMAA3ADIAXABmADEAXABmAHMAMgA0ACAAZgBvAG8AdABlAHIAOwB9AHsAXAAqAFwAYwBzADIAXABmADEAXABmAHMAMgA0AFwAYwBmADEAIABEAGUAZgBhAHUAbAB0ACAAUABhAHIAYQBnAHIAYQBwAGgAIABGAG8AbgB0ADsAfQB7AFwAKgBcAGMAcwAzAFwAcwBiAGEAcwBlAGQAbwBuADIAXABmADEAXABmAHMAMgA0AFwAYwBmADEAIABMAGkAbgBlACAATg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BlADEAMAA0ADAAXABmADIAXABmAHMAMQA2AFwAYwBmADEAIABJAG4AdABlAHIAbgBlAHQAOgAgAHcAdwB3AC4AZABpAGUALQBrAGUAdAB0AGUALgBkAGUAfQBcAGwAYQBuAGcAMQAwADQAMABcAGwAYQBuAGcAZgBlADEAMAA0ADAAXABmADIAXABmAHMAMQA2AFwAYwBmADEAXABwAGEAcgBcAHAAYQByAGQAXABwAGwAYQBpAG4AXABxAGwAXAB0AHgANgAyADQAXABsAGEAbgBnADEAMAA0ADAAXABsAGEAbgBnAGYAZQAxADAANAAwAFwAZgAyAFwAZgBzADEANgBcAGMAZgAxAFwAcABhAHIAXABwAGEAcgBkAFwAcABsAGEAaQBuAFwAcQBsAFwAdAB4ADYAMgA0AHsAXABsAGEAbgBnADEAMAA0ADAAXABsAGEAbgBnAGYAZQAxADAANAAwAFwAZgAyAFwAZgBzADEANgBcAGMAZgAxACAARABhAHQAdQBtADoAIABcAHQAYQBiACAAfQB7AFwAbABhAG4AZwAxADAAMwAxAFwAbABhAG4AZwBmAGUAMQAwADMAMQBcAGYAMgBcAGYAcwAxADYAXABjAGYAMQAgAFsASQBuAHYAbwBpAGMAZQBEAGEAdABlAF0AfQBcAGwAYQBuAGcAMQAwADMAMQBcAGwAYQBuAGcAZgBlADEAMAAzADEAXABmADEAXABmAHMAMgA0AFwAYwBmADEAXABwAGEAcgB9AA== diff --git a/ReportImp/PerspektivenEV/CustomReportCreator.cs b/ReportImp/PerspektivenEV/CustomReportCreator.cs index 14fcf2133..addb9cd96 100644 --- a/ReportImp/PerspektivenEV/CustomReportCreator.cs +++ b/ReportImp/PerspektivenEV/CustomReportCreator.cs @@ -1,14 +1,11 @@ using System; using System.Collections.Generic; -using System.Linq; -using System.Text; using BeWo.Data.Access; using BeWo.Data.Entities; using BeWo.Report; using BeWo.Report.ReportObjects; using BeWo.Service.DCEntityMapper; using BS.Shared.DataContracts; -using DevExpress.XtraReports.Design; using DevExpress.XtraReports.UI; namespace PerspektivenEV @@ -25,9 +22,11 @@ namespace PerspektivenEV if (!string.IsNullOrEmpty(dcIds)) { + var dcList = new List(); var dcidStrs = dcIds.Split(';'); + foreach (var oidStr in dcidStrs) { var oid = long.Parse(oidStr); @@ -36,14 +35,47 @@ namespace PerspektivenEV dcList.Add(dc); } - IBeWoReport allReports = null; - foreach (var iDC in dcList) + return CreateInvoiceReport(dcList); + } + return new XtraReport(); + } + + private XtraReport CreateInvoiceReport(List invoices) + { + XtraReport allReports = null; + + foreach (var iDC in invoices) + { + XtraReport invoiceReport = null; + + if (iDC.InvoiceBase.RecipientOrganisation == "SELBSTZAHLER") + { + var seite1 = new ServiceInvoiceReport(); + var ro = ServiceInvoiceRO.Create(iDC); + + seite1.SetReportDataSource(ro); + seite1.CreateDocument(); + + int month = iDC.InvoiceBase.AccountingPeriodStart.Value.Month; + int year = iDC.InvoiceBase.AccountingPeriodStart.Value.Year; + long cOid = iDC.InvoiceBase.SupportConceptCostBearerRelDc.SupportConcept.Customer.CustomerOid; + long oOid = iDC.InvoiceBase.RecipientOrganisationOid ?? 0; + + var qb = CreateServiceOverviewSingleCustomerReport(cOid, month, year, oOid, 0, null, 1, DateTime.DaysInMonth(year, month)); + qb.CreateDocument(); + + seite1.Pages.AddRange(qb.Pages); + invoiceReport = seite1; + + } + else { IBeWoReport singleReport = FindReportImp(iDC.InvoiceBase.InvoiceId); var ro = ServiceInvoiceRO.Create(iDC); singleReport.SetReportDataSource(ro); ((XtraReport)singleReport).CreateDocument(); + invoiceReport = singleReport as XtraReport; if (iDC.InvoiceBase.InvoiceId == "Sammelrechnung") { @@ -51,17 +83,17 @@ namespace PerspektivenEV anhang.SetReportDataSource(ro); anhang.CreateDocument(); ((XtraReport)singleReport).Pages.AddRange(((XtraReport)anhang).Pages); + invoiceReport = singleReport as XtraReport; } - - if (allReports == null) - allReports = singleReport; - else - ((XtraReport)allReports).Pages.AddRange(((XtraReport)singleReport).Pages); } - return allReports as XtraReport; + if (allReports == null) + allReports = invoiceReport; + else + ((XtraReport)allReports).Pages.AddRange(invoiceReport.Pages); } - return new XtraReport(); + + return allReports as XtraReport; } } } diff --git a/ReportImp/PerspektivenEV/PerspektivenEV.csproj b/ReportImp/PerspektivenEV/PerspektivenEV.csproj index 88f853c4b..fce22cfc8 100644 --- a/ReportImp/PerspektivenEV/PerspektivenEV.csproj +++ b/ReportImp/PerspektivenEV/PerspektivenEV.csproj @@ -98,6 +98,7 @@ + diff --git a/ReportImp/PerspektivenEV/Quittierungsbeleg.Designer.cs b/ReportImp/PerspektivenEV/Quittierungsbeleg.Designer.cs index 7c95bd91b..1b851631e 100644 --- a/ReportImp/PerspektivenEV/Quittierungsbeleg.Designer.cs +++ b/ReportImp/PerspektivenEV/Quittierungsbeleg.Designer.cs @@ -36,17 +36,29 @@ namespace PerspektivenEV this.Detail = new DevExpress.XtraReports.UI.DetailBand(); this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand(); this.Detail1 = new DevExpress.XtraReports.UI.DetailBand(); + this.xrTable3 = new DevExpress.XtraReports.UI.XRTable(); + this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell12 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell13 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell14 = new DevExpress.XtraReports.UI.XRTableCell(); this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand(); + this.xrTable2 = new DevExpress.XtraReports.UI.XRTable(); + this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell9 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell11 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell8 = new DevExpress.XtraReports.UI.XRTableCell(); this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components); this.formattingRuleStartDate = new DevExpress.XtraReports.UI.FormattingRule(); this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand(); - this.formattingRuleServiceDesc = new DevExpress.XtraReports.UI.FormattingRule(); - this.formattingRuleCostBearer = new DevExpress.XtraReports.UI.FormattingRule(); - this.formattingRuleEmployeeName = new DevExpress.XtraReports.UI.FormattingRule(); - this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand(); - this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand(); - this.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand(); - this.fieldKontaktArt = new DevExpress.XtraReports.UI.CalculatedField(); + this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel(); this.xrTable1 = new DevExpress.XtraReports.UI.XRTable(); this.xrTableRow9 = new DevExpress.XtraReports.UI.XRTableRow(); @@ -57,6 +69,7 @@ namespace PerspektivenEV this.xrTableCell35 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableRow11 = new DevExpress.XtraReports.UI.XRTableRow(); this.xrTableCell36 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell37 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableRow12 = new DevExpress.XtraReports.UI.XRTableRow(); this.xrTableCell38 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell39 = new DevExpress.XtraReports.UI.XRTableCell(); @@ -64,25 +77,12 @@ namespace PerspektivenEV this.xrTableCell40 = new DevExpress.XtraReports.UI.XRTableCell(); this.lblFLS = new DevExpress.XtraReports.UI.XRTableCell(); this.xrPictureBox3 = new DevExpress.XtraReports.UI.XRPictureBox(); - this.xrTableCell37 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTable2 = new DevExpress.XtraReports.UI.XRTable(); - this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow(); - this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableCell9 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableCell11 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableCell8 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTable3 = new DevExpress.XtraReports.UI.XRTable(); - this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow(); - this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableCell12 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableCell13 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableCell14 = new DevExpress.XtraReports.UI.XRTableCell(); + this.formattingRuleServiceDesc = new DevExpress.XtraReports.UI.FormattingRule(); + this.formattingRuleCostBearer = new DevExpress.XtraReports.UI.FormattingRule(); + this.formattingRuleEmployeeName = new DevExpress.XtraReports.UI.FormattingRule(); + this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand(); + this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand(); + this.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand(); this.xrTable5 = new DevExpress.XtraReports.UI.XRTable(); this.xrTableRow3 = new DevExpress.XtraReports.UI.XRTableRow(); this.xrTableCell19 = new DevExpress.XtraReports.UI.XRTableCell(); @@ -92,11 +92,11 @@ namespace PerspektivenEV this.xrTableCell16 = new DevExpress.XtraReports.UI.XRTableCell(); this.lblAnfahrtCount = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell17 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel(); + this.fieldKontaktArt = new DevExpress.XtraReports.UI.CalculatedField(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTable5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // @@ -129,384 +129,6 @@ namespace PerspektivenEV this.Detail1.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); this.Detail1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // - // GroupHeader1 - // - this.GroupHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { - this.xrTable2}); - this.GroupHeader1.HeightF = 32.50001F; - this.GroupHeader1.Name = "GroupHeader1"; - this.GroupHeader1.RepeatEveryPage = true; - // - // bindingSource1 - // - this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServicesOverviewRO); - // - // formattingRuleStartDate - // - this.formattingRuleStartDate.Condition = "[StartDate2] < [StartDate]"; - this.formattingRuleStartDate.DataMember = "ServicesDouble"; - this.formattingRuleStartDate.Formatting.Visible = DevExpress.Utils.DefaultBoolean.False; - this.formattingRuleStartDate.Name = "formattingRuleStartDate"; - // - // ReportHeader - // - this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { - this.xrLabel1, - this.xrLabel2, - this.xrTable1, - this.xrPictureBox3}); - this.ReportHeader.HeightF = 215.5625F; - this.ReportHeader.Name = "ReportHeader"; - // - // formattingRuleServiceDesc - // - this.formattingRuleServiceDesc.Condition = "[StartDate2] < [StartDate]"; - this.formattingRuleServiceDesc.DataMember = "ServicesDouble"; - this.formattingRuleServiceDesc.Formatting.Visible = DevExpress.Utils.DefaultBoolean.False; - this.formattingRuleServiceDesc.Name = "formattingRuleServiceDesc"; - // - // formattingRuleCostBearer - // - this.formattingRuleCostBearer.Condition = "[StartDate2] < [StartDate]"; - this.formattingRuleCostBearer.DataMember = "ServicesDouble"; - this.formattingRuleCostBearer.Formatting.Visible = DevExpress.Utils.DefaultBoolean.False; - this.formattingRuleCostBearer.Name = "formattingRuleCostBearer"; - // - // formattingRuleEmployeeName - // - this.formattingRuleEmployeeName.Condition = "[StartDate2] < [StartDate]"; - this.formattingRuleEmployeeName.DataMember = "ServicesDouble"; - this.formattingRuleEmployeeName.Formatting.Visible = DevExpress.Utils.DefaultBoolean.False; - this.formattingRuleEmployeeName.Name = "formattingRuleEmployeeName"; - // - // topMarginBand1 - // - this.topMarginBand1.HeightF = 20F; - this.topMarginBand1.Name = "topMarginBand1"; - // - // bottomMarginBand1 - // - this.bottomMarginBand1.HeightF = 30F; - this.bottomMarginBand1.Name = "bottomMarginBand1"; - // - // GroupFooter1 - // - this.GroupFooter1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { - this.xrTable5}); - this.GroupFooter1.HeightF = 270F; - this.GroupFooter1.KeepTogether = true; - this.GroupFooter1.Name = "GroupFooter1"; - // - // fieldKontaktArt - // - this.fieldKontaktArt.DataMember = "Services"; - this.fieldKontaktArt.Expression = "Iif([IsGroup], \'GR\', \'E\')"; - this.fieldKontaktArt.FieldType = DevExpress.XtraReports.UI.FieldType.String; - this.fieldKontaktArt.Name = "fieldKontaktArt"; - // - // xrLabel2 - // - this.xrLabel2.Font = new System.Drawing.Font("Arial", 14F); - this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(425F, 33.33333F); - this.xrLabel2.Multiline = true; - this.xrLabel2.Name = "xrLabel2"; - this.xrLabel2.SizeF = new System.Drawing.SizeF(233.6667F, 25F); - this.xrLabel2.StylePriority.UseFont = false; - this.xrLabel2.Text = "Verlaufsdokumentation"; - // - // xrTable1 - // - 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, 93.6875F); - this.xrTable1.Name = "xrTable1"; - this.xrTable1.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F); - this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { - this.xrTableRow9, - this.xrTableRow10, - this.xrTableRow11, - this.xrTableRow12, - this.xrTableRow13}); - this.xrTable1.SizeF = new System.Drawing.SizeF(523.25F, 100F); - this.xrTable1.StylePriority.UseBorders = false; - this.xrTable1.StylePriority.UsePadding = false; - // - // xrTableRow9 - // - this.xrTableRow9.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right))); - this.xrTableRow9.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { - this.xrTableCell32, - this.xrTableCell33}); - this.xrTableRow9.Name = "xrTableRow9"; - this.xrTableRow9.StylePriority.UseBorders = false; - this.xrTableRow9.Weight = 0.8D; - // - // xrTableCell32 - // - this.xrTableCell32.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) - | DevExpress.XtraPrinting.BorderSide.Right) - | DevExpress.XtraPrinting.BorderSide.Bottom))); - this.xrTableCell32.Font = new System.Drawing.Font("Calibri", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.xrTableCell32.Name = "xrTableCell32"; - this.xrTableCell32.StylePriority.UseBorders = false; - this.xrTableCell32.StylePriority.UseFont = false; - this.xrTableCell32.StylePriority.UseTextAlignment = false; - this.xrTableCell32.Text = "Leistungsberechtigter:"; - this.xrTableCell32.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; - this.xrTableCell32.Weight = 1.3888891310918896D; - // - // xrTableCell33 - // - this.xrTableCell33.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) - | DevExpress.XtraPrinting.BorderSide.Right) - | DevExpress.XtraPrinting.BorderSide.Bottom))); - this.xrTableCell33.Font = new System.Drawing.Font("Calibri", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.xrTableCell33.Multiline = true; - this.xrTableCell33.Name = "xrTableCell33"; - this.xrTableCell33.StylePriority.UseBorders = false; - this.xrTableCell33.StylePriority.UseFont = false; - this.xrTableCell33.StylePriority.UseTextAlignment = false; - this.xrTableCell33.Text = "[CustomerLastName], [CustomerFirstName]"; - this.xrTableCell33.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; - this.xrTableCell33.Weight = 2.1706346784319197D; - // - // xrTableRow10 - // - this.xrTableRow10.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { - this.xrTableCell34, - this.xrTableCell35}); - this.xrTableRow10.Name = "xrTableRow10"; - this.xrTableRow10.Weight = 0.79999999999999993D; - // - // xrTableCell34 - // - this.xrTableCell34.CanShrink = true; - this.xrTableCell34.Font = new System.Drawing.Font("Calibri", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.xrTableCell34.Name = "xrTableCell34"; - this.xrTableCell34.StylePriority.UseFont = false; - this.xrTableCell34.StylePriority.UseTextAlignment = false; - this.xrTableCell34.Text = "Leistungserbringer:"; - this.xrTableCell34.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; - this.xrTableCell34.Weight = 1.3888891310918896D; - // - // xrTableCell35 - // - this.xrTableCell35.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom))); - this.xrTableCell35.CanShrink = true; - this.xrTableCell35.Font = new System.Drawing.Font("Calibri", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.xrTableCell35.Multiline = true; - this.xrTableCell35.Name = "xrTableCell35"; - this.xrTableCell35.StylePriority.UseBorders = false; - this.xrTableCell35.StylePriority.UseFont = false; - this.xrTableCell35.StylePriority.UseTextAlignment = false; - this.xrTableCell35.Text = "Perspektiven e.V."; - this.xrTableCell35.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; - this.xrTableCell35.Weight = 2.1706346784319193D; - // - // xrTableRow11 - // - this.xrTableRow11.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { - this.xrTableCell36, - this.xrTableCell37}); - this.xrTableRow11.Name = "xrTableRow11"; - this.xrTableRow11.Weight = 0.79999999999999993D; - // - // xrTableCell36 - // - this.xrTableCell36.Font = new System.Drawing.Font("Calibri", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.xrTableCell36.Name = "xrTableCell36"; - this.xrTableCell36.StylePriority.UseFont = false; - this.xrTableCell36.StylePriority.UseTextAlignment = false; - this.xrTableCell36.Text = "Fallverantwortliche Fachkraft:"; - this.xrTableCell36.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; - this.xrTableCell36.Weight = 1.3888891310918896D; - // - // xrTableRow12 - // - this.xrTableRow12.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { - this.xrTableCell38, - this.xrTableCell39}); - this.xrTableRow12.Name = "xrTableRow12"; - this.xrTableRow12.Weight = 0.8D; - // - // xrTableCell38 - // - this.xrTableCell38.Font = new System.Drawing.Font("Calibri", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.xrTableCell38.Name = "xrTableCell38"; - this.xrTableCell38.StylePriority.UseFont = false; - this.xrTableCell38.StylePriority.UseTextAlignment = false; - this.xrTableCell38.Text = "BW Bewilligungszeitraum:"; - this.xrTableCell38.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; - this.xrTableCell38.Weight = 1.3888891310918896D; - // - // xrTableCell39 - // - this.xrTableCell39.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom))); - this.xrTableCell39.Font = new System.Drawing.Font("Calibri", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.xrTableCell39.Multiline = true; - this.xrTableCell39.Name = "xrTableCell39"; - this.xrTableCell39.StylePriority.UseBorders = false; - this.xrTableCell39.StylePriority.UseFont = false; - this.xrTableCell39.StylePriority.UseTextAlignment = false; - this.xrTableCell39.Text = "von [ApprovedStartDate] bis [ApprovedEndDate]"; - this.xrTableCell39.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; - this.xrTableCell39.Weight = 2.1706346784319193D; - // - // xrTableRow13 - // - this.xrTableRow13.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { - this.xrTableCell40, - this.lblFLS}); - this.xrTableRow13.Name = "xrTableRow13"; - this.xrTableRow13.Weight = 0.79999999999999993D; - // - // xrTableCell40 - // - this.xrTableCell40.Font = new System.Drawing.Font("Calibri", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.xrTableCell40.Name = "xrTableCell40"; - this.xrTableCell40.StylePriority.UseFont = false; - this.xrTableCell40.StylePriority.UseTextAlignment = false; - this.xrTableCell40.Text = "FLS:"; - this.xrTableCell40.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; - this.xrTableCell40.Weight = 1.3888891310918896D; - // - // lblFLS - // - this.lblFLS.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom))); - this.lblFLS.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { - new DevExpress.XtraReports.UI.XRBinding("Text", null, "CostBearer2SupportConceptList.ApprovalPeriodList.ApprovedBEPerInterval", "{0:n2}")}); - this.lblFLS.Font = new System.Drawing.Font("Calibri", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lblFLS.Name = "lblFLS"; - this.lblFLS.StylePriority.UseBorders = false; - this.lblFLS.StylePriority.UseFont = false; - this.lblFLS.StylePriority.UseTextAlignment = false; - this.lblFLS.Text = "lblFLS"; - this.lblFLS.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; - this.lblFLS.Weight = 2.1706346784319193D; - // - // xrPictureBox3 - // - this.xrPictureBox3.Image = ((System.Drawing.Image)(resources.GetObject("xrPictureBox3.Image"))); - this.xrPictureBox3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); - this.xrPictureBox3.Name = "xrPictureBox3"; - this.xrPictureBox3.SizeF = new System.Drawing.SizeF(231.4583F, 82.22917F); - this.xrPictureBox3.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage; - // - // xrTableCell37 - // - this.xrTableCell37.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom))); - this.xrTableCell37.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { - new DevExpress.XtraReports.UI.XRBinding("Text", null, "MainAttendant")}); - this.xrTableCell37.Font = new System.Drawing.Font("Calibri", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.xrTableCell37.Name = "xrTableCell37"; - this.xrTableCell37.StylePriority.UseBorders = false; - this.xrTableCell37.StylePriority.UseFont = false; - this.xrTableCell37.StylePriority.UseTextAlignment = false; - this.xrTableCell37.Text = "xrTableCell15"; - this.xrTableCell37.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; - this.xrTableCell37.Weight = 2.1706346784319193D; - // - // xrTable2 - // - this.xrTable2.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) - | DevExpress.XtraPrinting.BorderSide.Right) - | DevExpress.XtraPrinting.BorderSide.Bottom))); - this.xrTable2.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold); - this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 1.250013F); - this.xrTable2.Name = "xrTable2"; - this.xrTable2.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F); - this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { - this.xrTableRow2}); - this.xrTable2.SizeF = new System.Drawing.SizeF(1027F, 31.25F); - this.xrTable2.StylePriority.UseBorders = false; - this.xrTable2.StylePriority.UseFont = false; - this.xrTable2.StylePriority.UsePadding = false; - // - // xrTableRow2 - // - this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { - this.xrTableCell5, - this.xrTableCell6, - this.xrTableCell1, - this.xrTableCell9, - this.xrTableCell11, - this.xrTableCell7, - this.xrTableCell8}); - this.xrTableRow2.Name = "xrTableRow2"; - this.xrTableRow2.Weight = 1.25D; - // - // xrTableCell5 - // - this.xrTableCell5.Font = new System.Drawing.Font("Calibri", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.xrTableCell5.Name = "xrTableCell5"; - this.xrTableCell5.StylePriority.UseFont = false; - this.xrTableCell5.StylePriority.UseTextAlignment = false; - this.xrTableCell5.Text = "Datum"; - this.xrTableCell5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; - this.xrTableCell5.Weight = 0.66043090820312489D; - // - // xrTableCell6 - // - this.xrTableCell6.Font = new System.Drawing.Font("Calibri", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.xrTableCell6.Name = "xrTableCell6"; - this.xrTableCell6.StylePriority.UseFont = false; - this.xrTableCell6.StylePriority.UseTextAlignment = false; - this.xrTableCell6.Text = "Pers.bez. Leistungen und Maßnahmen gemäß 5 Abs. 2 Zusatzvereinbarung"; - this.xrTableCell6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; - this.xrTableCell6.Weight = 1.9047619047619047D; - // - // xrTableCell1 - // - this.xrTableCell1.Font = new System.Drawing.Font("Calibri", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.xrTableCell1.Name = "xrTableCell1"; - this.xrTableCell1.StylePriority.UseFont = false; - this.xrTableCell1.StylePriority.UseTextAlignment = false; - this.xrTableCell1.Text = "Minuten Fachkraft"; - this.xrTableCell1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; - this.xrTableCell1.Weight = 0.5990164620535714D; - // - // xrTableCell9 - // - this.xrTableCell9.Font = new System.Drawing.Font("Calibri", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.xrTableCell9.Multiline = true; - this.xrTableCell9.Name = "xrTableCell9"; - this.xrTableCell9.StylePriority.UseFont = false; - this.xrTableCell9.StylePriority.UseTextAlignment = false; - this.xrTableCell9.Text = "Minuten \r\nsonstige Kraft"; - this.xrTableCell9.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; - this.xrTableCell9.Weight = 0.625473333864796D; - // - // xrTableCell11 - // - this.xrTableCell11.Font = new System.Drawing.Font("Calibri", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.xrTableCell11.Name = "xrTableCell11"; - this.xrTableCell11.StylePriority.UseFont = false; - this.xrTableCell11.StylePriority.UseTextAlignment = false; - this.xrTableCell11.Text = "Kürzel der Betreuungskraft"; - this.xrTableCell11.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; - this.xrTableCell11.Weight = 0.61224489795918391D; - // - // xrTableCell7 - // - this.xrTableCell7.Font = new System.Drawing.Font("Calibri", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.xrTableCell7.Name = "xrTableCell7"; - this.xrTableCell7.StylePriority.UseFont = false; - this.xrTableCell7.StylePriority.UseTextAlignment = false; - this.xrTableCell7.Text = "Anfahrt?"; - this.xrTableCell7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; - this.xrTableCell7.Weight = 0.6122448979591838D; - // - // xrTableCell8 - // - this.xrTableCell8.Font = new System.Drawing.Font("Calibri", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.xrTableCell8.Multiline = true; - this.xrTableCell8.Name = "xrTableCell8"; - this.xrTableCell8.StylePriority.UseFont = false; - this.xrTableCell8.StylePriority.UseTextAlignment = false; - this.xrTableCell8.Text = "Bemerkungen \r\n(nur für Abrechnungszwecke)"; - this.xrTableCell8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; - this.xrTableCell8.Weight = 1.9722213226110754D; - // // xrTable3 // this.xrTable3.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) @@ -641,6 +263,386 @@ namespace PerspektivenEV this.xrTableCell14.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; this.xrTableCell14.Weight = 1.9530177906978969D; // + // GroupHeader1 + // + this.GroupHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrTable2}); + this.GroupHeader1.HeightF = 32.50001F; + this.GroupHeader1.Name = "GroupHeader1"; + this.GroupHeader1.RepeatEveryPage = true; + // + // xrTable2 + // + this.xrTable2.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTable2.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold); + this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 1.250013F); + this.xrTable2.Name = "xrTable2"; + this.xrTable2.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F); + this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { + this.xrTableRow2}); + this.xrTable2.SizeF = new System.Drawing.SizeF(1027F, 31.25F); + this.xrTable2.StylePriority.UseBorders = false; + this.xrTable2.StylePriority.UseFont = false; + this.xrTable2.StylePriority.UsePadding = false; + // + // xrTableRow2 + // + this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell5, + this.xrTableCell6, + this.xrTableCell1, + this.xrTableCell9, + this.xrTableCell11, + this.xrTableCell7, + this.xrTableCell8}); + this.xrTableRow2.Name = "xrTableRow2"; + this.xrTableRow2.Weight = 1.25D; + // + // xrTableCell5 + // + this.xrTableCell5.Font = new System.Drawing.Font("Calibri", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrTableCell5.Name = "xrTableCell5"; + this.xrTableCell5.StylePriority.UseFont = false; + this.xrTableCell5.StylePriority.UseTextAlignment = false; + this.xrTableCell5.Text = "Datum"; + this.xrTableCell5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; + this.xrTableCell5.Weight = 0.66043090820312489D; + // + // xrTableCell6 + // + this.xrTableCell6.Font = new System.Drawing.Font("Calibri", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrTableCell6.Name = "xrTableCell6"; + this.xrTableCell6.StylePriority.UseFont = false; + this.xrTableCell6.StylePriority.UseTextAlignment = false; + this.xrTableCell6.Text = "Pers.bez. Leistungen und Maßnahmen gemäß 5 Abs. 2 Zusatzvereinbarung"; + this.xrTableCell6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; + this.xrTableCell6.Weight = 1.9047619047619047D; + // + // xrTableCell1 + // + this.xrTableCell1.Font = new System.Drawing.Font("Calibri", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrTableCell1.Name = "xrTableCell1"; + this.xrTableCell1.StylePriority.UseFont = false; + this.xrTableCell1.StylePriority.UseTextAlignment = false; + this.xrTableCell1.Text = "Minuten Fachkraft"; + this.xrTableCell1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; + this.xrTableCell1.Weight = 0.5990164620535714D; + // + // xrTableCell9 + // + this.xrTableCell9.Font = new System.Drawing.Font("Calibri", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrTableCell9.Multiline = true; + this.xrTableCell9.Name = "xrTableCell9"; + this.xrTableCell9.StylePriority.UseFont = false; + this.xrTableCell9.StylePriority.UseTextAlignment = false; + this.xrTableCell9.Text = "Minuten \r\nsonstige Kraft"; + this.xrTableCell9.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; + this.xrTableCell9.Weight = 0.625473333864796D; + // + // xrTableCell11 + // + this.xrTableCell11.Font = new System.Drawing.Font("Calibri", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrTableCell11.Name = "xrTableCell11"; + this.xrTableCell11.StylePriority.UseFont = false; + this.xrTableCell11.StylePriority.UseTextAlignment = false; + this.xrTableCell11.Text = "Kürzel der Betreuungskraft"; + this.xrTableCell11.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; + this.xrTableCell11.Weight = 0.61224489795918391D; + // + // xrTableCell7 + // + this.xrTableCell7.Font = new System.Drawing.Font("Calibri", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrTableCell7.Name = "xrTableCell7"; + this.xrTableCell7.StylePriority.UseFont = false; + this.xrTableCell7.StylePriority.UseTextAlignment = false; + this.xrTableCell7.Text = "Anfahrt?"; + this.xrTableCell7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; + this.xrTableCell7.Weight = 0.6122448979591838D; + // + // xrTableCell8 + // + this.xrTableCell8.Font = new System.Drawing.Font("Calibri", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrTableCell8.Multiline = true; + this.xrTableCell8.Name = "xrTableCell8"; + this.xrTableCell8.StylePriority.UseFont = false; + this.xrTableCell8.StylePriority.UseTextAlignment = false; + this.xrTableCell8.Text = "Bemerkungen \r\n(nur für Abrechnungszwecke)"; + this.xrTableCell8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; + this.xrTableCell8.Weight = 1.9722213226110754D; + // + // bindingSource1 + // + this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServicesOverviewRO); + // + // formattingRuleStartDate + // + this.formattingRuleStartDate.Condition = "[StartDate2] < [StartDate]"; + this.formattingRuleStartDate.DataMember = "ServicesDouble"; + this.formattingRuleStartDate.Formatting.Visible = DevExpress.Utils.DefaultBoolean.False; + this.formattingRuleStartDate.Name = "formattingRuleStartDate"; + // + // ReportHeader + // + this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel1, + this.xrLabel2, + this.xrTable1, + this.xrPictureBox3}); + this.ReportHeader.HeightF = 215.5625F; + this.ReportHeader.Name = "ReportHeader"; + // + // xrLabel1 + // + this.xrLabel1.Font = new System.Drawing.Font("Arial", 14F); + this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(658.6667F, 33.33333F); + this.xrLabel1.Multiline = true; + this.xrLabel1.Name = "xrLabel1"; + this.xrLabel1.SizeF = new System.Drawing.SizeF(280.5417F, 25F); + this.xrLabel1.StylePriority.UseFont = false; + this.xrLabel1.Text = "[Month] [Year]"; + // + // xrLabel2 + // + this.xrLabel2.Font = new System.Drawing.Font("Arial", 14F); + this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(425F, 33.33333F); + this.xrLabel2.Multiline = true; + this.xrLabel2.Name = "xrLabel2"; + this.xrLabel2.SizeF = new System.Drawing.SizeF(233.6667F, 25F); + this.xrLabel2.StylePriority.UseFont = false; + this.xrLabel2.Text = "Verlaufsdokumentation"; + // + // xrTable1 + // + 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, 93.6875F); + this.xrTable1.Name = "xrTable1"; + this.xrTable1.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F); + this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { + this.xrTableRow9, + this.xrTableRow10, + this.xrTableRow11, + this.xrTableRow12, + this.xrTableRow13}); + this.xrTable1.SizeF = new System.Drawing.SizeF(523.25F, 100F); + this.xrTable1.StylePriority.UseBorders = false; + this.xrTable1.StylePriority.UsePadding = false; + // + // xrTableRow9 + // + this.xrTableRow9.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right))); + this.xrTableRow9.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell32, + this.xrTableCell33}); + this.xrTableRow9.Name = "xrTableRow9"; + this.xrTableRow9.StylePriority.UseBorders = false; + this.xrTableRow9.Weight = 0.8D; + // + // xrTableCell32 + // + this.xrTableCell32.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell32.Font = new System.Drawing.Font("Calibri", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrTableCell32.Name = "xrTableCell32"; + this.xrTableCell32.StylePriority.UseBorders = false; + this.xrTableCell32.StylePriority.UseFont = false; + this.xrTableCell32.StylePriority.UseTextAlignment = false; + this.xrTableCell32.Text = "Leistungsberechtigter:"; + this.xrTableCell32.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + this.xrTableCell32.Weight = 1.3888891310918896D; + // + // xrTableCell33 + // + this.xrTableCell33.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell33.Font = new System.Drawing.Font("Calibri", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrTableCell33.Multiline = true; + this.xrTableCell33.Name = "xrTableCell33"; + this.xrTableCell33.StylePriority.UseBorders = false; + this.xrTableCell33.StylePriority.UseFont = false; + this.xrTableCell33.StylePriority.UseTextAlignment = false; + this.xrTableCell33.Text = "[CustomerLastName], [CustomerFirstName]"; + this.xrTableCell33.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + this.xrTableCell33.Weight = 2.1706346784319197D; + // + // xrTableRow10 + // + this.xrTableRow10.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell34, + this.xrTableCell35}); + this.xrTableRow10.Name = "xrTableRow10"; + this.xrTableRow10.Weight = 0.79999999999999993D; + // + // xrTableCell34 + // + this.xrTableCell34.CanShrink = true; + this.xrTableCell34.Font = new System.Drawing.Font("Calibri", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrTableCell34.Name = "xrTableCell34"; + this.xrTableCell34.StylePriority.UseFont = false; + this.xrTableCell34.StylePriority.UseTextAlignment = false; + this.xrTableCell34.Text = "Leistungserbringer:"; + this.xrTableCell34.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + this.xrTableCell34.Weight = 1.3888891310918896D; + // + // xrTableCell35 + // + this.xrTableCell35.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell35.CanShrink = true; + this.xrTableCell35.Font = new System.Drawing.Font("Calibri", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrTableCell35.Multiline = true; + this.xrTableCell35.Name = "xrTableCell35"; + this.xrTableCell35.StylePriority.UseBorders = false; + this.xrTableCell35.StylePriority.UseFont = false; + this.xrTableCell35.StylePriority.UseTextAlignment = false; + this.xrTableCell35.Text = "Perspektiven e.V."; + this.xrTableCell35.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + this.xrTableCell35.Weight = 2.1706346784319193D; + // + // xrTableRow11 + // + this.xrTableRow11.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell36, + this.xrTableCell37}); + this.xrTableRow11.Name = "xrTableRow11"; + this.xrTableRow11.Weight = 0.79999999999999993D; + // + // xrTableCell36 + // + this.xrTableCell36.Font = new System.Drawing.Font("Calibri", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrTableCell36.Name = "xrTableCell36"; + this.xrTableCell36.StylePriority.UseFont = false; + this.xrTableCell36.StylePriority.UseTextAlignment = false; + this.xrTableCell36.Text = "Fallverantwortliche Fachkraft:"; + this.xrTableCell36.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + this.xrTableCell36.Weight = 1.3888891310918896D; + // + // xrTableCell37 + // + this.xrTableCell37.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell37.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "MainAttendant")}); + this.xrTableCell37.Font = new System.Drawing.Font("Calibri", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrTableCell37.Name = "xrTableCell37"; + this.xrTableCell37.StylePriority.UseBorders = false; + this.xrTableCell37.StylePriority.UseFont = false; + this.xrTableCell37.StylePriority.UseTextAlignment = false; + this.xrTableCell37.Text = "xrTableCell15"; + this.xrTableCell37.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + this.xrTableCell37.Weight = 2.1706346784319193D; + // + // xrTableRow12 + // + this.xrTableRow12.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell38, + this.xrTableCell39}); + this.xrTableRow12.Name = "xrTableRow12"; + this.xrTableRow12.Weight = 0.8D; + // + // xrTableCell38 + // + this.xrTableCell38.Font = new System.Drawing.Font("Calibri", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrTableCell38.Name = "xrTableCell38"; + this.xrTableCell38.StylePriority.UseFont = false; + this.xrTableCell38.StylePriority.UseTextAlignment = false; + this.xrTableCell38.Text = "BW Bewilligungszeitraum:"; + this.xrTableCell38.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + this.xrTableCell38.Weight = 1.3888891310918896D; + // + // xrTableCell39 + // + this.xrTableCell39.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell39.Font = new System.Drawing.Font("Calibri", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrTableCell39.Multiline = true; + this.xrTableCell39.Name = "xrTableCell39"; + this.xrTableCell39.StylePriority.UseBorders = false; + this.xrTableCell39.StylePriority.UseFont = false; + this.xrTableCell39.StylePriority.UseTextAlignment = false; + this.xrTableCell39.Text = "von [ApprovedStartDate] bis [ApprovedEndDate]"; + this.xrTableCell39.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + this.xrTableCell39.Weight = 2.1706346784319193D; + // + // xrTableRow13 + // + this.xrTableRow13.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell40, + this.lblFLS}); + this.xrTableRow13.Name = "xrTableRow13"; + this.xrTableRow13.Weight = 0.79999999999999993D; + // + // xrTableCell40 + // + this.xrTableCell40.Font = new System.Drawing.Font("Calibri", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrTableCell40.Name = "xrTableCell40"; + this.xrTableCell40.StylePriority.UseFont = false; + this.xrTableCell40.StylePriority.UseTextAlignment = false; + this.xrTableCell40.Text = "FLS:"; + this.xrTableCell40.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + this.xrTableCell40.Weight = 1.3888891310918896D; + // + // lblFLS + // + this.lblFLS.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.lblFLS.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "CostBearer2SupportConceptList.ApprovalPeriodList.ApprovedBEPerInterval", "{0:n2}")}); + this.lblFLS.Font = new System.Drawing.Font("Calibri", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lblFLS.Name = "lblFLS"; + this.lblFLS.StylePriority.UseBorders = false; + this.lblFLS.StylePriority.UseFont = false; + this.lblFLS.StylePriority.UseTextAlignment = false; + this.lblFLS.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + this.lblFLS.Weight = 2.1706346784319193D; + // + // xrPictureBox3 + // + this.xrPictureBox3.Image = ((System.Drawing.Image)(resources.GetObject("xrPictureBox3.Image"))); + this.xrPictureBox3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); + this.xrPictureBox3.Name = "xrPictureBox3"; + this.xrPictureBox3.SizeF = new System.Drawing.SizeF(231.4583F, 82.22917F); + this.xrPictureBox3.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage; + // + // formattingRuleServiceDesc + // + this.formattingRuleServiceDesc.Condition = "[StartDate2] < [StartDate]"; + this.formattingRuleServiceDesc.DataMember = "ServicesDouble"; + this.formattingRuleServiceDesc.Formatting.Visible = DevExpress.Utils.DefaultBoolean.False; + this.formattingRuleServiceDesc.Name = "formattingRuleServiceDesc"; + // + // formattingRuleCostBearer + // + this.formattingRuleCostBearer.Condition = "[StartDate2] < [StartDate]"; + this.formattingRuleCostBearer.DataMember = "ServicesDouble"; + this.formattingRuleCostBearer.Formatting.Visible = DevExpress.Utils.DefaultBoolean.False; + this.formattingRuleCostBearer.Name = "formattingRuleCostBearer"; + // + // formattingRuleEmployeeName + // + this.formattingRuleEmployeeName.Condition = "[StartDate2] < [StartDate]"; + this.formattingRuleEmployeeName.DataMember = "ServicesDouble"; + this.formattingRuleEmployeeName.Formatting.Visible = DevExpress.Utils.DefaultBoolean.False; + this.formattingRuleEmployeeName.Name = "formattingRuleEmployeeName"; + // + // topMarginBand1 + // + this.topMarginBand1.HeightF = 20F; + this.topMarginBand1.Name = "topMarginBand1"; + // + // bottomMarginBand1 + // + this.bottomMarginBand1.HeightF = 30F; + this.bottomMarginBand1.Name = "bottomMarginBand1"; + // + // GroupFooter1 + // + this.GroupFooter1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrTable5}); + this.GroupFooter1.HeightF = 270F; + this.GroupFooter1.KeepTogether = true; + this.GroupFooter1.Name = "GroupFooter1"; + // // xrTable5 // this.xrTable5.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) @@ -766,15 +768,12 @@ namespace PerspektivenEV this.xrTableCell17.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; this.xrTableCell17.Weight = 1.9722211150085036D; // - // xrLabel1 + // fieldKontaktArt // - this.xrLabel1.Font = new System.Drawing.Font("Arial", 14F); - this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(658.6667F, 33.33333F); - this.xrLabel1.Multiline = true; - this.xrLabel1.Name = "xrLabel1"; - this.xrLabel1.SizeF = new System.Drawing.SizeF(280.5417F, 25F); - this.xrLabel1.StylePriority.UseFont = false; - this.xrLabel1.Text = "[Month] [Year]"; + this.fieldKontaktArt.DataMember = "Services"; + this.fieldKontaktArt.Expression = "Iif([IsGroup], \'GR\', \'E\')"; + this.fieldKontaktArt.FieldType = DevExpress.XtraReports.UI.FieldType.String; + this.fieldKontaktArt.Name = "fieldKontaktArt"; // // Quittierungsbeleg // @@ -800,10 +799,10 @@ namespace PerspektivenEV this.PageWidth = 1169; this.PaperKind = System.Drawing.Printing.PaperKind.A4; this.Version = "17.1"; + ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTable5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); diff --git a/ReportImp/PerspektivenEV/ServiceInvoiceReport.Designer.cs b/ReportImp/PerspektivenEV/ServiceInvoiceReport.Designer.cs index d16cf74b5..8b43684ea 100644 --- a/ReportImp/PerspektivenEV/ServiceInvoiceReport.Designer.cs +++ b/ReportImp/PerspektivenEV/ServiceInvoiceReport.Designer.cs @@ -66,9 +66,9 @@ namespace PerspektivenEV this.xrTableCell13 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel(); this.GroupFooter2 = new DevExpress.XtraReports.UI.GroupFooterBand(); + this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel(); this.lblUeberweisung = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel3 = 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.xrTable1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTable6)).BeginInit(); @@ -517,6 +517,21 @@ namespace PerspektivenEV this.GroupFooter2.Level = 1; this.GroupFooter2.Name = "GroupFooter2"; // + // xrLabel1 + // + this.xrLabel1.BackColor = System.Drawing.Color.Transparent; + this.xrLabel1.CanShrink = true; + this.xrLabel1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Notice")}); + this.xrLabel1.Font = new System.Drawing.Font("Calibri", 11F); + this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(9.536743E-05F, 9.999974F); + this.xrLabel1.Name = "xrLabel1"; + this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel1.SizeF = new System.Drawing.SizeF(631.9999F, 19.99998F); + this.xrLabel1.StylePriority.UseBackColor = false; + this.xrLabel1.StylePriority.UseFont = false; + this.xrLabel1.WordWrap = false; + // // lblUeberweisung // this.lblUeberweisung.BackColor = System.Drawing.Color.Transparent; @@ -558,21 +573,6 @@ namespace PerspektivenEV this.xrLabel3.Text = "Anlage: Betreuungsnachweis"; this.xrLabel3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; // - // xrLabel1 - // - this.xrLabel1.BackColor = System.Drawing.Color.Transparent; - this.xrLabel1.CanShrink = true; - this.xrLabel1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { - new DevExpress.XtraReports.UI.XRBinding("Text", null, "Notice")}); - this.xrLabel1.Font = new System.Drawing.Font("Calibri", 11F); - this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(9.536743E-05F, 9.999974F); - this.xrLabel1.Name = "xrLabel1"; - this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel1.SizeF = new System.Drawing.SizeF(631.9999F, 19.99998F); - this.xrLabel1.StylePriority.UseBackColor = false; - this.xrLabel1.StylePriority.UseFont = false; - this.xrLabel1.WordWrap = false; - // // bindingSource1 // this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServiceInvoiceRO); @@ -597,6 +597,7 @@ namespace PerspektivenEV this.PaperKind = System.Drawing.Printing.PaperKind.A4; this.Version = "17.1"; this.Watermark.Image = ((System.Drawing.Image)(resources.GetObject("ServiceInvoiceReport.Watermark.Image"))); + this.Watermark.PageRange = "1"; ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTable6)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit(); diff --git a/ReportImp/PerspektivenEV/Validation/DefaultSaveInterceptor.cs b/ReportImp/PerspektivenEV/Validation/DefaultSaveInterceptor.cs new file mode 100644 index 000000000..128ce6b4e --- /dev/null +++ b/ReportImp/PerspektivenEV/Validation/DefaultSaveInterceptor.cs @@ -0,0 +1,37 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using BeWo.Data.Access; +using BeWo.Service.Plugins; +using BS.Shared; +using BS.Shared.Core; +using BS.Shared.DataContracts; +using BS.Shared.Extensions; +using BS.Shared.Services; + +namespace PerspektivenEV.Validation +{ + + public class DefaultSaveInterceptor : SaveInterceptor + { + public override string AllowSaveCustomer(CustomerDC c) + { + if (c.CustomerOid.HasValue) + { + return null; + } + + if (c.RelatedTeams == null || c.RelatedTeams.Count == 0) + { + return "Bitte ordnen Sie ein Team zu bevor Sie speichern."; + } + + else if (c.RelatedEmployees == null || c.RelatedEmployees.Count == 0) + { + return "Bitte ordnen Sie einen Betreuer/in zu bevor Sie speichern."; + } + return base.AllowSaveCustomer(c); + } + } +} \ No newline at end of file