Role-aware registration: Customer/Employee/Owner/Contractor/Sub-Con/Vendor

- New "Your role" options matching the portal roles
- Customer/Owner = self; Employee shows an Employee ID field;
  Contractor/Sub-Con/Vendor show their ID + property owner name
- Validation adapts per role

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-30 20:14:12 +05:30
parent b79d925552
commit f1a7bdc8ce
2 changed files with 40 additions and 26 deletions
+5 -4
View File
@@ -75,11 +75,12 @@ export const countryCodes: CountryCode[] = [
];
export const relationshipOptions = [
"Homeowner",
"Customer",
"Employee",
"Owner",
"Contractor",
"Property Manager",
"Tenant",
"Authorized Representative",
"Sub-Con",
"Vendor",
];
export const sectors = [