Datev, Abrechnung, Steuerschl
This commit is contained in:
@@ -199,11 +199,13 @@ Public Class cAllgemein
|
||||
isEU = sql.getValueTxtBySql("select MitgliedslandEU from Währungstabelle where landkz = '" & landKz & "'", "FMZOLL",)
|
||||
|
||||
If isEU Then
|
||||
If UIDLandKz <> "" AndAlso UstIdNr <> "" AndAlso UstIdGeprüft IsNot Nothing Then
|
||||
If UIDLandKz <> "" AndAlso UstIdNr <> "" AndAlso UstIdGeprüft IsNot Nothing AndAlso CDate(UstIdGeprüft) < Today.AddDays(-30) Then
|
||||
Return 10
|
||||
Else
|
||||
Return 2
|
||||
End If
|
||||
Else
|
||||
Return 0
|
||||
End If
|
||||
|
||||
Case "D", "DE"
|
||||
@@ -213,11 +215,13 @@ Public Class cAllgemein
|
||||
isEU = sql.getValueTxtBySql("select MitgliedslandEU from Währungstabelle where landkz = '" & landKz & "'", "FMZOLL",)
|
||||
|
||||
If isEU Then
|
||||
If UIDLandKz <> "" AndAlso UstIdNr <> "" AndAlso UstIdGeprüft IsNot Nothing Then
|
||||
If UIDLandKz <> "" AndAlso UstIdNr <> "" AndAlso UstIdGeprüft IsNot Nothing AndAlso CDate(UstIdGeprüft) < Today.AddDays(-30) Then
|
||||
Return 10
|
||||
Else
|
||||
Return 19
|
||||
End If
|
||||
Else
|
||||
Return 0
|
||||
End If
|
||||
|
||||
Case "GB"
|
||||
@@ -227,11 +231,13 @@ Public Class cAllgemein
|
||||
isEU = sql.getValueTxtBySql("select MitgliedslandEU from Währungstabelle where landkz = '" & landKz & "'", "FMZOLL",)
|
||||
|
||||
If isEU Then
|
||||
If UIDLandKz <> "" AndAlso UstIdNr <> "" AndAlso UstIdGeprüft IsNot Nothing Then
|
||||
If UIDLandKz <> "" AndAlso UstIdNr <> "" AndAlso UstIdGeprüft IsNot Nothing AndAlso CDate(UstIdGeprüft) < Today.AddDays(-30) Then
|
||||
Return 10
|
||||
Else
|
||||
Return 20
|
||||
End If
|
||||
Else
|
||||
Return 0
|
||||
End If
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user