HR/Payroll: Flexible work types / job titles (carpenter, electrician, etc.) #18

Open
opened 2026-02-09 17:36:20 +05:30 by androidlover5842 · 0 comments

Goal

  • Support any kind of worker (carpenter/electrician/plumber/porter/etc.) without hardcoding roles.

Key rule

  • Separate:
    • System Role (permissions): fixed + typed (ADMIN/MANAGER/STAFF)
    • Work Type / Job Title (what they do): flexible, manager-editable

Work

  • Add jobTitle (free text) to worker profile.
  • Optional: WorkType master list:
    • manager can add/edit/disable types (autocomplete + "Add new")
    • store both workTypeId and jobTitle (or derive jobTitle from workType when selected)
  • Ensure worker creation/edit flows allow arbitrary titles.
  • Reporting: filter expenses/attendance/payroll by work type/job title.

Engineering requirements

  • Do not violate typed-role rule: only permissions use enums; job titles are data-driven.
  • Follow Room DB sync rule for profile edits.

Acceptance

  • Manager can record a worker as "Electrician" today and "Carpenter" tomorrow without app changes.
Goal - Support any kind of worker (carpenter/electrician/plumber/porter/etc.) without hardcoding roles. Key rule - Separate: - System Role (permissions): fixed + typed (ADMIN/MANAGER/STAFF) - Work Type / Job Title (what they do): flexible, manager-editable Work - Add `jobTitle` (free text) to worker profile. - Optional: WorkType master list: - manager can add/edit/disable types (autocomplete + "Add new") - store both `workTypeId` and `jobTitle` (or derive jobTitle from workType when selected) - Ensure worker creation/edit flows allow arbitrary titles. - Reporting: filter expenses/attendance/payroll by work type/job title. Engineering requirements - Do not violate typed-role rule: only permissions use enums; job titles are data-driven. - Follow Room DB sync rule for profile edits. Acceptance - Manager can record a worker as "Electrician" today and "Carpenter" tomorrow without app changes.
androidlover5842 added the featureuxhr-payroll labels 2026-02-09 17:36:20 +05:30
androidlover5842 added this to the TrisolarisPMS Roadmap project 2026-02-09 17:36:32 +05:30
Sign in to join this conversation.