Registry

The registry module is designed to manage student enrollments and applications efficiently. It includes functionalities for:

  • Session Management: Ensures the user is logged in and manages sessions effectively.
  • Financial Data Retrieval: Fetches and displays financial statements, balance, and invoice data for students.
  • Enrollment and Application Statistics: Provides stats on total enrollments, pending, approved, and rejected applications with percentage changes.
  • Application Processing: Handles acceptance and rejection of applications, including generating registration numbers and emails, updating statuses, and logging rejections.
  • Student and Program Management: Retrieves and displays data on students, programs, and levels, assigns students to current semesters, and increments student levels.
  • Recent Activities: Fetches and displays recent activities for administrative tracking.

The module ensures seamless handling of various student-related processes, providing a comprehensive administrative tool for managing enrollments, financials, and applications.

+--------------------+              +--------------------+
|  User Logs In      |              |  Admin Dashboard   |
+--------------------+              +--------------------+
         |                                  |
         v                                  v
+-----------------------+        +--------------------------+
| Session Check         |        | View Enrollment Stats    |
+-----------------------+        +--------------------------+
     |         |                           |
     |         v                           v
     |    +------------------+    +------------------------------+
     |    | Invalid Session  |    | View Application Stats       |
     |    | Show Error       |    +------------------------------+
     |    +------------------+    | View Pending Applications    |
     v                           |------------------------------|
+-----------------------+        | View Approved Applications   |
| Fetch User Info       |        |------------------------------|
+-----------------------+        | View Rejected Applications   |
     |                          +------------------------------+
     v                                  |
+-------------------------------+       |
| Fetch Financial Statements    |       v
+-------------------------------+   +-----------------------------+
     |                          |   | Process Application         |
     v                          |   +-----------------------------+
+-------------------------------+   |  +-------------+ +-------------+
| Display Financial Statements  |   |  |  Accept     | |  Reject     |
+-------------------------------+   |  +-------------+ +-------------+
     |                          |   |        |                |
     v                          |   |        v                v
+-------------------------------+   |  +-------------------+ +--------------------+
| Print Financial Statements    |   |  | Generate Reg. No. | | Update Application |
+-------------------------------+   |  +-------------------+ +--------------------+
     |                          |   |        |                      |
     v                          |   |        v                      v
+-------------------------------+   |  +-------------------+ +--------------------+
| Get Student Balance           |   |  | Generate Email    | | Log Rejection      |
+-------------------------------+   |  +-------------------+ +--------------------+
     |                          |   |        |                      |
     v                          |   |        v                      v
+-------------------------------+   |  +-----------------------------+
| Get Student Invoice Data      |   | | Assign to Semester          |
+-------------------------------+   | |------------------------------|
     |                          |   |        |
     v                          |   |        v
+-------------------------------+   | +-----------------------------+
| Generate Financial Statements |   | | Increment Levels & Semesters|
+-------------------------------+   | +-----------------------------+
     |                          |   |
     v                          |   v
+-------------------------------+ +-----------------------------+
| Calculate Change Percentage   | | Get Recent Activities       |
+-------------------------------+ +-----------------------------+
     |                          |         |
     v                          |         v
+-------------------------------+ +-----------------------------+
| Retrieve Application Status   | | Get All Programs and Levels |
+-------------------------------+ +-----------------------------+
     |                          |         |
     v                          |         v
+-------------------------------+ +-----------------------------+
| Generate Registration Number  | | Get All Applications        |
+-------------------------------+ +-----------------------------+
     |                          |         |
     v                          |         v
+-------------------------------+ +-----------------------------+
| Generate Student Email        | | Get All Students            |
+-------------------------------+ +-----------------------------+
     |                          |
     v                          |
+-------------------------------+
| Get User ID by Student ID     |
+-------------------------------+