How glnngeo/ims-indorsement works
DOH-CARAGA IMS supports the Supply Unit’s inventory workflow: users encode purchase orders, inspect incoming and outgoing materials, record issuances, and monitor stock through reports, stockcards, and archived transactions. The repository separates these business areas into PHP pages and handlers, with shared authentication, database, configuration, and reference-data modules. The README establishes the product capabilities, and sampled pages confirm session-gated dashboard access and the separate property-custodian interface. Most business handlers were not sampled, so their specific calls and data flow are not asserted.
Main entry points: login.php Sign-in · index.php Dashboard · php_db.php Database access · po.php Purchase orders
Components 18
Access and Administration
- Sign-in
login.php - Dashboard
index.php - User administration
the_admin/index.php - Organization settings
config/index.php
Supply Transactions
- Purchase orders
po.php - Inspection records
inspectors.php - Supply records
supply_records/iar.php - Issuance records
supply_records/ris.php - Gate passes
supply_records/gatepass.php
Inventory Oversight
- Stockcard
stockcard.php - Reports
reports/report_sai.php - Transaction archive
archives.php - Property tracking
pptctd/main.php
Shared Services
- Reference tables
reference_tables/item.php - Database access
php/php_db.php - Authentication handlers
php/php_login.php
Other components
- Supply staff
- MySQL database
Connections 11
- Supply staff → Sign-in: signs in
- Supply staff → Purchase orders: encodes orders
- Supply staff → Inspection records: records inspections
- Supply staff → Supply records: records receipts
- Supply staff → Issuance records: records issues
- Supply staff → Stockcard: checks stock
- Supply staff → Reports: reviews reports
- Supply staff → Transaction archive: reviews history
- Supply staff → Property tracking: tracks property
- Dashboard → Sign-in: redirects unauthenticated
- Database access → MySQL database: database access