InklusioElmarBauer: Bei Rechnungen an den LVR festen Erzeuger eintragen (Elmar Bauer)

This commit is contained in:
2025-05-12 18:03:57 +02:00
parent e5b053b34d
commit cd715c065e
6 changed files with 49 additions and 33 deletions

View File

@@ -83,7 +83,7 @@ namespace InklusioElmarBauer
this.ReportFooter = new DevExpress.XtraReports.UI.ReportFooterBand(); this.ReportFooter = new DevExpress.XtraReports.UI.ReportFooterBand();
this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel(); this.lblUnterzeichner = new DevExpress.XtraReports.UI.XRLabel();
this.lblNotice = new DevExpress.XtraReports.UI.XRLabel(); this.lblNotice = new DevExpress.XtraReports.UI.XRLabel();
this.xrTable4 = new DevExpress.XtraReports.UI.XRTable(); this.xrTable4 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow11 = new DevExpress.XtraReports.UI.XRTableRow(); this.xrTableRow11 = new DevExpress.XtraReports.UI.XRTableRow();
@@ -710,7 +710,7 @@ namespace InklusioElmarBauer
this.ReportFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.ReportFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrLabel8, this.xrLabel8,
this.xrLabel10, this.xrLabel10,
this.xrLabel12, this.lblUnterzeichner,
this.lblNotice, this.lblNotice,
this.xrTable4}); this.xrTable4});
this.ReportFooter.Font = new DevExpress.Drawing.DXFont("Verdana", 10F); this.ReportFooter.Font = new DevExpress.Drawing.DXFont("Verdana", 10F);
@@ -739,14 +739,14 @@ namespace InklusioElmarBauer
this.xrLabel10.StylePriority.UseFont = false; this.xrLabel10.StylePriority.UseFont = false;
this.xrLabel10.Text = "Mit freundlichen Grüßen"; this.xrLabel10.Text = "Mit freundlichen Grüßen";
// //
// xrLabel12 // lblUnterzeichner
// //
this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(0F, 209.5417F); this.lblUnterzeichner.LocationFloat = new DevExpress.Utils.PointFloat(0F, 209.5417F);
this.xrLabel12.Name = "xrLabel12"; this.lblUnterzeichner.Name = "lblUnterzeichner";
this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.lblUnterzeichner.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel12.SizeF = new System.Drawing.SizeF(292F, 17.00002F); this.lblUnterzeichner.SizeF = new System.Drawing.SizeF(292F, 17.00002F);
this.xrLabel12.StylePriority.UseFont = false; this.lblUnterzeichner.StylePriority.UseFont = false;
this.xrLabel12.Text = "[CreatorFirstName] [CreatorLastName]"; this.lblUnterzeichner.Text = "[CreatorFirstName] [CreatorLastName]";
// //
// lblNotice // lblNotice
// //
@@ -921,7 +921,7 @@ namespace InklusioElmarBauer
private DevExpress.XtraReports.UI.XRLabel xrLabel2; private DevExpress.XtraReports.UI.XRLabel xrLabel2;
private DevExpress.XtraReports.UI.ReportFooterBand ReportFooter; private DevExpress.XtraReports.UI.ReportFooterBand ReportFooter;
private DevExpress.XtraReports.UI.XRLabel lblNotice; private DevExpress.XtraReports.UI.XRLabel lblNotice;
private DevExpress.XtraReports.UI.XRLabel xrLabel12; private DevExpress.XtraReports.UI.XRLabel lblUnterzeichner;
private DevExpress.XtraReports.UI.XRLabel xrLabel10; private DevExpress.XtraReports.UI.XRLabel xrLabel10;
private DevExpress.XtraReports.UI.FormattingRule ruleRateFactorNull; private DevExpress.XtraReports.UI.FormattingRule ruleRateFactorNull;
private DevExpress.XtraReports.UI.TopMarginBand topMarginBand1; private DevExpress.XtraReports.UI.TopMarginBand topMarginBand1;

View File

