How zukewandile/contractmonthlyclaimsystem works
CMCS is an ASP.NET Core MVC application for managing academic staff monthly claims. Lecturers submit claims using HR-assigned module rates and can upload supporting documents; coordinators verify claims, then managers make final approval decisions, while lecturers track claim status and HR manages users, modules, assignments, rates, and reports. The database context persists claim, approval, user, module, and document metadata; uploaded files are stored under wwwroot/uploads. Edges reflect the sampled controllers, data context, initializer, and README; unsampled view wiring is not expanded.
Main entry points: ApplicationDbContext.cs Application database · LecturerController.cs Lecturer claims · HRController.cs HR administration · Models Claim and staff models
Components 14
Claim workflow
- Lecturer claims
Controllers/LecturerController.cs - Coordinator verification
Controllers/CoordinatorController.cs - Manager approval
Controllers/ManagerController.cs
Staff administration
- HR administration
Controllers/HRController.cs
Persistence
- Claim and staff models
Models - Application database
Data/ApplicationDbContext.cs - Uploaded documents
wwwroot/uploads
Application runtime
- Role login
Controllers/LoginController.cs - Database initialization
Data/DbInitializer.cs - Password hashing
Helpers/PasswordHasher.cs
Other components
- Lecturer
- Coordinator
- Manager
- HR staff
Connections 17
- Lecturer → Lecturer claims: submits claims
README.md - Coordinator → Coordinator verification: verifies claims
README.md - Manager → Manager approval: approves claims
README.md - HR staff → HR administration: manages staff
README.md - Lecturer claims → Application database: reads and writes
Controllers/LecturerController.cs - Lecturer claims → Uploaded documents: encrypts files
Controllers/LecturerController.cs - Lecturer claims → Claim and staff models: uses claim models
Controllers/LecturerController.cs - Coordinator verification → Application database: reads and writes
Controllers/CoordinatorController.cs - Coordinator verification → Claim and staff models: uses approval model
Controllers/CoordinatorController.cs - Manager approval → Application database: reads and writes
Controllers/ManagerController.cs - HR administration → Application database: reads and writes
Controllers/HRController.cs - HR administration → Password hashing: hashes passwords
Controllers/HRController.cs - HR administration → Claim and staff models: manages staff data
Controllers/HRController.cs - Role login → Application database: checks credentials
Controllers/LoginController.cs - Role login → Password hashing: checks hashes
Controllers/LoginController.cs - Database initialization → Application database: seeds records
Data/DbInitializer.cs - Application database → Claim and staff models: maps entities
Data/ApplicationDbContext.cs