LebenshilfeRemscheid/Export/DatevExporter.cs - Finish mit Änderung Rechnungsnamen im PDF-Export

This commit is contained in:
2025-03-18 16:14:21 +01:00
parent 636d0410e0
commit 7507350835
2 changed files with 2 additions and 2 deletions

View File

@@ -92,7 +92,7 @@ namespace LebenshilfeRemscheid.Export
sb.Append(String.Format("{0:ddMMyy}", row[1])); //Belegfeld 2
sb.Append(";;");
sb.Append(String.Format("{0}", row[3])); // Buchungstext
sb.Append(";;;;;;;;;;;;;;;;;;;;;;;5000;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;");
sb.Append(";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;");
}
return sb.ToString();
}

View File

@@ -21,7 +21,7 @@ namespace LebenshilfeRemscheid
public void SetReportDataSource(ServiceInvoiceRO pRO)
{
lblRechnungsname.Text = pRO.CustomerLastName + "_" + pRO.CustomerFirstName + "" + pRO.InvoiceDate;
lblRechnungsname.Text = pRO.CustomerLastName + "_" + pRO.CustomerFirstName + "" + pRO.InvoiceDate + "_" + pRO.InvoiceNumber;
if (pRO.CustomerSalutation == "Herr")
{
pRO.CustomerSalutation = "Herrn";