Appearance
Budget Allocation
budget.budget_allocation · every change is kept in the audit log · numbered BA-{YYYY}-{#####}
Fields
Every record also has id, created_at and updated_at.
| Field | Label | Type | Rules |
|---|---|---|---|
financial_year | financial year | link → budget.financial_year | required |
department | department | link → core.college | required |
sub_department | sub department | link → budget.sub_department | |
total_allocated | total allocated | money | |
total_estimated | total estimated | money | |
lines | lines | table of allocation_line |
Unique together: financial_year + department + sub_department
Permissions
| Role | Can |
|---|---|
budget:admin | read, create, update, delete |
budget:finance | read, create, update, delete |
budget:hod | read |
budget:clerk | read |
budget:auditor | read |
API
http
GET /api/budget/budget_allocation?<field>=<value>&limit=100&offset=0
POST /api/budget/budget_allocation
GET /api/budget/budget_allocation/:id
PATCH /api/budget/budget_allocation/:id
DELETE /api/budget/budget_allocation/:id