Module Research Notes
Evidence gathered from the current module files before writing the user guide pages.
Research Sources Inspected
Source path
modules/Lending
Feature flags marked true
- Controllers
- Models
- Views
- Language
- Permissions
- Left Menu
- Default Menu
- Routes
- Migrations
- Cron Jobs
- Helpers
- Libraries
- Public Pages
- Tests
Evidence Summary
Manifest
module.json defines slug lending, version 1.0.0, category Finance, and the module capability flags used in this guide.
Runtime surface
11 controller file(s), 21 view file(s), and 20 route mapping(s) were found.
Data surface
13 model file(s), 12 declared table(s), and 1 migration file(s) were found.
Operations surface
11 permission key(s), 1 job(s), 1 seeder(s), and 2 test file(s) were found.
Detailed File Evidence
Controllers and methods
LendingLending_applicationsLending_baseLending_borrowersLending_collectionsLending_loansLending_paymentsLending_productsLending_publicLending_reportsLending_settings
Jobs and schedules
- Lending: daily loan servicing (15 1 * * *) - Updates due/overdue schedule statuses, accrues penalties after grace period, refreshes days-past-due and aging buckets, and syncs collection cases.
Routes sampled
| Route | Target |
|---|---|
lending | Lending/index |
lending/products | Lending_products/index |
lending/products/(.+) | Lending_products/$1 |
lending/borrowers | Lending_borrowers/index |
lending/borrowers/(.+) | Lending_borrowers/$1 |
lending/applications | Lending_applications/index |
lending/applications/(.+) | Lending_applications/$1 |
lending/loans | Lending_loans/index |
lending/loans/(.+) | Lending_loans/$1 |
lending/payments | Lending_payments/index |
lending/payments/(.+) | Lending_payments/$1 |
lending/collections | Lending_collections/index |
lending/collections/(.+) | Lending_collections/$1 |
lending/reports | Lending_reports/index |
lending/reports/(.+) | Lending_reports/$1 |
lending/settings | Lending_settings/index |
lending/settings/(.+) | Lending_settings/$1 |
lending/(:any) | Lending/$1 |
loan-portal | Lending_public/index |
loan-portal/(:any) | Lending_public/$1 |
README topics
- What it does
- Interest & penalty math
- Permissions (Roles -> Finance: Lending)
- Data model (12 tables, tenant-scoped - DB-per-tenant, no tenant_id)
- Setup
- Demo Seeder
- Philippine-compliance notes
Operating Implications
- Permission coverage is part of the module contract, so every workflow should be tested with a role-limited user and an administrator.
- The module has migrations, so fresh installs and tenant databases need migration validation before go-live.
- The module has a public or portal-facing surface, so privacy review and logged-out testing are required.
- Scheduled jobs can change statuses, notifications, or summaries after users leave the screen; support should check cron status during troubleshooting.
- Seeders exist for sample or starter data; operators should know whether seeded records are demo-only or operational defaults.
Known Risks from the Manifest
No explicit known_risks list was found in the module manifest. Keep normal module controls in place and validate permissions, data, and public surfaces during QA.