diff --git a/ReportImp/LebenshilfeRemscheidFF/Export/DatevExporter.cs b/ReportImp/LebenshilfeRemscheidFF/Export/DatevExporter.cs index 596159b6f..dfa9e2ea6 100644 --- a/ReportImp/LebenshilfeRemscheidFF/Export/DatevExporter.cs +++ b/ReportImp/LebenshilfeRemscheidFF/Export/DatevExporter.cs @@ -96,9 +96,9 @@ namespace LebenshilfeRemscheid.Export sb.Append(";"); sb.Append(String.Format("{0}", row[2])); //Belegfeld 1 sb.Append(";"); - sb.Append(String.Format("{0}", row[4])); //Belegfeld 2 + //sb.Append(String.Format("{0}", row[4])); //Belegfeld 2 sb.Append(";;"); - sb.Append(String.Format("{0:MM}/{0:yyyy} {1}", lastDate, row[3])); // Buchungstext + sb.Append(String.Format("{0:MM}/{0:yyyy} {1}, {2}", lastDate, row[3], row[4])); // Buchungstext sb.Append(";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"); } return sb.ToString(); @@ -113,7 +113,7 @@ namespace LebenshilfeRemscheid.Export { var pdf = new FileAttachmentDC(); - var invoiceOid = row[4].ToString(); + var invoiceOid = row[5].ToString(); if (!String.IsNullOrEmpty(invoiceOid)) { var oid = long.Parse(invoiceOid); diff --git a/ReportImp/LebenshilfeRemscheidFF/RechnungFF.cs b/ReportImp/LebenshilfeRemscheidFF/RechnungFF.cs index 468ff8880..5c164bf39 100644 --- a/ReportImp/LebenshilfeRemscheidFF/RechnungFF.cs +++ b/ReportImp/LebenshilfeRemscheidFF/RechnungFF.cs @@ -21,7 +21,7 @@ namespace LebenshilfeRemscheid public void SetReportDataSource(ServiceInvoiceRO pRO) { - lblRechnungsname.Text = pRO.CustomerLastName + "_" + pRO.CustomerFirstName + "" + pRO.InvoiceDate + "_" + pRO.InvoiceNumber; + lblRechnungsname.Text = pRO.InvoiceNumber; if (pRO.CustomerSalutation == "Herr") { pRO.CustomerSalutation = "Herrn";