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
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
............................................................

View File

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

View File

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