Skip to content

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.

FieldLabelTypeRules
monthmonthdaterequired; unique
collegecollegelink → core.college
period_fromperiod fromdate
period_toperiod todate
statusstatusselectone of: Draft, Finalised; default "Draft"
employee_countemployee countnumberdefault 0
total_grosstotal grossmoney
total_nettotal netmoney
finalised_onfinalised ondatetime
finalised_byfinalised bylink → core.user

Permissions ​

RoleCan
hrms:adminread
hrms:payrollread, 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

Edulab Bench developer documentation