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:
@@ -13,7 +13,7 @@ class SystemSettingSeeder extends \Hyperf\Database\Seeders\Seeder
|
||||
// General Settings
|
||||
[
|
||||
'key' => 'app_name',
|
||||
'value' => 'BukidBounty',
|
||||
'value' => 'Barangay System',
|
||||
'type' => 'text',
|
||||
'group' => 'general',
|
||||
'label' => 'Application Name',
|
||||
@@ -21,7 +21,7 @@ class SystemSettingSeeder extends \Hyperf\Database\Seeders\Seeder
|
||||
],
|
||||
[
|
||||
'key' => 'app_description',
|
||||
'value' => 'Agricultural Management Platform & Marketplace ecosystem for modern farming communities.',
|
||||
'value' => 'Barangay Management & Governance Platform',
|
||||
'type' => 'text',
|
||||
'group' => 'general',
|
||||
'label' => 'Application Description',
|
||||
@@ -29,7 +29,7 @@ class SystemSettingSeeder extends \Hyperf\Database\Seeders\Seeder
|
||||
],
|
||||
[
|
||||
'key' => 'app_tagline',
|
||||
'value' => 'Bounty of the Fields at Your Fingertips',
|
||||
'value' => 'Serving our community, one document at a time.',
|
||||
'type' => 'text',
|
||||
'group' => 'general',
|
||||
'label' => 'Tagline',
|
||||
@@ -73,7 +73,7 @@ class SystemSettingSeeder extends \Hyperf\Database\Seeders\Seeder
|
||||
// Advanced Settings
|
||||
[
|
||||
'key' => 'footer_text',
|
||||
'value' => '© 2026 BukidBounty Ecosystem. All rights reserved.',
|
||||
'value' => '© 2026 Barangay System. All rights reserved.',
|
||||
'type' => 'text',
|
||||
'group' => 'advanced',
|
||||
'label' => 'Footer Text',
|
||||
@@ -113,9 +113,9 @@ class SystemSettingSeeder extends \Hyperf\Database\Seeders\Seeder
|
||||
],
|
||||
[
|
||||
'key' => 'app_mode',
|
||||
'value' => 'corporate',
|
||||
'value' => 'barangay',
|
||||
'type' => 'select',
|
||||
'options' => json_encode(['corporate', 'cooperative', 'ngo', 'tandem', 'others']),
|
||||
'options' => json_encode(['barangay']),
|
||||
'group' => 'general',
|
||||
'label' => 'Application Mode',
|
||||
'description' => 'Defines the operational mode of the platform, which affects available features and terminology.'
|
||||
@@ -130,7 +130,7 @@ class SystemSettingSeeder extends \Hyperf\Database\Seeders\Seeder
|
||||
],
|
||||
[
|
||||
'key' => 'chapter_positions',
|
||||
'value' => json_encode(['National Director', 'Regional Director', 'Provincial Coordinator', 'City/Municipal Officer', 'Barangay Captain', 'Secretary', 'Treasurer', 'Auditor', 'Member']),
|
||||
'value' => json_encode(['Punong Barangay', 'Kagawad', 'Secretary', 'Treasurer', 'SK Chairperson', 'SK Councilor', 'Tanod', 'BHW', 'Daycare Worker', 'Staff', 'Member']),
|
||||
'type' => 'json',
|
||||
'group' => 'general',
|
||||
'label' => 'Chapter Positions',
|
||||
|
||||
Reference in New Issue
Block a user