LebenshilfeRemscheidFF/Export/DatevExporter - AZ Klient in Buchungstext statt Beleg2 und Änderung für Einzelexport der Rg
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user