添加功能
This commit is contained in:
@@ -201,7 +201,6 @@ class YuthonVacationReports(models.Model):
|
||||
valid_attendances = [
|
||||
att for att in attendances
|
||||
if (att.check_in or att.check_out) # 有有效打卡
|
||||
and not att.is_abnormal # 不是异常打卡
|
||||
]
|
||||
if valid_attendances:
|
||||
actual_attendance += 1
|
||||
|
||||
Reference in New Issue
Block a user