添加功能
This commit is contained in:
@@ -602,7 +602,7 @@ class HrAttendanceDetail(models.Model):
|
||||
if not self._process_shift_days(current_data):
|
||||
return is_early_card, is_late_card, is_abnormal, is_warning, absenteeism_card, is_no_card
|
||||
|
||||
is_tianhe_property = employee.company_id.name == "天河物管"
|
||||
is_tianhe_property = employee.company_id.id == 3
|
||||
|
||||
# 只要是旷工 就不算早退 或者迟到
|
||||
# 迟到判断
|
||||
|
||||
Reference in New Issue
Block a user