diff --git a/bodyshop_translations.babel b/bodyshop_translations.babel index 6b24dfd21..105fb3b01 100644 --- a/bodyshop_translations.babel +++ b/bodyshop_translations.babel @@ -37126,6 +37126,27 @@ + + parts + false + + + + + + en-US + false + + + es-MX + false + + + fr-CA + false + + + partssublet false diff --git a/client/src/pages/jobs-detail/jobs-detail.page.component.jsx b/client/src/pages/jobs-detail/jobs-detail.page.component.jsx index d9121f1fe..1027001f4 100644 --- a/client/src/pages/jobs-detail/jobs-detail.page.component.jsx +++ b/client/src/pages/jobs-detail/jobs-detail.page.component.jsx @@ -332,7 +332,7 @@ export function JobsDetailPage({ { key: "partssublet", icon: , - label: t("menus.jobsdetail.partssublet"), + label: HasFeatureAccess({featureName: "bills", bodyshop}) ? t("menus.jobsdetail.partssublet") : t("menus.jobsdetail.parts"), children: , }, ...InstanceRenderManager({ imex: true, rome: true, promanager: HasFeatureAccess({ featureName: 'timetickets', bodyshop }) }) ? [ { diff --git a/client/src/pages/manage/manage.page.component.jsx b/client/src/pages/manage/manage.page.component.jsx index 3dd482974..f00fb4a9e 100644 --- a/client/src/pages/manage/manage.page.component.jsx +++ b/client/src/pages/manage/manage.page.component.jsx @@ -521,13 +521,12 @@ export function Manage({conflict, bodyshop,enableJoyRide,joyRideSteps,setJoyRide }} >
- {`Joy Ride Status: ${enableJoyRide}`}
{`${InstanceRenderManager({ imex: t('titles.imexonline'), rome: t('titles.romeonline'), promanager: t('titles.promanager'), - })} ${import.meta.env.VITE_APP_GIT_SHA || 'Local Build'} - ${ + })} - ${ import.meta.env.VITE_APP_GIT_SHA_DATE }`}
diff --git a/client/src/translations/en_us/common.json b/client/src/translations/en_us/common.json index 08a6737cf..3bb37edb9 100644 --- a/client/src/translations/en_us/common.json +++ b/client/src/translations/en_us/common.json @@ -2174,6 +2174,7 @@ "insurance": "Insurance Information", "labor": "Labor", "lifecycle": "Lifecycle", + "parts": "Parts", "partssublet": "Parts & Bills", "rates": "Rates", "repairdata": "Repair Data", diff --git a/client/src/translations/es/common.json b/client/src/translations/es/common.json index 7c4416b16..ba11bb4a3 100644 --- a/client/src/translations/es/common.json +++ b/client/src/translations/es/common.json @@ -2174,6 +2174,7 @@ "insurance": "", "labor": "Labor", "lifecycle": "", + "parts": "", "partssublet": "Piezas / Subarrendamiento", "rates": "", "repairdata": "Datos de reparación", diff --git a/client/src/translations/fr/common.json b/client/src/translations/fr/common.json index c219fbd89..1117003e0 100644 --- a/client/src/translations/fr/common.json +++ b/client/src/translations/fr/common.json @@ -2174,6 +2174,7 @@ "insurance": "", "labor": "La main d'oeuvre", "lifecycle": "", + "parts": "", "partssublet": "Pièces / Sous-location", "rates": "", "repairdata": "Données de réparation", diff --git a/client/vite.config.js b/client/vite.config.js index 2ec487ccb..a5d9f6734 100644 --- a/client/vite.config.js +++ b/client/vite.config.js @@ -105,6 +105,9 @@ export default defineConfig({ react(), // CompressionPlugin(), //Cloudfront already compresses assets, so not needed. ], + define:{ + "APP_VERSION": JSON.stringify(process.env.npm_package_version) + }, server: { host: true, port: 3000,