This commit is contained in:
2020-11-26 21:47:17 +00:00
parent 8bf3dfa980
commit 5e7b808c4d
3 changed files with 13 additions and 8 deletions

View File

@@ -35,9 +35,7 @@ To REMOVE: apt-get remove dotnet-runtime-3.0 (replace 3.0 with whatever version
MISC ITEMS THAT CAME UP
todo: object history / user history form
can't open up a customer or customer note from that form or other objects?
is it just not coded?
todo: erasedatabase for import needs to also erase datalistview's and defaults or has an issue with them
I think maybe actually it already deletes them but it needs to set the SuperUser account to not use them

View File

@@ -351,10 +351,10 @@ export default {
return "$ayiGenderless";
case window.$gz.type.Global:
return "$ayiGlobe";
case window.$gz.type.User:
return "$ayiUser";
case window.$gz.type.Widget:
return "$ayiVial";
case window.$gz.type.User:
return "$ayiUser";
case window.$gz.type.ServerState:
return "$ayiDoorOpen";
case window.$gz.type.License:
@@ -363,10 +363,12 @@ export default {
return "$ayiGlasses";
case window.$gz.type.PickListTemplate:
return "$ayiPencilRuler";
case window.$gz.type.Customer:
return "$ayiAddressCard";
case window.$gz.type.ServerJob:
return "$ayiRobot";
case window.$gz.type.AyaNova7Import:
return "$ayiFileImport";
case window.$gz.type.Contract:
return "$ayiFileContract";
case window.$gz.type.TrialSeeder:
return "$ayiSeedling";
case window.$gz.type.Metrics:
@@ -375,6 +377,10 @@ export default {
return "$ayiLanguage";
case window.$gz.type.UserOptions:
return "$ayiUserCog";
case window.$gz.type.HeadOffice:
return "$ayiSitemap";
case window.$gz.type.LoanUnit:
return "$ayiPlug";
case window.$gz.type.FileAttachment:
return "$ayiPaperclip";
case window.$gz.type.DataListView:

View File

@@ -48,7 +48,8 @@
const FORM_KEY = "adm-import";
export default {
async created() {
this.rights = window.$gz.role.getRights(window.$gz.type.Translation);
//NOTE: chose this because there is no general import but report covers bizadminfull and bizadminlimited
this.rights = window.$gz.role.getRights(window.$gz.type.Report);
window.$gz.eventBus.$on("menu-click", clickHandler);
await fetchTranslatedText(this);
await populateSelectionLists(this);