Skip to content

Commit

Permalink
fix: also make the log valid again once it does belong to a shift
Browse files Browse the repository at this point in the history
  • Loading branch information
asmitahase committed Feb 12, 2025
1 parent 928a099 commit f76b364
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hrms/hr/doctype/employee_checkin/employee_checkin.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ def fetch_shift(self):
)
)
if not self.attendance:
self.is_invalid = 0
self.shift = shift_actual_timings.shift_type.name
self.shift_actual_start = shift_actual_timings.actual_start
self.shift_actual_end = shift_actual_timings.actual_end
Expand Down

0 comments on commit f76b364

Please sign in to comment.