Timas Bugfix, EMail Function für AMBAR korrigiert, Essensbestellungen für Verag360
This commit is contained in:
@@ -28,7 +28,6 @@ Partial Class frmMitarbeitersuche
|
||||
Me.Button4 = New System.Windows.Forms.Button()
|
||||
Me.btnClose = New System.Windows.Forms.Button()
|
||||
Me.PictureBox2 = New System.Windows.Forms.PictureBox()
|
||||
Me.sbMitarbeiter = New VERAG_PROG_ALLGEMEIN.MySearchBox()
|
||||
Me.pnlMain = New System.Windows.Forms.Panel()
|
||||
Me.pnl = New System.Windows.Forms.Panel()
|
||||
Me.Panel2 = New System.Windows.Forms.Panel()
|
||||
@@ -80,6 +79,7 @@ Partial Class frmMitarbeitersuche
|
||||
Me.lblFirma = New System.Windows.Forms.Label()
|
||||
Me.Label4 = New System.Windows.Forms.Label()
|
||||
Me.Label3 = New System.Windows.Forms.Label()
|
||||
Me.sbMitarbeiter = New VERAG_PROG_ALLGEMEIN.MySearchBox()
|
||||
Me.pnlSrch.SuspendLayout()
|
||||
CType(Me.PictureBox2, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
Me.pnlMain.SuspendLayout()
|
||||
@@ -151,32 +151,6 @@ Partial Class frmMitarbeitersuche
|
||||
Me.PictureBox2.TabIndex = 18
|
||||
Me.PictureBox2.TabStop = False
|
||||
'
|
||||
'sbMitarbeiter
|
||||
'
|
||||
Me.sbMitarbeiter._allowFreitext = False
|
||||
Me.sbMitarbeiter._AllowSetValue = False
|
||||
Me.sbMitarbeiter._allowSpaceAsSplitter = True
|
||||
Me.sbMitarbeiter._autoSizeGross = False
|
||||
Me.sbMitarbeiter._hideIfListEmpty = True
|
||||
Me.sbMitarbeiter._value = Nothing
|
||||
Me.sbMitarbeiter.conn_art = "FMZOLL"
|
||||
Me.sbMitarbeiter.dgvpos = "LEFT"
|
||||
Me.sbMitarbeiter.DISPLAY_PARAM = Nothing
|
||||
Me.sbMitarbeiter.Font = New System.Drawing.Font("Microsoft Sans Serif", 14.0!)
|
||||
Me.sbMitarbeiter.INVISIBLE_COLUMNS = Nothing
|
||||
Me.sbMitarbeiter.key_visible = False
|
||||
Me.sbMitarbeiter.KEYPARAM = Nothing
|
||||
Me.sbMitarbeiter.Location = New System.Drawing.Point(45, 11)
|
||||
Me.sbMitarbeiter.Name = "sbMitarbeiter"
|
||||
Me.sbMitarbeiter.searchActive = True
|
||||
Me.sbMitarbeiter.Size = New System.Drawing.Size(582, 29)
|
||||
Me.sbMitarbeiter.SQL_ORDER_BY = Nothing
|
||||
Me.sbMitarbeiter.SQL_SELECT = Nothing
|
||||
Me.sbMitarbeiter.SQL_WHERE = Nothing
|
||||
Me.sbMitarbeiter.SQL_WhereParamList = Nothing
|
||||
Me.sbMitarbeiter.TabIndex = 0
|
||||
Me.sbMitarbeiter.usrcntl = Nothing
|
||||
'
|
||||
'pnlMain
|
||||
'
|
||||
Me.pnlMain.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink
|
||||
@@ -363,7 +337,7 @@ Partial Class frmMitarbeitersuche
|
||||
'
|
||||
'lblTimasSaldo
|
||||
'
|
||||
Me.lblTimasSaldo.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Bold)
|
||||
Me.lblTimasSaldo.Font = New System.Drawing.Font("Microsoft Sans Serif", 9.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
||||
Me.lblTimasSaldo.Location = New System.Drawing.Point(148, 21)
|
||||
Me.lblTimasSaldo.Name = "lblTimasSaldo"
|
||||
Me.lblTimasSaldo.Size = New System.Drawing.Size(103, 24)
|
||||
@@ -767,6 +741,32 @@ Partial Class frmMitarbeitersuche
|
||||
Me.Label3.Text = "Niederlassung:"
|
||||
Me.Label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
|
||||
'
|
||||
'sbMitarbeiter
|
||||
'
|
||||
Me.sbMitarbeiter._allowFreitext = False
|
||||
Me.sbMitarbeiter._AllowSetValue = False
|
||||
Me.sbMitarbeiter._allowSpaceAsSplitter = True
|
||||
Me.sbMitarbeiter._autoSizeGross = False
|
||||
Me.sbMitarbeiter._hideIfListEmpty = True
|
||||
Me.sbMitarbeiter._value = Nothing
|
||||
Me.sbMitarbeiter.conn_art = "FMZOLL"
|
||||
Me.sbMitarbeiter.dgvpos = "LEFT"
|
||||
Me.sbMitarbeiter.DISPLAY_PARAM = Nothing
|
||||
Me.sbMitarbeiter.Font = New System.Drawing.Font("Microsoft Sans Serif", 14.0!)
|
||||
Me.sbMitarbeiter.INVISIBLE_COLUMNS = Nothing
|
||||
Me.sbMitarbeiter.key_visible = False
|
||||
Me.sbMitarbeiter.KEYPARAM = Nothing
|
||||
Me.sbMitarbeiter.Location = New System.Drawing.Point(45, 11)
|
||||
Me.sbMitarbeiter.Name = "sbMitarbeiter"
|
||||
Me.sbMitarbeiter.searchActive = True
|
||||
Me.sbMitarbeiter.Size = New System.Drawing.Size(582, 29)
|
||||
Me.sbMitarbeiter.SQL_ORDER_BY = Nothing
|
||||
Me.sbMitarbeiter.SQL_SELECT = Nothing
|
||||
Me.sbMitarbeiter.SQL_WHERE = Nothing
|
||||
Me.sbMitarbeiter.SQL_WhereParamList = Nothing
|
||||
Me.sbMitarbeiter.TabIndex = 0
|
||||
Me.sbMitarbeiter.usrcntl = Nothing
|
||||
'
|
||||
'frmMitarbeitersuche
|
||||
'
|
||||
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
|
||||
|
||||
@@ -50,7 +50,7 @@ Public Class frmMitarbeitersuche
|
||||
Me.Close()
|
||||
End If
|
||||
VERAG_PROG_ALLGEMEIN.cAllgemein.MITARBEITER.LOAD(VERAG_PROG_ALLGEMEIN.cAllgemein.MITARBEITER.mit_id)
|
||||
initMA()
|
||||
initMA(False)
|
||||
End If
|
||||
|
||||
|
||||
@@ -61,10 +61,10 @@ Public Class frmMitarbeitersuche
|
||||
|
||||
|
||||
Private Sub sbMitarbeiter_PropertyChanged() Handles sbMitarbeiter.VALUE_CHANGED
|
||||
initMA()
|
||||
initMA(False)
|
||||
End Sub
|
||||
|
||||
Sub initMA()
|
||||
Sub initMA(Optional callTimasSaldo As Boolean = True)
|
||||
btn.Visible = False
|
||||
pnl.Visible = False
|
||||
'lblTimasZeiten.Visible = False
|
||||
@@ -168,8 +168,8 @@ Public Class frmMitarbeitersuche
|
||||
btnSettings.Visible = True
|
||||
End If
|
||||
|
||||
requestDone = False
|
||||
initTimasSaldo()
|
||||
requestDone = Not callTimasSaldo
|
||||
initTimasData()
|
||||
|
||||
If VERAG_PROG_ALLGEMEIN.cAllgemein.USRID = MA.mit_id AndAlso VERAG_PROG_ALLGEMEIN.cAllgemein.MITARBEITER.mit_timasId IsNot Nothing Then
|
||||
pnlZeiten.Visible = True
|
||||
@@ -331,7 +331,7 @@ Public Class frmMitarbeitersuche
|
||||
MsgBox(info)
|
||||
Thread.Sleep(2000) 'warten bis Eintrag in Timas-DB
|
||||
requestDone = False
|
||||
initTimasSaldo()
|
||||
initTimasData()
|
||||
End If
|
||||
|
||||
|
||||
@@ -339,15 +339,15 @@ Public Class frmMitarbeitersuche
|
||||
|
||||
'normales kommen/gehen
|
||||
Dim a As MsgBoxResult = MsgBox(IIf(cbxHomeoffice.Checked, "Homeoffice", "Büro") & vbNewLine & sender.text & " für " & VERAG_PROG_ALLGEMEIN.cAllgemein.USRKURZNAME & vbNewLine & Now.ToString(), vbYesNo)
|
||||
If a = vbYes Then
|
||||
Dim info
|
||||
timas.setTimeEntry(cAllgemein.MITARBEITER, Now, info, art, IIf(cbxHomeoffice.Checked, 3, 0))
|
||||
MsgBox(info)
|
||||
Thread.Sleep(2000) 'warten bis Eintrag in Timas-DB
|
||||
requestDone = False
|
||||
initTimasSaldo()
|
||||
If a = vbYes Then
|
||||
Dim info
|
||||
timas.setTimeEntry(cAllgemein.MITARBEITER, Now, info, art, IIf(cbxHomeoffice.Checked, 3, 0))
|
||||
MsgBox(info)
|
||||
Thread.Sleep(2000) 'warten bis Eintrag in Timas-DB
|
||||
requestDone = False
|
||||
initTimasData()
|
||||
End If
|
||||
End If
|
||||
End If
|
||||
|
||||
End If
|
||||
|
||||
@@ -355,7 +355,7 @@ Public Class frmMitarbeitersuche
|
||||
|
||||
|
||||
|
||||
Private Sub initTimasSaldo()
|
||||
Private Sub initTimasData()
|
||||
|
||||
lblStatusZE.Visible = False
|
||||
|
||||
@@ -369,7 +369,7 @@ Public Class frmMitarbeitersuche
|
||||
If timas IsNot Nothing Then
|
||||
timas.getTimeSaldo(MA.mit_timasId, lblTimasSaldo.Text)
|
||||
lblStatusZE.Visible = True
|
||||
Dim checkEntry As Boolean = timas.getTimeEntries(MA.mit_timasId, dtZeiten, requestDone)
|
||||
Dim checkEntry As Boolean = timas.getTimeEntries(MA.mit_timasId, dtZeiten,, requestDone)
|
||||
|
||||
If requestDone Then
|
||||
If checkEntry Then
|
||||
@@ -398,15 +398,15 @@ Public Class frmMitarbeitersuche
|
||||
|
||||
|
||||
If dtZeiten.Rows.Count > 0 AndAlso VERAG_PROG_ALLGEMEIN.cAllgemein.USRID = MA.mit_id Then
|
||||
pnlZeiten.Visible = True
|
||||
Else
|
||||
pnlZeiten.Visible = False
|
||||
End If
|
||||
|
||||
pnlZeiten.Visible = True
|
||||
Else
|
||||
pnlZeiten.Visible = False
|
||||
End If
|
||||
|
||||
End If
|
||||
|
||||
End If
|
||||
|
||||
End Sub
|
||||
|
||||
Private Sub Button1_Click_2(sender As Object, e As EventArgs) Handles Button1.Click
|
||||
|
||||
Reference in New Issue
Block a user