How escall-dev/sdo-alpas works
SDO ALPAS is a web application for employee travel, locator, and pass-slip requests and their approvals. Employees submit requests through the admin pages; the system routes them by organizational unit, supports approver decisions and executive override, and provides tracking and document export. The graph separates request workflows, identity and organizational administration, and shared infrastructure. README statements establish product workflows and capabilities; source-index references and excerpts support the implementation links. Unsampled subsystems are included where documented, but their internal calls are not inferred.
Main entry points: AuthorityToTravel.php Travel request model · database.php Database connection · LocatorSlip.php Locator slip model · PassSlip.php Pass slip model
Components 23
Request workflows
- Travel requests
admin/authority-to-travel.php - Travel request model
models/AuthorityToTravel.php - Locator slips
admin/locator-slips.php - Locator slip model
models/LocatorSlip.php - Pass slips
admin/pass-slips.php - Pass slip model
models/PassSlip.php - Tracking numbers
services/TrackingService.php - Document export
services/DocxGenerator.php - Document API
admin/api/generate-docx.php
Identity and offices
- Authentication and access
includes/auth.php - User management
models/AdminUser.php - Registration and verification
admin/api/registration-otp.php - OIC delegations
models/OICDelegation.php - Unit routing setup
admin/unit-routing.php - Email verification model
models/EmailVerification.php
Dashboards and oversight
- Dashboard and reports
admin/index.php - My requests
admin/my-requests.php - Pending notifications
admin/api/notification-count.php - Activity audit
models/ActivityLog.php
Shared services
- Database connection
config/database.php - MySQL database
Other components
- Employee
- Approver
Connections 39
- Employee → Travel requests: files travel
README.md - Employee → Locator slips: files locator slip
README.md - Employee → Pass slips: files pass slip
- Approver → Travel requests: reviews requests
README.md - Approver → Locator slips: approves slips
README.md - Travel requests → Travel request model: calls
admin/authority-to-travel.php - Locator slips → Locator slip model: calls
admin/locator-slips.php - Pass slips → Pass slip model: calls
admin/pass-slips.php - Travel request model → Tracking numbers: generates numbers
admin/authority-to-travel.php - Locator slips → Tracking numbers: generates numbers
admin/locator-slips.php - Pass slips → Tracking numbers: generates numbers
admin/pass-slips.php - Document API → Travel request model: loads requests
admin/api/generate-docx.php - Document API → Locator slip model: loads slips
admin/api/generate-docx.php - Document API → Pass slip model: loads slips
admin/api/generate-docx.php - Document API → Document export: generates documents
admin/api/generate-docx.php - Dashboard and reports → Travel request model: reads requests
admin/index.php - Dashboard and reports → Locator slip model: reads slips
admin/index.php - Dashboard and reports → Pass slip model: reads slips
admin/index.php - My requests → Travel request model: reads requests
admin/my-requests.php - My requests → Locator slip model: reads slips
admin/my-requests.php - My requests → Pass slip model: reads slips
admin/my-requests.php - Pending notifications → Travel request model: counts requests
admin/api/notification-count.php - Pending notifications → Locator slip model: counts slips
admin/api/notification-count.php - Authentication and access → User management: authenticates users
includes/auth.php - Authentication and access → OIC delegations: checks delegation
includes/auth.php - Registration and verification → User management: registers users
admin/api/registration-otp.php - Registration and verification → Email verification model: verifies email
admin/api/registration-otp.php - Travel request model → OIC delegations: resolves approver
models/AuthorityToTravel.php - Locator slip model → Travel request model: gets supervised offices
models/LocatorSlip.php - Pass slip model → Travel request model: gets supervised offices
models/PassSlip.php - Unit routing setup → Database connection: queries routing data
admin/unit-routing.php - Authentication and access → Database connection: loads database
includes/auth.php - User management → Database connection: loads database
models/AdminUser.php - Travel request model → Database connection: loads database
models/AuthorityToTravel.php - Locator slip model → Database connection: loads database
models/LocatorSlip.php - Pass slip model → Database connection: loads database
models/PassSlip.php - Tracking numbers → Database connection: uses connection
services/TrackingService.php - Database connection → MySQL database: connects
config/database.php - Authentication and access → Activity audit: logs actions
includes/auth.php