# School ERP SaaS — Build Plan (summary)

Source: `School-ERP-Build-Plan.pdf` (22 Nov 2026), tabs *Overview and core*, *Students module plan*,
*Academic module plan*, *Fees module plan*. The database itself is `school_erp_schema.sql` (56 tables).

**Rule used in this summary:** where the main (Overview) tab and a module tab disagree, the module tab is
correct, and only the module-tab version is given below. Points where the two still conflict or are unclear
are listed in [QUESTIONS.md](QUESTIONS.md).

---

## 1. Overview

A hosted (SaaS) school management system in Laravel and MySQL. Every school uses one shared app on our server.
Schools start on the **Basic plan** (Students, Academic, Fees) and buy more modules as add-ons, which the
Platform Owner switches on per school.

| Decision | Choice | Why |
|---|---|---|
| Delivery | SaaS, hosted on our server | No installer, licence system or piracy; one update reaches every school |
| Stack | Laravel 12, PHP 8.3, MySQL 8 | Existing skills; runs on cPanel or a small VPS |
| Tenancy | One database, `school_id` on every school table | Simple to host, back up and update |
| School address | `schoolname.ourapp.in` (wildcard subdomain) | Custom domains later |
| Basic plan | Students, Academic, Fees | What every school needs on day one |
| Add-ons | Attendance, Exams, Finance, HR, Library, Assets, Vehicles, Inventory, Website CMS, Alumni, Hostel, Reports | Switched on per school after payment |
| Branches | Single and multi-branch from day one | `branch_id` on branch-owned tables; adding it later means a rewrite |
| Access control | RBAC with custom roles, enforced on the server | Schools build their own roles with a module × action grid |
| Admin levels | Platform Owner, School Super Admin, custom roles | Platform Owner and School Super Admin skip all permission checks in their own scope |
| Custom IDs | Format per school, per entity | e.g. `ABC-2026-0001` for students |

Out of scope for now: installation wizard, licence activation, module zip upload, themes (one admin template only).

## 2. Architecture

One Laravel project; each feature area is a self-contained module; every request is tied to one school by its subdomain.

**Packages**

| Package | Purpose |
|---|---|
| `nwidart/laravel-modules` | Each module has its own routes, controllers, views, migrations and permissions |
| `spatie/laravel-permission` (teams mode, team = school) | Roles and permissions, separate per school |
| `spatie/laravel-activitylog` | Who changed what |
| Tabler or AdminLTE (Bootstrap) | One admin template; no theme system |

**Folders**

```
app/                core: tenancy, auth, platform panel, RBAC, settings, IDs
Modules/
  Students/         basic
  Academic/         basic
  Fees/             basic
  Attendance/       add-on (later)
  Exams/            add-on (later)
    Config/permissions.php   actions shown in the role grid
    Config/menu.php          sidebar entries
    Database/Migrations/
    Http/Controllers/  Models/  Policies/  Resources/views/  Routes/web.php
```

**How a request finds its school**

1. Middleware reads the subdomain (`abc.ourapp.in`) and loads the school. Unknown or suspended school → error page.
2. The school is stored for the request and set as the Spatie team, so roles and permissions load for that school only.
3. A `BelongsToSchool` trait on every school model adds `WHERE school_id = ?` to every query and fills `school_id` on create. No controller sets `school_id` by hand.
4. A `BelongsToBranch` trait adds the user's branch filter from their role's data scope.

**Turning modules on and off**

- All module code is deployed once. A school's enabled modules come from `school_modules`.
- `EnsureModuleEnabled` middleware on each module's routes returns 403 when the school has not bought the module or it has expired.
- The sidebar and the role grid only show enabled modules.
- Core modules never depend on add-ons. Add-ons may depend on core modules (Exams needs Academic and Students).

**Hosting**: cPanel or VPS (~₹500–1,500/month, enough for 20–50 schools); wildcard DNS and wildcard SSL for `*.ourapp.in`;
a separate staging site; queue worker and scheduler (cron) for reminders, expiry checks and backups.

## 3. Access control

Every request passes five server-side checks; the screen only shows what the server would allow. **Hiding a button is never the protection.**

**Admin levels**

