AachenerLaienhelfer: Verbesserungen allemeine Rechnung + Eigenanteil-Rechnung + Spitzabrechnung

This commit is contained in:
2024-07-11 20:47:34 +02:00
parent bedfd8294e
commit cca642b1d7
7 changed files with 215 additions and 124 deletions

View File

@@ -64,7 +64,7 @@ namespace AachenerLaienhelfer
this.xrLabel5 = 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.lblRechnungsNr = new DevExpress.XtraReports.UI.XRLabel();
this.ruleRateFactorNull = new DevExpress.XtraReports.UI.FormattingRule();
this.ReportFooter = new DevExpress.XtraReports.UI.ReportFooterBand();
this.xrLabel9 = new DevExpress.XtraReports.UI.XRLabel();
@@ -80,12 +80,18 @@ namespace AachenerLaienhelfer
this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand();
this.Detail1 = new DevExpress.XtraReports.UI.DetailBand();
this.xrPictureBox2 = new DevExpress.XtraReports.UI.XRPictureBox();
this.xrPictureBox3 = new DevExpress.XtraReports.UI.XRPictureBox();
this.xrRichText3 = new DevExpress.XtraReports.UI.XRRichText();
this.xrRichText4 = new DevExpress.XtraReports.UI.XRRichText();
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrRichText2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrRichText1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable4)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrRichText3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrRichText4)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
//
@@ -225,70 +231,70 @@ namespace AachenerLaienhelfer
this.xrLabel5,
this.xrLabel4,
this.xrLabel3,
this.xrLabel2});
this.lblRechnungsNr});
this.ReportHeader.Font = new DevExpress.Drawing.DXFont("Verdana", 10F);
this.ReportHeader.HeightF = 554.8749F;
this.ReportHeader.HeightF = 518.6958F;
this.ReportHeader.Name = "ReportHeader";
this.ReportHeader.StylePriority.UseFont = false;
//
// xrLabel12
//
this.xrLabel12.Font = new DevExpress.Drawing.DXFont("Arial", 9.75F);
this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(0.0001268387F, 368.5833F);
this.xrLabel12.Font = new DevExpress.Drawing.DXFont("Verdana", 9.75F);
this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(0.0001271566F, 344.4042F);
this.xrLabel12.Name = "xrLabel12";
this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel12.SizeF = new System.Drawing.SizeF(195.4999F, 23F);
this.xrLabel12.SizeF = new System.Drawing.SizeF(236.6675F, 23F);
this.xrLabel12.StylePriority.UseFont = false;
this.xrLabel12.Text = "Name, Vorname, Geb.-Datum: ";
//
// xrLabel10
//
this.xrLabel10.Font = new DevExpress.Drawing.DXFont("Arial", 9.75F);
this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(0F, 414.5833F);
this.xrLabel10.Font = new DevExpress.Drawing.DXFont("Verdana", 9.75F);
this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(0F, 390.4043F);
this.xrLabel10.Name = "xrLabel10";
this.xrLabel10.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel10.SizeF = new System.Drawing.SizeF(195.5F, 23F);
this.xrLabel10.SizeF = new System.Drawing.SizeF(236.6676F, 23F);
this.xrLabel10.StylePriority.UseFont = false;
this.xrLabel10.Text = "Abrechnungszeit:";
this.xrLabel10.Text = "Bewilligungszeitraum:";
//
// xrLabel11
//
this.xrLabel11.Font = new DevExpress.Drawing.DXFont("Arial", 9.75F);
this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(195.5001F, 414.5833F);
this.xrLabel11.Font = new DevExpress.Drawing.DXFont("Verdana", 9.75F);
this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(236.6676F, 390.4043F);
this.xrLabel11.Name = "xrLabel11";
this.xrLabel11.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel11.SizeF = new System.Drawing.SizeF(334.75F, 23F);
this.xrLabel11.SizeF = new System.Drawing.SizeF(434.7499F, 23F);
this.xrLabel11.StylePriority.UseFont = false;
this.xrLabel11.Text = "[AccountingPeriodStart!dd.MM.yyyy] bis [AccountingPeriodEnd!dd.MM.yyyy]";
this.xrLabel11.Text = "[AccountingPeriod]";
//
// lblKlient
//
this.lblKlient.Font = new DevExpress.Drawing.DXFont("Arial", 9.75F);
this.lblKlient.LocationFloat = new DevExpress.Utils.PointFloat(195.5001F, 368.5833F);
this.lblKlient.Font = new DevExpress.Drawing.DXFont("Verdana", 9.75F);
this.lblKlient.LocationFloat = new DevExpress.Utils.PointFloat(236.6676F, 344.4042F);
this.lblKlient.Name = "lblKlient";
this.lblKlient.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.lblKlient.SizeF = new System.Drawing.SizeF(334.7499F, 23F);
this.lblKlient.SizeF = new System.Drawing.SizeF(434.7498F, 23F);
this.lblKlient.StylePriority.UseFont = false;
this.lblKlient.Text = "[CustomerName], geb.: [CustomerBirthdate!dd.MM.yyyy]";
this.lblKlient.Text = "[CustomerLastName], [CustomerFirstName], geb.: [CustomerBirthdate!dd.MM.yyyy]";
//
// xrLabel16
//
this.xrLabel16.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "CustomerReferenceNumber")});
this.xrLabel16.Font = new DevExpress.Drawing.DXFont("Arial", 9.75F);
this.xrLabel16.LocationFloat = new DevExpress.Utils.PointFloat(195.5001F, 391.5834F);
this.xrLabel16.Font = new DevExpress.Drawing.DXFont("Verdana", 9.75F);
this.xrLabel16.LocationFloat = new DevExpress.Utils.PointFloat(236.6676F, 367.4043F);
this.xrLabel16.Name = "xrLabel16";
this.xrLabel16.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel16.SizeF = new System.Drawing.SizeF(334.75F, 23F);
this.xrLabel16.SizeF = new System.Drawing.SizeF(434.7499F, 23F);
this.xrLabel16.StylePriority.UseFont = false;
//
// xrLabel13
//
this.xrLabel13.Font = new DevExpress.Drawing.DXFont("Arial", 9.75F);
this.xrLabel13.LocationFloat = new DevExpress.Utils.PointFloat(0.0001268387F, 391.5834F);
this.xrLabel13.Font = new DevExpress.Drawing.DXFont("Verdana", 9.75F);
this.xrLabel13.LocationFloat = new DevExpress.Utils.PointFloat(0.0001271566F, 367.4043F);
this.xrLabel13.Name = "xrLabel13";
this.xrLabel13.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel13.SizeF = new System.Drawing.SizeF(195.4999F, 23F);
this.xrLabel13.SizeF = new System.Drawing.SizeF(236.6675F, 23F);
this.xrLabel13.StylePriority.UseFont = false;
this.xrLabel13.Text = "Aktenzeichen:";
//
@@ -303,15 +309,16 @@ namespace AachenerLaienhelfer
// xrLabel7
//
this.xrLabel7.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceDateTime", "Aachen, den {0:d. MMMM yyyy}")});
this.xrLabel7.Font = new DevExpress.Drawing.DXFont("Arial", 10F);
this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(497.6251F, 264.4828F);
new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceDateTime")});
this.xrLabel7.Font = new DevExpress.Drawing.DXFont("Verdana", 10F);
this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(497.6251F, 251.5F);
this.xrLabel7.Name = "xrLabel7";
this.xrLabel7.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel7.SizeF = new System.Drawing.SizeF(179.3749F, 23.00003F);
this.xrLabel7.StylePriority.UseFont = false;
this.xrLabel7.StylePriority.UseTextAlignment = false;
this.xrLabel7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrLabel7.TextFormatString = "Aachen, den {0:dd.MM.yyyy}";
//
// xrRichText1
//
@@ -320,7 +327,7 @@ namespace AachenerLaienhelfer
this.xrRichText1.Name = "xrRichText1";
this.xrRichText1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 0, 0, 0, 100F);
this.xrRichText1.SerializableRtfString = resources.GetString("xrRichText1.SerializableRtfString");
this.xrRichText1.SizeF = new System.Drawing.SizeF(179.3749F, 260.875F);
this.xrRichText1.SizeF = new System.Drawing.SizeF(179.3749F, 251.5F);
this.xrRichText1.StylePriority.UsePadding = false;
//
// lblAddress
@@ -336,7 +343,7 @@ namespace AachenerLaienhelfer
//
// xrTable3
//
this.xrTable3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 529.8749F);
this.xrTable3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 493.6958F);
this.xrTable3.Name = "xrTable3";
this.xrTable3.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow10});
@@ -441,7 +448,7 @@ namespace AachenerLaienhelfer
//
// xrLabel6
//
this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(0F, 482.875F);
this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(0F, 458.6959F);
this.xrLabel6.Multiline = true;
this.xrLabel6.Name = "xrLabel6";
this.xrLabel6.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
@@ -451,7 +458,7 @@ namespace AachenerLaienhelfer
//
// xrLabel5
//
this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(0F, 449.875F);
this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(0F, 428.6959F);
this.xrLabel5.Multiline = true;
this.xrLabel5.Name = "xrLabel5";
this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
@@ -465,7 +472,7 @@ namespace AachenerLaienhelfer
this.xrLabel4.CanShrink = true;
this.xrLabel4.Font = new DevExpress.Drawing.DXFont("Verdana", 9.75F, 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(0F, 340.6791F);
this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(0F, 316.5F);
this.xrLabel4.Multiline = true;
this.xrLabel4.Name = "xrLabel4";
this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
@@ -481,7 +488,7 @@ namespace AachenerLaienhelfer
this.xrLabel3.CanShrink = true;
this.xrLabel3.Font = new DevExpress.Drawing.DXFont("Verdana", 9.75F, DevExpress.Drawing.DXFontStyle.Bold, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 323.6791F);
this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 299.5F);
this.xrLabel3.Name = "xrLabel3";
this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel3.SizeF = new System.Drawing.SizeF(650F, 16F);
@@ -490,20 +497,20 @@ namespace AachenerLaienhelfer
this.xrLabel3.Text = "Abrechnung Eigenanteil";
this.xrLabel3.WordWrap = false;
//
// xrLabel2
// lblRechnungsNr
//
this.xrLabel2.BackColor = System.Drawing.Color.Transparent;
this.xrLabel2.CanShrink = true;
this.xrLabel2.Font = new DevExpress.Drawing.DXFont("Verdana", 9.75F, DevExpress.Drawing.DXFontStyle.Bold, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
this.lblRechnungsNr.BackColor = System.Drawing.Color.Transparent;
this.lblRechnungsNr.CanShrink = true;
this.lblRechnungsNr.Font = new DevExpress.Drawing.DXFont("Verdana", 9.75F, DevExpress.Drawing.DXFontStyle.Bold, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 298.6791F);
this.xrLabel2.Name = "xrLabel2";
this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel2.SizeF = new System.Drawing.SizeF(650F, 17F);
this.xrLabel2.StylePriority.UseBackColor = false;
this.xrLabel2.StylePriority.UseFont = false;
this.xrLabel2.Text = "Rechnung Nr. [InvoiceNumber]";
this.xrLabel2.WordWrap = false;
this.lblRechnungsNr.LocationFloat = new DevExpress.Utils.PointFloat(0F, 274.5F);
this.lblRechnungsNr.Name = "lblRechnungsNr";
this.lblRechnungsNr.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.lblRechnungsNr.SizeF = new System.Drawing.SizeF(650F, 17F);
this.lblRechnungsNr.StylePriority.UseBackColor = false;
this.lblRechnungsNr.StylePriority.UseFont = false;
this.lblRechnungsNr.Text = "Rechnung Nr. [InvoiceNumber]";
this.lblRechnungsNr.WordWrap = false;
//
// ruleRateFactorNull
//
@@ -521,7 +528,7 @@ namespace AachenerLaienhelfer
this.lblNotice,
this.xrTable4});
this.ReportFooter.Font = new DevExpress.Drawing.DXFont("Verdana", 10F);
this.ReportFooter.HeightF = 326.7017F;
this.ReportFooter.HeightF = 278.5834F;
this.ReportFooter.KeepTogether = true;
this.ReportFooter.Name = "ReportFooter";
this.ReportFooter.StylePriority.UseFont = false;
@@ -529,7 +536,7 @@ namespace AachenerLaienhelfer
// xrLabel9
//
this.xrLabel9.Font = new DevExpress.Drawing.DXFont("Verdana", 10F);
this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(0F, 106.125F);
this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(0.1668294F, 84.37501F);
this.xrLabel9.Multiline = true;
this.xrLabel9.Name = "xrLabel9";
this.xrLabel9.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
@@ -540,7 +547,7 @@ namespace AachenerLaienhelfer
// xrLabel14
//
this.xrLabel14.Font = new DevExpress.Drawing.DXFont("Verdana", 10F);
this.xrLabel14.LocationFloat = new DevExpress.Utils.PointFloat(0F, 261.3333F);
this.xrLabel14.LocationFloat = new DevExpress.Utils.PointFloat(0.1668294F, 244.5833F);
this.xrLabel14.Name = "xrLabel14";
this.xrLabel14.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel14.SizeF = new System.Drawing.SizeF(225F, 17F);
@@ -551,7 +558,7 @@ namespace AachenerLaienhelfer
//
this.xrLabel1.Font = new DevExpress.Drawing.DXFont("Arial", 8.25F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 278.3334F);
this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(0.1668294F, 261.5834F);
this.xrLabel1.Name = "xrLabel1";
this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel1.SizeF = new System.Drawing.SizeF(225F, 17F);
@@ -561,7 +568,7 @@ namespace AachenerLaienhelfer
// xrLabel8
//
this.xrLabel8.CanShrink = true;
this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(0F, 75F);
this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(0F, 56.25F);
this.xrLabel8.Multiline = true;
this.xrLabel8.Name = "xrLabel8";
this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
@@ -573,7 +580,7 @@ namespace AachenerLaienhelfer
//
this.lblNotice.CanShrink = true;
this.lblNotice.Font = new DevExpress.Drawing.DXFont("Verdana", 10F, DevExpress.Drawing.DXFontStyle.Italic);
this.lblNotice.LocationFloat = new DevExpress.Utils.PointFloat(0F, 46.54166F);
this.lblNotice.LocationFloat = new DevExpress.Utils.PointFloat(0F, 27.79166F);
this.lblNotice.Name = "lblNotice";
this.lblNotice.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.lblNotice.SizeF = new System.Drawing.SizeF(250F, 28.45834F);
@@ -629,6 +636,11 @@ namespace AachenerLaienhelfer
//
// bottomMarginBand1
//
this.bottomMarginBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrPictureBox2,
this.xrPictureBox3,
this.xrRichText3,
this.xrRichText4});
this.bottomMarginBand1.Name = "bottomMarginBand1";
//
// DetailReport
@@ -649,6 +661,42 @@ namespace AachenerLaienhelfer
this.Detail1.Name = "Detail1";
this.Detail1.StylePriority.UseFont = false;
//
// xrPictureBox2
//
this.xrPictureBox2.ImageSource = new DevExpress.XtraPrinting.Drawing.ImageSource("img", resources.GetString("xrPictureBox2.ImageSource"));
this.xrPictureBox2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 17.00001F);
this.xrPictureBox2.Name = "xrPictureBox2";
this.xrPictureBox2.SizeF = new System.Drawing.SizeF(317F, 58.41669F);
this.xrPictureBox2.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage;
//
// xrPictureBox3
//
this.xrPictureBox3.ImageSource = new DevExpress.XtraPrinting.Drawing.ImageSource("img", resources.GetString("xrPictureBox3.ImageSource"));
this.xrPictureBox3.LocationFloat = new DevExpress.Utils.PointFloat(327.4167F, 29.50001F);
this.xrPictureBox3.Name = "xrPictureBox3";
this.xrPictureBox3.SizeF = new System.Drawing.SizeF(96.16675F, 45.91668F);
this.xrPictureBox3.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage;
//
// xrRichText3
//
this.xrRichText3.Font = new DevExpress.Drawing.DXFont("Verdana", 10F);
this.xrRichText3.LocationFloat = new DevExpress.Utils.PointFloat(424.0832F, 40.04669F);
this.xrRichText3.Name = "xrRichText3";
this.xrRichText3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 0, 0, 0, 100F);
this.xrRichText3.SerializableRtfString = resources.GetString("xrRichText3.SerializableRtfString");
this.xrRichText3.SizeF = new System.Drawing.SizeF(252.9167F, 35.37F);
this.xrRichText3.StylePriority.UsePadding = false;
//
// xrRichText4
//
this.xrRichText4.Font = new DevExpress.Drawing.DXFont("Verdana", 10F);
this.xrRichText4.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.xrRichText4.Name = "xrRichText4";
this.xrRichText4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 0, 0, 0, 100F);
this.xrRichText4.SerializableRtfString = resources.GetString("xrRichText4.SerializableRtfString");
this.xrRichText4.SizeF = new System.Drawing.SizeF(626.2502F, 16.99994F);
this.xrRichText4.StylePriority.UsePadding = false;
//
// bindingSource1
//
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.InvoiceCustomerRO);
@@ -678,6 +726,8 @@ namespace AachenerLaienhelfer
((System.ComponentModel.ISupportInitialize)(this.xrRichText1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable4)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrRichText3)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrRichText4)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
@@ -692,7 +742,7 @@ namespace AachenerLaienhelfer
private DevExpress.XtraReports.UI.XRLabel xrLabel5;
private DevExpress.XtraReports.UI.XRLabel xrLabel4;
private DevExpress.XtraReports.UI.XRLabel xrLabel3;
private DevExpress.XtraReports.UI.XRLabel xrLabel2;
private DevExpress.XtraReports.UI.XRLabel lblRechnungsNr;
private DevExpress.XtraReports.UI.ReportFooterBand ReportFooter;
private DevExpress.XtraReports.UI.XRLabel lblNotice;
private DevExpress.XtraReports.UI.FormattingRule ruleRateFactorNull;
@@ -734,5 +784,9 @@ namespace AachenerLaienhelfer
private DevExpress.XtraReports.UI.XRLabel lblKlient;
private DevExpress.XtraReports.UI.XRLabel xrLabel16;
private DevExpress.XtraReports.UI.XRLabel xrLabel13;
private DevExpress.XtraReports.UI.XRPictureBox xrPictureBox2;
private DevExpress.XtraReports.UI.XRPictureBox xrPictureBox3;
private DevExpress.XtraReports.UI.XRRichText xrRichText3;
private DevExpress.XtraReports.UI.XRRichText xrRichText4;
}
}

