How casullamichaeljoe-cloud/ecoop works
E-COOP is a Laravel cooperative-management application with admin, staff, member, treasurer, committee, and kiosk workflows. Members and staff interact through role-specific controllers and views; operational records support savings, lending, POS/inventory, elections, and cooperative finance, while administrators manage approvals, reports, and settings. The README documents the broader lifecycle capabilities; sampled code confirms selected finance, login, notifications, POS approval, member, and voting interactions. Other feature links reflect documented capabilities and tree structure; unsampled internal wiring is not asserted.
Main entry points: Models Domain records · Staff Staff portal · LoginController.php Login · Admin Admin portal
Components 23
Access and portals
- Login
app/Http/Controllers/Auth/LoginController.php - User records
app/Models/User.php - Admin portal
app/Http/Controllers/Admin - Staff portal
app/Http/Controllers/Staff - Member portal
app/Http/Controllers/Member
Member operations
- Member and account records
app/Models - Loan processing
app/Services/LoanProcessingService.php - Savings and interest
app/Services/SavingsInterestService.php - POS and inventory
app/Http/Controllers/Staff/PosController.php - POS approval
app/Http/Controllers/Treasurer/PosApprovalController.php
Cooperative finance
- Finance management
app/Http/Controllers/Admin/FinanceController.php - Finance rules
app/Services/FinanceRuleEngine.php - Year-end distribution
app/Console/Commands/ComputeYearEndDistribution.php
Elections
- Election administration
app/Http/Controllers/Admin/VotingController.php - Member ballot
app/Http/Controllers/Member/VotingBallotController.php - Voting kiosk
app/Http/Controllers/Kiosk/VotingKioskController.php - Election results
app/Http/Controllers/Admin/VotingResultController.php
Shared platform
- Notifications
app/Http/Controllers/Api/NotificationController.php - Announcements
app/Http/Controllers/Admin/AnnouncementController.php - Audit logging
app/Services/AuditLogger.php - Domain records
app/Models - Supabase PostgreSQL
Other components
- Cooperative users
Connections 24
- Cooperative users → Login: sign in
- Login → User records: looks up
- Cooperative users → Admin portal: manage
- Cooperative users → Staff portal: operate
- Cooperative users → Member portal: access
- Staff portal → Member and account records: maintains
- Staff portal → Loan processing: processes
- Staff portal → Savings and interest: records activity
- Staff portal → POS and inventory: records sales
- POS approval → Domain records: updates sale
- POS approval → Notifications: notifies
- Member portal → Member and account records: views accounts
- Admin portal → Finance management: manages finance
- Finance management → Finance rules: calculates
- Finance management → Domain records: reads records
- Finance rules → Domain records: reads rules
- Year-end distribution → Finance rules: calculates shares
- Admin portal → Election administration: configures elections
- Member ballot → Domain records: records ballots
- Voting kiosk → Domain records: records ballots
- Election results → Domain records: reads votes
- Announcements → Notifications: publishes alerts
- Login → Audit logging: records activity
- Domain records → Supabase PostgreSQL: persists records