Appearance
Salary Structure
hrms.salary_structure · every change is kept in the audit log
Fields
Every record also has id, created_at and updated_at.
| Field | Label | Type | Rules |
|---|---|---|---|
employee | employee | link → hrms.employee | required |
effective_from | effective from | date | required |
monthly_ctc | monthly ctc | money | required |
basic_pay | basic pay | money | |
pf | pf | money | |
professional_tax | professional tax | money | |
insurance | insurance | money | |
tds | tds | money | |
net_pay | net pay | money |
Unique together: employee + effective_from
Permissions
| Role | Can |
|---|---|
hrms:admin | read |
hrms:payroll | read, create, update, delete |
hrms:employee | read — only own rows (via employee) |
API
http
GET /api/hrms/salary_structure?<field>=<value>&limit=100&offset=0
POST /api/hrms/salary_structure
GET /api/hrms/salary_structure/:id
PATCH /api/hrms/salary_structure/:id
DELETE /api/hrms/salary_structure/:id