View File

@@ -1,7 +1,10 @@
using System;
using System.Text;
using BeWo.Data.Access;
using BeWo.Data.Entities;
using BeWo.Report;
using BeWo.Report.ReportObjects;
using BS.Shared;
namespace AachenerLaienhelfer
{
@@ -48,9 +51,6 @@ namespace AachenerLaienhelfer
}
lblAddress.Text = sb.ToString();
this.bindingSource1.DataSource = pRO;
}

File diff suppressed because one or more lines are too long

View File

@@ -43,7 +43,7 @@ namespace AachenerLaienhelfer
this.xrPictureBox2 = new DevExpress.XtraReports.UI.XRPictureBox();
this.Page1 = new DevExpress.XtraReports.UI.GroupHeaderBand();
this.xrRichText2 = new DevExpress.XtraReports.UI.XRRichText();
this.lblApproved = new DevExpress.XtraReports.UI.XRLabel();
this.lblBetreuungskraft = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel17 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel13 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel16 = new DevExpress.XtraReports.UI.XRLabel();
@@ -181,7 +181,7 @@ namespace AachenerLaienhelfer
//
this.Page1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrRichText2,
this.lblApproved,
this.lblBetreuungskraft,
this.xrLabel17,
this.xrLabel13,
this.xrLabel16,
@@ -208,15 +208,14 @@ namespace AachenerLaienhelfer
this.xrRichText2.SerializableRtfString = resources.GetString("xrRichText2.SerializableRtfString");
this.xrRichText2.SizeF = new System.Drawing.SizeF(350F, 22.99998F);
//
// lblApproved
// lblBetreuungskraft
//
this.lblApproved.Font = new DevExpress.Drawing.DXFont("Verdana", 10F);
this.lblApproved.LocationFloat = new DevExpress.Utils.PointFloat(215.2916F, 425.5834F);
this.lblApproved.Name = "lblApproved";
this.lblApproved.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.lblApproved.SizeF = new System.Drawing.SizeF(334.75F, 23F);
this.lblApproved.StylePriority.UseFont = false;
this.lblApproved.Text = "[ServiceInvoicePeriods.SupportConceptApprovalPeriod.ApprovedBEPerInterval!0.00]";
this.lblBetreuungskraft.Font = new DevExpress.Drawing.DXFont("Verdana", 10F);
this.lblBetreuungskraft.LocationFloat = new DevExpress.Utils.PointFloat(248.807F, 425.5833F);
this.lblBetreuungskraft.Name = "lblBetreuungskraft";
this.lblBetreuungskraft.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.lblBetreuungskraft.SizeF = new System.Drawing.SizeF(428.0261F, 23F);
this.lblBetreuungskraft.StylePriority.UseFont = false;
//
// xrLabel17
//
@@ -224,9 +223,9 @@ namespace AachenerLaienhelfer
this.xrLabel17.LocationFloat = new DevExpress.Utils.PointFloat(0F, 425.5835F);
this.xrLabel17.Name = "xrLabel17";
this.xrLabel17.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel17.SizeF = new System.Drawing.SizeF(215.2916F, 23F);
this.xrLabel17.SizeF = new System.Drawing.SizeF(248.8071F, 23F);
this.xrLabel17.StylePriority.UseFont = false;
this.xrLabel17.Text = "Vereinbarte FL-Std.:";
this.xrLabel17.Text = "Name Betreuungskraft:";
//
// xrLabel13
//
@@ -234,7 +233,7 @@ namespace AachenerLaienhelfer
this.xrLabel13.LocationFloat = new DevExpress.Utils.PointFloat(0F, 379.5834F);
this.xrLabel13.Name = "xrLabel13";
this.xrLabel13.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel13.SizeF = new System.Drawing.SizeF(215.2915F, 23F);
this.xrLabel13.SizeF = new System.Drawing.SizeF(248.807F, 23F);
this.xrLabel13.StylePriority.UseFont = false;
this.xrLabel13.Text = "Aktenzeichen:";
//
@@ -243,19 +242,19 @@ namespace AachenerLaienhelfer
this.xrLabel16.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "CustomerReferenceNumber")});
this.xrLabel16.Font = new DevExpress.Drawing.DXFont("Verdana", 10F);
this.xrLabel16.LocationFloat = new DevExpress.Utils.PointFloat(215.2916F, 379.5835F);
this.xrLabel16.LocationFloat = new DevExpress.Utils.PointFloat(248.807F, 379.5834F);
this.xrLabel16.Name = "xrLabel16";
this.xrLabel16.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel16.SizeF = new System.Drawing.SizeF(334.75F, 23F);
this.xrLabel16.SizeF = new System.Drawing.SizeF(428.0261F, 23F);
this.xrLabel16.StylePriority.UseFont = false;
//
// lblKlient
//
this.lblKlient.Font = new DevExpress.Drawing.DXFont("Verdana", 10F);
this.lblKlient.LocationFloat = new DevExpress.Utils.PointFloat(215.2916F, 356.5834F);
this.lblKlient.LocationFloat = new DevExpress.Utils.PointFloat(248.807F, 356.5833F);
this.lblKlient.Name = "lblKlient";
this.lblKlient.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.lblKlient.SizeF = new System.Drawing.SizeF(334.7499F, 23F);
this.lblKlient.SizeF = new System.Drawing.SizeF(428.0261F, 23F);
this.lblKlient.StylePriority.UseFont = false;
this.lblKlient.Text = "[CustomerName], geb.: [CustomerBirthdate!dd.MM.yyyy]";
//
@@ -265,7 +264,7 @@ namespace AachenerLaienhelfer
this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(0F, 356.5833F);
this.xrLabel12.Name = "xrLabel12";
this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel12.SizeF = new System.Drawing.SizeF(215.2915F, 23F);
this.xrLabel12.SizeF = new System.Drawing.SizeF(248.807F, 23F);
this.xrLabel12.StylePriority.UseFont = false;
this.xrLabel12.Text = "Name, Vorname, Geb.-Datum: ";
//
@@ -312,24 +311,25 @@ namespace AachenerLaienhelfer
// xrLabel8
//
this.xrLabel8.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceDateTime", "Aachen, den {0:d. MMMM yyyy}")});
new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceDateTime")});
this.xrLabel8.Font = new DevExpress.Drawing.DXFont("Verdana", 10F);
this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(523.6252F, 263.0189F);
this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(509.0418F, 263.0189F);
this.xrLabel8.Name = "xrLabel8";
this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel8.SizeF = new System.Drawing.SizeF(179.3749F, 23.00003F);
this.xrLabel8.SizeF = new System.Drawing.SizeF(193.958F, 23.00003F);
this.xrLabel8.StylePriority.UseFont = false;
this.xrLabel8.StylePriority.UseTextAlignment = false;
this.xrLabel8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrLabel8.TextFormatString = "Aachen, den {0:dd.MM.yyyy}";
//
// xrRichText1
//
this.xrRichText1.Font = new DevExpress.Drawing.DXFont("Verdana", 10F);
this.xrRichText1.LocationFloat = new DevExpress.Utils.PointFloat(523.6252F, 0F);
this.xrRichText1.LocationFloat = new DevExpress.Utils.PointFloat(509.0418F, 0F);
this.xrRichText1.Name = "xrRichText1";
this.xrRichText1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 0, 0, 0, 100F);
this.xrRichText1.SerializableRtfString = resources.GetString("xrRichText1.SerializableRtfString");
this.xrRichText1.SizeF = new System.Drawing.SizeF(179.3749F, 263.0189F);
this.xrRichText1.SizeF = new System.Drawing.SizeF(193.958F, 263.0189F);
this.xrRichText1.StylePriority.UsePadding = false;
//
// xrLabel7
@@ -338,24 +338,24 @@ namespace AachenerLaienhelfer
this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(0F, 402.5834F);
this.xrLabel7.Name = "xrLabel7";
this.xrLabel7.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel7.SizeF = new System.Drawing.SizeF(215.2916F, 23F);
this.xrLabel7.SizeF = new System.Drawing.SizeF(248.8071F, 23F);
this.xrLabel7.StylePriority.UseFont = false;
this.xrLabel7.Text = "Abrechnungszeit:";
//
// xrLabel10
//
this.xrLabel10.Font = new DevExpress.Drawing.DXFont("Verdana", 10F);
this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(215.2916F, 402.5834F);
this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(248.807F, 402.5833F);
this.xrLabel10.Name = "xrLabel10";
this.xrLabel10.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel10.SizeF = new System.Drawing.SizeF(334.75F, 23F);
this.xrLabel10.SizeF = new System.Drawing.SizeF(428.0261F, 23F);
this.xrLabel10.StylePriority.UseFont = false;
this.xrLabel10.Text = "[AccountingPeriodStart!dd.MM.yyyy] bis [AccountingPeriodEnd!dd.MM.yyyy]";
//
// xrTable4
//
this.xrTable4.Font = new DevExpress.Drawing.DXFont("Verdana", 10F);
this.xrTable4.LocationFloat = new DevExpress.Utils.PointFloat(0F, 38.54167F);
this.xrTable4.LocationFloat = new DevExpress.Utils.PointFloat(0F, 25.54167F);
this.xrTable4.Name = "xrTable4";
this.xrTable4.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow10,
@@ -396,8 +396,8 @@ namespace AachenerLaienhelfer
//
// xrLabel14
//
this.xrLabel14.Font = new DevExpress.Drawing.DXFont("Verdana", 10F);
this.xrLabel14.LocationFloat = new DevExpress.Utils.PointFloat(0F, 233.3333F);
this.xrLabel14.Font = new DevExpress.Drawing.DXFont("Verdana", 9F);
this.xrLabel14.LocationFloat = new DevExpress.Utils.PointFloat(0F, 224.3333F);
this.xrLabel14.Name = "xrLabel14";
this.xrLabel14.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel14.SizeF = new System.Drawing.SizeF(225F, 17F);
@@ -406,12 +406,12 @@ namespace AachenerLaienhelfer
//
// xrLabel9
//
this.xrLabel9.Font = new DevExpress.Drawing.DXFont("Verdana", 10F);
this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(0F, 78.125F);
this.xrLabel9.Font = new DevExpress.Drawing.DXFont("Verdana", 9F);
this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(0F, 59.12501F);
this.xrLabel9.Multiline = true;
this.xrLabel9.Name = "xrLabel9";
this.xrLabel9.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel9.SizeF = new System.Drawing.SizeF(676.8331F, 135.4167F);
this.xrLabel9.SizeF = new System.Drawing.SizeF(676.8331F, 144.7917F);
this.xrLabel9.StylePriority.UseFont = false;
this.xrLabel9.Text = resources.GetString("xrLabel9.Text");
//
@@ -460,16 +460,18 @@ namespace AachenerLaienhelfer
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 DevExpress.Drawing.DXFont("Verdana", 9F, DevExpress.Drawing.DXFontStyle.Bold);
this.xrTableCell32.Name = "xrTableCell32";
this.xrTableCell32.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
this.xrTableCell32.StylePriority.UseBackColor = false;
this.xrTableCell32.StylePriority.UseBorderColor = false;
this.xrTableCell32.StylePriority.UseBorders = false;
this.xrTableCell32.StylePriority.UseFont = false;
this.xrTableCell32.StylePriority.UsePadding = false;
this.xrTableCell32.StylePriority.UseTextAlignment = false;
this.xrTableCell32.Text = "Zeitraum";
this.xrTableCell32.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell32.Weight = 0.50698207360890735D;
this.xrTableCell32.Weight = 0.53193754147178574D;
//
// xrTableCell37
//
@@ -478,16 +480,18 @@ namespace AachenerLaienhelfer
this.xrTableCell37.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
| DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell37.Font = new DevExpress.Drawing.DXFont("Verdana", 9F, DevExpress.Drawing.DXFontStyle.Bold);
this.xrTableCell37.Name = "xrTableCell37";
this.xrTableCell37.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
this.xrTableCell37.StylePriority.UseBackColor = false;
this.xrTableCell37.StylePriority.UseBorderColor = false;
this.xrTableCell37.StylePriority.UseBorders = false;
this.xrTableCell37.StylePriority.UseFont = false;
this.xrTableCell37.StylePriority.UsePadding = false;
this.xrTableCell37.StylePriority.UseTextAlignment = false;
this.xrTableCell37.Text = "Leistung";
this.xrTableCell37.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell37.Weight = 0.6908971816165177D;
this.xrTableCell37.Weight = 0.78002547894085972D;
//
// xrTableCell35
//
@@ -496,16 +500,18 @@ namespace AachenerLaienhelfer
this.xrTableCell35.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
| DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell35.Font = new DevExpress.Drawing.DXFont("Verdana", 9F, DevExpress.Drawing.DXFontStyle.Bold);
this.xrTableCell35.Name = "xrTableCell35";
this.xrTableCell35.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
this.xrTableCell35.StylePriority.UseBackColor = false;
this.xrTableCell35.StylePriority.UseBorderColor = false;
this.xrTableCell35.StylePriority.UseBorders = false;
this.xrTableCell35.StylePriority.UseFont = false;
this.xrTableCell35.StylePriority.UsePadding = false;
this.xrTableCell35.StylePriority.UseTextAlignment = false;
this.xrTableCell35.Text = "Anzahl FLS";
this.xrTableCell35.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.xrTableCell35.Weight = 0.34602755203048063D;
this.xrTableCell35.Weight = 0.31037623832308253D;
//
// xrTableCell33
//
@@ -514,16 +520,18 @@ namespace AachenerLaienhelfer
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 DevExpress.Drawing.DXFont("Verdana", 9F, DevExpress.Drawing.DXFontStyle.Bold);
this.xrTableCell33.Name = "xrTableCell33";
this.xrTableCell33.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
this.xrTableCell33.StylePriority.UseBackColor = false;
this.xrTableCell33.StylePriority.UseBorderColor = false;
this.xrTableCell33.StylePriority.UseBorders = false;
this.xrTableCell33.StylePriority.UseFont = false;
this.xrTableCell33.StylePriority.UsePadding = false;
this.xrTableCell33.StylePriority.UseTextAlignment = false;
this.xrTableCell33.Text = "Preis je FLS in €";
this.xrTableCell33.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.xrTableCell33.Weight = 0.45332348587151755D;
this.xrTableCell33.Weight = 0.41410719485237224D;
//
// xrTableCell34
//
@@ -532,16 +540,18 @@ namespace AachenerLaienhelfer
this.xrTableCell34.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
| DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell34.Font = new DevExpress.Drawing.DXFont("Verdana", 9F, DevExpress.Drawing.DXFontStyle.Bold);
this.xrTableCell34.Name = "xrTableCell34";
this.xrTableCell34.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
this.xrTableCell34.StylePriority.UseBackColor = false;
this.xrTableCell34.StylePriority.UseBorderColor = false;
this.xrTableCell34.StylePriority.UseBorders = false;
this.xrTableCell34.StylePriority.UseFont = false;
this.xrTableCell34.StylePriority.UsePadding = false;
this.xrTableCell34.StylePriority.UseTextAlignment = false;
this.xrTableCell34.Text = "Gesamt";
this.xrTableCell34.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.xrTableCell34.Weight = 0.31923915575667006D;
this.xrTableCell34.Weight = 0.28002299529599306D;
//
// DetailReport2
//
@@ -589,7 +599,7 @@ namespace AachenerLaienhelfer
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell40.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "ServiceInvoicePeriods.ServiceInvoiceItems.Duration")});
this.xrTableCell40.Font = new DevExpress.Drawing.DXFont("Verdana", 10F);
this.xrTableCell40.Font = new DevExpress.Drawing.DXFont("Verdana", 9F);
this.xrTableCell40.Name = "xrTableCell40";
this.xrTableCell40.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
this.xrTableCell40.StylePriority.UseBorderColor = false;
@@ -598,14 +608,14 @@ namespace AachenerLaienhelfer
this.xrTableCell40.StylePriority.UsePadding = false;
this.xrTableCell40.StylePriority.UseTextAlignment = false;
this.xrTableCell40.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell40.Weight = 0.50685711879517592D;
this.xrTableCell40.Weight = 0.53180683159551756D;
//
// xrTableCell42
//
this.xrTableCell42.BorderColor = System.Drawing.Color.DarkGray;
this.xrTableCell42.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell42.Font = new DevExpress.Drawing.DXFont("Verdana", 10F);
this.xrTableCell42.Font = new DevExpress.Drawing.DXFont("Verdana", 9F);
this.xrTableCell42.Name = "xrTableCell42";
this.xrTableCell42.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
this.xrTableCell42.StylePriority.UseBorderColor = false;
@@ -613,9 +623,9 @@ namespace AachenerLaienhelfer
this.xrTableCell42.StylePriority.UseFont = false;
this.xrTableCell42.StylePriority.UsePadding = false;
this.xrTableCell42.StylePriority.UseTextAlignment = false;
this.xrTableCell42.Text = "Direkte Betreuung";
this.xrTableCell42.Text = "Direkte Betreuung Hilfeart 41/35a";
this.xrTableCell42.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell42.Weight = 0.69072685319579719D;
this.xrTableCell42.Weight = 0.77983296288122828D;
//
// xrTableCell43
//
@@ -624,7 +634,7 @@ namespace AachenerLaienhelfer
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell43.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "ServiceInvoicePeriods.ServiceInvoiceItems.Hours")});
this.xrTableCell43.Font = new DevExpress.Drawing.DXFont("Verdana", 10F);
this.xrTableCell43.Font = new DevExpress.Drawing.DXFont("Verdana", 9F);
this.xrTableCell43.Name = "xrTableCell43";
this.xrTableCell43.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
this.xrTableCell43.StylePriority.UseBorderColor = false;
@@ -634,7 +644,7 @@ namespace AachenerLaienhelfer
this.xrTableCell43.StylePriority.UseTextAlignment = false;
this.xrTableCell43.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.xrTableCell43.TextFormatString = "{0:0.##}";
this.xrTableCell43.Weight = 0.34594251923485841D;
this.xrTableCell43.Weight = 0.3102997777606965D;
//
// xrTableCell44
//
@@ -643,7 +653,7 @@ namespace AachenerLaienhelfer
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell44.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "ServiceInvoicePeriods.ServiceInvoiceItems.HourlyRate")});
this.xrTableCell44.Font = new DevExpress.Drawing.DXFont("Verdana", 10F);
this.xrTableCell44.Font = new DevExpress.Drawing.DXFont("Verdana", 9F);
this.xrTableCell44.Name = "xrTableCell44";
this.xrTableCell44.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
this.xrTableCell44.StylePriority.UseBorderColor = false;
@@ -653,7 +663,7 @@ namespace AachenerLaienhelfer
this.xrTableCell44.StylePriority.UseTextAlignment = false;
this.xrTableCell44.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.xrTableCell44.TextFormatString = "{0:0.00}";
this.xrTableCell44.Weight = 0.45370380190159187D;
this.xrTableCell44.Weight = 0.41400524246584824D;
//
// xrTableCell47
//
@@ -662,7 +672,7 @@ namespace AachenerLaienhelfer
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell47.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "ServiceInvoicePeriods.ServiceInvoiceItems.GrossAmount")});
this.xrTableCell47.Font = new DevExpress.Drawing.DXFont("Verdana", 10F);
this.xrTableCell47.Font = new DevExpress.Drawing.DXFont("Verdana", 9F);
this.xrTableCell47.Name = "xrTableCell47";
this.xrTableCell47.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
this.xrTableCell47.StylePriority.UseBorderColor = false;
@@ -671,7 +681,7 @@ namespace AachenerLaienhelfer
this.xrTableCell47.StylePriority.UsePadding = false;
this.xrTableCell47.StylePriority.UseTextAlignment = false;
this.xrTableCell47.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.xrTableCell47.Weight = 0.31923915575667006D;
this.xrTableCell47.Weight = 0.28052463418080276D;
//
// GroupFooter1
//
@@ -682,13 +692,13 @@ namespace AachenerLaienhelfer
this.xrLabel9,
this.xrTable4,
this.xrLabel14});
this.GroupFooter1.HeightF = 320.625F;
this.GroupFooter1.HeightF = 299.1251F;
this.GroupFooter1.Name = "GroupFooter1";
//
// xrRichText5
//
this.xrRichText5.Font = new DevExpress.Drawing.DXFont("Verdana", 10F);
this.xrRichText5.LocationFloat = new DevExpress.Utils.PointFloat(0F, 278.1249F);
this.xrRichText5.Font = new DevExpress.Drawing.DXFont("Verdana", 9F);
this.xrRichText5.LocationFloat = new DevExpress.Utils.PointFloat(0F, 265.1249F);
this.xrRichText5.Name = "xrRichText5";
this.xrRichText5.SerializableRtfString = resources.GetString("xrRichText5.SerializableRtfString");
this.xrRichText5.SizeF = new System.Drawing.SizeF(200F, 34.00014F);
@@ -697,7 +707,7 @@ namespace AachenerLaienhelfer
// xrLabel5
//
this.xrLabel5.Font = new DevExpress.Drawing.DXFont("Verdana", 8F);
this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(0F, 250.3334F);
this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(0F, 241.3334F);
this.xrLabel5.Name = "xrLabel5";
this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel5.SizeF = new System.Drawing.SizeF(225F, 17F);
@@ -708,7 +718,7 @@ namespace AachenerLaienhelfer
//
this.xrLabel1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "GrossClaim", "Gesamtsumme: {0}")});
this.xrLabel1.Font = new DevExpress.Drawing.DXFont("Verdana", 10F, DevExpress.Drawing.DXFontStyle.Bold);
this.xrLabel1.Font = new DevExpress.Drawing.DXFont("Verdana", 9F, DevExpress.Drawing.DXFontStyle.Bold);
this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(420.9999F, 0F);
this.xrLabel1.Name = "xrLabel1";
this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 5, 0, 0, 100F);
@@ -807,7 +817,7 @@ namespace AachenerLaienhelfer
private DevExpress.XtraReports.UI.XRLabel xrLabel12;
private DevExpress.XtraReports.UI.XRLabel xrLabel7;
private DevExpress.XtraReports.UI.XRLabel xrLabel10;
private DevExpress.XtraReports.UI.XRLabel lblApproved;
private DevExpress.XtraReports.UI.XRLabel lblBetreuungskraft;
private DevExpress.XtraReports.UI.XRLabel xrLabel17;
private DevExpress.XtraReports.UI.XRRichText xrRichText4;
private DevExpress.XtraReports.UI.XRRichText xrRichText3;

