Merge pull request !6407 from 李鹏宇/dev
This commit is contained in:
李鹏宇
2025-11-13 03:26:05 +00:00
committed by Gitee
@@ -198,6 +198,7 @@ class YuthonVacationReports(models.Model):
valid_attendances = [
att for att in attendances
if (att.check_in or att.check_out) # 有有效打卡
and att.shift_name != '休息'
]
if valid_attendances:
actual_attendance += 1