Details
-
Type: Task
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: 3.1.3
-
Fix Version/s: 3.1.NYSS
-
Component/s: Core CiviCRM
-
Labels:None
Description
NYSS install will be configured with an additional Location Type option - 'Board of Election'. Addresses with this type are not editable by users, and can only be added via import.
Implement NYSS module which uses hooks to modify the Contact Edit form Address blocks:
1. Unset this location type from the location_type_id dropdowns (so user can't select it when adding address in this form or editing existing address).
2. If location type for a given Address block is 'Board of Election', freeze all form fields in that Address block except these two checkboxes:
- [ ] Primary location for this contact Billing location for this contact
- [ ] Billing location for htis contact
Also hide or suppress the 'Use Household Address' checkbox.