• Joined on 2026-05-21
ir pushed to master at ir/aars 2026-07-21 18:10:45 +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
ir pushed to master at ir/aars 2026-07-21 18:02:34 +08:00
4c9db01213 Add /api/attendance/status_texts endpoint; dynamic status filter in Attendance List (filter by status_text LIKE)
ir pushed to master at ir/aars 2026-07-21 17:52:38 +08:00
ef57d7cd59 If late/early/OT > 30min → mark as abnormal status (override status_code+text, zero out minutes)
ir pushed to master at ir/aars 2026-07-21 17:41:17 +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)
ir pushed to master at ir/aars 2026-07-21 13:39:00 +08:00
6f2df815f5 Simplify Attendance export status groups to 6 categories: 正常|遲到|早退|加班|異常/缺勤|假期/請假
ir pushed to master at ir/aars 2026-07-21 13:14:58 +08:00
c1b1d6f35b Add DELETE /api/admin/backup/{filename} and delete button in Settings
ir pushed to master at ir/aars 2026-07-21 13:10:49 +08:00
e531cea8a4 Add leaves reset, split holidays/leave resets, support multi-table reset
ir pushed to master at ir/aars 2026-07-21 13:08:02 +08:00
2d64d3f0b6 Add accident to reset sections
ir pushed to master at ir/aars 2026-07-21 12:49:46 +08:00
08ba4cbca9 Fix: add missing db Session dependency to reset_section
ir pushed to master at ir/aars 2026-07-21 12:49:09 +08:00
c07f40b28f Add /api/admin/reset/{section} endpoint for Danger Zone reset
ir pushed to master at ir/aars 2026-07-21 12:45:48 +08:00
2d9b73df9d Bump version to 1.2.0
ir pushed to master at ir/aars 2026-07-21 12:38:49 +08:00
9980f8d80a Fix: strip existing leave suffix before appending new leave to prevent duplication
ir pushed to master at ir/aars 2026-07-21 12:35:17 +08:00
1e7d58486b Fix: prevent leave type duplication in status_text for attendance records
ir pushed to master at ir/aars 2026-07-21 12:26:28 +08:00
cca088261b Fix: use roster public_holiday column to determine if employee works on holidays, instead of checking clock-in
ir pushed to master at ir/aars 2026-07-21 12:08:33 +08:00
adc9e6451b Fix: show attendance status for employees who worked on holiday (not just holiday name)
ir pushed to master at ir/aars 2026-07-21 11:56:23 +08:00
a34905661b Fix: add missing DB_PATH constant for backup/restore endpoints
ir pushed to master at ir/aars 2026-07-21 11:43:10 +08:00
89c14c7a72 Make RECALC button btn-primary (blue) for visibility
1a60c71032 Add RECALC button to Roster page to refresh data
Compare 2 commits »
ir pushed to main at ir/aars 2026-07-21 11:28:28 +08:00
03bf4ef422 Make RECALC button btn-primary (blue) for visibility
ir pushed to main at ir/aars 2026-07-21 11:17:35 +08:00
e7c29a0a57 Add RECALC button to Roster page to refresh data
ir pushed to main at ir/aars 2026-07-21 11:03:29 +08:00
0b58a1c05a Fix calculate_attendance_status missing return result, move chart imports to top
02b4a49e8c Add /api/attendance/records and /api/accident/records endpoints for frontend
766817b9be Restore list_records and get_section_info endpoints after route reorder
4114e03f05 Fix route ordering: specific endpoints before generic /{section}/*
5b4a39924e Add missing dashboard endpoints: /api/dashboard/summary, /api/attendance/stats, /api/accident/dashboard/*
Compare 10 commits »