In the system added ability to set Customer Phone entering as requirement
For this ability Company Setting was added
- Company Settings
- Added “Customer Phone is required” checkbox
- if checkbox is checked the at least one phone number should be added to customer
- Added “Customer Phone is required” checkbox
- Customer edit form
- if in company settingsĀ “Customer Phone is required” checkbox is checked and no one phone was added to the customer:
- the “At least one phone number should be added” required validation should be displayed
- Save button should be disabled
- if in company settingsĀ “Customer Phone is required” checkbox is checked and no one phone was added to the customer: