How arnaut560000/shared-ppmp works
This is an authenticated municipal planning and procurement application. Department users create annual AIP program headings and PPAs, then prepare monthly PPMPs whose saved costs reserve office budget; plans proceed through review and approval, with reporting, purchase requests, and inventory as downstream capabilities. The graph preserves those documented product branches. Some controller and service internals were not sampled, so relationships for those branches rely on the README rather than inferred call chains.
Main entry points: PlanningService.php Planning and approvals · PpmpController.php Monthly PPMPs · PurchaseRequestController.php Purchase requests · PpmpReceivingController.php PPMP receiving
Components 27
Access and shell
- Application shell
resources/js/app.tsx - Authentication flows
routes/auth.php - Registration
app/Http/Controllers/Auth/RegisteredUserController.php - User accounts
app/Models/User.php
Annual planning
- Annual AIP documents
app/Http/Controllers/AipDocumentController.php - PPA workspace
app/Http/Controllers/AipController.php - Planning and approvals
app/Services/PlanningService.php - Role and plan access
app/Services/PlanningAccess.php - Annual review
app/Http/Controllers/AipSummaryController.php - Plans and hierarchy
app/Models/Plan.php
Procurement workflow
- Monthly PPMPs
app/Http/Controllers/PpmpController.php - Procurement catalogue
database/seeders/PpmpCatalogueSeeder.php - PPMP approval
app/Http/Controllers/PpmpApprovalController.php - APP consolidation
app/Http/Controllers/AnnualProcurementController.php - Consolidated PPMP report
app/Services/ConsolidatedPpmpReport.php - PPMP workbook export
app/Services/PpmpWorkbook.php - Purchase requests
app/Http/Controllers/PurchaseRequestController.php - Numbered PR orders
app/Services/NumberedPrOrders.php
Budget and operations
- Office budget allocation
app/Http/Controllers/OfficeBudgetController.php - Budget ceilings and totals
app/Services/OfficeBudgetService.php - PPMP receiving
app/Http/Controllers/PpmpReceivingController.php - Receiving service
app/Services/PpmpReceiving.php - Asset registration
app/Services/InventoryRegistration.php - Equipment inventory
app/Http/Controllers/InventoryController.php - SQLite database
Other components
- Department user
- Admin / Budget Office
Connections 26
- Department user → Authentication flows: registers or signs in
routes/auth.php - Authentication flows → Registration: routes registration
routes/auth.php - Registration → User accounts: creates account
app/Http/Controllers/Auth/RegisteredUserController.php - Department user → Annual AIP documents: opens annual AIP
README.md - Annual AIP documents → PPA workspace: opens PPA workspace
README.md - PPA workspace → Planning and approvals: saves plan data
app/Http/Controllers/AipController.php - Planning and approvals → Role and plan access: checks permissions
app/Services/PlanningService.php - Planning and approvals → Plans and hierarchy: creates and updates
app/Services/PlanningService.php - Admin / Budget Office → Office budget allocation: assigns ceilings
README.md - Office budget allocation → Budget ceilings and totals: manages available funds
README.md - Budget ceilings and totals → Plans and hierarchy: aggregates plan costs
app/Services/OfficeBudgetService.php - Department user → Monthly PPMPs: prepares monthly lists
README.md - Monthly PPMPs → Procurement catalogue: selects catalogue items
README.md - Monthly PPMPs → Planning and approvals: saves PPMP draft
app/Services/PlanningService.php - Department user → Annual review: submits annual AIP
README.md - Annual review → Planning and approvals: reviews and records decisions
README.md - PPMP approval → Planning and approvals: records approval status
app/Services/PlanningService.php - APP consolidation → Consolidated PPMP report: aggregates approved PPMPs
README.md - Monthly PPMPs → PPMP workbook export: exports workbook
README.md - Department user → Purchase requests: starts purchase request
README.md - Purchase requests → Numbered PR orders: numbers PR orders
app/Http/Controllers/PurchaseRequestController.php - Purchase requests → PPMP receiving: continues to receiving
README.md - PPMP receiving → Receiving service: processes receipts
app/Http/Controllers/PpmpReceivingController.php - PPMP receiving → Asset registration: registers received assets
app/Http/Controllers/PpmpReceivingController.php - Equipment inventory → SQLite database: reads and updates assets
- Application shell → Department user: serves application UI