| Level | Who | Can do | Limits |
|---|---|---|---|
| Platform Owner | Us | Everything across all schools: create schools, switch modules, plans, billing, "login as" for support | Separate login (`platform` guard), separate table |
| School Super Admin | School owner | Everything inside their school: all branches, settings, roles, records | Cannot be deleted or demoted; at least one per school |
| Custom roles | Principal, accountant, teacher, clerk… | Only what the role grid allows, within the role's data scope | Cannot grant more than they have; cannot edit their own role |

**Permission names** are `module.action`. Standard actions: `view`, `create`, `edit`, `delete`, `export`, `print`; extra
actions where needed (see each module below, plus core `roles.manage`, `settings.manage`). Each module lists its actions in
`Config/permissions.php`; a sync command writes them to `permissions`, so a new module appears in the role grid without code changes.

**Creating a custom role**: name, description, data scope → tick a grid (modules down, actions across, select-all per row/column; only
enabled modules) → or copy an existing role. System roles (School Super Admin, Parent, Student) are locked.

**Data scope**

| Scope | Sees | Typical role |
|---|---|---|
| `all_branches` | Every branch of the school | Principal, owner |
| `assigned_branches` | Branches listed in `branch_user` for that user | Branch admin, accountant |
| `own_records` | Records linked to the user (their sections, their child) | Teacher, parent, student |

**Where the checks live**

1. Route middleware: `permission:students.create`.
2. Module middleware: the school owns the module and it has not expired.
3. Policies: `$this->authorize('update', $student)` checks the record, not just the action.
4. Global query scopes: `school_id` and branch filters on every query, including exports, searches and dropdowns. Changing an ID in the URL cannot open another branch's record.
5. Form requests: reject `school_id`, `branch_id` or `role_id` values the user is not allowed to set.

Super admins pass through `Gate::before`. Permissions are cached and cleared when a role changes. Denied attempts are written to the activity log.

## 4. Database conventions

- InnoDB, `utf8mb4`, `utf8mb4_unicode_ci`. Table names plural snake_case; foreign keys `<singular>_id` with real FK constraints. PK `id BIGINT UNSIGNED` auto-increment.
- **Money is `DECIMAL(12,2)`**, never FLOAT.
- Timestamps stored in UTC, shown in the school's timezone (default `Asia/Kolkata`).
- Status columns are `VARCHAR(20)`; allowed values are checked in the model, so new values need no migration.
- Aadhaar numbers are encrypted with Laravel's `encrypted` cast.
- Unique rules always include `school_id`, e.g. `UNIQUE(school_id, admission_no)`.
- Financial records (receipts, payments, refunds) are never deleted; they are cancelled with a reason.
- Optional `stream_id` (and `branch_id` in settings/id_formats) columns get a stored generated column `stream_key = IFNULL(stream_id, 0)` used in unique keys, because MySQL treats NULLs as different.

**Standard columns ("+ standard")**: `school_id` (FK schools, indexed, filled by `BelongsToSchool`), `branch_id` (only on
branch-owned tables), `created_by`, `updated_by` (FK users), `created_at`, `updated_at`, `deleted_at` (soft delete on business
tables, not on logs or pivots).

## 5. Platform tables (ours, no school filter)

- **platform_users** — our admin logins: name, email (unique), password, `two_factor_secret` (encrypted; 2FA required for platform users), is_active, last_login_at/ip, remember_token.
- **plans** — name (Basic/Standard/Premium), slug (unique), price_monthly, price_yearly (INR), max_students, max_branches (null = unlimited), `included_modules` JSON (e.g. `["students","academic","fees"]`), is_active.
- **modules** — slug (unique, folder name in lower case), name, description, is_core, price_monthly (null for core), `depends_on` JSON, sort_order, is_active (false hides it from every school).
- **school_modules** — school_id + module_id (unique), status (`trial`, `active`, `expired`, `disabled`), starts_at, expires_at (null = no expiry; expired add-ons turn read-only, data kept), activated_by (platform user).
- **school_subscriptions** — billing history: plan, billing_cycle (`monthly`, `yearly`), amount, starts_at, ends_at, status (`pending`, `paid`, `failed`, `cancelled`), payment_ref.
- **academic_templates** — board templates (CBSE, ICSE, AP State, Telangana State, Blank) maintained by us and copied into a school on first setup.

## 6. Core tables (every school)

