Details
-
Type:
Improvement
-
Status: Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 3.2.0-b1
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
Description
When editing a package there is an option to remove a package pricing. As of 3.1.1, the system prevents deleting pricings if there exists a service in the system that uses that pricing.
Instead, what should happen is that pricing should be made inactive. An inactive pricing will not appear when editing a package pricing. However, if editing a service that uses that package pricing, the inactive package pricing will be displayed and selected as the currently used term. If the service no longer uses that term it will no longer appear in the list of terms.
When listed in the list of terms it should be denoted by "(DELETED)".
See related CORE-997.
Probably requires a new column to package_pricing called status, enum "active", "inactive". All existing pricing should be updated to active. Deleting a package pricing should mark it as inactive.
Inactive pricing should be listed when editing a package, but designated as inactive in some way. Ideally, inactive pricings would be hidden by default, and you would have to click a link or button to display them. It may be desirable for staff to update inactive pricing to change recurring pricing for legacy customers.