feat: HR full CRUD and link HR records to Contacts #29
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_biz#29
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
Ref: lhumina_code/home#210
The HR module is currently read-only. It also stores its own person data disconnected from the shared Contacts (
/persons) records.Required work
1. HR full CRUD
Implement create, edit, and archive flows for HR records, matching the pattern already used by other entities (Deals, Contracts, etc.):
effective_base_path2. Link HR records to Contacts
An employee, contractor, advisor, or partner should reference an existing Contact record rather than storing a separate person entry.
Example HR record fields:
/personsrecord (John Smith)/companiesrecord–if empty)/contractsrecord3. HR detail page
The HR detail page should show:
–for empty)Acceptance criteria
/personsrecord)Implemented in commit
00437d9: HR full CRUD — new hr.rs model, list/detail/create/edit/archive templates and handlers, 4 routes, sidebar entry, Contact linking.