Skip to content

Salary Advance ​

hrms.salary_advance · every change is kept in the audit log · numbered ADV-{YYYY}-{####}

Fields ​

Every record also has id, created_at and updated_at.

FieldLabelTypeRules
employeeemployeelink → hrms.employeerequired
advance_amountadvance amountmoneyrequired
emi_amountemi amountmoney
emi_monthsemi monthsnumbermin 1
reasonreasonlongtext
requested_onrequested ondate
remaining_amountremaining amountmoney
statusstatusselectone of: Pending, Approved, Rejected; default "Pending"
paid_statuspaid statusselectone of: Not Paid, Paid; default "Not Paid"
repayment_statusrepayment statusselectone of: Inactive, Active; default "Inactive"

Permissions ​

RoleCan
hrms:adminread, update
hrms:payrollread, update
hrms:employeeread, create, delete — only own rows (via employee)

API ​

http
GET    /api/hrms/salary_advance?<field>=<value>&limit=100&offset=0
POST   /api/hrms/salary_advance
GET    /api/hrms/salary_advance/:id
PATCH  /api/hrms/salary_advance/:id
DELETE /api/hrms/salary_advance/:id

Edulab Bench developer documentation