- **schools** — uuid (used in links), name, code (unique, default ID prefix `ABC`), subdomain (unique), custom_domain (later), contact/address fields, logo_path, plan_id, status (`trial`, `active`, `suspended`, `cancelled`; **suspended blocks login**), trial_ends_at, timezone (`Asia/Kolkata`), currency (`INR`), is_multi_branch (false hides branch menus and switcher). Soft deletes.
- **branches** (+ standard, no branch_id) — name, code (unique per school, usable as `{BRANCH}`), contact/address, `is_main` (exactly one per school, created with the school), status.
- **users** (+ standard, no branch_id) — name, username (unique per school; login with username or email), email (unique per school), phone, password, user_type (`staff`, `student`, `parent`), `is_super_admin`, `is_teaching_staff` (Academic), `must_change_password` (Students), avatar_path, status (`active`, `inactive`, `locked`), 2FA columns, last_login_at/ip.
- **branch_user** — user_id + branch_id (PK), is_default (branch selected after login).
- **roles** (Spatie + extras) — school_id (Spatie team column; null only for platform templates), name (unique with school_id, guard_name), description, `data_scope`, `is_system`, created_by.
- **permissions** (Spatie, global) — name (`students.create`, unique with guard), guard_name, module_slug (grid row), action (grid column), label, sort_order.
- Spatie pivots with the team column `school_id`: `role_has_permissions`, `model_has_roles`, `model_has_permissions`.
- **settings** (no soft delete) — school_id, branch_id (null = school-wide; a branch row overrides it), group (`general`, `academic`, `fees`, `notifications`), key (unique per school + branch), value (JSON when not a plain string; secrets encrypted).
- **id_formats** — school_id, branch_id (null = shared counter), entity (`student`, `staff`, `admission`, `receipt`, `refund`), prefix, pattern (tokens `{PREFIX}`, `{BRANCH}`, `{YYYY}`, `{YY}`, `{SEQ}`), seq_padding, `next_number` (**read and increased inside a transaction with a row lock**), reset_policy (`never`, `yearly`), last_reset_year.
- **activity_logs** — spatie/laravel-activitylog plus school_id, branch_id, ip_address, user_agent. Never edited or deleted from the app.
- **custom_fields** / **custom_field_values** — school-defined fields (see Students).

## 7. Academic module (module tab is final)

Version 1: years, classes, streams, sections, subjects, electives, class and subject teachers, a weekly timetable,
and copying the whole setup into the next year. Not in v1: automatic timetable generation, substitution management, lesson plans.

**Years**: name like `2027-28`, start/end, no overlap; status `upcoming → active → closed`; exactly one current year
(switching is a Super Admin action with confirmation); a closed year is read-only everywhere.

**Copy setup to next year**: pick source and target year (target upcoming or active); tick items (sections, class teachers,
class subjects, elective groups, subject teachers, timetable — bell schedules are shared, not copied); preview counts and
skips; one transaction recorded in `academic_copy_runs`; running twice only adds what is missing. Must run before promotion.
Student elective choices are not copied.

**Classes** (per branch, stay the same across years): name, short_name, order (`numeric_order`), promotion path
`next_class_id`, wing, `has_streams` (every section must then pick a stream), default `period_set_id`. Deactivate, never delete once used.

**Streams** (school-wide): Science/Commerce/Arts or MPC/BiPC/MEC/CEC; name + code.

**Sections** (per academic year): year, class, stream (required for stream classes), name unique within year+class+stream,
capacity (warn when full), room, class teacher (one section per teacher per year — warning), medium, shift, gender
(`coed`, `boys`, `girls`), period set override. Display name `Class 11 – SCI – A`.

**Subjects** (school-wide): name, short_name (≤6, timetable cells), code, category, type (`theory`, `practical`, `both`), colour.

**Class subjects** (per year, class, stream): core subjects, or electives in an **elective group** (min/max select);
`periods_per_week` target. Section and teacher are **not** on class_subjects; teachers move to `subject_teachers`
(one teacher per subject per section). Student elective choices are stored per enrollment in `student_subjects`.

**Customisation and quick setup**: school-edited lists in `academic_lists` (wing, medium, shift, subject_category); board
templates; bulk add classes/sections; inline editing; paste lists; subject grid; duplicate; Excel import. Anything used by
students, fees or the timetable can be deactivated but not deleted. Custom fields also for class, section, subject.

