feat: segregate super admin and LGU admin workflows
- Created AdminBarangayController to strictly scope barangay management to LGU boundaries - Created AdminTenantController for LGU admins to fetch their own tenant configurations - Updated sidebar to expose Barangays to LGU admins under the Areas menu - Updated frontend UI to hide the City selection dropdown from LGU admins and dynamically inject their city_municipality_id - Handled form validation issues caused by hidden required fields - Implemented LGU dashboard routes and views - Enforced 2 free QR code allocations on resident signup
This commit is contained in:
@@ -78,6 +78,8 @@ class RegisterController extends ApiController
|
||||
'relationship' => HouseholdMember::RELATIONSHIP_HEAD,
|
||||
'full_name' => $user->full_name,
|
||||
]);
|
||||
|
||||
app(\App\Services\Qr\QrAllocator::class)->allocateFreeToHousehold($household);
|
||||
}
|
||||
|
||||
return $user;
|
||||
|
||||
Reference in New Issue
Block a user