Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 5.2.2
-
Component/s: None
-
Labels:None
Description
To reproduce:
- Create a package with 2 pricing options
- Create a service using one of the options
- Edit the package and remove the selected pricing option (this shouldn't be possible)
- Visit the client profile and see that the service non longer appears
We should give an error if an admin tries to remove a pricing that is in use. It looks like the package model already has a validation rule meant to do this, but it doesn't seem to be working.
Ideally, we would also allow the deactivation of pricings with only canceled services.