Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-4692

Update package edit to prevent term alteration for in-use pricing

    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

        Activity

        Hide
        admin Paul Phillips added a comment -

        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

        Show
        admin Paul Phillips added a comment - 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

          People

          • Assignee:
            jonathan Jonathan Reissmueller
            Reporter:
            jonathan Jonathan Reissmueller
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              15/Nov/22

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 1 day, 1 hour, 34 minutes
              1d 1h 34m

                Agile