Appearance
Payroll Run
hrms.payroll_run · every change is kept in the audit log · numbered PR-{YYYY}-{##}
Fields
Every record also has id, created_at and updated_at.
| Field | Label | Type | Rules |
|---|---|---|---|
month | month | date | required; unique |
college | college | link → core.college | |
period_from | period from | date | |
period_to | period to | date | |
status | status | select | one of: Draft, Finalised; default "Draft" |
employee_count | employee count | number | default 0 |
total_gross | total gross | money | |
total_net | total net | money | |
finalised_on | finalised on | datetime | |
finalised_by | finalised by | link → core.user |
Permissions
| Role | Can |
|---|---|
hrms:admin | read |
hrms:payroll | read, create, update, delete |
API
http
GET /api/hrms/payroll_run?<field>=<value>&limit=100&offset=0
POST /api/hrms/payroll_run
GET /api/hrms/payroll_run/:id
PATCH /api/hrms/payroll_run/:id
DELETE /api/hrms/payroll_run/:id