diff --git a/client/src/components/header/header.component.jsx b/client/src/components/header/header.component.jsx index d795e6f54..c99b94cbb 100644 --- a/client/src/components/header/header.component.jsx +++ b/client/src/components/header/header.component.jsx @@ -311,10 +311,12 @@ function Header({ { key: "home", icon: , + id: "header-home", label: {t("menus.header.home")} }, { key: "schedule", + id: "header-schedule", icon: , label: {t("menus.header.schedule")} }, @@ -326,16 +328,19 @@ function Header({ children: [ { key: "activejobs", + id: "header-active-jobs", icon: , label: {t("menus.header.activejobs")} }, { key: "readyjobs", + id: "header-ready-jobs", icon: , label: {t("menus.header.readyjobs")} }, { key: "parts-queue", + id: "header-parts-queue", icon: , label: {t("menus.header.parts-queue")} }, @@ -347,6 +352,7 @@ function Header({ }, { key: "newjob", + id: "header-new-job", icon: , label: {t("menus.header.newjob")} }, @@ -355,6 +361,7 @@ function Header({ }, { key: "alljobs", + id: "header-all-jobs", icon: , label: {t("menus.header.alljobs")} }, @@ -363,6 +370,7 @@ function Header({ }, { key: "productionlist", + id: "header-production-list", icon: , label: {t("menus.header.productionlist")} }, @@ -374,6 +382,7 @@ function Header({ ? [ { key: "productionboard", + id: "header-production-board", icon: , label: {t("menus.header.productionboard")} } @@ -391,6 +400,7 @@ function Header({ }, { key: "scoreboard", + id: "header-scoreboard", icon: , label: {t("menus.header.scoreboard")} } @@ -401,15 +411,18 @@ function Header({ { key: "customers", icon: , + id: "header-customers", label: t("menus.header.customers"), children: [ { key: "owners", + id: "header-owners", icon: , label: {t("menus.header.owners")} }, { key: "vehicles", + id: "header-vehicles", icon: , label: {t("menus.header.vehicles")} } @@ -423,21 +436,25 @@ function Header({ ? [ { key: "ccs", + id: "header-css", icon: , label: t("menus.header.courtesycars"), children: [ { key: "courtesycarsall", + id: "header-courtesycars-all", icon: , label: {t("menus.header.courtesycars-all")} }, { key: "contracts", + id: "header-contracts", icon: , label: {t("menus.header.courtesycars-contracts")} }, { key: "newcontract", + id: "header-newcontract", icon: , label: {t("menus.header.courtesycars-newcontract")} } @@ -450,6 +467,7 @@ function Header({ ? [ { key: "accounting", + id: "header-accounting", icon: , label: t("menus.header.accounting"), children: accountingChildren @@ -458,6 +476,7 @@ function Header({ : []), { key: "phonebook", + id: "header-phonebook", icon: , label: {t("menus.header.phonebook")} }, @@ -469,6 +488,7 @@ function Header({ ? [ { key: "temporarydocs", + id: "header-temporarydocs", icon: , label: {t("menus.header.temporarydocs")} } @@ -505,21 +525,25 @@ function Header({ }, { key: "shopsubmenu", + id: "header-shopsubmenu", icon: , label: t("menus.header.shop"), children: [ { key: "shop", + id: "header-shop", icon: , label: {t("menus.header.shop_config")} }, { key: "dashboard", + id: "header-dashboard", icon: , label: {t("menus.header.dashboard")} }, { key: "reportcenter", + id: "header-reportcenter", icon: , label: t("menus.header.reportcenter"), onClick: () => { @@ -531,6 +555,7 @@ function Header({ }, { key: "shop-vendors", + id: "header-shop-vendors", icon: , label: {t("menus.header.shop_vendors")} }, @@ -542,6 +567,7 @@ function Header({ ? [ { key: "shop-csi", + id: "header-shop-csi", icon: , label: {t("menus.header.shop_csi")} } @@ -555,6 +581,7 @@ function Header({ children: [ { key: "signout", + id: "header-signout", icon: , danger: true, label: t("user.actions.signout"), @@ -562,6 +589,7 @@ function Header({ }, { key: "help", + id: "header-help", icon: , label: t("menus.header.help"), onClick: () => { @@ -593,6 +621,7 @@ function Header({ ? [ { key: "shiftclock", + id: "header-shiftclock", icon: , label: {t("menus.header.shiftclock")} } @@ -600,6 +629,7 @@ function Header({ : []), { key: "profile", + id: "header-profile", icon: , label: {t("menus.currentuser.profile")} } @@ -635,6 +665,7 @@ function Header({ { key: "recent", icon: , + id: "header-recent", children: recentItems.map((i, idx) => ({ key: idx, label: {i.label} @@ -648,6 +679,7 @@ function Header({ imex: () => { menuItems.push({ key: "beta-switch", + id: "header-beta-switch", style: { marginLeft: "auto" }, label: (