This commit is contained in:
@@ -1259,26 +1259,20 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
customerChanged(newName) {
|
customerChanged(newName) {
|
||||||
console.log("CUSTOMER CHANGED");
|
|
||||||
this.obj.regTo = newName;
|
this.obj.regTo = newName;
|
||||||
},
|
},
|
||||||
dtAddOneWeek: function(propName) {
|
dtAddOneWeek: function(propName) {
|
||||||
// // eslint-disable-next-line
|
addToDate(this, propName, {
|
||||||
// debugger;
|
|
||||||
const now = window.$gz.locale.nowUTC8601String(this.timeZoneName);
|
|
||||||
this.obj[propName] = window.$gz.locale.addDurationToUTC8601String(now, {
|
|
||||||
days: 7
|
days: 7
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
dtAddOneMonth: function(propName) {
|
dtAddOneMonth: function(propName) {
|
||||||
const now = window.$gz.locale.nowUTC8601String(this.timeZoneName);
|
addToDate(this, propName, {
|
||||||
this.obj[propName] = window.$gz.locale.addDurationToUTC8601String(now, {
|
|
||||||
months: 1
|
months: 1
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
dtAddOneYear: function(propName) {
|
dtAddOneYear: function(propName) {
|
||||||
const now = window.$gz.locale.nowUTC8601String(this.timeZoneName);
|
addToDate(this, propName, {
|
||||||
this.obj[propName] = window.$gz.locale.addDurationToUTC8601String(now, {
|
|
||||||
years: 1
|
years: 1
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
@@ -1292,16 +1286,17 @@ export default {
|
|||||||
RavenPerpetual = 2,
|
RavenPerpetual = 2,
|
||||||
RavenSubscription = 3
|
RavenSubscription = 3
|
||||||
*/
|
*/
|
||||||
if (this.pGroup == 3) {
|
|
||||||
// RavenSubscription = 3
|
|
||||||
addToDate(this, "licenseExpire", span);
|
|
||||||
}
|
|
||||||
//all pgroups have maint expire valid
|
//all pgroups have maint expire valid
|
||||||
addToDate(this, "maintenanceExpire", span);
|
addToDate(this, "maintenanceExpire", span);
|
||||||
|
|
||||||
if (this.pGroup == 1) {
|
if (this.obj.pGroup == 3) {
|
||||||
|
// RavenSubscription = 3
|
||||||
|
addToDate(this, "licenseExpire", span);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (this.obj.pGroup == 1) {
|
||||||
//AyaNova7 = 1,
|
//AyaNova7 = 1,
|
||||||
if (this.obj.wbi) {
|
if (this.obj.wbi != null) {
|
||||||
addToDate(this, "wbiExpires", span);
|
addToDate(this, "wbiExpires", span);
|
||||||
}
|
}
|
||||||
if (this.obj.mbi) {
|
if (this.obj.mbi) {
|
||||||
@@ -1635,7 +1630,8 @@ async function fetchTranslatedText() {
|
|||||||
"LicenseMaintenanceExpire",
|
"LicenseMaintenanceExpire",
|
||||||
"LicenseExpiration",
|
"LicenseExpiration",
|
||||||
"ProductGroup",
|
"ProductGroup",
|
||||||
"Customer"
|
"Customer",
|
||||||
|
"DatabaseID"
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
//////////////////////
|
//////////////////////
|
||||||
|
|||||||
Reference in New Issue
Block a user