MH: Default Rechnungen Anrede Fix

This commit is contained in:
2025-06-26 14:09:44 +02:00
parent 39682cfd0b
commit b134b30194
4 changed files with 6 additions and 3 deletions

View File

@@ -48,6 +48,9 @@ namespace BeWo.Report.DefaultReports
}
lblAddress.Text = sb.ToString();
if (pRO.RecipientSalutation == "Sehr geehrte Damen und Herren,")
pRO.RecipientSalutation = "Guten Tag,";
this.bindingSource1.DataSource = pRO;
}
}

View File

@@ -28,7 +28,7 @@ namespace BeWo.Report.DefaultReports
if (pRO.CustomerSalutation.IsNullOrEmpty())
{
lblAnrede.Text = "Guten Tag " + pRO.CustomerFirstName + " " + pRO.CustomerLastName + ",";
lblAnrede.Text = "Guten Tag,";
}
SetzeAdresse(pRO);

View File

@@ -81,7 +81,7 @@ namespace BeWo.Report.DefaultReports.Alt
if (pRO.Salutation1.IsNullOrEmpty() && pRO.Salutation2.IsNullOrEmpty())
{
lblAnrede.Text = "Guten Tag " + pRO.CustomerFirstName + " " + pRO.CustomerLastName + ",";
lblAnrede.Text = "Guten Tag,";
}
this.bindingSource1.DataSource = pRO;

View File

@@ -52,7 +52,7 @@ namespace BeWo.Report.DefaultReports
if (pRO.Salutation1.IsNullOrEmpty() && pRO.Salutation2.IsNullOrEmpty())
{
lblAnrede.Text = "Guten Tag " + pRO.CustomerFirstName + " " + pRO.CustomerLastName + ",";
lblAnrede.Text = "Guten Tag,";
}
this.bindingSource1.DataSource = pRO;