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