diff --git a/yuthon_hr_attendance/controllers/applet_attendance.py b/yuthon_hr_attendance/controllers/applet_attendance.py index 519cb8379..c0a86ce33 100644 --- a/yuthon_hr_attendance/controllers/applet_attendance.py +++ b/yuthon_hr_attendance/controllers/applet_attendance.py @@ -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