Details
-
Type: Bug
-
Status: In Review
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 5.10.3
-
Fix Version/s: 5.11.0-b2
-
Component/s: Client Interface, Staff Interface
-
Labels:None
Description
Two things, I suspect they may be related.
1. It's not possible to change a contact type back to "Billing" if it is created using another type.
2. The client area under /client/contacts/ lists all contacts of the type "Billing", when they are of another status.
To reproduce:
1. Create a new contact under /admin/settings/company/general/contacttypes/ and call it "Support" for consistency.
2. Create a contact under a client profile and set the type to "Support".
3. Edit the contact and change it to "Billing". Note that it remains "Support".
Second issue:
1. In the client area, visit /client/contacts/ and note that all contacts are shown with the type "Billing", even if they are using the custom contact "Support".
In both of these cases, a successful message is shown and no error logs are logged. The info log is updated to show the contact_type change but is always represented as "billing" with an ID of "1".
[2024-11-11T20:02:08.906395+00:00] general.INFO: Updated Contact Permissions {"contact_id":"3","by_user_id":1} [2024-11-11T20:02:08.908774+00:00] general.INFO: Updated Contact {"contact_id":"3","by_user_id":1,"first_name":"Elisa","last_name":"Martinez","company":"","title":"","address1":"1234 E. Lane","address2":"","city":"Jacksonville","country":"US","state":"AL","zip":"12121","email":"email@domain.com","contact_type":"billing","contact_type_id":"1"}