diff --git a/bodyshop_translations.babel b/bodyshop_translations.babel index e0869b086..a978d8765 100644 --- a/bodyshop_translations.babel +++ b/bodyshop_translations.babel @@ -13685,6 +13685,27 @@ + + shiftclock + false + + + + + + en-US + false + + + es-MX + false + + + fr-CA + false + + + shop false diff --git a/client/src/components/header/header.component.jsx b/client/src/components/header/header.component.jsx index 596abdd60..9d5fdbc11 100644 --- a/client/src/components/header/header.component.jsx +++ b/client/src/components/header/header.component.jsx @@ -81,7 +81,7 @@ function Header({ {bodyshop - - + mode='horizontal' + theme='dark' + className='header-main-menu' + onClick={handleMenuClick}> + + {t("menus.header.home")} @@ -109,51 +108,50 @@ function Header({ {t("menus.header.jobs")} - } - > - - + }> + + {t("menus.header.schedule")} - - + + {t("menus.header.productionlist")} - - + + {t("menus.header.productionboard")} - - + + {t("menus.header.scoreboard")} - - {t("menus.header.activejobs")} + + {t("menus.header.activejobs")} - - {t("menus.header.alljobs")} + + {t("menus.header.alljobs")} - - + + {t("menus.header.availablejobs")} - - + + {t("menus.header.owners")} - - + + {t("menus.header.vehicles")} @@ -165,22 +163,21 @@ function Header({ {t("menus.header.courtesycars")} - } - > - - + }> + + {t("menus.header.courtesycars-all")} - - + + {t("menus.header.courtesycars-contracts")} - - + + {t("menus.header.courtesycars-newcontract")} @@ -192,87 +189,83 @@ function Header({ {t("menus.header.accounting")} - } - > + }> { setPaymentContext({ actions: {}, context: {}, }); - }} - > + }}> {t("menus.header.enterpayment")} { setInvoiceEnterContext({ actions: {}, context: {}, }); - }} - > + }}> {t("menus.header.enterinvoices")} - - {t("menus.header.invoices")} + + {t("menus.header.invoices")} { setTimeTicketContext({ actions: {}, context: {}, }); - }} - > + }}> {t("menus.header.entertimeticket")} - - + + {t("menus.header.accounting-receivables")} - - + + {t("menus.header.accounting-payables")} - - + + {t("menus.header.accounting-payments")} - - + + {t("menus.header.allpayments")} - - {t("menus.header.shop_config")} + + {t("menus.header.shop_config")} - - + + {t("menus.header.shop_templates")} - - + + {t("menus.header.shop_vendors")} - - {t("menus.header.shop_csi")} + + {t("menus.header.shop_csi")} - } - > + }> signOutStart()}> {t("user.actions.signout")} + + + {t("menus.header.shiftclock")} + + - + {t("menus.currentuser.profile")} @@ -313,15 +310,14 @@ function Header({ {t("menus.currentuser.languageselector")} - } - > - + }> + {t("general.languages.english")} - + {t("general.languages.french")} - + {t("general.languages.spanish")} diff --git a/client/src/components/time-ticket-shift-form/time-ticket-shift-form.component.jsx b/client/src/components/time-ticket-shift-form/time-ticket-shift-form.component.jsx index ee07db801..6bd25a2ea 100644 --- a/client/src/components/time-ticket-shift-form/time-ticket-shift-form.component.jsx +++ b/client/src/components/time-ticket-shift-form/time-ticket-shift-form.component.jsx @@ -1,4 +1,4 @@ -import { Form, InputNumber, Select } from "antd"; +import { Form, Select } from "antd"; import React from "react"; import { useTranslation } from "react-i18next"; import { connect } from "react-redux"; diff --git a/client/src/components/time-ticket-shift-form/time-ticket-shift-form.container.jsx b/client/src/components/time-ticket-shift-form/time-ticket-shift-form.container.jsx index aefcb7136..b30c1d097 100644 --- a/client/src/components/time-ticket-shift-form/time-ticket-shift-form.container.jsx +++ b/client/src/components/time-ticket-shift-form/time-ticket-shift-form.container.jsx @@ -69,7 +69,6 @@ export function TimeTicektShiftContainer({ return (
- The form TimeTicektShiftContainer
const PaymentsAll = lazy(() => import("../payments-all/payments-all.container.page") ); - +const ShiftClock = lazy(() => import("../shift-clock/shift-clock.page")); const Scoreboard = lazy(() => import("../scoreboard/scoreboard.page.container.jsx") ); @@ -319,6 +319,11 @@ export function Manage({ match, conflict }) { path={`${match.path}/payments`} component={PaymentsAll} /> + + +
+ ); +} diff --git a/client/src/translations/en_us/common.json b/client/src/translations/en_us/common.json index b5f8fbfab..702675463 100644 --- a/client/src/translations/en_us/common.json +++ b/client/src/translations/en_us/common.json @@ -834,6 +834,7 @@ "productionlist": "Production - List", "schedule": "Schedule", "scoreboard": "Scoreboard", + "shiftclock": "Shift Clock", "shop": "My Shop", "shop_config": "Configuration", "shop_csi": "CSI", diff --git a/client/src/translations/es/common.json b/client/src/translations/es/common.json index 95f340af6..369cff5f1 100644 --- a/client/src/translations/es/common.json +++ b/client/src/translations/es/common.json @@ -834,6 +834,7 @@ "productionlist": "", "schedule": "Programar", "scoreboard": "", + "shiftclock": "", "shop": "Mi tienda", "shop_config": "Configuración", "shop_csi": "", diff --git a/client/src/translations/fr/common.json b/client/src/translations/fr/common.json index 894073f9d..3bb646697 100644 --- a/client/src/translations/fr/common.json +++ b/client/src/translations/fr/common.json @@ -834,6 +834,7 @@ "productionlist": "", "schedule": "Programme", "scoreboard": "", + "shiftclock": "", "shop": "Mon magasin", "shop_config": "Configuration", "shop_csi": "",