5 Commits

Author SHA1 Message Date
IT狗 03bf4ef422 Make RECALC button btn-primary (blue) for visibility 2026-07-21 11:28:27 +08:00
IT狗 e7c29a0a57 Add RECALC button to Roster page to refresh data 2026-07-21 11:17:33 +08:00
IT狗 0b58a1c05a Fix calculate_attendance_status missing return result, move chart imports to top 2026-07-21 11:03:21 +08:00
IT狗 535d10a885 Add HTML5 report export for Attendance and Accident
- Backend: /api/report/{section}/html endpoint generates self-contained HTML5 report
- Frontend: Export buttons added to Dashboard, Attendance List, Accident List
- Report features: embedded data, 3 interactive Chart.js charts, stats cards,
  sortable/filterable table with color-coded rows, popup detail on click,
  click chart segment to auto-filter table, print support
- Template: report_template.html with responsive design, Chinese labels
2026-07-20 23:21:12 +08:00
IT狗 eafc1c33fc Add full AARS system - Attendance & Accident Record System
- FastAPI backend with SQLite database
- React + TailwindCSS frontend
- JWT authentication
- Excel upload/download for attendance and accident records
- Shift roster management with S7a/S7b split
- Lateness/OT calculation based on shift times
- Roster info API endpoints
- Export API with token query parameter support
- Docker compose deployment
2026-07-16 03:16:33 +08:00