Spaces:
Configuration error
Configuration error
Commit History
-
refactor: remove workforce_profiles β use scm_employees as source of truthβ
mkkbms- Delete app/workforce_profiles/ module entirely (redundant with scm-ms employees) - live_tracking service: join scm_employees (user_id) instead of workforce_profiles (profile_id) - attendance service: enrich grid view from scm_employees (user_id) - Remove department filter from AttendanceFilters (no department field in scm_employees) - main.py: remove workforce_profiles router450c304 -
feat: attendance module β transactions in PostgreSQL, corrections in MongoDBβ
mkkbms- Add app/postgres.py (asyncpg pool, mirrors tracker-ms pattern) - Update app/core/config.py: Field(validation_alias=...) for DB_HOST/PORT/NAME/USER/PASSWORD - Add db/migrations/002_create_attendance_tables.sql (trans.workforce_attendance) - Rename 002_create_attendance_indexes.py -> 003_create_attendance_corrections_indexes.py - Rewrite attendance service: check-in/out/mark/correct -> asyncpg PostgreSQL - Correction history (audit trail) -> MongoDB workforce_attendance_corrections - Update schemas: flat PostgreSQL fields, CorrectionEntrySchema from Mongo - Update main.py lifespan: connect_to_postgres / close_postgres_connection7705125 -
feat: attendance management β check-in/out, admin mark/correct, remarks, daily grid + employee-wise history
mkkbmsd5e8dbd -
feat: initial foundation β workforce profiles + live tracking & route replay
mkkbms3818b61