DomizielAnsbach Umstellung ZE Nr Bezirk Mittelfranken zu 2026
This commit is contained in:
@@ -324,7 +324,7 @@ namespace DomizielAnsbach
|
||||
this.xrLabel6.SizeF = new System.Drawing.SizeF(250F, 19.99998F);
|
||||
this.xrLabel6.StylePriority.UseBackColor = false;
|
||||
this.xrLabel6.StylePriority.UseFont = false;
|
||||
this.xrLabel6.Text = "ZE 70027";
|
||||
this.xrLabel6.Text = "ZE 40432";
|
||||
this.xrLabel6.WordWrap = false;
|
||||
//
|
||||
// xrTable2
|
||||
|
||||
@@ -50,6 +50,11 @@ namespace DomizielAnsbach
|
||||
|
||||
lblAdresse.Text = sb.ToString();
|
||||
|
||||
if (pRO.AccountingPeriodEnd <= new DateTime(2026, 01, 01))
|
||||
{
|
||||
xrLabel6.Text = "ZE 70027";
|
||||
}
|
||||
|
||||
var newSip = new ServiceInvoicePeriodRO();
|
||||
|
||||
foreach (var sip in pRO.ServiceInvoicePeriods)
|
||||
|
||||
@@ -67,12 +67,15 @@ namespace DomizielAnsbach
|
||||
|
||||
private void SetKundennummer(ServiceInvoiceRO pRO)
|
||||
{
|
||||
if (pRO.InvoiceBase.RecipientOrganisationOid.HasValue)
|
||||
pRO.OrganisationDebitorNumber = "ZE 40432";
|
||||
if (!String.IsNullOrEmpty(pRO.RecipientOrganisation) && !pRO.RecipientOrganisation.Contains("Bezirk Mittelfranken") && pRO.InvoiceBase.RecipientOrganisationOid.HasValue)
|
||||
{
|
||||
var org = DAOFactory.GenericDAO.LoadByID<Organisation>(pRO.InvoiceBase.RecipientOrganisationOid.Value);
|
||||
pRO.OrganisationDebitorNumber = org.DebitorNumber;
|
||||
|
||||
|
||||
}
|
||||
else if (pRO.AccountingPeriodEnd <= new DateTime(2026, 01, 01))
|
||||
{
|
||||
pRO.OrganisationDebitorNumber = "ZE 70027";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -725,7 +725,7 @@ namespace DomizielAnsbach
|
||||
this.lblZE.StylePriority.UseBorders = false;
|
||||
this.lblZE.StylePriority.UseFont = false;
|
||||
this.lblZE.StylePriority.UseTextAlignment = false;
|
||||
this.lblZE.Text = "ZE 50078";
|
||||
this.lblZE.Text = "ZE 40581";
|
||||
this.lblZE.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
this.lblZE.Weight = 0.069725279926124012D;
|
||||
//
|
||||
|
||||
@@ -63,6 +63,10 @@ namespace DomizielAnsbach
|
||||
lblQuartal.Text = GetQuarter(pRO.AccountingPeriodEnd).ToString() + ". Quartal " + pRO.AccountingPeriodEnd.Year.ToString();
|
||||
if (!String.IsNullOrEmpty(pRO.RecipientOrganisation) && !pRO.RecipientOrganisation.Contains("Bezirk Mittelfranken"))
|
||||
lblZE.Text = "";
|
||||
else if (pRO.AccountingPeriodEnd < new DateTime(2026,01,01))
|
||||
{
|
||||
lblZE.Text = "ZE 50078";
|
||||
}
|
||||
this.bindingSource1.DataSource = pRO;
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user