How gabtolomea/lgutreasury works
LGUTreasury is an ASP.NET Core treasury and revenue-collection application. Its central workflow records a payment for a payee, associates collection line items with revenue types, and persists the result; the app also supports record review, dashboards, reports, revenue setup, user administration, and recurring bills for long-term payees. Controller excerpts show database access, payment persistence, dashboard aggregation, and report generation. Other controller behavior is represented from the SOURCE INDEX; the README provides no further capability details.
Main entry points: RecordController.cs Payment records · ApplicationDbContext.cs Application database · LongTermTenant.cs Long-term billing · PaymentRecord.cs Payment data
Components 21
Payment Collection
- Payment records
Controllers/RecordController.cs - Payee directory
Models/Payee.cs - Payment data
Models/PaymentRecord.cs - Collection line items
Models/RecordLineItem.cs - Edit requests
Models/Editrequests.cs - Deleted records
Models/DeleteRecord.cs
Reporting & Oversight
- Dashboard analytics
Controllers/HomeController.cs - Revenue analytics
Controllers/AnalyticsController.cs - Report generation
Controllers/Reportcontroller.cs - Report history
Models/ReportLog.cs
Revenue & Accounts
- User accounts
Controllers/AccountController.cs - User administration
Controllers/AdminController.cs - Revenue setup
Controllers/Revenuetypecontoller.cs - Revenue definitions
Models/RevenueType.cs
Recurring Billing
- Long-term billing
Controllers/LongTermTenant.cs - Long-term payees
Models/LongTermPayee.cs - Tenant billing types
Models/AccountBillingType.cs - Billing options
Models/BillingTypeOption.cs - Monthly bills
Models/MonthlyBill.cs
Other components
- Treasury staff
- Application database
Data/ApplicationDbContext.cs
Connections 28
- Payment records → Application database: reads and writes
Controllers/RecordController.cs - Payment records → Payee directory: creates and searches
Controllers/RecordController.cs - Payment records → Payment data: records payments
Controllers/RecordController.cs - Payment records → Collection line items: adds line items
Controllers/RecordController.cs - Payment records → Edit requests: handles requests
Controllers/RecordController.cs - Payment records → Deleted records: archives records
Controllers/RecordController.cs - Dashboard analytics → Application database: queries aggregates
Controllers/HomeController.cs - Revenue analytics → Application database: queries revenue
Controllers/AnalyticsController.cs - Report generation → Application database: loads and logs
Controllers/Reportcontroller.cs - Report generation → Report history: records history
Controllers/Reportcontroller.cs - User accounts → Application database: accesses accounts
Controllers/AccountController.cs - User administration → Application database: manages accounts
Controllers/AdminController.cs - Revenue setup → Application database: manages revenue
Controllers/Revenuetypecontoller.cs - Long-term billing → Application database: manages billing
Controllers/LongTermTenant.cs - Long-term billing → Long-term payees: manages tenants
Controllers/LongTermTenant.cs - Long-term billing → Tenant billing types: configures billing
Controllers/LongTermTenant.cs - Long-term billing → Billing options: uses options
Controllers/LongTermTenant.cs - Long-term billing → Monthly bills: manages bills
Controllers/LongTermTenant.cs - Payment data → Payee directory: references payee
Models/PaymentRecord.cs - Payment data → Collection line items: has line items
Models/PaymentRecord.cs - Long-term payees → Tenant billing types: has billing types
Models/LongTermPayee.cs - Long-term payees → Monthly bills: has monthly bills
Models/LongTermPayee.cs - Tenant billing types → Monthly bills: has bills
Models/AccountBillingType.cs - Collection line items → Revenue definitions: references type
Models/RecordLineItem.cs - Revenue setup → Revenue definitions: configures types
Controllers/Revenuetypecontoller.cs - Treasury staff → Payment records: uses
- Treasury staff → Dashboard analytics: views
- Treasury staff → Report generation: generates reports