LebenshilfeRemscheid/Export/DatevExporter - Bugfix aus SchwesterDB, für Einzelexport der Rechnungen

This commit is contained in:
2025-09-23 17:23:13 +02:00
parent 7e7f3f7029
commit ef90431fcb

View File

@@ -98,6 +98,7 @@ namespace LebenshilfeRemscheid.Export
sb.Append(";");
sb.Append(String.Format("{0}", row[4])); //Belegfeld 2
sb.Append(";;");
//sb.Append(String.Format("{0:MM}/{0:yyyy} {1}, {2}", lastDate, row[3], row[4])); // Buchungstext
sb.Append(String.Format("{0:MM}/{0:yyyy} {1}", lastDate, row[3])); // Buchungstext
sb.Append(";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;");
}
@@ -113,7 +114,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);