diff --git a/ayanova/src/views/home-notify-subscription.vue b/ayanova/src/views/home-notify-subscription.vue
index 436665d2..c62db326 100644
--- a/ayanova/src/views/home-notify-subscription.vue
+++ b/ayanova/src/views/home-notify-subscription.vue
@@ -59,7 +59,42 @@
- todo: idValue here for quotestatus
+
+
+
+ $ayiFlag
+
+
+ {{ data.item.name }}$ayiLock
+ $ayiCheckCircle
+
+ {{ data.item.notes }}
+
+
+
+
@@ -200,6 +235,7 @@ export default {
return {
selectLists: {
wostatus: [],
+ quotestatus: [],
eventTypes: [],
deliveryMethods: [],
coreAyaTypes: []
@@ -249,7 +285,13 @@ export default {
}
},
showQuoteStatus() {
- return this.obj.eventType == 9;
+ switch (this.obj.eventType) {
+ case 9:
+ case 29:
+ return true;
+ default:
+ return false;
+ }
},
showDecValue() {
//WorkorderTotalExceedsThreshold = 23 The "Andy"
@@ -289,6 +331,7 @@ export default {
showAgeValue() {
switch (this.obj.eventType) {
case 24:
+ case 29:
case 10:
return true;
default:
@@ -296,6 +339,9 @@ export default {
}
},
showLinkReportId() {
+ //New NOTE NOTE: This is probably not required at the mo as customers are expected to login and view the reports as configured in global settings,
+ //so, if post release nothing relies on this it might be removed
+ //
//NOTE: Currently projected: Only Quotes and Workorders are involved in sending as attached reports
//And only to customers and only single items, not lists so it's doable to indicate a report id
//and send a link from notification to open the report
@@ -709,12 +755,20 @@ async function populateSelectionLists(vm) {
);
await window.$gz.enums.fetchEnumList("coreview");
vm.selectLists.coreAyaTypes = window.$gz.enums.getSelectionList("coreview");
- const res = await window.$gz.api.get("work-order-status/list");
+ let res = await window.$gz.api.get("work-order-status/list");
if (res.error) {
vm.formState.serverError = res.error;
window.$gz.form.setErrorBoxErrors(vm);
} else {
vm.selectLists.wostatus = res.data.all;
}
+
+ res = await window.$gz.api.get("quote-status/list");
+ if (res.error) {
+ vm.formState.serverError = res.error;
+ window.$gz.form.setErrorBoxErrors(vm);
+ } else {
+ vm.selectLists.quotestatus = res.data.all;
+ }
}