How guref/humnt-dap works
This is a Flask personnel-records system for searching institutional employee data, handling leave and personnel-change workflows, and producing reports. Users enter through the web application; its routes handle authentication, search, employee modules, requests, and administration. The principal search path consolidates spreadsheet records and can export selected results. Excel structure discovery and JSON configuration are handled by a controller, while a separate controller builds PDFs. The excerpts show only part of the large application, so some documented-by-code capabilities are represented at route/subsystem level rather than as inferred call chains.
Main entry points: data Personnel spreadsheets · database_ops.py Excel and JSON operations · pdf_logic.py PDF generation · app.py Global personnel search
Components 13
Web workflows
- Flask application
app.py - Login and sessions
app.py - Global personnel search
app.py - Vacation records
app.py - Leave permissions
app.py - Retirement requests
app.py - Administration
app.py
Personnel records
- Excel and JSON operations
controllers/database_ops.py - Personnel spreadsheets
data - Application JSON data
data
Reporting
- Custom exports
app.py - PDF generation
controllers/pdf_logic.py
Other components
- Staff user
Connections 14
- Staff user → Flask application: uses
app.py - Staff user → Login and sessions: signs in
app.py - Staff user → Global personnel search: searches records
app.py - Staff user → Vacation records: views records
app.py - Staff user → Leave permissions: manages leave
- Staff user → Retirement requests: submits requests
app.py - Staff user → Administration: administers users
app.py - Staff user → Custom exports: requests export
app.py - Global personnel search → Personnel spreadsheets: searches spreadsheets
app.py - Custom exports → Personnel spreadsheets: searches spreadsheets
app.py - Excel and JSON operations → Personnel spreadsheets: reads workbooks
controllers/database_ops.py - Excel and JSON operations → Application JSON data: loads configuration
controllers/database_ops.py - PDF generation → Excel and JSON operations: loads data helpers
controllers/pdf_logic.py - PDF generation → Personnel spreadsheets: reads report data
controllers/pdf_logic.py