This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
<template>
|
||||
<div>
|
||||
{{ formState.serverError }}
|
||||
<gz-report-selector ref="reportSelector"></gz-report-selector>
|
||||
<div v-if="formState.ready">
|
||||
<gz-error :errorBoxMessage="formState.errorBoxMessage"></gz-error>
|
||||
@@ -677,29 +676,28 @@ function generateMenu(vm) {
|
||||
|
||||
menuOptions.menuItems.push({ divider: true, inset: false });
|
||||
|
||||
//---- SHOW ALL ---
|
||||
//MIGRATE_OUTSTANDING show all: workorderlist, quotelist, pmlist
|
||||
menuOptions.menuItems.push({
|
||||
title: "WorkOrderList",
|
||||
icon: "$ayiTools",
|
||||
key: FORM_KEY + ":WorkOrderList",
|
||||
vm: vm
|
||||
});
|
||||
if (vm.obj.status == 0) {
|
||||
menuOptions.menuItems.push({
|
||||
title: "CustomerServiceRequestAcceptToNew",
|
||||
icon: null,
|
||||
key: FORM_KEY + ":acceptssssnew",
|
||||
vm: vm
|
||||
});
|
||||
|
||||
menuOptions.menuItems.push({
|
||||
title: "QuoteList",
|
||||
icon: "$ayiPencilAlt",
|
||||
key: FORM_KEY + ":QuoteList",
|
||||
vm: vm
|
||||
});
|
||||
menuOptions.menuItems.push({
|
||||
title: "CustomerServiceRequestAcceptToExisting",
|
||||
icon: null,
|
||||
key: FORM_KEY + ":acceptexisting",
|
||||
vm: vm
|
||||
});
|
||||
|
||||
menuOptions.menuItems.push({
|
||||
title: "PMList",
|
||||
icon: "$ayiBusinessTime",
|
||||
key: FORM_KEY + ":PMList",
|
||||
vm: vm
|
||||
});
|
||||
//--- /show all ---
|
||||
menuOptions.menuItems.push({
|
||||
title: "CustomerServiceRequestReject",
|
||||
icon: null,
|
||||
key: FORM_KEY + ":reject",
|
||||
vm: vm
|
||||
});
|
||||
}
|
||||
|
||||
menuOptions.menuItems.push({ divider: true, inset: false });
|
||||
|
||||
@@ -723,6 +721,9 @@ async function initForm(vm) {
|
||||
async function fetchTranslatedText(vm) {
|
||||
await window.$gz.translation.cacheTranslations([
|
||||
"CustomerServiceRequest",
|
||||
"CustomerServiceRequestAcceptToNew",
|
||||
"CustomerServiceRequestAcceptToExisting",
|
||||
"CustomerServiceRequestReject",
|
||||
"CustomerServiceRequestTitle",
|
||||
"CustomerServiceRequestDetails",
|
||||
"Created",
|
||||
|
||||
Reference in New Issue
Block a user