feat: implement barangay and household management with associated tests

This commit is contained in:
Developer
2026-06-29 15:02:52 +08:00
parent 9ac2ea7bda
commit b85fc255cf
124 changed files with 2894 additions and 192 deletions

View File

@@ -30,7 +30,7 @@ class StoreTenantRequest extends FormRequest
'contact_phone' => ['required', 'string', 'max:20'],
'status' => ['nullable', Rule::in([Tenant::STATUS_ONBOARDING, Tenant::STATUS_ACTIVE, Tenant::STATUS_SUSPENDED])],
'timezone' => ['nullable', 'string', 'max:100'],
// Default Admin Account Info (Only required during creation)
'admin_email' => $isCreate ? ['required', 'email', 'max:191', 'unique:users,email'] : ['nullable'],
'admin_password' => $isCreate ? ['required', 'string', 'min:8'] : ['nullable'],