7dd53e0a5f
StatusBadge: preserve late/early/ot minutes for abnormal records (don't zero them out)
IT狗
2026-07-21 18:22:03 +08:00
33a5e3b2ad
StatusBadge: split badges per dimension (abnormal/late/early/OT <=30min); Attendance filter by status_code conditions for abnormal/late/early/OT/normal/leave types
IT狗
2026-07-21 18:10:43 +08:00
4c9db01213
Add /api/attendance/status_texts endpoint; dynamic status filter in Attendance List (filter by status_text LIKE)
IT狗
2026-07-21 18:02:32 +08:00
ef57d7cd59
If late/early/OT > 30min → mark as abnormal status (override status_code+text, zero out minutes)
IT狗
2026-07-21 17:52:36 +08:00
f41dad6127
Fix: add 30-second tolerance for OT/early/late calculation to avoid floating-point noise (e.g. 20:00==20:00 showing OT 1min)
IT狗
2026-07-21 17:41:14 +08:00
6f2df815f5
Simplify Attendance export status groups to 6 categories: 正常|遲到|早退|加班|異常/缺勤|假期/請假
IT狗
2026-07-21 13:38:58 +08:00
c1b1d6f35b
Add DELETE /api/admin/backup/{filename} and delete button in Settings
IT狗
2026-07-21 13:14:56 +08:00
2d64d3f0b6
Add accident to reset sections
IT狗
2026-07-21 13:08:00 +08:00
08ba4cbca9
Fix: add missing db Session dependency to reset_section
IT狗
2026-07-21 12:49:44 +08:00
c07f40b28f
Add /api/admin/reset/{section} endpoint for Danger Zone reset
IT狗
2026-07-21 12:49:07 +08:00
2d9b73df9d
Bump version to 1.2.0
IT狗
2026-07-21 12:45:46 +08:00
9980f8d80a
Fix: strip existing leave suffix before appending new leave to prevent duplication
IT狗
2026-07-21 12:38:48 +08:00
1e7d58486b
Fix: prevent leave type duplication in status_text for attendance records
IT狗
2026-07-21 12:35:16 +08:00
cca088261b
Fix: use roster public_holiday column to determine if employee works on holidays, instead of checking clock-in
IT狗
2026-07-21 12:26:27 +08:00
adc9e6451b
Fix: show attendance status for employees who worked on holiday (not just holiday name)
IT狗
2026-07-21 12:08:31 +08:00