@@ -48,6 +48,12 @@ namespace InklusioElmarBauer
} }
lblAddress.Text = sb.ToString(); lblAddress.Text = sb.ToString();
if (pRO.RecipientOrganisation.Contains("LVR"))
{
pRO.CreatorFirstName = "Elmar";
pRO.CreatorLastName = "Bauer";
}
this.bindingSource1.DataSource = pRO; this.bindingSource1.DataSource = pRO;
} }
} }

View File

@@ -75,7 +75,7 @@ namespace InklusioElmarBauer
this.xrTableCell9 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell9 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow14 = new DevExpress.XtraReports.UI.XRTableRow(); this.xrTableRow14 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell12 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell12 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrLabel14 = new DevExpress.XtraReports.UI.XRLabel(); this.lblUnterzeichner = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel9 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel9 = new DevExpress.XtraReports.UI.XRLabel();
this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand(); this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand();
this.Detail1 = new DevExpress.XtraReports.UI.DetailBand(); this.Detail1 = new DevExpress.XtraReports.UI.DetailBand();
@@ -594,17 +594,17 @@ namespace InklusioElmarBauer
this.xrTableCell12.Name = "xrTableCell12"; this.xrTableCell12.Name = "xrTableCell12";
this.xrTableCell12.Weight = 3D; this.xrTableCell12.Weight = 3D;
// //
// xrLabel14 // lblUnterzeichner
// //
this.xrLabel14.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { this.lblUnterzeichner.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "CreatorName")}); new DevExpress.XtraReports.UI.XRBinding("Text", null, "CreatorName")});
this.xrLabel14.Font = new DevExpress.Drawing.DXFont("Verdana", 10F); this.lblUnterzeichner.Font = new DevExpress.Drawing.DXFont("Verdana", 10F);
this.xrLabel14.LocationFloat = new DevExpress.Utils.PointFloat(0F, 184.5833F); this.lblUnterzeichner.LocationFloat = new DevExpress.Utils.PointFloat(0F, 184.5833F);
this.xrLabel14.Name = "xrLabel14"; this.lblUnterzeichner.Name = "lblUnterzeichner";
this.xrLabel14.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.lblUnterzeichner.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel14.SizeF = new System.Drawing.SizeF(225F, 17F); this.lblUnterzeichner.SizeF = new System.Drawing.SizeF(225F, 17F);
this.xrLabel14.StylePriority.UseFont = false; this.lblUnterzeichner.StylePriority.UseFont = false;
this.xrLabel14.Text = "[CreatorName]"; this.lblUnterzeichner.Text = "[CreatorName]";
// //
// xrLabel9 // xrLabel9
// //
@@ -971,7 +971,7 @@ namespace InklusioElmarBauer
this.xrLabel1, this.xrLabel1,
this.xrLabel9, this.xrLabel9,
this.xrTable4, this.xrTable4,
this.xrLabel14, this.lblUnterzeichner,
this.xrLabel15}); this.xrLabel15});
this.GroupFooter1.HeightF = 206.5833F; this.GroupFooter1.HeightF = 206.5833F;
this.GroupFooter1.Name = "GroupFooter1"; this.GroupFooter1.Name = "GroupFooter1";
@@ -1045,7 +1045,7 @@ namespace InklusioElmarBauer
private DevExpress.XtraReports.UI.XRTableCell xrTableCell9; private DevExpress.XtraReports.UI.XRTableCell xrTableCell9;
private DevExpress.XtraReports.UI.XRTableRow xrTableRow14; private DevExpress.XtraReports.UI.XRTableRow xrTableRow14;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell12; private DevExpress.XtraReports.UI.XRTableCell xrTableCell12;
private DevExpress.XtraReports.UI.XRLabel xrLabel14; private DevExpress.XtraReports.UI.XRLabel lblUnterzeichner;
private DevExpress.XtraReports.UI.XRLabel xrLabel9; private DevExpress.XtraReports.UI.XRLabel xrLabel9;
private DevExpress.XtraReports.UI.DetailReportBand DetailReport; private DevExpress.XtraReports.UI.DetailReportBand DetailReport;
private DevExpress.XtraReports.UI.DetailBand Detail1; private DevExpress.XtraReports.UI.DetailBand Detail1;

