Skip to content

feat(attendance): simple employee clock-in trial - #4

Merged
emily77 merged 1 commit into
mainfrom
feature/attendance-clock-in
Nov 9, 2026
Merged

emily77 merged 1 commit into
mainfrom
feature/attendance-clock-in

Conversation

@emily77

@emily77 emily77 commented Nov 9, 2026

Copy link
Copy Markdown
Owner

員工手機打卡簡單版試用:

  • 員工頁 /attendance/:選名字 + PIN,出勤/退勤/休憩開始/休憩終了,伺服器時間(JST)記錄,PIN 連錯鎖定
  • 管理頁 /attendance/admin/:以網站 admin 帳號登入後新增/停用員工、看每月紀錄與每日彙總、下載 CSV(明細+彙總)
  • 儲存:MySQL 新表 attendance_employees / attendance_records(無 DATABASE_URL 時本機 JSON 後備,僅供測試)
  • 測試:server/attendance.test.ts 9 項全過;tsc --noEmit 無錯誤;npm run build 成功

@emily77
emily77 merged commit 023f22d into main Nov 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant