TRIAS Ambulante Sozialarbeit/Rechnung - ZENr nur für Bezirk Oberfranken

This commit is contained in:
2025-12-08 17:13:00 +01:00
parent 6e7d597021
commit 993f32c932
2 changed files with 25 additions and 1 deletions

View File

@@ -65,6 +65,7 @@ namespace BeWo.TRIASAmbulanteSozialarbeit
this.DatumsAnzeige = new DevExpress.XtraReports.UI.XRLabel();
this.lblAbrechnungszeitraum = new DevExpress.XtraReports.UI.XRLabel();
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
this.lblZeNr = new DevExpress.XtraReports.UI.XRLabel();
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable5)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
@@ -128,6 +129,7 @@ namespace BeWo.TRIASAmbulanteSozialarbeit
// Page1
//
this.Page1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.lblZeNr,
this.xrLabel3,
this.xrPictureBox1,
this.xrLabel2,
@@ -363,7 +365,7 @@ namespace BeWo.TRIASAmbulanteSozialarbeit
this.RechnungsNR.LocationFloat = new DevExpress.Utils.PointFloat(6.357829E-05F, 354.7917F);
this.RechnungsNR.Name = "RechnungsNR";
this.RechnungsNR.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.RechnungsNR.SizeF = new System.Drawing.SizeF(489.8335F, 20F);
this.RechnungsNR.SizeF = new System.Drawing.SizeF(244.0002F, 20F);
this.RechnungsNR.StylePriority.UseBackColor = false;
this.RechnungsNR.StylePriority.UseFont = false;
this.RechnungsNR.Text = "Rechnungsnr. [InvoiceNumber]";
@@ -402,6 +404,22 @@ namespace BeWo.TRIASAmbulanteSozialarbeit
//
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServiceInvoiceRO);
//
// lblZeNr
//
this.lblZeNr.BackColor = System.Drawing.Color.Transparent;
this.lblZeNr.CanShrink = true;
this.lblZeNr.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
this.lblZeNr.LocationFloat = new DevExpress.Utils.PointFloat(244.0002F, 354.7917F);
this.lblZeNr.Name = "lblZeNr";
this.lblZeNr.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.lblZeNr.SizeF = new System.Drawing.SizeF(244.0002F, 20F);
this.lblZeNr.StylePriority.UseBackColor = false;
this.lblZeNr.StylePriority.UseFont = false;
this.lblZeNr.Text = "ZE-Nr. 23700";
this.lblZeNr.Visible = false;
this.lblZeNr.WordWrap = false;
//
// Rechnung
//
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
@@ -466,5 +484,6 @@ namespace BeWo.TRIASAmbulanteSozialarbeit
private DevExpress.XtraReports.UI.XRLabel xrLabel2;
private DevExpress.XtraReports.UI.XRPictureBox xrPictureBox1;
private DevExpress.XtraReports.UI.XRLabel xrLabel3;
private DevExpress.XtraReports.UI.XRLabel lblZeNr;
}
}

View File

@@ -73,6 +73,11 @@ namespace BeWo.TRIASAmbulanteSozialarbeit
cellAbrechnungsmonat.Text = String.Format("{0:dd.MM.yyyy} - {1:dd.MM.yyyy}", start, end);
}
if (!String.IsNullOrEmpty(pRO.RecipientOrganisation) && pRO.RecipientOrganisation.Contains("Bezirk für Oberfranken"))
{
lblZeNr.Visible = true;
}
//foreach (var sip in pRO.ServiceInvoicePeriods)
//{
// foreach (var ii in sip.ServiceInvoiceItems)