View File

@@ -29,6 +29,11 @@ namespace InklusioElmarBauer
SetzeAdresse(pRO); SetzeAdresse(pRO);
if (pRO.RecipientOrganisation.Contains("LVR"))
{
pRO.CreatorName = "Elmar Bauer";
}
this.bindingSource1.DataSource = pRO; this.bindingSource1.DataSource = pRO;
} }

View File

@@ -88,7 +88,7 @@ namespace InklusioElmarBauer
this.xrTableCell30 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell30 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow24 = new DevExpress.XtraReports.UI.XRTableRow(); this.xrTableRow24 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell31 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell31 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel(); this.lblUnterzeichner = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel();
this.lblNotice = new DevExpress.XtraReports.UI.XRLabel(); this.lblNotice = new DevExpress.XtraReports.UI.XRLabel();
this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand(); this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand();
@@ -553,7 +553,7 @@ namespace InklusioElmarBauer
this.ReportFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.ReportFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrLabel10, this.xrLabel10,
this.xrTable3, this.xrTable3,
this.xrLabel12, this.lblUnterzeichner,
this.xrLabel11, this.xrLabel11,
this.lblNotice}); this.lblNotice});
this.ReportFooter.Font = new DevExpress.Drawing.DXFont("Verdana", 10F); this.ReportFooter.Font = new DevExpress.Drawing.DXFont("Verdana", 10F);
@@ -691,14 +691,14 @@ namespace InklusioElmarBauer
this.xrTableCell31.Text = "xrTableCell8"; this.xrTableCell31.Text = "xrTableCell8";
this.xrTableCell31.Weight = 3D; this.xrTableCell31.Weight = 3D;
// //
// xrLabel12 // lblUnterzeichner
// //
this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(0F, 187F); this.lblUnterzeichner.LocationFloat = new DevExpress.Utils.PointFloat(0F, 187F);
this.xrLabel12.Name = "xrLabel12"; this.lblUnterzeichner.Name = "lblUnterzeichner";
this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.lblUnterzeichner.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel12.SizeF = new System.Drawing.SizeF(225F, 17F); this.lblUnterzeichner.SizeF = new System.Drawing.SizeF(225F, 17F);
this.xrLabel12.StylePriority.UseFont = false; this.lblUnterzeichner.StylePriority.UseFont = false;
this.xrLabel12.Text = "[CreatorName]"; this.lblUnterzeichner.Text = "[CreatorName]";
// //
// xrLabel11 // xrLabel11
// //
@@ -1275,7 +1275,7 @@ namespace InklusioElmarBauer
private DevExpress.XtraReports.UI.XRLabel xrLabel1; private DevExpress.XtraReports.UI.XRLabel xrLabel1;
private DevExpress.XtraReports.UI.ReportFooterBand ReportFooter; private DevExpress.XtraReports.UI.ReportFooterBand ReportFooter;
private DevExpress.XtraReports.UI.XRLabel lblNotice; private DevExpress.XtraReports.UI.XRLabel lblNotice;
private DevExpress.XtraReports.UI.XRLabel xrLabel12; private DevExpress.XtraReports.UI.XRLabel lblUnterzeichner;
private DevExpress.XtraReports.UI.XRLabel xrLabel11; private DevExpress.XtraReports.UI.XRLabel xrLabel11;
private DevExpress.XtraReports.UI.XRTable xrTable1; private DevExpress.XtraReports.UI.XRTable xrTable1;
private DevExpress.XtraReports.UI.XRTableRow rowErbrachteLeistung; private DevExpress.XtraReports.UI.XRTableRow rowErbrachteLeistung;

View File

@@ -54,7 +54,12 @@ namespace InklusioElmarBauer
} }
pRO.RateFactor = (double)rateFactor; pRO.RateFactor = (double)rateFactor;
this.bindingSource1.DataSource = pRO; if (pRO.RecipientOrganisation.Contains("LVR"))
{
pRO.CreatorName = "Elmar Bauer";
}
this.bindingSource1.DataSource = pRO;
} }
} }
} }