This commit is contained in:
2020-11-27 00:30:49 +00:00
parent e353385afe
commit 1e136a3711
3 changed files with 17 additions and 5 deletions

View File

@@ -94,6 +94,10 @@ todo: search form weirdness
TYPE NAMES TYPE NAMES
results for some type names show as "type 59" for example instead of "Customer note" results for some type names show as "type 59" for example instead of "Customer note"
todo: CSR icon will show to customer logins, should that be changed, some people might be offended by it
or just show no icon to customers maybe?
life-ring
todo: TEST ON SERVER CUSTOMER STUFF todo: TEST ON SERVER CUSTOMER STUFF
............................................................ ............................................................

View File

@@ -455,9 +455,9 @@ export default {
case window.$gz.type.Reminder: case window.$gz.type.Reminder:
return "$XXXXXXXXXXXXXXX"; return "$XXXXXXXXXXXXXXX";
case window.$gz.type.UnitMeterReading: case window.$gz.type.UnitMeterReading:
return "$XXXXXXXXXXXXXXX"; return "$ayiWeight";
case window.$gz.type.CustomerServiceRequest: case window.$gz.type.CustomerServiceRequest:
return "$XXXXXXXXXXXXXXX"; return "$ayiChild";
case window.$gz.type.ServiceBank: case window.$gz.type.ServiceBank:
return "$ayiCarBattery"; return "$ayiCarBattery";
case window.$gz.type.OpsNotificationSettings: case window.$gz.type.OpsNotificationSettings:
@@ -468,7 +468,7 @@ export default {
return "$ayiTachometer"; return "$ayiTachometer";
case window.$gz.type.CustomerNote: case window.$gz.type.CustomerNote:
return "$ayiClipboard"; return "$ayiClipboard";
//scroll icon is good one for something
default: default:
return null; return null;
} }

View File

@@ -166,7 +166,8 @@ import {
faUserCog, faUserCog,
faUsers, faUsers,
faUserTie, faUserTie,
faVial faVial,
faWeight
} from "@fortawesome/free-solid-svg-icons"; } from "@fortawesome/free-solid-svg-icons";
Vue.component("font-awesome-icon", FontAwesomeIcon); Vue.component("font-awesome-icon", FontAwesomeIcon);
@@ -320,7 +321,8 @@ library.add(
faUserCog, faUserCog,
faUsers, faUsers,
faUserTie, faUserTie,
faVial faVial,
faWeight
); );
const CUSTOM_ICONS = { const CUSTOM_ICONS = {
@@ -1158,6 +1160,12 @@ const CUSTOM_ICONS = {
icon: ["fas", "vial"] icon: ["fas", "vial"]
} }
}, },
ayiWeight: {
component: FontAwesomeIcon,
props: {
icon: ["fas", "weight"]
}
},
//VUETIFY REQUIRED ONES //VUETIFY REQUIRED ONES
//https://vuetifyjs.com/en/features/icons/#using-custom-icons //https://vuetifyjs.com/en/features/icons/#using-custom-icons
checkboxIndeterminate: { checkboxIndeterminate: {