DomizielAnsbach/Rechnungen -> ZE-Nr. wird zu RangNr..

SupportOID=166002
This commit is contained in:
2026-07-06 15:13:26 +02:00
parent e0974d557a
commit 85f042a525
3 changed files with 21 additions and 17 deletions

View File

@@ -67,7 +67,11 @@ namespace DomizielAnsbach
private void SetKundennummer(ServiceInvoiceRO pRO)
{
pRO.OrganisationDebitorNumber = "ZE 40432";
pRO.OrganisationDebitorNumber = "Rang-Nr. 40432";
if (!String.IsNullOrEmpty(pRO.RecipientOrganisation) && pRO.RecipientOrganisation.ToLower().Contains("wg connect") && pRO.InvoiceBase.RecipientOrganisationOid.HasValue)
{
pRO.OrganisationDebitorNumber = "Rang-Nr. 40433";
}
if (!String.IsNullOrEmpty(pRO.RecipientOrganisation) && !pRO.RecipientOrganisation.Contains("Bezirk Mittelfranken") && pRO.InvoiceBase.RecipientOrganisationOid.HasValue)
{
var org = DAOFactory.GenericDAO.LoadByID<Organisation>(pRO.InvoiceBase.RecipientOrganisationOid.Value);

View File

@@ -332,7 +332,7 @@ namespace DomizielAnsbach
xrSummary1.Func = DevExpress.XtraReports.UI.SummaryFunc.RecordNumber;
this.xrTableCell24.Summary = xrSummary1;
this.xrTableCell24.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
this.xrTableCell24.Weight = 0.18809578783916184D;
this.xrTableCell24.Weight = 0.17977390349923672D;
//
// xrTableCell25
//
@@ -346,7 +346,7 @@ namespace DomizielAnsbach
this.xrTableCell25.StylePriority.UseFont = false;
this.xrTableCell25.StylePriority.UseTextAlignment = false;
this.xrTableCell25.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
this.xrTableCell25.Weight = 0.069725279926124012D;
this.xrTableCell25.Weight = 0.078047164266049129D;
//
// xrTableCell26
//
@@ -411,7 +411,7 @@ namespace DomizielAnsbach
this.xrTableCell8.StylePriority.UseTextAlignment = false;
this.xrTableCell8.Text = "SUMME:";
this.xrTableCell8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell8.Weight = 1.2392041766955906D;
this.xrTableCell8.Weight = 1.1843783215634511D;
//
// xrTableCell3
//
@@ -428,7 +428,7 @@ namespace DomizielAnsbach
this.xrTableCell3.StylePriority.UsePadding = false;
this.xrTableCell3.StylePriority.UseTextAlignment = false;
this.xrTableCell3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.xrTableCell3.Weight = 0.4593601000547074D;
this.xrTableCell3.Weight = 0.514185955186847D;
//
// xrTableCell12
//
@@ -617,7 +617,7 @@ namespace DomizielAnsbach
xrSummary2.Func = DevExpress.XtraReports.UI.SummaryFunc.RecordNumber;
this.xrTableCell16.Summary = xrSummary2;
this.xrTableCell16.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
this.xrTableCell16.Weight = 0.18809578783916184D;
this.xrTableCell16.Weight = 0.17977410297153001D;
//
// xrTableCell17
//
@@ -631,7 +631,7 @@ namespace DomizielAnsbach
this.xrTableCell17.StylePriority.UseFont = false;
this.xrTableCell17.StylePriority.UseTextAlignment = false;
this.xrTableCell17.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
this.xrTableCell17.Weight = 0.069725279926124012D;
this.xrTableCell17.Weight = 0.078046964793755849D;
//
// xrTableCell18
//
@@ -712,7 +712,7 @@ namespace DomizielAnsbach
this.xrTableCell14.Summary = xrSummary3;
this.xrTableCell14.Text = "Abrechnung";
this.xrTableCell14.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
this.xrTableCell14.Weight = 0.18809578783916184D;
this.xrTableCell14.Weight = 0.17977410297153001D;
//
// lblZE
//
@@ -725,9 +725,9 @@ namespace DomizielAnsbach
this.lblZE.StylePriority.UseBorders = false;
this.lblZE.StylePriority.UseFont = false;
this.lblZE.StylePriority.UseTextAlignment = false;
this.lblZE.Text = "ZE 40581";
this.lblZE.Text = "Rang-Nr. 40581";
this.lblZE.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
this.lblZE.Weight = 0.069725279926124012D;
this.lblZE.Weight = 0.078046964793755849D;
//
// xrTableCell50
//
@@ -780,7 +780,7 @@ namespace DomizielAnsbach
this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell15});
this.xrTableRow1.Name = "xrTableRow1";
this.xrTableRow1.Weight = 0.13245033112582783D;
this.xrTableRow1.Weight = 0.13245033112582782D;
//
// xrTableCell15
//
@@ -801,7 +801,7 @@ namespace DomizielAnsbach
this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell1});
this.xrTableRow2.Name = "xrTableRow2";
this.xrTableRow2.Weight = 0.13245033112582783D;
this.xrTableRow2.Weight = 0.13245033112582782D;
//
// xrTableCell1
//
@@ -826,7 +826,7 @@ namespace DomizielAnsbach
this.xrTableRow12.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell2});
this.xrTableRow12.Name = "xrTableRow12";
this.xrTableRow12.Weight = 0.13245033112582783D;
this.xrTableRow12.Weight = 0.13245033112582782D;
//
// xrTableCell2
//
@@ -845,7 +845,7 @@ namespace DomizielAnsbach
this.xrTableRow13.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell4});
this.xrTableRow13.Name = "xrTableRow13";
this.xrTableRow13.Weight = 0.13245033112582783D;
this.xrTableRow13.Weight = 0.13245033112582782D;
//
// xrTableCell4
//
@@ -1001,7 +1001,7 @@ namespace DomizielAnsbach
xrSummary4.Func = DevExpress.XtraReports.UI.SummaryFunc.RecordNumber;
this.xrTableCell7.Summary = xrSummary4;
this.xrTableCell7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
this.xrTableCell7.Weight = 0.18809578783916184D;
this.xrTableCell7.Weight = 0.17977381484488414D;
//
// xrTableCell10
//
@@ -1014,7 +1014,7 @@ namespace DomizielAnsbach
this.xrTableCell10.StylePriority.UseFont = false;
this.xrTableCell10.StylePriority.UseTextAlignment = false;
this.xrTableCell10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
this.xrTableCell10.Weight = 0.069725279926124012D;
this.xrTableCell10.Weight = 0.078047252920401711D;
//
// xrTableCell20
//

File diff suppressed because one or more lines are too long