This commit is contained in:
@@ -70,16 +70,16 @@ todo: TESTING After customer form is made
|
||||
|
||||
OUTSTANDING WITH CUSTOMER
|
||||
contacts
|
||||
make list of users in grid, shows all contact info
|
||||
can open to cust-user edit form
|
||||
shows all contact info
|
||||
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
|
||||
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
|
||||
Customer User / User(s)
|
||||
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?
|
||||
Yes and copy all contact info as well?
|
||||
Show all
|
||||
workorders
|
||||
quotes
|
||||
|
||||
@@ -1359,8 +1359,8 @@ let JUST_DELETED = false;
|
||||
async function initForm(vm) {
|
||||
await fetchTranslatedText(vm);
|
||||
await window.$gz.formCustomTemplate.get(FORM_CUSTOM_TEMPLATE_KEY);
|
||||
await populateSelectionLists(vm);
|
||||
await cacheEnums(vm);
|
||||
// await populateSelectionLists(vm);
|
||||
// await cacheEnums(vm);
|
||||
await createTableHeaders(vm);
|
||||
}
|
||||
|
||||
@@ -1370,7 +1370,7 @@ async function initForm(vm) {
|
||||
//
|
||||
async function fetchTranslatedText(vm) {
|
||||
await window.$gz.translation.cacheTranslations([
|
||||
"Customer",
|
||||
"Customer",
|
||||
"CustomerName",
|
||||
"CustomerNotes",
|
||||
"WebAddress",
|
||||
@@ -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 = [
|
||||
{ text: vm.$ay.t("User"), value: "name" },
|
||||
{ text: vm.$ay.t("Active"), value: "active" },
|
||||
{ text: vm.$ay.t("UserType"), value: "userType" },
|
||||
{ text: vm.$ay.t("LastLogin"), value: "lastLogin" }
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user