fix Sammelrechnug
This commit is contained in:
@@ -329,7 +329,7 @@ Public Class frmFaktEmail
|
||||
Dim TextHTML = ""
|
||||
If SammelrechungArt <> 6 Then
|
||||
|
||||
If RECHNUNG.Firma_ID <> 19 Then
|
||||
If Firma_ID <> 19 Then
|
||||
|
||||
Select Case RechnungsLandKz
|
||||
Case "TR"
|
||||
@@ -352,7 +352,7 @@ Public Class frmFaktEmail
|
||||
Else
|
||||
|
||||
Dim SQL As New VERAG_PROG_ALLGEMEIN.SQL
|
||||
Dim listOfTextconserven As cTextkonserve_LIST = New cTextkonserve_LIST(1, "", RECHNUNG.Firma_ID)
|
||||
Dim listOfTextconserven As cTextkonserve_LIST = New cTextkonserve_LIST(1, "", Firma_ID)
|
||||
|
||||
Dim mailText As String = ""
|
||||
Dim spracheRechnung As String = "EN" 'Defaultsprache
|
||||
@@ -379,7 +379,7 @@ Public Class frmFaktEmail
|
||||
|
||||
Dim KUNDE_ERW As New cKundenErweitert(KdNr)
|
||||
|
||||
If RECHNUNG.FilialenNr = 4817 And RECHNUNG.Firma_ID = 19 AndAlso RECHNUNG.ErfassungsNr IsNot Nothing Then
|
||||
If RECHNUNG.FilialenNr = 4817 And Firma_ID = 19 AndAlso RECHNUNG.ErfassungsNr IsNot Nothing Then
|
||||
Dim SPEDBUCH = New VERAG_PROG_ALLGEMEIN.cSpeditionsbuch(RECHNUNG.FilialenNr, RECHNUNG.AbfertigungsNr, RECHNUNG.UnterNr)
|
||||
If SPEDBUCH.hasEntry AndAlso (SPEDBUCH.Abfertigungsart = 114 Or SPEDBUCH.Abfertigungsart = 115) Then
|
||||
Dim USTV_ANTRAG As New cUSTVAntrag(RECHNUNG.ErfassungsNr)
|
||||
|
||||
Reference in New Issue
Block a user