edge / account

Account portal for managing Edge services

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update account suspend/warn

willgarrett64 opened this issue · comments

As per changes from daily to monthly billing, there are some changes regarding account suspension and warning.

Suspend:

  • When current balance - invoices < suspendThreshold
    (this used to be availableBalance < suspendThreshold, where availableBalance = currentBalance - invoices - charges)

Warn:

  • When availableBalance < warnThreshold
    (this is the same as before, I believe)

So the main change is that the suspend message isn't taking into account the current monthly charges, because these are only billed at the end of the month.

The wording in SuspensionWarning.vue message will need updating accordingly, specifically taking out "..balance at the end of the day..."