# Project Backlog: Infrastructure-to-Frontend Gaps

This document tracks school management modules that have backend database infrastructure but lack frontend implementation.

## Priority 1: Inventory & Asset Management
- [ ] **Item Catalog UI**: Create views to list, search, and categorize school supplies (stationery, electronics).
- [ ] **Stock Transactions**: Implement forms for recording purchases, adjustments, and current stock levels.
- [ ] **Item Issuing System**: UI for assigning items to staff, departments, or students with return tracking.
- **DB Tables**: `items`, `item_stock`, `stock_transactions`, `item_issues`.

## Priority 2: Front Office & Visitor Management
- [ ] **Digital Visitor Log**: Check-in/out UI for parents, vendors, and visitors.
- [ ] **Admission Enquiry CRM**: Dashboard for tracking prospective student leads and follow-ups.
- [ ] **Complaints Manager**: Portal for logging and resolving complaints from parents or staff.
- **DB Tables**: `visitor_logs`, `admission_enquiries`, `complaints`.

## Priority 3: Online Exam & Quiz Engine
- [ ] **Student Exam Interface**: Timed quiz-taker UI with support for multiple-choice and essay questions.
- [ ] **Teacher Exam Builder**: Interface for creating question banks, scheduling exams, and grading.
- [ ] **Results Dashboard**: Detailed view of student attempts and obtained marks.
- **DB Tables**: `exam_groups`, `question_banks`, `exam_attempts`, `exam_answers`.

## Priority 4: HR & Payroll Self-Service
- [ ] **Leave Management**: Portal for staff to apply for leave and for admins to approve/reject requests.
- [ ] **Payroll Processing**: Accountant UI for running monthly payroll and generating payslips.
- [ ] **Staff Payslips**: Self-service view for employees to download their historical payslips.
- **DB Tables**: `leave_requests`, `payroll_runs`, `payslips`.

## Priority 5: Specialized Resource Management
- [ ] **Hostel Portal**: Room allocation, bed availability tracking, and hostel fee management.
- [ ] **Transport Dashboard**: Fleet management, route mapping, and student pickup assignments.
- **DB Tables**: `hostels`, `rooms`, `vehicles`, `transport_allocations`.

## Priority 6: Library Circulation
- [ ] **Book Catalog**: UI for searching and managing the school library's book collection.
- [ ] **Borrowing System**: Interface for checking books in and out to students/staff.
- **DB Tables**: (Requires extension of existing library fee structure).
