Merge branch 'dev' of https://gitee.com/jinan-pengyusen-data/gzth into dev_wang
This commit is contained in:
@@ -573,6 +573,10 @@ class HrAttendanceDetail(models.Model):
|
||||
if late_delta > 60:
|
||||
absenteeism_card = True
|
||||
is_late_card = False
|
||||
if not check_out:
|
||||
is_no_card = True
|
||||
absenteeism_card = True
|
||||
is_abnormal = True
|
||||
# 早退判断
|
||||
if check_out and end_datetime:
|
||||
early_delta = (end_datetime - check_out).total_seconds() / 60
|
||||
|
||||
Reference in New Issue
Block a user