MH: Default Rechnungen Anrede Fix
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user