**Teachers**: staff users with `is_teaching_staff`. Teacher assignments drive the timetable and the `own_records` scope
(a teacher sees students of sections they are class teacher of or teach in).

**Timetable**: bell schedules (`period_sets` per branch, with weekdays, one default per branch; `periods` with times and breaks);
weekly grid per section; checks on save — teacher clash blocked, room clash warning, over target warning, elective groups share a slot.
Views: section, teacher, free teachers; print/PDF; portal timetable.

**Tables**: `academic_years`, `academic_lists`, `streams`, `period_sets`, `periods`, `classes`, `sections`, `subjects`,
`elective_groups`, `class_subjects`, `subject_teachers`, `timetable_slots`, `academic_copy_runs`, `academic_templates`.

**Menu (10 items) and permissions**: Academic Years (`academic.manage_years`), Copy to Next Year (`academic.copy_setup`),
Classes & Streams and Sections (`academic.manage_structure`), Subjects and Class Subjects (`academic.manage_subjects`),
Teacher Assignment (`academic.assign_teachers`), Elective Choices (`academic.manage_electives`), Bell Schedules (`timetable.edit`),
Timetable (`timetable.view`, `timetable.edit`, `timetable.print`). `academic.view` sees everything read-only. Portal: `portal.view_timetable`.

Build: ~4 weeks. Academic must be built before Students.

## 8. Students module (module tab is final)

Version 1: direct admission by staff, parent and student logins, school custom fields, Excel import, sibling linking.
Not in v1: enquiries/CRM, online application, ID cards and certificates (Certificate Management add-on), attendance/marks/timetable in the parent app.

**Admission**: one form, five steps on one page, one DB transaction (student, guardians, enrollment, documents, logins);
on failure everything rolls back and the form keeps input. Duplicate warning on same name + DOB + guardian phone.
1. Student details (first name 2–100 letters, gender, DOB in the past, Aadhaar 12 digits with checksum and unique, encrypted and masked; photo JPG/PNG ≤1 MB; 10-digit mobile; 6-digit pincode…).
2. Guardians: phone search first; father/mother/other; at least one with name and phone; exactly one primary contact.
3. Admission: branch (only allowed ones; hidden for single-branch), year (not closed), class/section (capacity warning), admission date (not future), admission number (from `id_formats`, editable only if setting allows), student ID preview, roll number (next free).
4. Documents: PDF/JPG/PNG ≤2 MB each.
5. Logins: student login (default from setting), parent login (default on; skipped if primary guardian already has one), send by SMS/WhatsApp link/print slip.

**Guardians and siblings**: siblings share guardian rows; guardian phone unique per school; search across all branches;
editing a shared guardian updates all linked children; exactly one primary contact per student; Siblings panel; link later;
removing a guardian never deletes it while other students use it.

**Logins and portal (`/portal`)**: parent username = guardian mobile, student username = student ID; random 8-char first password,
`must_change_password`; locked system roles **Parent** and **Student** with `own_records`, fixed `portal.*` permissions;
disabled when no child is active / student leaves. Staff with `students.manage_logins` manage them.

**Custom fields**: types text, textarea, number, date, dropdown, multi_select, boolean; ≤30 per entity per school; fields with values
can only be deactivated and cannot change type; dropdown options keyed; per-field placement (form step, list, filters, import, portal);
server-side validation. Tables `custom_fields`, `custom_field_values` (index `custom_field_id, value(50)`).

**Bulk import**: download school template → upload XLSX/CSV ≤5 MB, 2,000 rows, one branch and year → validate each row like the form →
match guardians by phone → preview with errors and error file → import valid rows in batches of 100 (each its own transaction) in the queue →
result and bulk login creation. Tables `student_imports`, `student_import_rows`. Package: maatwebsite/excel or openspout.

**List/profile/status/promotion**: filters, search (incl. last 4 of Aadhaar), user-chosen columns, export within scope (`students.export`),
bulk actions. Profile tabs: Overview, Guardians & siblings, Class history, Documents, Fees, Login, Activity. Status changes: left, transferred,
suspended, passed out, re-admission. Promotion: promote/detain/leave per student into next-year sections; final class → passed_out;
never changes the old year; revertable until fee dues exist for the new year.

**Tables**: `students`, `guardians`, `guardian_student`, `student_enrollments`, `student_subjects`, `student_documents`, `student_imports`, `student_import_rows`.

