From 95a109cb15b2a3ea570a1e7952bed59ab2a78f89 Mon Sep 17 00:00:00 2001 From: zhou <123@> Date: Thu, 14 Aug 2025 11:33:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yuthon_hr_attendance/controllers/applet_attendance.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yuthon_hr_attendance/controllers/applet_attendance.py b/yuthon_hr_attendance/controllers/applet_attendance.py index ba7f13eb0..1c7781e8e 100644 --- a/yuthon_hr_attendance/controllers/applet_attendance.py +++ b/yuthon_hr_attendance/controllers/applet_attendance.py @@ -465,14 +465,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