SDL Brief BugFix
This commit is contained in:
@@ -1318,6 +1318,15 @@ Public Class cFakturierung
|
||||
' Dim RG_Bezeichnung = VERAG_PROG_ALLGEMEIN.cAllgemein.FIRMA & "_Rechnung_" & If(RECHNUNG.RechnungsNr, "") & ".pdf"
|
||||
Dim RG_Bezeichnung = If(RECHNUNG.[BelegartenKz] = "AR", "Rechnung_", "Gutschrift_") & If(RECHNUNG.RechnungsNr, "") & ".pdf"
|
||||
|
||||
'--------------------------------
|
||||
' --> TEST wegen Size Problem
|
||||
'--------------------------------
|
||||
If PrinterName <> "" Then
|
||||
rpt.Document.Printer.PrinterName = PrinterName
|
||||
End If
|
||||
rpt.Document.Printer.PaperSize = rpt.Document.Printer.PrinterSettings.DefaultPageSettings.PaperSize
|
||||
'--------------------------------
|
||||
|
||||
'Immer Exportieren, da in Therefore speichern
|
||||
Dim tmpPath = VERAG_PROG_ALLGEMEIN.DATENVERVER_OPTIONS.getTMPPath(RG_Bezeichnung, ".pdf", , False)
|
||||
Dim p As New GrapeCity.ActiveReports.Export.Pdf.Section.PdfExport
|
||||
|
||||
Reference in New Issue
Block a user