Web: Changed licenseDate to dueDate for trial period expiration check

This commit is contained in:
Alexey Safronov 2023-06-22 19:52:34 +04:00
parent 706394ee7f
commit cd01151b9a

View File

@ -87,9 +87,9 @@ class CurrentTariffStatusStore {
return this.isValidDate(this.dueDate);
}
get isLicenseDateExpired() {
if (!this.licenseDate) return;
if (!this.isPaymentDateValid) return;
return this.isValidDate(this.licenseDate);
return moment() > moment(this.dueDate);
}
get gracePeriodEndDate() {
moment.locale(authStore.language);