This commit is contained in:
@@ -70,16 +70,16 @@ todo: TESTING After customer form is made
|
|||||||
|
|
||||||
OUTSTANDING WITH CUSTOMER
|
OUTSTANDING WITH CUSTOMER
|
||||||
contacts
|
contacts
|
||||||
make list of users in grid, shows all contact info
|
shows all contact info
|
||||||
can open to cust-user edit form
|
|
||||||
Change cust-user edit form (and other user edit form) and add tabs and user options section so that it can all be set there as well
|
Change cust-user edit form (and other user edit form) and add tabs and user options section so that it can all be set there as well
|
||||||
Add button to email the user their creds and login and invite them to change the password once they login
|
Add button to email the user their creds and login and invite them to change the password once they login
|
||||||
Customer User (contacts) UI for this client (generate, view)
|
Customer User (contacts) UI for this client (generate, view)
|
||||||
case for this and notes, sb very simple way to create and send creds for user
|
case for this and notes, sb very simple way to create and send creds for user
|
||||||
Customer User / User(s)
|
Customer User / User(s)
|
||||||
Label as Contact / Contacts
|
Label as Contact / Contacts
|
||||||
Show customer / head office in generic contacts grid view
|
Show customer / head office NAME in generic contacts grid view
|
||||||
Copy address to clipboard?
|
Copy address to clipboard?
|
||||||
|
Yes and copy all contact info as well?
|
||||||
Show all
|
Show all
|
||||||
workorders
|
workorders
|
||||||
quotes
|
quotes
|
||||||
|
|||||||
@@ -1359,8 +1359,8 @@ let JUST_DELETED = false;
|
|||||||
async function initForm(vm) {
|
async function initForm(vm) {
|
||||||
await fetchTranslatedText(vm);
|
await fetchTranslatedText(vm);
|
||||||
await window.$gz.formCustomTemplate.get(FORM_CUSTOM_TEMPLATE_KEY);
|
await window.$gz.formCustomTemplate.get(FORM_CUSTOM_TEMPLATE_KEY);
|
||||||
await populateSelectionLists(vm);
|
// await populateSelectionLists(vm);
|
||||||
await cacheEnums(vm);
|
// await cacheEnums(vm);
|
||||||
await createTableHeaders(vm);
|
await createTableHeaders(vm);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1420,25 +1420,6 @@ async function fetchTranslatedText(vm) {
|
|||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
//////////////////////
|
|
||||||
//
|
|
||||||
//
|
|
||||||
async function populateSelectionLists(vm) {
|
|
||||||
//ensure the pick lists required are pre-fetched
|
|
||||||
await window.$gz.enums.fetchEnumList("usertype");
|
|
||||||
vm.selectLists.usertypes = window.$gz.enums.getSelectionList("usertype");
|
|
||||||
}
|
|
||||||
|
|
||||||
//////////////////////
|
|
||||||
//
|
|
||||||
//
|
|
||||||
async function cacheEnums(vm) {
|
|
||||||
//ensure the enum values required are pre-fetched
|
|
||||||
await window.$gz.enums.fetchEnumList("outsideusertype");
|
|
||||||
await window.$gz.enums.fetchEnumList("AuthorizationRoles");
|
|
||||||
vm.availableRoles = window.$gz.enums.getSelectionList("AuthorizationRoles");
|
|
||||||
}
|
|
||||||
|
|
||||||
//////////////////////
|
//////////////////////
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
@@ -1446,7 +1427,6 @@ async function createTableHeaders(vm) {
|
|||||||
vm.headers = [
|
vm.headers = [
|
||||||
{ text: vm.$ay.t("User"), value: "name" },
|
{ text: vm.$ay.t("User"), value: "name" },
|
||||||
{ text: vm.$ay.t("Active"), value: "active" },
|
{ text: vm.$ay.t("Active"), value: "active" },
|
||||||
{ text: vm.$ay.t("UserType"), value: "userType" },
|
|
||||||
{ text: vm.$ay.t("LastLogin"), value: "lastLogin" }
|
{ text: vm.$ay.t("LastLogin"), value: "lastLogin" }
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user