diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index 7d2f8622..528a9815 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -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 ............................................................ diff --git a/ayanova/src/api/gzutil.js b/ayanova/src/api/gzutil.js index 3f00cc91..676c1698 100644 --- a/ayanova/src/api/gzutil.js +++ b/ayanova/src/api/gzutil.js @@ -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; } diff --git a/ayanova/src/plugins/vuetify.js b/ayanova/src/plugins/vuetify.js index 8917b27b..5ded7cee 100644 --- a/ayanova/src/plugins/vuetify.js +++ b/ayanova/src/plugins/vuetify.js @@ -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: {