Details
-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 5.6.0-b1
-
Component/s: None
-
Labels:None
Description
Currently, we prevent deleting a package pricing that is in use by a service. We should also prevent changing the term, period, or currency on an in-use pricing. This should likely a front-end field disabling and a back-end validation rule
I can edit Term, Period, and Currency of a package that is in use. I spot checked the pull request in blesta-5.6.0-b1-build367 and the changes appear to be in this build, however it doesn't seem to work.
To reproduce:
1. Create a package with a price, say 1 month USD $5
2. Add a service to a client using the package
3. Edit the package and change term, or period or currency
4. Note that it's updated without any error