@@ -467,14 +467,14 @@ class AppletAttendance(Controller):
|
||||
check_in_str = f"{check_in_status} {check_in_time}" if check_in_status in ['迟到',
|
||||
'早退'] else check_in_time
|
||||
else:
|
||||
check_in_str = '正常' if is_weekend else '缺卡'
|
||||
check_in_str = '' if is_weekend else '缺卡'
|
||||
|
||||
if check_out:
|
||||
check_out_time = (check_out + timedelta(hours=8)).strftime('%H:%M:%S')
|
||||
check_out_str = f"{check_out_status} {check_out_time}" if check_out_status in ['迟到',
|
||||
'早退'] else check_out_time
|
||||
else:
|
||||
check_out_str = '正常' if is_weekend else '缺卡'
|
||||
check_out_str = '' if is_weekend else '缺卡'
|
||||
|
||||
if not check_in_status and not check_out_status:
|
||||
color_select = 3
|
||||
|
||||
Reference in New Issue
Block a user