unisped VorlageProv
This commit is contained in:
@@ -565,15 +565,20 @@ Public Class cFakturierung
|
||||
Case 21, 22, 23
|
||||
Dim VORL = RECHNUNG.POSITIONEN.FindAll(Function(x) (x.LeistungsNr = 700 Or x.LeistungsNr = 710))
|
||||
' If ZZKdZahlungszielVL <> ZZKdZahlungsziel Then
|
||||
If VORL IsNot Nothing AndAlso VORL.Count > 0 Then
|
||||
Select Case RECHNUNG.RechnungSprache
|
||||
Case "EN" : strText = strText.Replace("<Vorlageprovision>", "If payment is received by <Rechnungsdatum+ZZVL>, you can deduct the template commission charged. " & vbCrLf)
|
||||
Case Else : strText = strText.Replace("<Vorlageprovision>", "Bei Zahlungseingang bis zum <Rechnungsdatum+ZZVL> können Sie die verrechnete Vorlageprovision in Abzug bringen. " & vbCrLf)
|
||||
End Select
|
||||
|
||||
''Ab 01.05.2026 nciht mehr, da Vorlageprovision nicht mehr abzugsfähig ist!
|
||||
If If(RECHNUNG.RechnungsDatum, Now) < CDate("01.05.2026") Then
|
||||
If VORL IsNot Nothing AndAlso VORL.Count > 0 Then
|
||||
Select Case RECHNUNG.RechnungSprache
|
||||
Case "EN" : strText = strText.Replace("<Vorlageprovision>", "If payment is received by <Rechnungsdatum+ZZVL>, you can deduct the template commission charged. " & vbCrLf)
|
||||
Case Else : strText = strText.Replace("<Vorlageprovision>", "Bei Zahlungseingang bis zum <Rechnungsdatum+ZZVL> können Sie die verrechnete Vorlageprovision in Abzug bringen. " & vbCrLf)
|
||||
End Select
|
||||
End If
|
||||
End If
|
||||
|
||||
' End If
|
||||
End Select
|
||||
|
||||
strText.Replace("<Vorlageprovision>", "")
|
||||
'strText = strZahlbar & vbNewLine & strText
|
||||
' Text in Rechnungskopfsatz übernehmen.
|
||||
strText = strText.Replace("<Vorlageprovision>", "")
|
||||
|
||||
@@ -207,8 +207,6 @@ Public Class usrCntlATLAS_AnkunftsAnzeige
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Dim saveDir = Application.StartupPath & "\Dakosy_SEND\"
|
||||
If Not System.IO.Directory.Exists(saveDir) Then
|
||||
System.IO.Directory.CreateDirectory(saveDir)
|
||||
|
||||
Reference in New Issue
Block a user