Appearance
Hostel Cancellation
hostel.cancellation · every change is kept in the audit log · numbered HCN-{YYYY}-{#####}
Fields
Every record also has id, created_at and updated_at.
| Field | Label | Type | Rules |
|---|---|---|---|
student | student | link → core.student | required |
application | application | link → hostel.application | required |
hostel | hostel | link → hostel.hostel | required |
requested_by | requested by | select | one of: Student, Office; default "Student" |
reason | reason | longtext | |
account_holder_name | account holder name | text | personal data |
bank_name | bank name | text | |
branch_name | branch name | text | |
ifsc_code | ifsc code | text | max 11 characters |
account_no | account no | text | personal data |
refund_amount | refund amount | money | |
refund_status | refund status | select | one of: Not applicable, Pending, Refunded; default "Pending" |
refund_date | refund date | date |
Permissions
| Role | Can |
|---|---|
hostel:admin | read, create, update, delete, import, export |
hostel:warden | read, create, update — only rows in the user's scope (via hostel) |
hostel:accounts | read, update |
hostel:student | read, create — only own rows (via student) |
API
http
GET /api/hostel/cancellation?<field>=<value>&limit=100&offset=0
POST /api/hostel/cancellation
GET /api/hostel/cancellation/:id
PATCH /api/hostel/cancellation/:id
DELETE /api/hostel/cancellation/:idBulk import: GET /api/_import/hostel/cancellation/template (CSV template), then POST /api/_import/hostel/cancellation. See REST API.