LebenshilfeRemscheidFF/Export/DatevExporter - AZ Klient in Buchungstext statt Beleg2 und Änderung für Einzelexport der Rg

This commit is contained in:
2025-09-23 17:22:25 +02:00
parent 5e44f4a77f
commit 7e7f3f7029
2 changed files with 4 additions and 4 deletions

View File

@@ -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);

View File

@@ -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";