feat: Phase 1 bootstrap — adapt BukidBountyApp as BarangaySystem
- Replace UserTypes with barangay roles (super_admin, punong_barangay, kagawad, secretary, treasurer, sk_chairperson, sk_councilor, tanod, bhw, daycare_worker, staff, resident, audit) - Replace UserActions with barangay-specific permissions (residents, households, blotters, documents, fee payments, projects, budget) - Replace modules config with barangay modules (residents, households, blotters, documents, certificates, projects, budget, announcements, accounting, chapters, qr_payment, subscriptions, landing_pages) - Update app name, seeders, and landing page to barangay defaults - Add new enums: DocumentStatus, BlotterStatus, PaymentStatus - Add 6 new migrations: residents, households, blotters, document requests, projects, budget - Add RequestTypeSeeder with default certificate fee schedule - Update README with BarangaySystem stack, roles, and remotes
This commit is contained in:
@@ -4,23 +4,20 @@ namespace App\Enums;
|
||||
|
||||
enum UserTypes: string
|
||||
{
|
||||
case ULTIMATE = 'ult';
|
||||
case SUPER_OPERATOR = 'super operator';
|
||||
case OPERATOR = 'operator';
|
||||
case COORDINATOR = 'coordinator';
|
||||
case COOP_OFFICER = 'coop officer';
|
||||
case COOP_MEMBER = 'coop member';
|
||||
case SUPPLIER_OVERSEER = 'supplier overseer';
|
||||
case WHOLESALE_BUYER = 'wholesale buyer';
|
||||
case SUPPLIER = 'supplier';
|
||||
case STORE_OWNER = 'store owner';
|
||||
case STORE_MANAGER = 'store manager';
|
||||
case USER = 'user';
|
||||
case RIDER = 'rider';
|
||||
case SUPER_ADMIN = 'super_admin';
|
||||
case PUNONG_BARANGAY = 'punong_barangay';
|
||||
case BARANGAY_KAGAWAD = 'kagawad';
|
||||
case SECRETARY = 'secretary';
|
||||
case TREASURER = 'treasurer';
|
||||
case SK_CHAIRPERSON = 'sk_chairperson';
|
||||
case SK_COUNCILOR = 'sk_councilor';
|
||||
case BARANGAY_TANOD = 'tanod';
|
||||
case BHW = 'bhw';
|
||||
case DAYCARE_WORKER = 'daycare_worker';
|
||||
case STAFF = 'staff';
|
||||
case RESIDENT = 'resident';
|
||||
case AUDIT = 'audit';
|
||||
case POS_TERMINAL = 'pos terminal';
|
||||
|
||||
case ANY_USER = 'default';
|
||||
case PUBLIC = 'public';
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user