MA
This commit is contained in:
@@ -331,10 +331,10 @@ Public Class frmMitarbeitersuche
|
||||
If VERAG_PROG_ALLGEMEIN.cAllgemein.MITARBEITER.mit_niederlassung <> "" Then
|
||||
Select Case VERAG_PROG_ALLGEMEIN.cAllgemein.NIEDERLASSUNG
|
||||
Case "SUB" : timestp = timestp.AddHours(1)
|
||||
Case "SBG" : timestp = timestp.AddHours(1)
|
||||
Case "SBG" : timestp = timestp.AddHours(1) '? 30
|
||||
Case "WAI" : timestp = timestp.AddMinutes(30)
|
||||
Case "NKD" : timestp = timestp.AddMinutes(20)
|
||||
Case "DTB" : timestp = timestp.AddMinutes(40)
|
||||
Case "DTB" : timestp = timestp.AddMinutes(30)
|
||||
Case Else
|
||||
timestp = timestp.AddMinutes(1) 'NICHT ERLAUBT
|
||||
End Select
|
||||
@@ -370,11 +370,11 @@ Public Class frmMitarbeitersuche
|
||||
Dim aktengang As DateTime = Now().AddMinutes(-minutesBeforeStart)
|
||||
Dim askPost As MsgBoxResult = MsgBox("Aktengang für " & VERAG_PROG_ALLGEMEIN.cAllgemein.USRKURZNAME & " eintragen?" & vbNewLine & aktengang.ToString(), vbYesNo)
|
||||
If askPost = vbYes Then
|
||||
Dim info
|
||||
Dim info
|
||||
Dim timestp = aktengang
|
||||
|
||||
Dim timeEntryExisting As Boolean = False
|
||||
Dim isOnline = timas.getTimeEntries(cAllgemein.MITARBEITER.mit_timasId, Nothing, timeEntryExisting)
|
||||
Dim isOnline = timas.getTimeEntries(cAllgemein.MITARBEITER.mit_timasId, Nothing, timeEntryExisting)
|
||||
If Not timeEntryExisting AndAlso Not isOnline Then
|
||||
timas.setTimeEntry(cAllgemein.MITARBEITER, timestp, info, "in", 10) 'Start 10 Aktengang
|
||||
timestp = timestp.AddMinutes(minutesBeforeStart)
|
||||
|
||||
Reference in New Issue
Block a user