Änderungen POS
This commit is contained in:
@@ -2299,24 +2299,20 @@ Public Class cRKSV
|
|||||||
KBEntryEC.Konto = PERSONAL.KassenbuchNr
|
KBEntryEC.Konto = PERSONAL.KassenbuchNr
|
||||||
End If
|
End If
|
||||||
|
|
||||||
If i = 0 Then
|
KBEntryEC.Buchungstext = "Umb. BK/KASSA"
|
||||||
KBEntryEC.Buchungstext = "-"
|
|
||||||
Else
|
|
||||||
KBEntryEC.Buchungstext = "Umbuchung Kassa/Bankomat"
|
|
||||||
End If
|
|
||||||
|
|
||||||
KBEntryEC.Buchungsdatum = Now.ToShortDateString
|
KBEntryEC.Buchungsdatum = Now.ToShortDateString
|
||||||
KBEntryEC.BelegDat = BELEG.BelegDat.ToShortDateString
|
KBEntryEC.BelegDat = BELEG.BelegDat.ToShortDateString
|
||||||
KBEntryEC.BelegNr = BELEG.BelegNr
|
KBEntryEC.Belegart = 3
|
||||||
KBEntryEC.Belegart = BELEG.Belegart
|
KBEntryEC.BelegNr = BELEG.BelegNr & KBEntryEC.Belegart 'zur Generierung von eigenem Buchungssatz
|
||||||
If KBEntryEC.Belegart = 1 Then
|
If BELEG.Belegart = 1 Then
|
||||||
If i = 0 Then
|
If i = 0 Then
|
||||||
KBEntryEC.Soll = Bruttobetrag
|
KBEntryEC.Soll = Bruttobetrag
|
||||||
Else
|
Else
|
||||||
KBEntryEC.Haben = Bruttobetrag
|
KBEntryEC.Haben = Bruttobetrag
|
||||||
End If
|
End If
|
||||||
|
|
||||||
ElseIf KBEntryEC.Belegart = 2 Then
|
ElseIf BELEG.Belegart = 2 Then
|
||||||
If i = 0 Then
|
If i = 0 Then
|
||||||
KBEntryEC.Haben = Bruttobetrag
|
KBEntryEC.Haben = Bruttobetrag
|
||||||
Else
|
Else
|
||||||
|
|||||||
@@ -27,6 +27,8 @@ Public Class cRKSV_POS
|
|||||||
Property pos_storno As Object = Nothing
|
Property pos_storno As Object = Nothing
|
||||||
Property pos_wartezeit As Object = Nothing
|
Property pos_wartezeit As Object = Nothing
|
||||||
Property pos_FIBU As Object = Nothing
|
Property pos_FIBU As Object = Nothing
|
||||||
|
Property pos_XML As Object = Nothing
|
||||||
|
Property pos_Protokollpfad As Object = Nothing
|
||||||
|
|
||||||
Public hasEntry = False
|
Public hasEntry = False
|
||||||
|
|
||||||
@@ -71,6 +73,8 @@ Public Class cRKSV_POS
|
|||||||
list.Add(New VERAG_PROG_ALLGEMEIN.SQLVariable("pos_storno", pos_storno))
|
list.Add(New VERAG_PROG_ALLGEMEIN.SQLVariable("pos_storno", pos_storno))
|
||||||
list.Add(New VERAG_PROG_ALLGEMEIN.SQLVariable("pos_wartezeit", pos_wartezeit))
|
list.Add(New VERAG_PROG_ALLGEMEIN.SQLVariable("pos_wartezeit", pos_wartezeit))
|
||||||
list.Add(New VERAG_PROG_ALLGEMEIN.SQLVariable("pos_FIBU", pos_FIBU))
|
list.Add(New VERAG_PROG_ALLGEMEIN.SQLVariable("pos_FIBU", pos_FIBU))
|
||||||
|
list.Add(New VERAG_PROG_ALLGEMEIN.SQLVariable("pos_XML", pos_XML))
|
||||||
|
list.Add(New VERAG_PROG_ALLGEMEIN.SQLVariable("pos_Protokollpfad", pos_Protokollpfad))
|
||||||
|
|
||||||
Return list
|
Return list
|
||||||
End Function
|
End Function
|
||||||
|
|||||||
@@ -195,11 +195,12 @@ Partial Public Class rptKassenbuchBuchhaltung
|
|||||||
'
|
'
|
||||||
'Label7
|
'Label7
|
||||||
'
|
'
|
||||||
|
Me.Label7.DataField = ""
|
||||||
Me.Label7.Height = 0.1377953!
|
Me.Label7.Height = 0.1377953!
|
||||||
Me.Label7.HyperLink = Nothing
|
Me.Label7.HyperLink = Nothing
|
||||||
Me.Label7.Left = 3.327!
|
Me.Label7.Left = 3.327!
|
||||||
Me.Label7.Name = "Label7"
|
Me.Label7.Name = "Label7"
|
||||||
Me.Label7.Style = "font-size: 7pt; font-weight: bold; text-align: left"
|
Me.Label7.Style = "color: Black; font-size: 7pt; font-weight: bold; text-align: center"
|
||||||
Me.Label7.Text = "ZM"
|
Me.Label7.Text = "ZM"
|
||||||
Me.Label7.Top = 0.004!
|
Me.Label7.Top = 0.004!
|
||||||
Me.Label7.Width = 0.4400001!
|
Me.Label7.Width = 0.4400001!
|
||||||
|
|||||||
@@ -118,7 +118,7 @@
|
|||||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<data name="lblJournalNr.Style" xml:space="preserve">
|
<data name="lblJournalNr.Style" xml:space="preserve">
|
||||||
<value>border-top-width: 1px; border-top-style: : : : : : : : : : : : : solid; border-top-color: gray; border-right-width: 1px; border-right-style: solid; border-right-color: gray; border-bottom-width: 1px; border-bottom-style: : : : : : : : : : : : : solid; border-bottom-color: gray; border-left-width: 1px; border-left-style: : : : : : : : : : : : : solid; border-left-color: gray; font-size: 7pt; text-align: right; ddo-char-set: 1</value>
|
<value>border-top-width: 1px; border-top-style: : : : : : : : : : : : : : solid; border-top-color: gray; border-right-width: 1px; border-right-style: solid; border-right-color: gray; border-bottom-width: 1px; border-bottom-style: : : : : : : : : : : : : : solid; border-bottom-color: gray; border-left-width: 1px; border-left-style: : : : : : : : : : : : : : solid; border-left-color: gray; font-size: 7pt; text-align: right; ddo-char-set: 1</value>
|
||||||
</data>
|
</data>
|
||||||
<metadata name="$this.ScriptEditorPositionForUndo" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
<metadata name="$this.ScriptEditorPositionForUndo" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
<value>0, 0</value>
|
<value>0, 0</value>
|
||||||
|
|||||||
@@ -30,5 +30,7 @@ Public Class rptKassenbuchBuchhaltung
|
|||||||
c.Border.Color = Color.Gray
|
c.Border.Color = Color.Gray
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
|
Private Sub Detail_Format(sender As Object, e As EventArgs) Handles Detail.Format
|
||||||
|
|
||||||
|
End Sub
|
||||||
End Class
|
End Class
|
||||||
|
|||||||
@@ -1357,6 +1357,8 @@ Public Class frmBelegNeu
|
|||||||
MsgBox(response)
|
MsgBox(response)
|
||||||
If returnCode = 0 Then 'Zahlung wurde erfolgreich durchgeführt
|
If returnCode = 0 Then 'Zahlung wurde erfolgreich durchgeführt
|
||||||
setRKSV()
|
setRKSV()
|
||||||
|
Else
|
||||||
|
Me.Cursor = Cursors.Default
|
||||||
End If
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
@@ -1430,6 +1432,16 @@ Public Class frmBelegNeu
|
|||||||
ZVTKey.SetValue("ComSpeed", CInt(posTerminal.pos_comspeed), RegistryValueKind.DWord)
|
ZVTKey.SetValue("ComSpeed", CInt(posTerminal.pos_comspeed), RegistryValueKind.DWord)
|
||||||
ZVTKey.SetValue("ComStop", CInt(posTerminal.pos_comstop), RegistryValueKind.DWord)
|
ZVTKey.SetValue("ComStop", CInt(posTerminal.pos_comstop), RegistryValueKind.DWord)
|
||||||
ZVTKey.SetValue("Lizenz", posTerminal.pos_lizenz, RegistryValueKind.String)
|
ZVTKey.SetValue("Lizenz", posTerminal.pos_lizenz, RegistryValueKind.String)
|
||||||
|
|
||||||
|
If posTerminal.pos_Protokollpfad <> "" Then
|
||||||
|
ZVTKey.SetValue("Protokollpfad", posTerminal.pos_Protokollpfad.Text, RegistryValueKind.String)
|
||||||
|
End If
|
||||||
|
|
||||||
|
If posTerminal.pos_XML And posTerminal.pos_Protokollpfad <> "" Then
|
||||||
|
ZVTKey.SetValue("Ausgabepfad", posTerminal.pos_Protokollpfad.Text, RegistryValueKind.String)
|
||||||
|
End If
|
||||||
|
|
||||||
|
|
||||||
If Funktion = 0 Or Funktion = 4 Then
|
If Funktion = 0 Or Funktion = 4 Then
|
||||||
ZVTKey.SetValue("Betrag", Betrag * 100, RegistryValueKind.DWord) 'CENTbeträge 1€ --> 100 CENT
|
ZVTKey.SetValue("Betrag", Betrag * 100, RegistryValueKind.DWord) 'CENTbeträge 1€ --> 100 CENT
|
||||||
End If
|
End If
|
||||||
@@ -1629,12 +1641,12 @@ Public Class frmBelegNeu
|
|||||||
|
|
||||||
Select Case BELEG.Belegart
|
Select Case BELEG.Belegart
|
||||||
Case "1"
|
Case "1"
|
||||||
If cRKSV.printKundenBeleg(BELEG, KASSE, PERSONAL, cboPrinter.SelectedItem.ToString, cbxBelegOffnen.Checked) Then
|
If True Then 'cRKSV.printKundenBeleg(BELEG, KASSE, PERSONAL, cboPrinter.SelectedItem.ToString, cbxBelegOffnen.Checked) Then
|
||||||
'WARTEN
|
'WARTEN
|
||||||
printErfolgreich = True
|
printErfolgreich = True
|
||||||
End If
|
End If
|
||||||
Case "2"
|
Case "2"
|
||||||
If cRKSV.printKundenBelegLG(BELEG, KASSE, PERSONAL, cboPrinter.SelectedItem.ToString, "LG") Then
|
If True Then 'cRKSV.printKundenBelegLG(BELEG, KASSE, PERSONAL, cboPrinter.SelectedItem.ToString, "LG") Then
|
||||||
'WARTEN
|
'WARTEN
|
||||||
printErfolgreich = True
|
printErfolgreich = True
|
||||||
End If
|
End If
|
||||||
|
|||||||
93
SDL/kassenbuch/frmPOSTerminal.Designer.vb
generated
93
SDL/kassenbuch/frmPOSTerminal.Designer.vb
generated
@@ -71,6 +71,8 @@ Partial Class frmPOSTerminal
|
|||||||
Me.Label18 = New System.Windows.Forms.Label()
|
Me.Label18 = New System.Windows.Forms.Label()
|
||||||
Me.TabControl1 = New System.Windows.Forms.TabControl()
|
Me.TabControl1 = New System.Windows.Forms.TabControl()
|
||||||
Me.TabPage1 = New System.Windows.Forms.TabPage()
|
Me.TabPage1 = New System.Windows.Forms.TabPage()
|
||||||
|
Me.Label24 = New System.Windows.Forms.Label()
|
||||||
|
Me.txtFIBU = New System.Windows.Forms.TextBox()
|
||||||
Me.TabPage2 = New System.Windows.Forms.TabPage()
|
Me.TabPage2 = New System.Windows.Forms.TabPage()
|
||||||
Me.TabPage3 = New System.Windows.Forms.TabPage()
|
Me.TabPage3 = New System.Windows.Forms.TabPage()
|
||||||
Me.Label23 = New System.Windows.Forms.Label()
|
Me.Label23 = New System.Windows.Forms.Label()
|
||||||
@@ -93,8 +95,11 @@ Partial Class frmPOSTerminal
|
|||||||
Me.btn_Autorisierung = New System.Windows.Forms.Button()
|
Me.btn_Autorisierung = New System.Windows.Forms.Button()
|
||||||
Me.txt_Betrag = New System.Windows.Forms.TextBox()
|
Me.txt_Betrag = New System.Windows.Forms.TextBox()
|
||||||
Me.lblWarning = New System.Windows.Forms.Label()
|
Me.lblWarning = New System.Windows.Forms.Label()
|
||||||
Me.Label24 = New System.Windows.Forms.Label()
|
Me.Label25 = New System.Windows.Forms.Label()
|
||||||
Me.txtFIBU = New System.Windows.Forms.TextBox()
|
Me.txtPfad = New System.Windows.Forms.TextBox()
|
||||||
|
Me.Label26 = New System.Windows.Forms.Label()
|
||||||
|
Me.CheckBox1 = New System.Windows.Forms.CheckBox()
|
||||||
|
Me.btnPfad = New VERAG_PROG_ALLGEMEIN.FlatButton()
|
||||||
CType(Me.dgvTerminals, System.ComponentModel.ISupportInitialize).BeginInit()
|
CType(Me.dgvTerminals, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||||
Me.TabControl1.SuspendLayout()
|
Me.TabControl1.SuspendLayout()
|
||||||
Me.TabPage1.SuspendLayout()
|
Me.TabPage1.SuspendLayout()
|
||||||
@@ -538,6 +543,11 @@ Partial Class frmPOSTerminal
|
|||||||
'
|
'
|
||||||
'TabPage1
|
'TabPage1
|
||||||
'
|
'
|
||||||
|
Me.TabPage1.Controls.Add(Me.btnPfad)
|
||||||
|
Me.TabPage1.Controls.Add(Me.CheckBox1)
|
||||||
|
Me.TabPage1.Controls.Add(Me.Label26)
|
||||||
|
Me.TabPage1.Controls.Add(Me.Label25)
|
||||||
|
Me.TabPage1.Controls.Add(Me.txtPfad)
|
||||||
Me.TabPage1.Controls.Add(Me.Label24)
|
Me.TabPage1.Controls.Add(Me.Label24)
|
||||||
Me.TabPage1.Controls.Add(Me.txtFIBU)
|
Me.TabPage1.Controls.Add(Me.txtFIBU)
|
||||||
Me.TabPage1.Controls.Add(Me.Label16)
|
Me.TabPage1.Controls.Add(Me.Label16)
|
||||||
@@ -571,6 +581,22 @@ Partial Class frmPOSTerminal
|
|||||||
Me.TabPage1.Text = "Allgemein"
|
Me.TabPage1.Text = "Allgemein"
|
||||||
Me.TabPage1.UseVisualStyleBackColor = True
|
Me.TabPage1.UseVisualStyleBackColor = True
|
||||||
'
|
'
|
||||||
|
'Label24
|
||||||
|
'
|
||||||
|
Me.Label24.AutoSize = True
|
||||||
|
Me.Label24.Location = New System.Drawing.Point(8, 280)
|
||||||
|
Me.Label24.Name = "Label24"
|
||||||
|
Me.Label24.Size = New System.Drawing.Size(62, 13)
|
||||||
|
Me.Label24.TabIndex = 149
|
||||||
|
Me.Label24.Text = "FIBU Konto"
|
||||||
|
'
|
||||||
|
'txtFIBU
|
||||||
|
'
|
||||||
|
Me.txtFIBU.Location = New System.Drawing.Point(135, 277)
|
||||||
|
Me.txtFIBU.Name = "txtFIBU"
|
||||||
|
Me.txtFIBU.Size = New System.Drawing.Size(67, 20)
|
||||||
|
Me.txtFIBU.TabIndex = 150
|
||||||
|
'
|
||||||
'TabPage2
|
'TabPage2
|
||||||
'
|
'
|
||||||
Me.TabPage2.Controls.Add(Me.Label15)
|
Me.TabPage2.Controls.Add(Me.Label15)
|
||||||
@@ -806,21 +832,55 @@ Partial Class frmPOSTerminal
|
|||||||
Me.lblWarning.TabIndex = 150
|
Me.lblWarning.TabIndex = 150
|
||||||
Me.lblWarning.Text = "Warning"
|
Me.lblWarning.Text = "Warning"
|
||||||
'
|
'
|
||||||
'Label24
|
'Label25
|
||||||
'
|
'
|
||||||
Me.Label24.AutoSize = True
|
Me.Label25.AutoSize = True
|
||||||
Me.Label24.Location = New System.Drawing.Point(8, 280)
|
Me.Label25.Location = New System.Drawing.Point(8, 306)
|
||||||
Me.Label24.Name = "Label24"
|
Me.Label25.Name = "Label25"
|
||||||
Me.Label24.Size = New System.Drawing.Size(62, 13)
|
Me.Label25.Size = New System.Drawing.Size(76, 13)
|
||||||
Me.Label24.TabIndex = 149
|
Me.Label25.TabIndex = 151
|
||||||
Me.Label24.Text = "FIBU Konto"
|
Me.Label25.Text = "Protokollpfad *"
|
||||||
'
|
'
|
||||||
'txtFIBU
|
'txtPfad
|
||||||
'
|
'
|
||||||
Me.txtFIBU.Location = New System.Drawing.Point(135, 277)
|
Me.txtPfad.Location = New System.Drawing.Point(135, 303)
|
||||||
Me.txtFIBU.Name = "txtFIBU"
|
Me.txtPfad.Name = "txtPfad"
|
||||||
Me.txtFIBU.Size = New System.Drawing.Size(190, 20)
|
Me.txtPfad.Size = New System.Drawing.Size(177, 20)
|
||||||
Me.txtFIBU.TabIndex = 150
|
Me.txtPfad.TabIndex = 152
|
||||||
|
'
|
||||||
|
'Label26
|
||||||
|
'
|
||||||
|
Me.Label26.AutoSize = True
|
||||||
|
Me.Label26.Location = New System.Drawing.Point(134, 326)
|
||||||
|
Me.Label26.Name = "Label26"
|
||||||
|
Me.Label26.Size = New System.Drawing.Size(308, 13)
|
||||||
|
Me.Label26.TabIndex = 153
|
||||||
|
Me.Label26.Text = "* wenn leer, Protokolldateien unter Dokumente\GUB\ZVTLOG\"
|
||||||
|
'
|
||||||
|
'CheckBox1
|
||||||
|
'
|
||||||
|
Me.CheckBox1.AutoSize = True
|
||||||
|
Me.CheckBox1.Location = New System.Drawing.Point(345, 302)
|
||||||
|
Me.CheckBox1.Name = "CheckBox1"
|
||||||
|
Me.CheckBox1.Size = New System.Drawing.Size(113, 17)
|
||||||
|
Me.CheckBox1.TabIndex = 154
|
||||||
|
Me.CheckBox1.Text = "als XML speichern"
|
||||||
|
Me.CheckBox1.UseVisualStyleBackColor = True
|
||||||
|
'
|
||||||
|
'btnPfad
|
||||||
|
'
|
||||||
|
Me.btnPfad.allowBorder = False
|
||||||
|
Me.btnPfad.BackgroundImage = Global.SDL.My.Resources.Resources.stift
|
||||||
|
Me.btnPfad.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
|
||||||
|
Me.btnPfad.FlatAppearance.BorderSize = 0
|
||||||
|
Me.btnPfad.FlatStyle = System.Windows.Forms.FlatStyle.Flat
|
||||||
|
Me.btnPfad.ForeColor = System.Drawing.Color.Black
|
||||||
|
Me.btnPfad.Location = New System.Drawing.Point(318, 306)
|
||||||
|
Me.btnPfad.Name = "btnPfad"
|
||||||
|
Me.btnPfad.Size = New System.Drawing.Size(21, 17)
|
||||||
|
Me.btnPfad.TabIndex = 155
|
||||||
|
Me.btnPfad.UseVisualStyleBackColor = True
|
||||||
|
Me.btnPfad.Visible = False
|
||||||
'
|
'
|
||||||
'frmPOSTerminal
|
'frmPOSTerminal
|
||||||
'
|
'
|
||||||
@@ -920,4 +980,9 @@ Partial Class frmPOSTerminal
|
|||||||
Friend WithEvents txt_Kartentyp As TextBox
|
Friend WithEvents txt_Kartentyp As TextBox
|
||||||
Friend WithEvents Label24 As Label
|
Friend WithEvents Label24 As Label
|
||||||
Friend WithEvents txtFIBU As TextBox
|
Friend WithEvents txtFIBU As TextBox
|
||||||
|
Friend WithEvents CheckBox1 As CheckBox
|
||||||
|
Friend WithEvents Label26 As Label
|
||||||
|
Friend WithEvents Label25 As Label
|
||||||
|
Friend WithEvents txtPfad As TextBox
|
||||||
|
Friend WithEvents btnPfad As VERAG_PROG_ALLGEMEIN.FlatButton
|
||||||
End Class
|
End Class
|
||||||
|
|||||||
@@ -69,6 +69,16 @@ Public Class frmPOSTerminal
|
|||||||
ZVTKey.SetValue("ComStop", CInt(cbx_ComStop.Text), RegistryValueKind.DWord)
|
ZVTKey.SetValue("ComStop", CInt(cbx_ComStop.Text), RegistryValueKind.DWord)
|
||||||
ZVTKey.SetValue("Lizenz", txt_Lizenz.Text, RegistryValueKind.String)
|
ZVTKey.SetValue("Lizenz", txt_Lizenz.Text, RegistryValueKind.String)
|
||||||
|
|
||||||
|
If txtPfad.Text <> "" Then
|
||||||
|
ZVTKey.SetValue("Protokollpfad", txtPfad.Text, RegistryValueKind.String)
|
||||||
|
End If
|
||||||
|
|
||||||
|
|
||||||
|
If CheckBox1.Checked And txtPfad.Text <> "" Then
|
||||||
|
ZVTKey.SetValue("Ausgabepfad", txtPfad.Text, RegistryValueKind.String)
|
||||||
|
End If
|
||||||
|
|
||||||
|
|
||||||
Select Case Funktion
|
Select Case Funktion
|
||||||
Case 0, 4
|
Case 0, 4
|
||||||
Betrag = CInt("0" & txt_Betrag.Text)
|
Betrag = CInt("0" & txt_Betrag.Text)
|
||||||
@@ -319,11 +329,8 @@ Public Class frmPOSTerminal
|
|||||||
|
|
||||||
.Columns.Clear()
|
.Columns.Clear()
|
||||||
|
|
||||||
.SET_SQL("SELECT [pos_id],[pos_aktiv],[pos_kassennr],[pos_bezeichnung] ,[pos_kasse] ,[pos_com]
|
.SET_SQL("SELECT [pos_id],[pos_aktiv],[pos_kassennr],[pos_bezeichnung] ,[pos_kasse]
|
||||||
,[pos_baudrate] ,[pos_comspeed] ,[pos_comstop] ,[pos_ip] ,[pos_port] ,[pos_typ]
|
,[pos_ip] FROM [VERAG].[dbo].[tblRKSV_POS] WHERE [pos_kasse] =" & kassenID, "FMZOLL")
|
||||||
,[pos_lizenz] ,[pos_kassendruck] ,[pos_demoausdruck]
|
|
||||||
,[pos_demodummyausdruck] ,[pos_pin] ,[pos_händerbeleg_drucken] ,[pos_storno] ,[pos_wartezeit],[pos_fibu]
|
|
||||||
FROM [VERAG].[dbo].[tblRKSV_POS] WHERE [pos_kasse] =" & kassenID, "FMZOLL")
|
|
||||||
|
|
||||||
.LOAD()
|
.LOAD()
|
||||||
|
|
||||||
@@ -338,30 +345,17 @@ Public Class frmPOSTerminal
|
|||||||
.Columns("pos_kassennr").HeaderText = "K-Nr"
|
.Columns("pos_kassennr").HeaderText = "K-Nr"
|
||||||
.Columns("pos_aktiv").Width = 25
|
.Columns("pos_aktiv").Width = 25
|
||||||
.Columns("pos_aktiv").HeaderText = ""
|
.Columns("pos_aktiv").HeaderText = ""
|
||||||
.Columns("pos_kassendruck").Visible = False
|
|
||||||
.Columns("pos_kasse").Visible = False
|
.Columns("pos_kasse").Visible = False
|
||||||
.Columns("pos_com").Visible = False
|
|
||||||
.Columns("pos_baudrate").Visible = False
|
|
||||||
.Columns("pos_comspeed").Visible = False
|
|
||||||
.Columns("pos_comstop").Visible = False
|
|
||||||
.Columns("pos_port").Visible = False
|
|
||||||
.Columns("pos_typ").Visible = False
|
|
||||||
.Columns("pos_lizenz").Visible = False
|
|
||||||
.Columns("pos_kassendruck").Visible = False
|
|
||||||
.Columns("pos_demoausdruck").Visible = False
|
|
||||||
.Columns("pos_demodummyausdruck").Visible = False
|
|
||||||
.Columns("pos_pin").Visible = False
|
|
||||||
.Columns("pos_händerbeleg_drucken").Visible = False
|
|
||||||
.Columns("pos_storno").Visible = False
|
|
||||||
.Columns("pos_wartezeit").Visible = False
|
|
||||||
.Columns("pos_ip").HeaderText = "IP-Adresse"
|
.Columns("pos_ip").HeaderText = "IP-Adresse"
|
||||||
.Columns("pos_ip").Width = 100
|
.Columns("pos_ip").Width = 100
|
||||||
|
|
||||||
End With
|
End With
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub frmPOSTerminal_Load(sender As Object, e As EventArgs) Handles MyBase.Load
|
Private Sub frmPOSTerminal_Load(sender As Object, e As EventArgs) Handles MyBase.Load
|
||||||
|
|
||||||
Try
|
Try
|
||||||
|
btnPfad.Visible = True
|
||||||
Text = kasse & " - POS Terminal einstellen "
|
Text = kasse & " - POS Terminal einstellen "
|
||||||
lblWarning.Text = ""
|
lblWarning.Text = ""
|
||||||
btnNew.Enabled = False
|
btnNew.Enabled = False
|
||||||
@@ -398,6 +392,10 @@ Public Class frmPOSTerminal
|
|||||||
cbx_ComStop.Text = currentPOS.pos_comstop
|
cbx_ComStop.Text = currentPOS.pos_comstop
|
||||||
txt_Lizenz.Text = currentPOS.pos_lizenz
|
txt_Lizenz.Text = currentPOS.pos_lizenz
|
||||||
txtFIBU.Text = currentPOS.pos_FIBU
|
txtFIBU.Text = currentPOS.pos_FIBU
|
||||||
|
txtPfad.Text = currentPOS.pos_Protokollpfad
|
||||||
|
CheckBox1.Checked = currentPOS.pos_XML
|
||||||
|
|
||||||
|
|
||||||
If currentPOS.pos_kassendruck Then
|
If currentPOS.pos_kassendruck Then
|
||||||
cbx_Kassedruck.Checked = True
|
cbx_Kassedruck.Checked = True
|
||||||
Else
|
Else
|
||||||
@@ -459,6 +457,8 @@ Public Class frmPOSTerminal
|
|||||||
currentPOS.pos_comstop = cbx_ComStop.Text
|
currentPOS.pos_comstop = cbx_ComStop.Text
|
||||||
currentPOS.pos_lizenz = txt_Lizenz.Text
|
currentPOS.pos_lizenz = txt_Lizenz.Text
|
||||||
currentPOS.pos_FIBU = txtFIBU.Text
|
currentPOS.pos_FIBU = txtFIBU.Text
|
||||||
|
currentPOS.pos_Protokollpfad = txtPfad.Text
|
||||||
|
currentPOS.pos_XML = CheckBox1.Checked
|
||||||
If cbx_Kassedruck.Checked Then
|
If cbx_Kassedruck.Checked Then
|
||||||
currentPOS.pos_kassendruck = True
|
currentPOS.pos_kassendruck = True
|
||||||
Else
|
Else
|
||||||
@@ -710,5 +710,22 @@ Public Class frmPOSTerminal
|
|||||||
|
|
||||||
End Function
|
End Function
|
||||||
|
|
||||||
|
Private Sub btnPfad_Click(sender As Object, e As EventArgs) Handles btnPfad.Click
|
||||||
|
Dim dialog As New FolderBrowserDialog()
|
||||||
|
If txtPfad.Text = "" Then
|
||||||
|
dialog.RootFolder = Environment.SpecialFolder.Desktop
|
||||||
|
dialog.SelectedPath = "C:\"
|
||||||
|
dialog.Description = "Pfad für Protokolldatei auswählen"
|
||||||
|
|
||||||
|
Else
|
||||||
|
dialog.SelectedPath = txtPfad.Text
|
||||||
|
dialog.Description = "Pfad für Protokolldatei auswählen"
|
||||||
|
|
||||||
|
End If
|
||||||
|
|
||||||
|
If dialog.ShowDialog() = Windows.Forms.DialogResult.OK Then
|
||||||
|
txtPfad.Text = dialog.SelectedPath
|
||||||
|
End If
|
||||||
|
|
||||||
|
End Sub
|
||||||
End Class
|
End Class
|
||||||
Reference in New Issue
Block a user