**Permissions**: `students.view`, `.create`, `.edit`, `.delete` (blocked if any fee payment exists), `.export`, `.import`, `.promote`,
`.change_status`, `.manage_logins`, `.manage_documents`, `.view_sensitive`, `.link_guardians`, `custom_fields.manage`;
portal: `portal.view_profile`, `portal.view_fees`.

Build: ~5 weeks.

## 9. Fees module (module tab is final)

Version 1: structures with installments, concessions, late fines, counter and online (Razorpay) payment, advance credit, refunds,
carry forward. Not in v1: paid SMS/WhatsApp providers, Tally export, GST invoices, payment links for non-portal parents, transport fee by route.
**Receipts and refunds are never deleted, only cancelled with a reason; every change is in the activity log.**

**Structures**: grid of fee heads × installments, one per year + class (+ stream) + branch; plans monthly (12), quarterly (4),
term (3), annual (1), custom. Recurring heads split equally (cells overridable); one-time heads go into a chosen installment.
Only published structures create dues; editing a published one changes only unpaid future installments. Copy to classes or next year with % increase rounded to ₹10.
Fee heads: type, refundable, priority (lower paid first), allow_concession, `is_system` ("Previous year dues").

**Dues** (`student_fees`, one line per head per installment): created on publish, on admission, replaced on section/stream change,
future lines cancelled on leaving, manual charges with a reason. Mid-year admission setting. Approved concessions applied as lines are created.
**Carry forward**: unpaid balance → one "Previous year dues" line in the new year; old lines marked `carried` and linked.

**Concessions**: types (sibling, staff_ward, merit, rte, need_based, other; percent/fixed; head list; approval; document).
Pending → approved/rejected (`fees.approve_concession`); applied only to unpaid lines. RTE = 100% on chosen heads.
Scholarships paid by others are a payment mode `scholarship` with payer name.

**Fines**: daily job; per_day, fixed, slab; grace days, cap per line, heads/classes filter; stops when paid; waiving needs `fees.waive_fine` and a reason.

**Counter**: find student (siblings together, one receipt per student), dues oldest first, tick or type an amount (allocation oldest due first then head priority),
excess → credit, credit offered first; modes cash, UPI, card, bank transfer, cheque, scholarship; receipt number from `id_formats`; one transaction;
print A4/A5/PDF/WhatsApp. Cheque bounce cancels the receipt. Cancelling needs `fees.cancel_receipt` + reason. Day close per collector.

**Razorpay**: each school's own account; keys in settings (encrypted); server recalculates amounts; order → checkout → signature check;
webhook `payment.captured`; whichever arrives first creates the receipt, so one payment never makes two receipts; reconciliation job every 15 min.

**Credit and refunds**: append-only `student_credit_ledger` (balance never below 0). Refunds of refundable heads, credit or online payments;
request (`fees.refund`) and approval (`fees.approve_refund`) by different people; refund voucher number from `id_formats` (entity `refund`).

**Reminders and reports**: unpaid list with one-click WhatsApp links and email; every reminder stored in `fee_reminders`.
Reports (within data scope, export with `fees.export`): day collection, collection summary, dues and defaulters, student ledger,
concessions, fines, online payments, refunds, carry forward.

**Tables**: `fee_heads`, `fee_structures`, `fee_installments`, `fee_structure_items`, `fee_item_amounts`, `concession_types`,
`student_concessions`, `fine_rules`, `online_payments`, `student_fees` (generated `balance`), `fee_payments`, `fee_payment_items`,
`student_credit_ledger`, `fee_refunds`, `fee_reminders`. All money columns `DECIMAL(12,2)`.

**Menu (12 items) and permissions**: Collect Fees (`fees.collect`), Receipts (`fees.view`, `fees.cancel_receipt`), Unpaid & Reminders (`fees.view`),
Fee Structures and Fee Heads (`fees.manage_structures`), Concessions (`fees.concession`, `fees.approve_concession`), Fine Rules
(`fees.manage_structures`, `fees.waive_fine`), Refunds (`fees.refund`, `fees.approve_refund`), Online Payments (`fees.view`),
Carry Forward (`fees.carry_forward`), Fee Reports (`fees.export`), Fee Settings (`fees.settings`). Also `fees.generate_dues`,
`fees.manual_charge`; portal `portal.view_fees`, `portal.pay_fees`.

