Appearance
Resignation
hrms.resignation · every change is kept in the audit log · numbered EXIT-{YYYY}-{####}
Fields
Every record also has id, created_at and updated_at.
| Field | Label | Type | Rules |
|---|---|---|---|
employee | employee | link → hrms.employee | required |
separation_date | separation date | date | required |
status | status | select | one of: Pending, Approved, Rejected; default "Pending" |
reasons_for_leaving | reasons for leaving | longtext | |
would_rejoin | would rejoin | select | one of: Yes, No, Maybe |
liked_about_organisation | liked about organisation | longtext | |
feedback_on_staff | feedback on staff | longtext | |
other_feedback | other feedback | longtext | |
notice_period | notice period | longtext | |
resignation_letter_submitted | resignation letter submitted | check | default false |
manager_approval_notes | manager approval notes | longtext | |
manager_clearance | manager clearance | longtext | |
it_clearance | it clearance | longtext | |
approved_by | approved by | link → core.user | |
rejection_reason | rejection reason | longtext |
Permissions
| Role | Can |
|---|---|
hrms:admin | read, update |
hrms:manager | read, update |
hrms:employee | read, create — only own rows (via employee) |
API
http
GET /api/hrms/resignation?<field>=<value>&limit=100&offset=0
POST /api/hrms/resignation
GET /api/hrms/resignation/:id
PATCH /api/hrms/resignation/:id
DELETE /api/hrms/resignation/:id