diff --git a/src/api/translation.js b/src/api/translation.js index 0ee0546..6ef9844 100644 --- a/src/api/translation.js +++ b/src/api/translation.js @@ -264,7 +264,8 @@ export default { "PurchaseList", "GZCaseList", "VendorNotificationList", - "SubscriptionList" + "SubscriptionList", + "SubscriptionItemList" ], //////////////////////////////////////////////////////// diff --git a/src/views/biz-subscription-item-list.vue b/src/views/biz-subscription-item-list.vue index a8d6216..48f9729 100644 --- a/src/views/biz-subscription-item-list.vue +++ b/src/views/biz-subscription-item-list.vue @@ -106,7 +106,7 @@ async function clickHandler(menuItem) { { const res = await m.vm.$refs.reportSelector.open( m.vm.$refs.gzdatatable.getDataListSelection( - window.$gz.type.Subscription + window.$gz.type.SubscriptionItem ), m.id ); diff --git a/src/views/sock-report-edit.vue b/src/views/sock-report-edit.vue index 4ab7bf1..dac8411 100644 --- a/src/views/sock-report-edit.vue +++ b/src/views/sock-report-edit.vue @@ -101,7 +101,7 @@ @@ -371,7 +371,7 @@ export default { active: true, notes: "", roles: 124927, //all except customers - aType: 0, + sockType: 0, template: ` @@ -438,7 +438,7 @@ export default { }, computed: { showIncludeDescendants: function() { - switch (this.obj.aType) { + switch (this.obj.sockType) { case window.$gz.type.WorkOrderItem: case window.$gz.type.WorkOrderItemExpense: case window.$gz.type.WorkOrderItemLabor: @@ -558,7 +558,7 @@ export default { vm.$router.go(-1); return; } - vm.obj.aType = vm.$route.params.reportDataOptions.SockType; + vm.obj.sockType = vm.$route.params.reportDataOptions.SockType; //trigger rule breaking / validation this.$nextTick(() => { this.obj.name = null; @@ -1139,7 +1139,7 @@ async function fetchReportData(vm) { "sock-report-edit:fetchReportData - route parameter SockType is missing or empty, unable to init report designer" ); } - vm.obj.aType = reportDataOptions.SockType; + vm.obj.sockType = reportDataOptions.SockType; //handle includeWoItemDescendants by adding it's value to the request for report data reportDataOptions["includeWoItemDescendants"] = vm.obj.includeWoItemDescendants;