Build: ~6 weeks.

## 10. Screens — Platform and Core (first release)

Platform (platform guard): login with 2FA; dashboard (schools, active modules, renewals due); schools list/create (with subdomain
and main branch)/edit/suspend; school detail with module switches, expiry and trial; plans and module prices; subscriptions and
payments; "login as" school super admin with banner and return button; platform users.

Core: login, forgot password, 2FA; dashboard with module widgets; branch switcher; branches (`branches.*`); users (`users.*`);
roles with permission grid and data scope (`roles.manage`); settings (`settings.manage`); ID formats with live preview
(`settings.manage`); activity log (`activity_logs.view`); my profile; module store (super admin); 403 and "module not enabled" pages.

## 11. Build phases (~24 weeks at 2 hours a day)

| Phase | Weeks | Main work |
|---|---|---|
| 0 Foundation ✅ | 2 | Laravel, modules package, tenancy by subdomain, login, Platform panel |
| 1 Core ✅ | 3 | Branches, users, roles with permission grid, settings, ID formats, activity log |
| 2 Academic ✅ | 4 | Years, classes, streams, sections, subjects, electives, teachers, timetable, copy to next year |
| 3 Students ✅ | 5 | Admission, guardians and siblings, custom fields, logins and portal, import, promotion |
| 4 Fees ✅ | 6 | Structures and installments, concessions, fines, counter, Razorpay, credit, refunds, reports |
| 5 Pilot (readiness ✅, v1.0.0 released, pilot to run) | 4 | 2–3 schools free; fix what confuses them; then charge |

Students work does not start until tests prove that one school, branch or role cannot reach another's data.
After launch, add-ons in this order: Attendance, Exams with report cards, Finance, HR and Payroll, then Library, Hostel,
Vehicles, Inventory, Assets, Alumni, Website CMS, Reports.

## 12. Security, testing, backups

**Security**: every school model uses `BelongsToSchool` (a test fails the build otherwise); every module route has auth, module and
permission middleware; policies on every record-level action; form requests never accept `school_id`, and `branch_id` only from allowed
branches; HTTPS only, secure HttpOnly cookies, session cookie scoped per subdomain; login rate limit 5/minute and lock after repeated
failures; 2FA required for platform users, optional for school users; uploads in private storage, type/size checked, served through a
permission-checked route; Aadhaar and 2FA secrets encrypted, APP_KEY backed up separately; activity log on create, edit, delete, login,
denied access and receipt cancellation.

**Testing**: tenant test (a user of school A gets 404 for every school B record URL); permission test (403 without permission);
data scope test (a branch user cannot list, export or open another branch's records); module test (disabled module → 403);
fees tests (balance, partial payment, fine, discount, cancellation totals); ID generator test (50 parallel requests → 50 unique numbers).

**Backups and releases**: nightly DB backup kept 30 days at another provider; weekly file backup; monthly restore test on staging;
staging first, production outside school hours; uptime monitor and error tracking.

## 13. Decision log

1. Business: school software for schools and coaching centres in our own district first.
2. Stack: Laravel and MySQL.
3. Plans: Basic (Students, Academic, Fees); all others are paid add-ons.
4. Delivery: SaaS on our servers; no installer, licence system or module zip upload for now.
5. Add-ons: all code deployed once; switched on per school.
6. Super admin: Platform Owner and School Super Admin can do everything in their scope.
7. RBAC: custom roles per school with a module × action grid, enforced on the server on every request.
8. Branches: single and multi-branch from day one.
9. Admission: direct admission by staff.
10. Logins: parent and student logins on admission, in a separate portal.
11. Custom fields: on students, guardians, classes, sections and subjects.
12. Students extras: bulk import and sibling linking in v1.
13. Printing: ID cards and certificates become a Certificate Management add-on.
14. Promotion: checkbox select-all and bulk promote, detain or leave.
15. Streams: classes 11 and 12 have streams.
16. Academic extras: copy to next year, electives per student, class and subject teachers, timetable.
17. Quick setup: board templates, bulk create, inline editing, paste lists, subject grids.
18. Online payment: Razorpay in the parent portal, into each school's own account.
19. Installments: monthly, quarterly, term-wise, annual or custom per structure.
20. Fees extras: late fines, concessions and scholarships, refunds and advance credit, carry forward of unpaid dues.
