Add employee search autocomplete and photo display for Recognition
- Add apiemployeesearch.asp for searching employees by name with Team info - Update addnotification.asp with autocomplete dropdown showing photo, name, team, SSO - Support custom names for non-system employees using NAME: prefix in employeesso field - Add theme-aware CSS for selected employee chips (light/dark themes) - Update apishopfloor.asp to detect NAME: prefix and extract custom names - Update shopfloor-dashboard to display employee photos (140px) with GE logo fallback Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -55,10 +55,10 @@ Dim isRecognition
|
||||
isRecognition = (CLng(notificationtypeid) = RECOGNITION_TYPE_ID)
|
||||
|
||||
If isRecognition Then
|
||||
' Validate employeesso is provided for Recognition
|
||||
' Validate that employeesso is provided for Recognition (can be SSO or NAME:customname)
|
||||
If Len(employeesso) = 0 Then
|
||||
objConn.Close
|
||||
ShowError "Employee SSO is required for Recognition notifications.", "addnotification.asp"
|
||||
ShowError "At least one employee must be selected for Recognition notifications.", "addnotification.asp"
|
||||
Response.End
|
||||
End If
|
||||
|
||||
@@ -134,7 +134,7 @@ Else
|
||||
appidValue = CLng(appid)
|
||||
End If
|
||||
|
||||
' Handle optional employeesso - only for Recognition type
|
||||
' Handle optional employeesso - can be SSO or NAME:customname
|
||||
Dim employeessoValue
|
||||
If Len(employeesso) = 0 Then
|
||||
employeessoValue = Null
|
||||
|
||||
Reference in New Issue
Block a user