Parkplatzabrechnung
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
Imports GrapeCity.ActiveReports
|
||||
Imports System.Globalization
|
||||
Imports GrapeCity.ActiveReports
|
||||
Imports GrapeCity.ActiveReports.Document
|
||||
|
||||
Public Class subRptLaufzettelZollDE_ATA
|
||||
@@ -42,7 +43,8 @@ Public Class subRptLaufzettelZollDE_ATA
|
||||
If Rechnungspreis IsNot Nothing AndAlso IsNumeric(Rechnungspreis) Then
|
||||
txtRechnungspreisHeader.Visible = True
|
||||
txtRechnungspreis.Visible = True
|
||||
txtRechnungspreis.Text = CDbl(Rechnungspreis).ToString(".00") & " " & If(Rechnungswaehrung, "")
|
||||
' txtRechnungspreis.Text = CDbl(Rechnungspreis).ToString(".00") & " " & If(Rechnungswaehrung, "")
|
||||
txtRechnungspreis.Text = CDbl(Rechnungspreis).ToString("N2", CultureInfo.CurrentCulture) & " " & If(Rechnungswaehrung, "")
|
||||
End If
|
||||
End If
|
||||
|
||||
@@ -58,11 +60,12 @@ Public Class subRptLaufzettelZollDE_ATA
|
||||
barcodeString = barcodeString.Replace("-", "")
|
||||
Dim ACD = ""
|
||||
Dim monat = ""
|
||||
If barcodeString.Length > 13 Then monat = barcodeString.Substring(11, 2)
|
||||
|
||||
If barcodeString.StartsWith("ATA") And barcodeString.Length > 11 Then barcodeString = barcodeString.Substring(4, 7) : ACD = "A"
|
||||
If barcodeString.StartsWith("ATC") And barcodeString.Length > 11 Then barcodeString = barcodeString.Substring(5, 6) : ACD = "C"
|
||||
If barcodeString.StartsWith("ATD") And barcodeString.Length > 11 Then barcodeString = barcodeString.Substring(5, 6) : ACD = "D"
|
||||
|
||||
If barcodeString.Length > 13 Then monat = barcodeString.Substring(11, 2)
|
||||
|
||||
If ACD <> "" Then 'ATA/C/D
|
||||
txtATNr.Visible = True
|
||||
|
||||
Reference in New Issue
Block a user