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

Do not allow client cancel at end of term if there are unpaid invoices for the service

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.11.0
    • Fix Version/s: 5.11.2
    • Component/s: Client Interface
    • Labels:
      None

      Description

      If a client has access to cancel options and they login to their account to cancel a service but they select "At End of Term (DATE)", the end of term date is the renew date. However, if they have an invoice and the invoice is past due, they shouldn't be able to set an end of NEXT term, since they are already into the new term with the invoice unpaid.

      I think it makes sense to simply NOT show the "At End of Term (DATE)" option at all if there are any past due invoices for the service NOTE: Does this solve the issue if the invoice isn't due yet? IF there is an invoice and it's not past due, then the cancel date should match the invoice due date. The only option will be "Immediately" in that case. When they select at end of term, auto cancel plugin may not touch the service and cancellation won't happen until the end of the unpaid term.

        Activity

        admin Paul Phillips created issue -
        admin Paul Phillips made changes -
        Field Original Value New Value
        Attachment Remove at end of term if past due invoices.png [ 13051 ]
        admin Paul Phillips made changes -
        Description If a client has access to cancel options and they login to their account to cancel a service but they select "At End of Term (DATE)", the end of term date is the renew date. However, if they have an invoice and the invoice is past due, they shouldn't be able to set an end of NEXT term, since they are already into the new term with the invoice unpaid.

        I think it makes sense to simply NOT show the "At End of Term (DATE)" option at all if there are any past due invoices for the services. The only option will be "Immediately" in that case. When they select at end of term, auto cancel plugin may not touch the service and cancellation won't happen until the end of the unpaid term.
        If a client has access to cancel options and they login to their account to cancel a service but they select "At End of Term (DATE)", the end of term date is the renew date. However, if they have an invoice and the invoice is past due, they shouldn't be able to set an end of NEXT term, since they are already into the new term with the invoice unpaid.

        I think it makes sense to simply NOT show the "At End of Term (DATE)" option at all if there are any *past due invoices for the service*. The only option will be "Immediately" in that case. When they select at end of term, auto cancel plugin may not touch the service and cancellation won't happen until the end of the unpaid term.
        admin Paul Phillips made changes -
        Rank Ranked higher
        admin Paul Phillips made changes -
        Rank Ranked lower
        admin Paul Phillips made changes -
        Description If a client has access to cancel options and they login to their account to cancel a service but they select "At End of Term (DATE)", the end of term date is the renew date. However, if they have an invoice and the invoice is past due, they shouldn't be able to set an end of NEXT term, since they are already into the new term with the invoice unpaid.

        I think it makes sense to simply NOT show the "At End of Term (DATE)" option at all if there are any *past due invoices for the service*. The only option will be "Immediately" in that case. When they select at end of term, auto cancel plugin may not touch the service and cancellation won't happen until the end of the unpaid term.
        If a client has access to cancel options and they login to their account to cancel a service but they select "At End of Term (DATE)", the end of term date is the renew date. However, if they have an invoice and the invoice is past due, they shouldn't be able to set an end of NEXT term, since they are already into the new term with the invoice unpaid.

        I think it makes sense to simply NOT show the "At End of Term (DATE)" option at all if there are any *past due invoices for the service* *NOTE: Does this solve the issue if the invoice isn't due yet? IF there is an invoice and it's not past due, then the cancel date should match the invoice due date*. The only option will be "Immediately" in that case. When they select at end of term, auto cancel plugin may not touch the service and cancellation won't happen until the end of the unpaid term.
        jonathan Jonathan Reissmueller made changes -
        Sprint 5.11.1 Sprint 1 [ 213 ]
        jonathan Jonathan Reissmueller made changes -
        Rank Ranked higher
        abdy Abdy Franco made changes -
        Assignee Abdy Franco [ abdy ]
        abdy Abdy Franco made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        abdy Abdy Franco made changes -
        Remaining Estimate 0 minutes [ 0 ]
        Time Spent 2 hours, 46 minutes [ 9960 ]
        Worklog Id 17602 [ 17602 ]
        abdy Abdy Franco made changes -
        Status In Progress [ 3 ] In Review [ 5 ]
        Resolution Fixed [ 1 ]
        jonathan Jonathan Reissmueller made changes -
        Status In Review [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            abdy Abdy Franco
            Reporter:
            admin Paul Phillips
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              19/Mar/25

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 2 hours, 46 minutes
              2h 46m

                Agile