Update account suspend/warn
willgarrett64 opened this issue · 0 comments
willgarrett64 commented
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 beavailableBalance < suspendThreshold
, whereavailableBalance = 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..."