This commit is contained in:
2020-06-24 22:28:15 +00:00
parent 6bb3ac290c
commit 9aa60dae7a
21 changed files with 61 additions and 61 deletions

View File

@@ -400,7 +400,7 @@ function generateMenu(vm) {
let menuOptions = { let menuOptions = {
isMain: false, isMain: false,
icon: null, icon: null,
title: vm.$ay.t("PickListTemplates"), title: "PickListTemplates",
helpUrl: "form-adm-global-select-templates", helpUrl: "form-adm-global-select-templates",
formData: { formData: {
ayaType: window.$gz.type.FormCustom, ayaType: window.$gz.type.FormCustom,
@@ -411,7 +411,7 @@ function generateMenu(vm) {
if (vm.rights.change) { if (vm.rights.change) {
menuOptions.menuItems.push({ menuOptions.menuItems.push({
title: vm.$ay.t("Save"), title: "Save",
icon: "fa-save", icon: "fa-save",
surface: true, surface: true,
key: FORM_KEY + ":save", key: FORM_KEY + ":save",
@@ -420,7 +420,7 @@ function generateMenu(vm) {
if (vm.rights.delete) { if (vm.rights.delete) {
menuOptions.menuItems.push({ menuOptions.menuItems.push({
title: vm.$ay.t("ResetToDefault"), title: "ResetToDefault",
icon: "fa-undo", icon: "fa-undo",
surface: false, surface: false,
key: FORM_KEY + ":delete", key: FORM_KEY + ":delete",

View File

@@ -517,7 +517,7 @@ function generateMenu(vm) {
let menuOptions = { let menuOptions = {
isMain: true, isMain: true,
icon: "fa-ticket-alt", icon: "fa-ticket-alt",
title: vm.$ay.t("HelpLicense"), title: "HelpLicense",
helpUrl: "form-adm-license", helpUrl: "form-adm-license",
formData: { formData: {
ayaType: window.$gz.type.License ayaType: window.$gz.type.License
@@ -527,7 +527,7 @@ function generateMenu(vm) {
//copy dbid //copy dbid
menuOptions.menuItems.push({ menuOptions.menuItems.push({
title: vm.$ay.t("CopyDbId"), title: "CopyDbId",
icon: "fa-copy", icon: "fa-copy",
key: FORM_KEY + ":copydbid", key: FORM_KEY + ":copydbid",
vm: vm vm: vm
@@ -536,7 +536,7 @@ function generateMenu(vm) {
if (vm.rights.change) { if (vm.rights.change) {
//Trigger license check //Trigger license check
menuOptions.menuItems.push({ menuOptions.menuItems.push({
title: vm.$ay.t("CheckForLicense"), title: "CheckForLicense",
icon: "fa-ticket-alt", icon: "fa-ticket-alt",
key: FORM_KEY + ":fetch", key: FORM_KEY + ":fetch",
vm: vm vm: vm
@@ -544,7 +544,7 @@ function generateMenu(vm) {
//erase database //erase database
menuOptions.menuItems.push({ menuOptions.menuItems.push({
title: vm.$ay.t("AdminEraseDatabase"), title: "AdminEraseDatabase",
icon: "fa-skull-crossbones", icon: "fa-skull-crossbones",
key: FORM_KEY + ":erase", key: FORM_KEY + ":erase",
vm: vm vm: vm

View File

@@ -492,7 +492,7 @@ function generateMenu(vm) {
let menuOptions = { let menuOptions = {
isMain: false, isMain: false,
icon: "fa-language", icon: "fa-language",
title: vm.$ay.t("Translation"), title: "Translation",
helpUrl: "form-translation", helpUrl: "form-translation",
formData: { formData: {
ayaType: window.$gz.type.Translation, ayaType: window.$gz.type.Translation,
@@ -504,7 +504,7 @@ function generateMenu(vm) {
if (vm.rights.change && vm.obj.stock != true) { if (vm.rights.change && vm.obj.stock != true) {
menuOptions.menuItems.push({ menuOptions.menuItems.push({
title: vm.$ay.t("Save"), title: "Save",
icon: "fa-save", icon: "fa-save",
surface: true, surface: true,
key: FORM_KEY + ":save", key: FORM_KEY + ":save",
@@ -518,7 +518,7 @@ function generateMenu(vm) {
vm.obj.stock != true vm.obj.stock != true
) { ) {
menuOptions.menuItems.push({ menuOptions.menuItems.push({
title: vm.$ay.t("Delete"), title: "Delete",
icon: "fa-trash-alt", icon: "fa-trash-alt",
surface: true, surface: true,
key: FORM_KEY + ":delete", key: FORM_KEY + ":delete",
@@ -529,7 +529,7 @@ function generateMenu(vm) {
//STUB REPORTS //STUB REPORTS
//Report not Print, print is a further option //Report not Print, print is a further option
menuOptions.menuItems.push({ menuOptions.menuItems.push({
title: vm.$ay.t("Report"), title: "Report",
icon: "fa-file-alt", icon: "fa-file-alt",
key: FORM_KEY + ":report", key: FORM_KEY + ":report",
vm: vm vm: vm
@@ -548,7 +548,7 @@ function generateMenu(vm) {
if (vm.rights.change && vm.$route.params.recordid != 0) { if (vm.rights.change && vm.$route.params.recordid != 0) {
menuOptions.menuItems.push({ menuOptions.menuItems.push({
title: vm.$ay.t("Duplicate"), title: "Duplicate",
icon: "fa-clone", icon: "fa-clone",
key: FORM_KEY + ":duplicate", key: FORM_KEY + ":duplicate",
vm: vm vm: vm

View File

@@ -71,7 +71,7 @@ function generateMenu(vm) {
let menuOptions = { let menuOptions = {
isMain: true, isMain: true,
icon: "fa-language", icon: "fa-language",
title: vm.$ay.t("TranslationList"), title: "TranslationList",
helpUrl: "form-adm-translations", helpUrl: "form-adm-translations",
menuItems: [], menuItems: [],
formData: { formData: {
@@ -81,7 +81,7 @@ function generateMenu(vm) {
if (vm.rights.change) { if (vm.rights.change) {
menuOptions.menuItems.push({ menuOptions.menuItems.push({
title: vm.$ay.t("New"), title: "New",
icon: "fa-plus", icon: "fa-plus",
surface: true, surface: true,
key: FORM_KEY + ":new", key: FORM_KEY + ":new",
@@ -92,7 +92,7 @@ function generateMenu(vm) {
//STUB REPORTS //STUB REPORTS
//Report not Print, print is a further option //Report not Print, print is a further option
menuOptions.menuItems.push({ menuOptions.menuItems.push({
title: vm.$ay.t("Report"), title: "Report",
icon: "fa-file-alt", icon: "fa-file-alt",
key: FORM_KEY + ":report", key: FORM_KEY + ":report",
vm: vm vm: vm

View File

@@ -626,7 +626,7 @@ function generateMenu(vm) {
let menuOptions = { let menuOptions = {
isMain: false, isMain: false,
icon: "fa-splotch", icon: "fa-splotch",
title: vm.$ay.t("User"), title: "User",
helpUrl: "form-user", helpUrl: "form-user",
formData: { formData: {
ayaType: window.$gz.type.User, ayaType: window.$gz.type.User,
@@ -638,7 +638,7 @@ function generateMenu(vm) {
if (vm.rights.change) { if (vm.rights.change) {
menuOptions.menuItems.push({ menuOptions.menuItems.push({
title: vm.$ay.t("Save"), title: "Save",
icon: "fa-save", icon: "fa-save",
surface: true, surface: true,
key: FORM_KEY + ":save", key: FORM_KEY + ":save",
@@ -648,7 +648,7 @@ function generateMenu(vm) {
if (vm.rights.delete && vm.$route.params.recordid != 0) { if (vm.rights.delete && vm.$route.params.recordid != 0) {
menuOptions.menuItems.push({ menuOptions.menuItems.push({
title: vm.$ay.t("Delete"), title: "Delete",
icon: "fa-trash-alt", icon: "fa-trash-alt",
surface: true, surface: true,
key: FORM_KEY + ":delete", key: FORM_KEY + ":delete",
@@ -659,7 +659,7 @@ function generateMenu(vm) {
//STUB REPORTS //STUB REPORTS
//Report not Print, print is a further option //Report not Print, print is a further option
menuOptions.menuItems.push({ menuOptions.menuItems.push({
title: vm.$ay.t("Report"), title: "Report",
icon: "fa-file-alt", icon: "fa-file-alt",
key: FORM_KEY + ":report", key: FORM_KEY + ":report",
vm: vm vm: vm
@@ -678,7 +678,7 @@ function generateMenu(vm) {
if (vm.rights.change) { if (vm.rights.change) {
menuOptions.menuItems.push({ menuOptions.menuItems.push({
title: vm.$ay.t("New"), title: "New",
icon: "fa-plus", icon: "fa-plus",
key: FORM_KEY + ":new", key: FORM_KEY + ":new",
vm: vm vm: vm
@@ -687,7 +687,7 @@ function generateMenu(vm) {
if (vm.rights.change && vm.$route.params.recordid != 0) { if (vm.rights.change && vm.$route.params.recordid != 0) {
menuOptions.menuItems.push({ menuOptions.menuItems.push({
title: vm.$ay.t("Duplicate"), title: "Duplicate",
icon: "fa-clone", icon: "fa-clone",
key: FORM_KEY + ":duplicate", key: FORM_KEY + ":duplicate",
vm: vm vm: vm

View File

@@ -70,7 +70,7 @@ function generateMenu(vm) {
let menuOptions = { let menuOptions = {
isMain: true, isMain: true,
icon: "fa-users", icon: "fa-users",
title: vm.$ay.t("UserList"), title: "UserList",
helpUrl: "form-adm-users", helpUrl: "form-adm-users",
menuItems: [], menuItems: [],
formData: { formData: {
@@ -80,7 +80,7 @@ function generateMenu(vm) {
if (vm.rights.change) { if (vm.rights.change) {
menuOptions.menuItems.push({ menuOptions.menuItems.push({
title: vm.$ay.t("New"), title: "New",
icon: "fa-plus", icon: "fa-plus",
surface: true, surface: true,
key: FORM_KEY + ":new", key: FORM_KEY + ":new",
@@ -91,7 +91,7 @@ function generateMenu(vm) {
//STUB REPORTS //STUB REPORTS
//Report not Print, print is a further option //Report not Print, print is a further option
menuOptions.menuItems.push({ menuOptions.menuItems.push({
title: vm.$ay.t("Report"), title: "Report",
icon: "fa-file-alt", icon: "fa-file-alt",
key: FORM_KEY + ":report", key: FORM_KEY + ":report",
vm: vm vm: vm

View File

@@ -192,18 +192,18 @@ function generateMenu(vm) {
let menuOptions = { let menuOptions = {
isMain: false, isMain: false,
icon: "fa-info-circle", icon: "fa-info-circle",
title: vm.$ay.t("HelpAboutAyaNova"), title: "HelpAboutAyaNova",
helpUrl: "form-ay-about", helpUrl: "form-ay-about",
menuItems: [ menuItems: [
{ {
title: vm.$ay.t("CopySupportInfo"), title: "CopySupportInfo",
icon: "fa-copy", icon: "fa-copy",
surface: false, surface: false,
key: "about:copysupportinfo", key: "about:copysupportinfo",
vm: vm vm: vm
}, },
{ {
title: vm.$ay.t("Log"), title: "Log",
icon: "fa-glasses", icon: "fa-glasses",
surface: false, surface: false,
key: "app:nav:log", key: "app:nav:log",

View File

@@ -277,7 +277,7 @@ function generateMenu(vm) {
let menuOptions = { let menuOptions = {
isMain: false, isMain: false,
icon: "fa-sliders-h", icon: "fa-sliders-h",
title: vm.$ay.t("Customize"), title: "Customize",
helpUrl: "form-ay-customize", helpUrl: "form-ay-customize",
formData: { formData: {
ayaType: window.$gz.type.FormCustom, ayaType: window.$gz.type.FormCustom,
@@ -288,7 +288,7 @@ function generateMenu(vm) {
if (vm.rights.change) { if (vm.rights.change) {
menuOptions.menuItems.push({ menuOptions.menuItems.push({
title: vm.$ay.t("Save"), title: "Save",
icon: "fa-save", icon: "fa-save",
surface: true, surface: true,
key: FORM_KEY + ":save", key: FORM_KEY + ":save",
@@ -299,7 +299,7 @@ function generateMenu(vm) {
//Extra link to it here so people can stumble their way onto it //Extra link to it here so people can stumble their way onto it
//plus it's related to this form and people think Customize for the whole shebang //plus it's related to this form and people think Customize for the whole shebang
menuOptions.menuItems.push({ menuOptions.menuItems.push({
title: vm.$ay.t("Translation"), title: "Translation",
icon: "fa-language", icon: "fa-language",
data: "adm-translation", data: "adm-translation",
key: "app:nav" key: "app:nav"

View File

@@ -887,7 +887,7 @@ function generateMenu(vm) {
let menuOptions = { let menuOptions = {
isMain: false, isMain: false,
icon: "fa-filter", icon: "fa-filter",
title: vm.$ay.t("DataListView"), title: "DataListView",
helpUrl: "form-ay-data-list-view", helpUrl: "form-ay-data-list-view",
formData: { formData: {
ayaType: window.$gz.type.FormCustom, ayaType: window.$gz.type.FormCustom,
@@ -898,7 +898,7 @@ function generateMenu(vm) {
if (vm.rights.change) { if (vm.rights.change) {
menuOptions.menuItems.push({ menuOptions.menuItems.push({
title: vm.$ay.t("Save"), title: "Save",
icon: "fa-save", icon: "fa-save",
surface: true, surface: true,
key: FORM_KEY + ":save", key: FORM_KEY + ":save",
@@ -907,7 +907,7 @@ function generateMenu(vm) {
} }
if (vm.rights.delete) { if (vm.rights.delete) {
menuOptions.menuItems.push({ menuOptions.menuItems.push({
title: vm.$ay.t("Delete"), title: "Delete",
icon: "fa-trash-alt", icon: "fa-trash-alt",
surface: true, surface: true,
key: FORM_KEY + ":delete", key: FORM_KEY + ":delete",
@@ -916,7 +916,7 @@ function generateMenu(vm) {
} }
if (vm.rights.change) { if (vm.rights.change) {
menuOptions.menuItems.push({ menuOptions.menuItems.push({
title: vm.$ay.t("Duplicate"), title: "Duplicate",
icon: "fa-clone", icon: "fa-clone",
key: FORM_KEY + ":duplicate", key: FORM_KEY + ":duplicate",
vm: vm vm: vm

View File

@@ -271,7 +271,7 @@ function generateMenu(vm) {
let menuOptions = { let menuOptions = {
isMain: true, isMain: true,
icon: "fa-rocket", icon: "fa-rocket",
title: vm.$ay.t("Evaluate"), title: "Evaluate",
helpUrl: "ay-evaluate", helpUrl: "ay-evaluate",
menuItems: [] menuItems: []
}; };

View File

@@ -353,7 +353,7 @@ function generateMenu(vm) {
let menuOptions = { let menuOptions = {
isMain: false, isMain: false,
icon: "fa-history", icon: "fa-history",
title: vm.$ay.t("History"), title: "History",
helpUrl: "form-ay-history", helpUrl: "form-ay-history",
menuItems: [] menuItems: []
}; };

View File

@@ -264,7 +264,7 @@ function generateMenu(vm) {
let menuOptions = { let menuOptions = {
isMain: true, isMain: true,
icon: "fa-key", icon: "fa-key",
title: vm.$ay.t("SetLoginPassword"), title: "SetLoginPassword",
helpUrl: "form-home-password", helpUrl: "form-home-password",
formData: { formData: {
ayaType: window.$gz.type.UserOptions ayaType: window.$gz.type.UserOptions
@@ -274,7 +274,7 @@ function generateMenu(vm) {
if (vm.rights.change) { if (vm.rights.change) {
menuOptions.menuItems.push({ menuOptions.menuItems.push({
title: vm.$ay.t("Save"), title: "Save",
icon: "fa-save", icon: "fa-save",
surface: true, surface: true,
key: FORM_KEY + ":save", key: FORM_KEY + ":save",

View File

@@ -330,7 +330,7 @@ function generateMenu(vm) {
let menuOptions = { let menuOptions = {
isMain: true, isMain: true,
icon: "fa-search", icon: "fa-search",
title: vm.$ay.t("Search"), title: "Search",
helpUrl: "form-home-search", helpUrl: "form-home-search",
hideSearch: true, hideSearch: true,
formData: { formData: {

View File

@@ -366,7 +366,7 @@ function generateMenu(vm) {
let menuOptions = { let menuOptions = {
isMain: true, isMain: true,
icon: "fa-file-archive", icon: "fa-file-archive",
title: vm.$ay.t("Backup"), title: "Backup",
helpUrl: "form-ops-backup", helpUrl: "form-ops-backup",
formData: { formData: {
ayaType: window.$gz.type.Backup ayaType: window.$gz.type.Backup
@@ -377,7 +377,7 @@ function generateMenu(vm) {
if (vm.rights.change) { if (vm.rights.change) {
menuOptions.menuItems.push({ menuOptions.menuItems.push({
title: vm.$ay.t("Save"), title: "Save",
icon: "fa-save", icon: "fa-save",
surface: true, surface: true,
key: FORM_KEY + ":save", key: FORM_KEY + ":save",
@@ -385,7 +385,7 @@ function generateMenu(vm) {
}); });
menuOptions.menuItems.push({ menuOptions.menuItems.push({
title: vm.$ay.t("BackupNow"), title: "BackupNow",
icon: "fa-file-archive", icon: "fa-file-archive",
surface: false, surface: false,
key: FORM_KEY + ":backupnow", key: FORM_KEY + ":backupnow",

View File

@@ -174,14 +174,14 @@ function generateMenu(vm) {
let menuOptions = { let menuOptions = {
isMain: true, isMain: true,
icon: "fa-robot", icon: "fa-robot",
title: vm.$ay.t("ServerJobs"), title: "ServerJobs",
helpUrl: "form-ops-jobs", helpUrl: "form-ops-jobs",
formData: { formData: {
ayaType: window.$gz.type.ServerJob ayaType: window.$gz.type.ServerJob
}, },
menuItems: [ menuItems: [
{ {
title: vm.$ay.t("Copy"), title: "Copy",
icon: "fa-copy", icon: "fa-copy",
surface: false, surface: false,
key: FORM_KEY + ":copylog", key: FORM_KEY + ":copylog",
@@ -192,7 +192,7 @@ function generateMenu(vm) {
if (vm.rights.change) { if (vm.rights.change) {
menuOptions.menuItems.push({ menuOptions.menuItems.push({
title: vm.$ay.t("OpsTestJob"), title: "OpsTestJob",
icon: "fa-robot", icon: "fa-robot",
surface: false, surface: false,
key: FORM_KEY + ":TEST_JOB", key: FORM_KEY + ":TEST_JOB",

View File

@@ -146,14 +146,14 @@ function generateMenu(vm) {
let menuOptions = { let menuOptions = {
isMain: true, isMain: true,
icon: "fa-history", icon: "fa-history",
title: vm.$ay.t("ServerLog"), title: "ServerLog",
helpUrl: "form-ops-log", helpUrl: "form-ops-log",
formData: { formData: {
ayaType: window.$gz.type.LogFile ayaType: window.$gz.type.LogFile
}, },
menuItems: [ menuItems: [
{ {
title: vm.$ay.t("Copy"), title: "Copy",
icon: "fa-copy", icon: "fa-copy",
surface: false, surface: false,
key: FORM_KEY + ":copylog", key: FORM_KEY + ":copylog",

View File

@@ -456,7 +456,7 @@ function generateMenu(vm) {
let menuOptions = { let menuOptions = {
isMain: true, isMain: true,
icon: "fa-file-medical-alt", icon: "fa-file-medical-alt",
title: vm.$ay.t("ServerMetrics"), title: "ServerMetrics",
helpUrl: "form-ops-metrics", helpUrl: "form-ops-metrics",
formData: { formData: {
ayaType: window.$gz.type.ServerMetrics ayaType: window.$gz.type.ServerMetrics

View File

@@ -86,14 +86,14 @@ function generateMenu(vm) {
let menuOptions = { let menuOptions = {
isMain: true, isMain: true,
icon: "fa-binoculars", icon: "fa-binoculars",
title: vm.$ay.t("ServerProfiler"), title: "ServerProfiler",
helpUrl: "form-ops-profile", helpUrl: "form-ops-profile",
formData: { formData: {
ayaType: window.$gz.type.ServerMetrics ayaType: window.$gz.type.ServerMetrics
}, },
menuItems: [ menuItems: [
// { // {
// title: vm.$ay.t("Copy"), // title: "Copy"),
// icon: "fa-copy", // icon: "fa-copy",
// surface: false, // surface: false,
// key: FORM_KEY + ":copylog", // key: FORM_KEY + ":copylog",

View File

@@ -240,7 +240,7 @@ function generateMenu(vm) {
let menuOptions = { let menuOptions = {
isMain: true, isMain: true,
icon: "fa-door-open", icon: "fa-door-open",
title: vm.$ay.t("ServerState"), title: "ServerState",
helpUrl: "form-ops-server-state", helpUrl: "form-ops-server-state",
formData: { formData: {
ayaType: window.$gz.type.ServerState ayaType: window.$gz.type.ServerState
@@ -253,7 +253,7 @@ function generateMenu(vm) {
if (vm.rights.change) { if (vm.rights.change) {
menuOptions.menuItems.push({ menuOptions.menuItems.push({
title: vm.$ay.t("Save"), title: "Save",
icon: "fa-save", icon: "fa-save",
surface: true, surface: true,
key: FORM_KEY + ":save", key: FORM_KEY + ":save",

View File

@@ -645,7 +645,7 @@ function generateMenu(vm) {
let menuOptions = { let menuOptions = {
isMain: false, isMain: false,
icon: "fa-splotch", icon: "fa-splotch",
title: vm.$ay.t("Widget"), title: "Widget",
helpUrl: "form-widget", helpUrl: "form-widget",
formData: { formData: {
ayaType: window.$gz.type.Widget, ayaType: window.$gz.type.Widget,
@@ -657,7 +657,7 @@ function generateMenu(vm) {
if (vm.rights.change) { if (vm.rights.change) {
menuOptions.menuItems.push({ menuOptions.menuItems.push({
title: vm.$ay.t("Save"), title: "Save",
icon: "fa-save", icon: "fa-save",
surface: true, surface: true,
key: FORM_KEY + ":save", key: FORM_KEY + ":save",
@@ -667,7 +667,7 @@ function generateMenu(vm) {
if (vm.rights.delete && vm.$route.params.recordid != 0) { if (vm.rights.delete && vm.$route.params.recordid != 0) {
menuOptions.menuItems.push({ menuOptions.menuItems.push({
title: vm.$ay.t("Delete"), title: "Delete",
icon: "fa-trash-alt", icon: "fa-trash-alt",
surface: true, surface: true,
key: FORM_KEY + ":delete", key: FORM_KEY + ":delete",
@@ -678,7 +678,7 @@ function generateMenu(vm) {
//STUB REPORTS //STUB REPORTS
//Report not Print, print is a further option //Report not Print, print is a further option
menuOptions.menuItems.push({ menuOptions.menuItems.push({
title: vm.$ay.t("Report"), title: "Report",
icon: "fa-file-alt", icon: "fa-file-alt",
key: FORM_KEY + ":report", key: FORM_KEY + ":report",
vm: vm vm: vm
@@ -697,7 +697,7 @@ function generateMenu(vm) {
if (vm.rights.change) { if (vm.rights.change) {
menuOptions.menuItems.push({ menuOptions.menuItems.push({
title: vm.$ay.t("New"), title: "New",
icon: "fa-plus", icon: "fa-plus",
key: FORM_KEY + ":new", key: FORM_KEY + ":new",
vm: vm vm: vm
@@ -706,7 +706,7 @@ function generateMenu(vm) {
if (vm.rights.change) { if (vm.rights.change) {
menuOptions.menuItems.push({ menuOptions.menuItems.push({
title: vm.$ay.t("Duplicate"), title: "Duplicate",
icon: "fa-clone", icon: "fa-clone",
key: FORM_KEY + ":duplicate", key: FORM_KEY + ":duplicate",
vm: vm vm: vm

View File

@@ -70,7 +70,7 @@ function generateMenu(vm) {
let menuOptions = { let menuOptions = {
isMain: true, isMain: true,
icon: "fa-vial", icon: "fa-vial",
title: vm.$ay.t("WidgetList"), title: "WidgetList",
helpUrl: "form-ay-data-list-view", helpUrl: "form-ay-data-list-view",
menuItems: [], menuItems: [],
formData: { formData: {
@@ -80,7 +80,7 @@ function generateMenu(vm) {
if (vm.rights.change) { if (vm.rights.change) {
menuOptions.menuItems.push({ menuOptions.menuItems.push({
title: vm.$ay.t("New"), title: "New",
icon: "fa-plus", icon: "fa-plus",
surface: true, surface: true,
key: FORM_KEY + ":new", key: FORM_KEY + ":new",
@@ -91,7 +91,7 @@ function generateMenu(vm) {
//STUB REPORTS //STUB REPORTS
//Report not Print, print is a further option //Report not Print, print is a further option
menuOptions.menuItems.push({ menuOptions.menuItems.push({
title: vm.$ay.t("Report"), title: "Report",
icon: "fa-file-alt", icon: "fa-file-alt",
key: FORM_KEY + ":report", key: FORM_KEY + ":report",
vm: vm vm: vm