• Joined on 2026-05-21
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 »
ir created branch main in ir/aars 2026-07-21 11:03:29 +08:00
ir pushed to master at ir/aars 2026-07-21 02:34:31 +08:00
d5d9d644a0 feat: add backup/restore/version, fix leave duplicate, add Settings page to nav
ir pushed to master at ir/aars 2026-07-21 01:56:11 +08:00
6f90d60b13 Add Settings page, List page, report template
ir pushed to master at ir/aars 2026-07-21 01:56:00 +08:00
95814350c9 Accident display: fix aliases + submitted_at format
975791b9bd Accident: add incident_datetime computed field (date HH:MM:SS)
0d34b51918 Fix accident export xlsx: indent + submitter_email mapping
aca1c55072 Fix: replace r.employee_name with r.submitter_email in accident references
4bcda0a907 Accident schema: rename employee_name -> submitter_email (clearer semantic)
Compare 10 commits »