This commit is contained in:
@@ -192,17 +192,13 @@
|
|||||||
</v-col>
|
</v-col>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
<!-- AyaNova 7 group -->
|
||||||
<template v-if="obj.pGroup == 1">
|
<template v-if="obj.pGroup == 1">
|
||||||
|
<v-row>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- WBI V7 LICENSE ITEM -->
|
<!-- WBI V7 LICENSE ITEM -->
|
||||||
<v-col cols="12" sm="6" lg="4" xl="3">
|
<v-col cols="12" sm="6" lg="4" xl="3">
|
||||||
<v-row dense no-gutters>
|
<v-row dense no-gutters>
|
||||||
<v-col cols="2">
|
<v-col cols="6">
|
||||||
<v-checkbox
|
<v-checkbox
|
||||||
ref="wbi"
|
ref="wbi"
|
||||||
v-model="obj.wbi"
|
v-model="obj.wbi"
|
||||||
@@ -251,8 +247,11 @@
|
|||||||
ref="wbiExpires"
|
ref="wbiExpires"
|
||||||
v-model="obj.wbiExpires"
|
v-model="obj.wbiExpires"
|
||||||
:rules="[form().required(this, 'wbiExpires')]"
|
:rules="[form().required(this, 'wbiExpires')]"
|
||||||
|
label="Expires"
|
||||||
:readonly="formState.readOnly"
|
:readonly="formState.readOnly"
|
||||||
:error-messages="form().serverErrors(this, 'wbiExpires')"
|
:error-messages="
|
||||||
|
form().serverErrors(this, 'wbiExpires')
|
||||||
|
"
|
||||||
data-cy="wbiExpires"
|
data-cy="wbiExpires"
|
||||||
@input="fieldValueChanged('wbiExpires')"
|
@input="fieldValueChanged('wbiExpires')"
|
||||||
></gz-date-picker>
|
></gz-date-picker>
|
||||||
@@ -262,12 +261,10 @@
|
|||||||
</v-col>
|
</v-col>
|
||||||
<!-- /wbi v7 license item -->
|
<!-- /wbi v7 license item -->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- RI V7 LICENSE ITEM -->
|
<!-- RI V7 LICENSE ITEM -->
|
||||||
<v-col cols="12" sm="6" lg="4" xl="3">
|
<v-col cols="12" sm="6" lg="4" xl="3">
|
||||||
<v-row dense no-gutters>
|
<v-row dense no-gutters>
|
||||||
<v-col cols="2">
|
<v-col cols="6">
|
||||||
<v-checkbox
|
<v-checkbox
|
||||||
ref="ri"
|
ref="ri"
|
||||||
v-model="obj.ri"
|
v-model="obj.ri"
|
||||||
@@ -316,6 +313,7 @@
|
|||||||
ref="riExpires"
|
ref="riExpires"
|
||||||
v-model="obj.riExpires"
|
v-model="obj.riExpires"
|
||||||
:rules="[form().required(this, 'riExpires')]"
|
:rules="[form().required(this, 'riExpires')]"
|
||||||
|
label="Expires"
|
||||||
:readonly="formState.readOnly"
|
:readonly="formState.readOnly"
|
||||||
:error-messages="form().serverErrors(this, 'riExpires')"
|
:error-messages="form().serverErrors(this, 'riExpires')"
|
||||||
data-cy="riExpires"
|
data-cy="riExpires"
|
||||||
@@ -327,11 +325,10 @@
|
|||||||
</v-col>
|
</v-col>
|
||||||
<!-- /ri v7 license item -->
|
<!-- /ri v7 license item -->
|
||||||
|
|
||||||
|
|
||||||
<!-- MBI V7 LICENSE ITEM -->
|
<!-- MBI V7 LICENSE ITEM -->
|
||||||
<v-col cols="12" sm="6" lg="4" xl="3">
|
<v-col cols="12" sm="6" lg="4" xl="3">
|
||||||
<v-row dense no-gutters>
|
<v-row dense no-gutters>
|
||||||
<v-col cols="2">
|
<v-col cols="6">
|
||||||
<v-checkbox
|
<v-checkbox
|
||||||
ref="mbi"
|
ref="mbi"
|
||||||
v-model="obj.mbi"
|
v-model="obj.mbi"
|
||||||
@@ -380,8 +377,11 @@
|
|||||||
ref="mbiExpires"
|
ref="mbiExpires"
|
||||||
v-model="obj.mbiExpires"
|
v-model="obj.mbiExpires"
|
||||||
:rules="[form().required(this, 'mbiExpires')]"
|
:rules="[form().required(this, 'mbiExpires')]"
|
||||||
|
label="Expires"
|
||||||
:readonly="formState.readOnly"
|
:readonly="formState.readOnly"
|
||||||
:error-messages="form().serverErrors(this, 'mbiExpires')"
|
:error-messages="
|
||||||
|
form().serverErrors(this, 'mbiExpires')
|
||||||
|
"
|
||||||
data-cy="mbiExpires"
|
data-cy="mbiExpires"
|
||||||
@input="fieldValueChanged('mbiExpires')"
|
@input="fieldValueChanged('mbiExpires')"
|
||||||
></gz-date-picker>
|
></gz-date-picker>
|
||||||
@@ -391,11 +391,10 @@
|
|||||||
</v-col>
|
</v-col>
|
||||||
<!-- /mbi v7 license item -->
|
<!-- /mbi v7 license item -->
|
||||||
|
|
||||||
WBI
|
|
||||||
<!-- QBI V7 LICENSE ITEM -->
|
<!-- QBI V7 LICENSE ITEM -->
|
||||||
<v-col cols="12" sm="6" lg="4" xl="3">
|
<v-col cols="12" sm="6" lg="4" xl="3">
|
||||||
<v-row dense no-gutters>
|
<v-row dense no-gutters>
|
||||||
<v-col cols="2">
|
<v-col cols="6">
|
||||||
<v-checkbox
|
<v-checkbox
|
||||||
ref="qbi"
|
ref="qbi"
|
||||||
v-model="obj.qbi"
|
v-model="obj.qbi"
|
||||||
@@ -444,8 +443,11 @@ WBI
|
|||||||
ref="qbiExpires"
|
ref="qbiExpires"
|
||||||
v-model="obj.qbiExpires"
|
v-model="obj.qbiExpires"
|
||||||
:rules="[form().required(this, 'qbiExpires')]"
|
:rules="[form().required(this, 'qbiExpires')]"
|
||||||
|
label="Expires"
|
||||||
:readonly="formState.readOnly"
|
:readonly="formState.readOnly"
|
||||||
:error-messages="form().serverErrors(this, 'qbiExpires')"
|
:error-messages="
|
||||||
|
form().serverErrors(this, 'qbiExpires')
|
||||||
|
"
|
||||||
data-cy="qbiExpires"
|
data-cy="qbiExpires"
|
||||||
@input="fieldValueChanged('qbiExpires')"
|
@input="fieldValueChanged('qbiExpires')"
|
||||||
></gz-date-picker>
|
></gz-date-picker>
|
||||||
@@ -455,11 +457,324 @@ WBI
|
|||||||
</v-col>
|
</v-col>
|
||||||
<!-- /qbi v7 license item -->
|
<!-- /qbi v7 license item -->
|
||||||
|
|
||||||
|
<!-- Import Export CSV Duplicate V7 LICENSE ITEM -->
|
||||||
|
<v-col cols="12" sm="6" lg="4" xl="3">
|
||||||
|
<v-row dense no-gutters>
|
||||||
|
<v-col cols="6">
|
||||||
|
<v-checkbox
|
||||||
|
ref="importExportCSVDuplicate"
|
||||||
|
v-model="obj.importExportCSVDuplicate"
|
||||||
|
dense
|
||||||
|
:readonly="formState.readOnly"
|
||||||
|
label="Import Export CSV Duplicate"
|
||||||
|
data-cy="importExportCSVDuplicate"
|
||||||
|
:error-messages="
|
||||||
|
form().serverErrors(this, 'importExportCSVDuplicate')
|
||||||
|
"
|
||||||
|
@change="fieldValueChanged('importExportCSVDuplicate')"
|
||||||
|
></v-checkbox>
|
||||||
|
</v-col>
|
||||||
|
<template v-if="obj.importExportCSVDuplicate">
|
||||||
|
<template v-if="!formState.readOnly">
|
||||||
|
<v-col cols="1">
|
||||||
|
<v-menu offset-y>
|
||||||
|
<template v-slot:activator="{ on, attrs }">
|
||||||
|
<v-btn icon v-bind="attrs" v-on="on">
|
||||||
|
<v-icon small>$sockiPlus</v-icon>
|
||||||
|
</v-btn>
|
||||||
|
</template>
|
||||||
|
<v-list>
|
||||||
|
<v-list-item
|
||||||
|
@click="
|
||||||
|
dtAddOneWeek('importExportCSVDuplicateExpires')
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<v-list-item-icon>
|
||||||
|
<v-icon>$sockiPlus</v-icon>
|
||||||
|
</v-list-item-icon>
|
||||||
|
<v-list-item-title>One week</v-list-item-title>
|
||||||
|
</v-list-item>
|
||||||
|
<v-list-item
|
||||||
|
@click="
|
||||||
|
dtAddOneMonth('importExportCSVDuplicateExpires')
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<v-list-item-icon>
|
||||||
|
<v-icon>$sockiPlus</v-icon>
|
||||||
|
</v-list-item-icon>
|
||||||
|
<v-list-item-title>One month</v-list-item-title>
|
||||||
|
</v-list-item>
|
||||||
|
<v-list-item
|
||||||
|
@click="
|
||||||
|
dtAddOneYear('importExportCSVDuplicateExpires')
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<v-list-item-icon>
|
||||||
|
<v-icon>$sockiPlus</v-icon>
|
||||||
|
</v-list-item-icon>
|
||||||
|
<v-list-item-title>One year</v-list-item-title>
|
||||||
|
</v-list-item>
|
||||||
|
</v-list>
|
||||||
|
</v-menu>
|
||||||
|
</v-col>
|
||||||
|
</template>
|
||||||
|
<v-col>
|
||||||
|
<gz-date-picker
|
||||||
|
ref="importExportCSVDuplicateExpires"
|
||||||
|
v-model="obj.importExportCSVDuplicateExpires"
|
||||||
|
:rules="[
|
||||||
|
form().required(
|
||||||
|
this,
|
||||||
|
'importExportCSVDuplicateExpires'
|
||||||
|
)
|
||||||
|
]"
|
||||||
|
label="Expires"
|
||||||
|
:readonly="formState.readOnly"
|
||||||
|
:error-messages="
|
||||||
|
form().serverErrors(
|
||||||
|
this,
|
||||||
|
'importExportCSVDuplicateExpires'
|
||||||
|
)
|
||||||
|
"
|
||||||
|
data-cy="importExportCSVDuplicateExpires"
|
||||||
|
@input="
|
||||||
|
fieldValueChanged('importExportCSVDuplicateExpires')
|
||||||
|
"
|
||||||
|
></gz-date-picker>
|
||||||
|
</v-col>
|
||||||
|
</template>
|
||||||
|
</v-row>
|
||||||
|
</v-col>
|
||||||
|
<!-- /importExportCSVDuplicate v7 license item -->
|
||||||
|
|
||||||
|
<!-- Quick Notification V7 LICENSE ITEM -->
|
||||||
|
<v-col cols="12" sm="6" lg="4" xl="3">
|
||||||
|
<v-row dense no-gutters>
|
||||||
|
<v-col cols="6">
|
||||||
|
<v-checkbox
|
||||||
|
ref="quickNotification"
|
||||||
|
v-model="obj.quickNotification"
|
||||||
|
dense
|
||||||
|
:readonly="formState.readOnly"
|
||||||
|
label="Quick Notification"
|
||||||
|
data-cy="quickNotification"
|
||||||
|
:error-messages="
|
||||||
|
form().serverErrors(this, 'quickNotification')
|
||||||
|
"
|
||||||
|
@change="fieldValueChanged('quickNotification')"
|
||||||
|
></v-checkbox>
|
||||||
|
</v-col>
|
||||||
|
<template v-if="obj.quickNotification">
|
||||||
|
<template v-if="!formState.readOnly">
|
||||||
|
<v-col cols="1">
|
||||||
|
<v-menu offset-y>
|
||||||
|
<template v-slot:activator="{ on, attrs }">
|
||||||
|
<v-btn icon v-bind="attrs" v-on="on">
|
||||||
|
<v-icon small>$sockiPlus</v-icon>
|
||||||
|
</v-btn>
|
||||||
|
</template>
|
||||||
|
<v-list>
|
||||||
|
<v-list-item
|
||||||
|
@click="dtAddOneWeek('quickNotificationExpires')"
|
||||||
|
>
|
||||||
|
<v-list-item-icon>
|
||||||
|
<v-icon>$sockiPlus</v-icon>
|
||||||
|
</v-list-item-icon>
|
||||||
|
<v-list-item-title>One week</v-list-item-title>
|
||||||
|
</v-list-item>
|
||||||
|
<v-list-item
|
||||||
|
@click="dtAddOneMonth('quickNotificationExpires')"
|
||||||
|
>
|
||||||
|
<v-list-item-icon>
|
||||||
|
<v-icon>$sockiPlus</v-icon>
|
||||||
|
</v-list-item-icon>
|
||||||
|
<v-list-item-title>One month</v-list-item-title>
|
||||||
|
</v-list-item>
|
||||||
|
<v-list-item
|
||||||
|
@click="dtAddOneYear('quickNotificationExpires')"
|
||||||
|
>
|
||||||
|
<v-list-item-icon>
|
||||||
|
<v-icon>$sockiPlus</v-icon>
|
||||||
|
</v-list-item-icon>
|
||||||
|
<v-list-item-title>One year</v-list-item-title>
|
||||||
|
</v-list-item>
|
||||||
|
</v-list>
|
||||||
|
</v-menu>
|
||||||
|
</v-col>
|
||||||
|
</template>
|
||||||
|
<v-col>
|
||||||
|
<gz-date-picker
|
||||||
|
ref="quickNotificationExpires"
|
||||||
|
v-model="obj.quickNotificationExpires"
|
||||||
|
:rules="[
|
||||||
|
form().required(this, 'quickNotificationExpires')
|
||||||
|
]"
|
||||||
|
label="Expires"
|
||||||
|
:readonly="formState.readOnly"
|
||||||
|
:error-messages="
|
||||||
|
form().serverErrors(this, 'quickNotificationExpires')
|
||||||
|
"
|
||||||
|
data-cy="quickNotificationExpires"
|
||||||
|
@input="fieldValueChanged('quickNotificationExpires')"
|
||||||
|
></gz-date-picker>
|
||||||
|
</v-col>
|
||||||
|
</template>
|
||||||
|
</v-row>
|
||||||
|
</v-col>
|
||||||
|
<!-- /quickNotification v7 license item -->
|
||||||
|
|
||||||
|
<!-- Export to XLS V7 LICENSE ITEM -->
|
||||||
|
<v-col cols="12" sm="6" lg="4" xl="3">
|
||||||
|
<v-row dense no-gutters>
|
||||||
|
<v-col cols="6">
|
||||||
|
<v-checkbox
|
||||||
|
ref="exportToXLS"
|
||||||
|
v-model="obj.exportToXLS"
|
||||||
|
dense
|
||||||
|
:readonly="formState.readOnly"
|
||||||
|
label="Export to XLS"
|
||||||
|
data-cy="exportToXLS"
|
||||||
|
:error-messages="form().serverErrors(this, 'exportToXLS')"
|
||||||
|
@change="fieldValueChanged('exportToXLS')"
|
||||||
|
></v-checkbox>
|
||||||
|
</v-col>
|
||||||
|
<template v-if="obj.exportToXLS">
|
||||||
|
<template v-if="!formState.readOnly">
|
||||||
|
<v-col cols="1">
|
||||||
|
<v-menu offset-y>
|
||||||
|
<template v-slot:activator="{ on, attrs }">
|
||||||
|
<v-btn icon v-bind="attrs" v-on="on">
|
||||||
|
<v-icon small>$sockiPlus</v-icon>
|
||||||
|
</v-btn>
|
||||||
|
</template>
|
||||||
|
<v-list>
|
||||||
|
<v-list-item
|
||||||
|
@click="dtAddOneWeek('exportToXLSExpires')"
|
||||||
|
>
|
||||||
|
<v-list-item-icon>
|
||||||
|
<v-icon>$sockiPlus</v-icon>
|
||||||
|
</v-list-item-icon>
|
||||||
|
<v-list-item-title>One week</v-list-item-title>
|
||||||
|
</v-list-item>
|
||||||
|
<v-list-item
|
||||||
|
@click="dtAddOneMonth('exportToXLSExpires')"
|
||||||
|
>
|
||||||
|
<v-list-item-icon>
|
||||||
|
<v-icon>$sockiPlus</v-icon>
|
||||||
|
</v-list-item-icon>
|
||||||
|
<v-list-item-title>One month</v-list-item-title>
|
||||||
|
</v-list-item>
|
||||||
|
<v-list-item
|
||||||
|
@click="dtAddOneYear('exportToXLSExpires')"
|
||||||
|
>
|
||||||
|
<v-list-item-icon>
|
||||||
|
<v-icon>$sockiPlus</v-icon>
|
||||||
|
</v-list-item-icon>
|
||||||
|
<v-list-item-title>One year</v-list-item-title>
|
||||||
|
</v-list-item>
|
||||||
|
</v-list>
|
||||||
|
</v-menu>
|
||||||
|
</v-col>
|
||||||
|
</template>
|
||||||
|
<v-col>
|
||||||
|
<gz-date-picker
|
||||||
|
ref="exportToXLSExpires"
|
||||||
|
v-model="obj.exportToXLSExpires"
|
||||||
|
:rules="[form().required(this, 'exportToXLSExpires')]"
|
||||||
|
label="Expires"
|
||||||
|
:readonly="formState.readOnly"
|
||||||
|
:error-messages="
|
||||||
|
form().serverErrors(this, 'exportToXLSExpires')
|
||||||
|
"
|
||||||
|
data-cy="exportToXLSExpires"
|
||||||
|
@input="fieldValueChanged('exportToXLSExpires')"
|
||||||
|
></gz-date-picker>
|
||||||
|
</v-col>
|
||||||
|
</template>
|
||||||
|
</v-row>
|
||||||
|
</v-col>
|
||||||
|
<!-- /exportToXLS v7 license item -->
|
||||||
|
|
||||||
|
<!-- Outlook schedule V7 LICENSE ITEM -->
|
||||||
|
<v-col cols="12" sm="6" lg="4" xl="3">
|
||||||
|
<v-row dense no-gutters>
|
||||||
|
<v-col cols="6">
|
||||||
|
<v-checkbox
|
||||||
|
ref="outlookSchedule"
|
||||||
|
v-model="obj.outlookSchedule"
|
||||||
|
dense
|
||||||
|
:readonly="formState.readOnly"
|
||||||
|
label="Outlook schedule"
|
||||||
|
data-cy="outlookSchedule"
|
||||||
|
:error-messages="
|
||||||
|
form().serverErrors(this, 'outlookSchedule')
|
||||||
|
"
|
||||||
|
@change="fieldValueChanged('outlookSchedule')"
|
||||||
|
></v-checkbox>
|
||||||
|
</v-col>
|
||||||
|
<template v-if="obj.outlookSchedule">
|
||||||
|
<template v-if="!formState.readOnly">
|
||||||
|
<v-col cols="1">
|
||||||
|
<v-menu offset-y>
|
||||||
|
<template v-slot:activator="{ on, attrs }">
|
||||||
|
<v-btn icon v-bind="attrs" v-on="on">
|
||||||
|
<v-icon small>$sockiPlus</v-icon>
|
||||||
|
</v-btn>
|
||||||
|
</template>
|
||||||
|
<v-list>
|
||||||
|
<v-list-item
|
||||||
|
@click="dtAddOneWeek('outlookScheduleExpires')"
|
||||||
|
>
|
||||||
|
<v-list-item-icon>
|
||||||
|
<v-icon>$sockiPlus</v-icon>
|
||||||
|
</v-list-item-icon>
|
||||||
|
<v-list-item-title>One week</v-list-item-title>
|
||||||
|
</v-list-item>
|
||||||
|
<v-list-item
|
||||||
|
@click="dtAddOneMonth('outlookScheduleExpires')"
|
||||||
|
>
|
||||||
|
<v-list-item-icon>
|
||||||
|
<v-icon>$sockiPlus</v-icon>
|
||||||
|
</v-list-item-icon>
|
||||||
|
<v-list-item-title>One month</v-list-item-title>
|
||||||
|
</v-list-item>
|
||||||
|
<v-list-item
|
||||||
|
@click="dtAddOneYear('outlookScheduleExpires')"
|
||||||
|
>
|
||||||
|
<v-list-item-icon>
|
||||||
|
<v-icon>$sockiPlus</v-icon>
|
||||||
|
</v-list-item-icon>
|
||||||
|
<v-list-item-title>One year</v-list-item-title>
|
||||||
|
</v-list-item>
|
||||||
|
</v-list>
|
||||||
|
</v-menu>
|
||||||
|
</v-col>
|
||||||
|
</template>
|
||||||
|
<v-col>
|
||||||
|
<gz-date-picker
|
||||||
|
ref="outlookScheduleExpires"
|
||||||
|
v-model="obj.outlookScheduleExpires"
|
||||||
|
:rules="[
|
||||||
|
form().required(this, 'outlookScheduleExpires')
|
||||||
|
]"
|
||||||
|
label="Expires"
|
||||||
|
:readonly="formState.readOnly"
|
||||||
|
:error-messages="
|
||||||
|
form().serverErrors(this, 'outlookScheduleExpires')
|
||||||
|
"
|
||||||
|
data-cy="outlookScheduleExpires"
|
||||||
|
@input="fieldValueChanged('outlookScheduleExpires')"
|
||||||
|
></gz-date-picker>
|
||||||
|
</v-col>
|
||||||
|
</template>
|
||||||
|
</v-row>
|
||||||
|
</v-col>
|
||||||
|
<!-- /outlookSchedule v7 license item -->
|
||||||
|
|
||||||
<!-- QBOI V7 LICENSE ITEM -->
|
<!-- QBOI V7 LICENSE ITEM -->
|
||||||
<v-col cols="12" sm="6" lg="4" xl="3">
|
<v-col cols="12" sm="6" lg="4" xl="3">
|
||||||
<v-row dense no-gutters>
|
<v-row dense no-gutters>
|
||||||
<v-col cols="2">
|
<v-col cols="6">
|
||||||
<v-checkbox
|
<v-checkbox
|
||||||
ref="qboi"
|
ref="qboi"
|
||||||
v-model="obj.qboi"
|
v-model="obj.qboi"
|
||||||
@@ -508,8 +823,11 @@ WBI
|
|||||||
ref="qboiExpires"
|
ref="qboiExpires"
|
||||||
v-model="obj.qboiExpires"
|
v-model="obj.qboiExpires"
|
||||||
:rules="[form().required(this, 'qboiExpires')]"
|
:rules="[form().required(this, 'qboiExpires')]"
|
||||||
|
label="Expires"
|
||||||
:readonly="formState.readOnly"
|
:readonly="formState.readOnly"
|
||||||
:error-messages="form().serverErrors(this, 'qboiExpires')"
|
:error-messages="
|
||||||
|
form().serverErrors(this, 'qboiExpires')
|
||||||
|
"
|
||||||
data-cy="qboiExpires"
|
data-cy="qboiExpires"
|
||||||
@input="fieldValueChanged('qboiExpires')"
|
@input="fieldValueChanged('qboiExpires')"
|
||||||
></gz-date-picker>
|
></gz-date-picker>
|
||||||
@@ -519,11 +837,10 @@ WBI
|
|||||||
</v-col>
|
</v-col>
|
||||||
<!-- /qboi v7 license item -->
|
<!-- /qboi v7 license item -->
|
||||||
|
|
||||||
|
|
||||||
<!-- PTI V7 LICENSE ITEM -->
|
<!-- PTI V7 LICENSE ITEM -->
|
||||||
<v-col cols="12" sm="6" lg="4" xl="3">
|
<v-col cols="12" sm="6" lg="4" xl="3">
|
||||||
<v-row dense no-gutters>
|
<v-row dense no-gutters>
|
||||||
<v-col cols="2">
|
<v-col cols="6">
|
||||||
<v-checkbox
|
<v-checkbox
|
||||||
ref="pti"
|
ref="pti"
|
||||||
v-model="obj.pti"
|
v-model="obj.pti"
|
||||||
@@ -572,8 +889,11 @@ WBI
|
|||||||
ref="ptiExpires"
|
ref="ptiExpires"
|
||||||
v-model="obj.ptiExpires"
|
v-model="obj.ptiExpires"
|
||||||
:rules="[form().required(this, 'ptiExpires')]"
|
:rules="[form().required(this, 'ptiExpires')]"
|
||||||
|
label="Expires"
|
||||||
:readonly="formState.readOnly"
|
:readonly="formState.readOnly"
|
||||||
:error-messages="form().serverErrors(this, 'ptiExpires')"
|
:error-messages="
|
||||||
|
form().serverErrors(this, 'ptiExpires')
|
||||||
|
"
|
||||||
data-cy="ptiExpires"
|
data-cy="ptiExpires"
|
||||||
@input="fieldValueChanged('ptiExpires')"
|
@input="fieldValueChanged('ptiExpires')"
|
||||||
></gz-date-picker>
|
></gz-date-picker>
|
||||||
@@ -583,23 +903,22 @@ WBI
|
|||||||
</v-col>
|
</v-col>
|
||||||
<!-- /pti v7 license item -->
|
<!-- /pti v7 license item -->
|
||||||
|
|
||||||
|
<!-- OLI V7 LICENSE ITEM -->
|
||||||
<!-- Quick Notification V7 LICENSE ITEM -->
|
|
||||||
<v-col cols="12" sm="6" lg="4" xl="3">
|
<v-col cols="12" sm="6" lg="4" xl="3">
|
||||||
<v-row dense no-gutters>
|
<v-row dense no-gutters>
|
||||||
<v-col cols="2">
|
<v-col cols="6">
|
||||||
<v-checkbox
|
<v-checkbox
|
||||||
ref="quickNotification"
|
ref="oli"
|
||||||
v-model="obj.quickNotification"
|
v-model="obj.oli"
|
||||||
dense
|
dense
|
||||||
:readonly="formState.readOnly"
|
:readonly="formState.readOnly"
|
||||||
label="Quick Notification"
|
label="OLI"
|
||||||
data-cy="quickNotification"
|
data-cy="oli"
|
||||||
:error-messages="form().serverErrors(this, 'quickNotification')"
|
:error-messages="form().serverErrors(this, 'oli')"
|
||||||
@change="fieldValueChanged('quickNotification')"
|
@change="fieldValueChanged('oli')"
|
||||||
></v-checkbox>
|
></v-checkbox>
|
||||||
</v-col>
|
</v-col>
|
||||||
<template v-if="obj.quickNotification">
|
<template v-if="obj.oli">
|
||||||
<template v-if="!formState.readOnly">
|
<template v-if="!formState.readOnly">
|
||||||
<v-col cols="1">
|
<v-col cols="1">
|
||||||
<v-menu offset-y>
|
<v-menu offset-y>
|
||||||
@@ -609,19 +928,19 @@ WBI
|
|||||||
</v-btn>
|
</v-btn>
|
||||||
</template>
|
</template>
|
||||||
<v-list>
|
<v-list>
|
||||||
<v-list-item @click="dtAddOneWeek('quickNotificationExpires')">
|
<v-list-item @click="dtAddOneWeek('oliExpires')">
|
||||||
<v-list-item-icon>
|
<v-list-item-icon>
|
||||||
<v-icon>$sockiPlus</v-icon>
|
<v-icon>$sockiPlus</v-icon>
|
||||||
</v-list-item-icon>
|
</v-list-item-icon>
|
||||||
<v-list-item-title>One week</v-list-item-title>
|
<v-list-item-title>One week</v-list-item-title>
|
||||||
</v-list-item>
|
</v-list-item>
|
||||||
<v-list-item @click="dtAddOneMonth('quickNotificationExpires')">
|
<v-list-item @click="dtAddOneMonth('oliExpires')">
|
||||||
<v-list-item-icon>
|
<v-list-item-icon>
|
||||||
<v-icon>$sockiPlus</v-icon>
|
<v-icon>$sockiPlus</v-icon>
|
||||||
</v-list-item-icon>
|
</v-list-item-icon>
|
||||||
<v-list-item-title>One month</v-list-item-title>
|
<v-list-item-title>One month</v-list-item-title>
|
||||||
</v-list-item>
|
</v-list-item>
|
||||||
<v-list-item @click="dtAddOneYear('quickNotificationExpires')">
|
<v-list-item @click="dtAddOneYear('oliExpires')">
|
||||||
<v-list-item-icon>
|
<v-list-item-icon>
|
||||||
<v-icon>$sockiPlus</v-icon>
|
<v-icon>$sockiPlus</v-icon>
|
||||||
</v-list-item-icon>
|
</v-list-item-icon>
|
||||||
@@ -633,41 +952,26 @@ WBI
|
|||||||
</template>
|
</template>
|
||||||
<v-col>
|
<v-col>
|
||||||
<gz-date-picker
|
<gz-date-picker
|
||||||
ref="quickNotificationExpires"
|
ref="oliExpires"
|
||||||
v-model="obj.quickNotificationExpires"
|
v-model="obj.oliExpires"
|
||||||
:rules="[form().required(this, 'quickNotificationExpires')]"
|
:rules="[form().required(this, 'oliExpires')]"
|
||||||
|
label="Expires"
|
||||||
:readonly="formState.readOnly"
|
:readonly="formState.readOnly"
|
||||||
:error-messages="form().serverErrors(this, 'quickNotificationExpires')"
|
:error-messages="
|
||||||
data-cy="quickNotificationExpires"
|
form().serverErrors(this, 'oliExpires')
|
||||||
@input="fieldValueChanged('quickNotificationExpires')"
|
"
|
||||||
|
data-cy="oliExpires"
|
||||||
|
@input="fieldValueChanged('oliExpires')"
|
||||||
></gz-date-picker>
|
></gz-date-picker>
|
||||||
</v-col>
|
</v-col>
|
||||||
</template>
|
</template>
|
||||||
</v-row>
|
</v-row>
|
||||||
</v-col>
|
</v-col>
|
||||||
<!-- /quickNotification v7 license item -->
|
<!-- /oli v7 license item -->
|
||||||
|
</v-row>
|
||||||
|
<!-- /ayanova 7 group items -->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ayanova 7 group items -->
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<template v-if="obj.pGroup == 2">
|
<template v-if="obj.pGroup == 2">
|
||||||
<v-col cols="12" sm="6" lg="4" xl="3">
|
<v-col cols="12" sm="6" lg="4" xl="3">
|
||||||
<v-text-field
|
<v-text-field
|
||||||
@@ -828,7 +1132,8 @@ export default {
|
|||||||
serverError: {}
|
serverError: {}
|
||||||
},
|
},
|
||||||
rights: window.$gz.role.defaultRightsObject(),
|
rights: window.$gz.role.defaultRightsObject(),
|
||||||
sockType: window.$gz.type.License
|
sockType: window.$gz.type.License,
|
||||||
|
timeZoneName: window.$gz.locale.getResolvedTimeZoneName()
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
@@ -977,6 +1282,60 @@ export default {
|
|||||||
years: 1
|
years: 1
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
dtAddToAll: function(span) {
|
||||||
|
//iterate all the dates, if there is a value entered then add on to it's existing value time period
|
||||||
|
//if no date entered then add on it now plus time period
|
||||||
|
/*
|
||||||
|
|
||||||
|
Misc = 0,
|
||||||
|
AyaNova7 = 1,
|
||||||
|
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) {
|
||||||
|
//AyaNova7 = 1,
|
||||||
|
if (this.obj.wbi) {
|
||||||
|
addToDate(this, "wbiExpires", span);
|
||||||
|
}
|
||||||
|
if (this.obj.mbi) {
|
||||||
|
addToDate(this, "mbiExpires", span);
|
||||||
|
}
|
||||||
|
if (this.obj.ri) {
|
||||||
|
addToDate(this, "riExpires", span);
|
||||||
|
}
|
||||||
|
if (this.obj.qbi) {
|
||||||
|
addToDate(this, "qbiExpires", span);
|
||||||
|
}
|
||||||
|
if (this.obj.qboi) {
|
||||||
|
addToDate(this, "qboiExpires", span);
|
||||||
|
}
|
||||||
|
if (this.obj.pti) {
|
||||||
|
addToDate(this, "ptiExpires", span);
|
||||||
|
}
|
||||||
|
if (this.obj.quickNotification) {
|
||||||
|
addToDate(this, "quickNotificationExpires", span);
|
||||||
|
}
|
||||||
|
if (this.obj.exportToXLS) {
|
||||||
|
addToDate(this, "exportToXLSExpires", span);
|
||||||
|
}
|
||||||
|
if (this.obj.outlookSchedule) {
|
||||||
|
addToDate(this, "outlookScheduleExpires", span);
|
||||||
|
}
|
||||||
|
if (this.obj.oli) {
|
||||||
|
addToDate(this, "oliExpires", span);
|
||||||
|
}
|
||||||
|
if (this.obj.importExportCSVDuplicate) {
|
||||||
|
addToDate(this, "importExportCSVDuplicateExpires", span);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
async getDataFromApi(recordId) {
|
async getDataFromApi(recordId) {
|
||||||
const vm = this;
|
const vm = this;
|
||||||
window.$gz.form.setFormState({
|
window.$gz.form.setFormState({
|
||||||
@@ -1137,6 +1496,21 @@ async function clickHandler(menuItem) {
|
|||||||
window.$gz.form.setLastReportMenuItem(FORM_KEY, res, m.vm);
|
window.$gz.form.setLastReportMenuItem(FORM_KEY, res, m.vm);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case "plus-one-week":
|
||||||
|
{
|
||||||
|
m.vm.dtAddToAll({ days: 7 });
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
case "plus-one-month":
|
||||||
|
{
|
||||||
|
m.vm.dtAddToAll({ months: 1 });
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
case "plus-one-year":
|
||||||
|
{
|
||||||
|
m.vm.dtAddToAll({ years: 1 });
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
window.$gz.eventBus.$emit(
|
window.$gz.eventBus.$emit(
|
||||||
@@ -1195,12 +1569,27 @@ function generateMenu(vm) {
|
|||||||
|
|
||||||
menuOptions.menuItems.push({ divider: true, inset: false });
|
menuOptions.menuItems.push({ divider: true, inset: false });
|
||||||
|
|
||||||
// menuOptions.menuItems.push({
|
menuOptions.menuItems.push({
|
||||||
// title: "OpenTerminal",
|
title: "One week all",
|
||||||
// icon: "$sockiTerminal",
|
notrans: true,
|
||||||
// key: FORM_KEY + ":terminal",
|
icon: "$sockiPlus",
|
||||||
// vm: vm
|
key: FORM_KEY + ":plus-one-week",
|
||||||
// });
|
vm: vm
|
||||||
|
});
|
||||||
|
menuOptions.menuItems.push({
|
||||||
|
title: "One month all",
|
||||||
|
notrans: true,
|
||||||
|
icon: "$sockiPlus",
|
||||||
|
key: FORM_KEY + ":plus-one-month",
|
||||||
|
vm: vm
|
||||||
|
});
|
||||||
|
menuOptions.menuItems.push({
|
||||||
|
title: "One year all",
|
||||||
|
notrans: true,
|
||||||
|
icon: "$sockiPlus",
|
||||||
|
key: FORM_KEY + ":plus-one-year",
|
||||||
|
vm: vm
|
||||||
|
});
|
||||||
|
|
||||||
// menuOptions.menuItems.push({
|
// menuOptions.menuItems.push({
|
||||||
// title: "QuoteList",
|
// title: "QuoteList",
|
||||||
@@ -1257,6 +1646,23 @@ async function populateSelectionLists(vm) {
|
|||||||
await window.$gz.enums.fetchEnumList("productgroup");
|
await window.$gz.enums.fetchEnumList("productgroup");
|
||||||
vm.selectLists.pGroups = window.$gz.enums.getSelectionList("productgroup");
|
vm.selectLists.pGroups = window.$gz.enums.getSelectionList("productgroup");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//////////////////////
|
||||||
|
//
|
||||||
|
//
|
||||||
|
function addToDate(vm, propName, span) {
|
||||||
|
if (vm.obj[propName] == null) {
|
||||||
|
vm.obj[propName] = window.$gz.locale.addDurationToUTC8601String(
|
||||||
|
window.$gz.locale.nowUTC8601String(vm.timeZoneName),
|
||||||
|
span
|
||||||
|
);
|
||||||
|
} else {
|
||||||
|
vm.obj[propName] = window.$gz.locale.addDurationToUTC8601String(
|
||||||
|
vm.obj[propName],
|
||||||
|
span
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
/*
|
/*
|
||||||
"CREATE TABLE alicense (id BIGINT GENERATED ALWAYS AS IDENTITY PRIMARY KEY, created TIMESTAMPTZ NOT NULL, active BOOL NOT NULL DEFAULT false, "
|
"CREATE TABLE alicense (id BIGINT GENERATED ALWAYS AS IDENTITY PRIMARY KEY, created TIMESTAMPTZ NOT NULL, active BOOL NOT NULL DEFAULT false, "
|
||||||
+ "customerid BIGINT REFERENCES acustomer(id), pgroup INTEGER NOT NULL DEFAULT 0, regto TEXT NOT NULL, key TEXT NOT NULL, fetchcode TEXT, fetchemail TEXT, "
|
+ "customerid BIGINT REFERENCES acustomer(id), pgroup INTEGER NOT NULL DEFAULT 0, regto TEXT NOT NULL, key TEXT NOT NULL, fetchcode TEXT, fetchemail TEXT, "
|
||||||
|
|||||||
@@ -984,6 +984,7 @@ export default {
|
|||||||
serverError: {}
|
serverError: {}
|
||||||
},
|
},
|
||||||
rights: window.$gz.role.defaultRightsObject(),
|
rights: window.$gz.role.defaultRightsObject(),
|
||||||
|
timeZoneName: window.$gz.locale.getResolvedTimeZoneName(),
|
||||||
sockType: window.$gz.type.SubscriptionServer
|
sockType: window.$gz.type.SubscriptionServer
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user