添加功能
This commit is contained in:
@@ -366,7 +366,7 @@ class HrAttendanceDetail(models.Model):
|
||||
employee_list.append(resource_id.employee_id.id)
|
||||
if employee.id not in employee_list:
|
||||
# 判断是否工作日
|
||||
if self._process_shift_days(current_data):
|
||||
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 == "天河物管"
|
||||
|
||||
Reference in New Issue
Block a user