MH: KKKleve GP Nummer

This commit is contained in:
2024-10-08 07:54:13 +02:00
parent db52416b06
commit 4b1b36e4c0
3 changed files with 32 additions and 1660 deletions

View File

@@ -53,6 +53,7 @@ namespace BeWo.DiakonieKKKleve
this.GroupFooter2 = new DevExpress.XtraReports.UI.GroupFooterBand();
this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel();
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
this.lblGP = new DevExpress.XtraReports.UI.XRLabel();
((System.ComponentModel.ISupportInitialize)(this.xrRichText4)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrRichText2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrRichText1)).BeginInit();
@@ -78,7 +79,7 @@ namespace BeWo.DiakonieKKKleve
//
// xrPictureBox1
//
this.xrPictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("xrPictureBox1.Image")));
this.xrPictureBox1.ImageSource = new DevExpress.XtraPrinting.Drawing.ImageSource("img", resources.GetString("xrPictureBox1.ImageSource"));
this.xrPictureBox1.LocationFloat = new DevExpress.Utils.PointFloat(495.71F, 19.79F);
this.xrPictureBox1.Name = "xrPictureBox1";
this.xrPictureBox1.SizeF = new System.Drawing.SizeF(182.2917F, 70.91666F);
@@ -122,17 +123,18 @@ namespace BeWo.DiakonieKKKleve
// Page1
//
this.Page1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.lblGP,
this.lblForderung,
this.xrLabel3,
this.xrLabel2,
this.lblAbrechnungszeitraum});
this.Page1.HeightF = 291.0417F;
this.Page1.HeightF = 321.0155F;
this.Page1.Name = "Page1";
this.Page1.StylePriority.UseFont = false;
//
// lblForderung
//
this.lblForderung.LocationFloat = new DevExpress.Utils.PointFloat(1.589457E-05F, 250.625F);
this.lblForderung.LocationFloat = new DevExpress.Utils.PointFloat(2.649095E-05F, 280.5988F);
this.lblForderung.Multiline = true;
this.lblForderung.Name = "lblForderung";
this.lblForderung.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
@@ -144,11 +146,11 @@ namespace BeWo.DiakonieKKKleve
//
this.xrLabel3.BackColor = System.Drawing.Color.Transparent;
this.xrLabel3.CanShrink = true;
this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(495.7102F, 0F);
this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(495.71F, 28.33335F);
this.xrLabel3.Multiline = true;
this.xrLabel3.Name = "xrLabel3";
this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel3.SizeF = new System.Drawing.SizeF(182.292F, 28.33336F);
this.xrLabel3.SizeF = new System.Drawing.SizeF(181.1231F, 28.33336F);
this.xrLabel3.StylePriority.UseBackColor = false;
this.xrLabel3.StylePriority.UseFont = false;
this.xrLabel3.Text = "Datum: [InvoiceDate]";
@@ -157,7 +159,7 @@ namespace BeWo.DiakonieKKKleve
// xrLabel2
//
this.xrLabel2.BackColor = System.Drawing.Color.Transparent;
this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 38.75003F);
this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 68.72388F);
this.xrLabel2.Multiline = true;
this.xrLabel2.Name = "xrLabel2";
this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
@@ -169,7 +171,7 @@ namespace BeWo.DiakonieKKKleve
//
// lblAbrechnungszeitraum
//
this.lblAbrechnungszeitraum.LocationFloat = new DevExpress.Utils.PointFloat(0F, 183.125F);
this.lblAbrechnungszeitraum.LocationFloat = new DevExpress.Utils.PointFloat(0F, 213.0988F);
this.lblAbrechnungszeitraum.Multiline = true;
this.lblAbrechnungszeitraum.Name = "lblAbrechnungszeitraum";
this.lblAbrechnungszeitraum.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
@@ -266,6 +268,21 @@ namespace BeWo.DiakonieKKKleve
//
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServiceInvoiceRO);
//
// lblGP
//
this.lblGP.BackColor = System.Drawing.Color.Transparent;
this.lblGP.CanShrink = true;
this.lblGP.Font = new DevExpress.Drawing.DXFont("Verdana", 10F);
this.lblGP.LocationFloat = new DevExpress.Utils.PointFloat(495.71F, 0F);
this.lblGP.Multiline = true;
this.lblGP.Name = "lblGP";
this.lblGP.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.lblGP.SizeF = new System.Drawing.SizeF(184.29F, 28.33336F);
this.lblGP.StylePriority.UseBackColor = false;
this.lblGP.StylePriority.UseFont = false;
this.lblGP.Text = "GP 2000307727";
this.lblGP.WordWrap = false;
//
// RechnungBeWo67
//
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
@@ -281,13 +298,11 @@ namespace BeWo.DiakonieKKKleve
this.DataSource = this.bindingSource1;
this.ExportOptions.PrintPreview.DefaultFileName = "Spitzabrechnung";
this.Font = new DevExpress.Drawing.DXFont("Verdana", 10F);
this.FormattingRuleSheet.AddRange(new DevExpress.XtraReports.UI.FormattingRule[] {
this.ruleRateFactorNull});
this.Margins = new DevExpress.Drawing.DXMargins(75, 72, 130, 71);
this.Margins = new DevExpress.Drawing.DXMargins(74F, 72F, 130F, 71F);
this.PageHeight = 1169;
this.PageWidth = 827;
this.PaperKind = DevExpress.Drawing.Printing.DXPaperKind.A4;
this.Version = "17.1";
this.Version = "23.2";
((System.ComponentModel.ISupportInitialize)(this.xrRichText4)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrRichText2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrRichText1)).EndInit();
@@ -321,5 +336,6 @@ namespace BeWo.DiakonieKKKleve
private DevExpress.XtraReports.UI.XRLabel xrLabel4;
private DevExpress.XtraReports.UI.XRRichText xrRichText4;
private DevExpress.XtraReports.UI.XRLine xrLine1;
private DevExpress.XtraReports.UI.XRLabel lblGP;
}
}

View File

@@ -18,6 +18,9 @@ namespace BeWo.DiakonieKKKleve
public void SetReportDataSource(ServiceInvoiceRO pRO)
{
if (!pRO.RecipientOrganisation.ToLower().Contains("lvr"))
lblGP.Visible = false;
if (!String.IsNullOrEmpty(pRO.SenderContactPersonMail))
{
pRO.SenderContactPersonMail = pRO.SenderContactPersonMail.Replace("E-Mail:", "").Trim();

File diff suppressed because one or more lines are too long