View File

@@ -1,7 +1,11 @@
using System;
using System.Linq;
using System.Text;
using BeWo.Data.Access;
using BeWo.Data.Entities;
using BeWo.Report;
using BeWo.Report.ReportObjects;
using BS.Shared;
using DevExpress.XtraReports.UI;
namespace AachenerLaienhelfer
@@ -15,8 +19,24 @@ namespace AachenerLaienhelfer
public void SetReportDataSource(ServiceInvoiceRO pRO)
{
SetzeAdresse(pRO);
SetzeAdresse(pRO);
if (pRO.CustomerOid != null)
{
Customer c = DAOFactory.GenericDAO.LoadByID<Customer>((long)pRO.CustomerOid);
if (c != null)
{
var hauptbetreuer = c.Employee2CustomerList.FirstOrDefault(
e2c => e2c.ValueList.Any(ve => ve.Entry.SystemEntryID.HasValue
&& ve.Entry.SystemEntryID.Value == SystemEntryID.EmployeeRoleMainAttendant));
if (hauptbetreuer != null && hauptbetreuer.Employee.Person != null)
{
lblBetreuungskraft.Text = hauptbetreuer.Employee.Person.FirstNameLastName;
}
}
}
this.bindingSource1.DataSource = pRO;
}
@@ -27,17 +47,13 @@ namespace AachenerLaienhelfer
{
sb.AppendLine(pRO.RecipientOrganisation);
}
//if (!String.IsNullOrEmpty(pRO.RecipientAddressLine1))
//{
// sb.AppendLine(pRO.RecipientAddressLine1);
//}
if (!String.IsNullOrEmpty(pRO.RecipientDivision) && !String.IsNullOrEmpty(pRO.RecipientOrganisation) && pRO.RecipientOrganisation.ToLower() != "selbstzahler")
{
sb.AppendLine(pRO.RecipientDivision);
}
if (!String.IsNullOrEmpty(pRO.RecipientContactPerson))
{
sb.AppendLine(pRO.RecipientContactPerson);
sb.AppendLine("z. Hd. " + pRO.RecipientContactPerson);
}
if (!String.IsNullOrEmpty(pRO.RecipientPoBox))
{
@@ -46,7 +62,6 @@ namespace AachenerLaienhelfer
else if (!String.IsNullOrEmpty(pRO.RecipientStreet))
{
sb.AppendLine(pRO.RecipientStreet);
sb.AppendLine();
}
if (!String.IsNullOrEmpty(pRO.RecipientPostCodeAndTown))
{

File diff suppressed because one or more lines are too long

View File

@@ -151,7 +151,7 @@ namespace AachenerLaienhelfer
this.xrRichText1,
this.xrRichText2});
this.ReportHeader.Font = new DevExpress.Drawing.DXFont("Verdana", 10F);
this.ReportHeader.HeightF = 412.5418F;
this.ReportHeader.HeightF = 406.9585F;
this.ReportHeader.Name = "ReportHeader";
this.ReportHeader.StylePriority.UseFont = false;
//
@@ -231,16 +231,16 @@ namespace AachenerLaienhelfer
//
this.xrLabel8.CanGrow = false;
this.xrLabel8.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceDate", "Aachen, den {0:d. MMMM yyyy}")});
this.xrLabel8.Font = new DevExpress.Drawing.DXFont("Arial", 8.25F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(522.6252F, 392.25F);
new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceDate")});
this.xrLabel8.Font = new DevExpress.Drawing.DXFont("Verdana", 9F);
this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(522.6204F, 386.6667F);
this.xrLabel8.Name = "xrLabel8";
this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel8.SizeF = new System.Drawing.SizeF(179.3748F, 20.29181F);
this.xrLabel8.StylePriority.UseFont = false;
this.xrLabel8.StylePriority.UseTextAlignment = false;
this.xrLabel8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrLabel8.TextFormatString = "Aachen, den {0:dd.MM.yyyy}";
//
// xrRichText1
//
@@ -249,7 +249,7 @@ namespace AachenerLaienhelfer
this.xrRichText1.Name = "xrRichText1";
this.xrRichText1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 0, 0, 0, 100F);
this.xrRichText1.SerializableRtfString = resources.GetString("xrRichText1.SerializableRtfString");
this.xrRichText1.SizeF = new System.Drawing.SizeF(179.37F, 257F);
this.xrRichText1.SizeF = new System.Drawing.SizeF(179.37F, 252F);
this.xrRichText1.StylePriority.UsePadding = false;
//
// xrRichText2