-
- {steps.map((item, idx) => (
- {
- form
- .validateFields()
- .then((r) => {
- if (steps[pageIndex].validation) {
- setErrorMessage(null);
- setPageIndex(idx);
- } else {
- setErrorMessage(steps[pageIndex].error);
- }
- })
- .catch((error) => console.log("error", error));
- }}
- />
- ))}
-
-
+
{errorMessage ? (
diff --git a/client/src/pages/jobs-create/jobs-create.container.jsx b/client/src/pages/jobs-create/jobs-create.container.jsx
index 54c302264..2bf15463b 100644
--- a/client/src/pages/jobs-create/jobs-create.container.jsx
+++ b/client/src/pages/jobs-create/jobs-create.container.jsx
@@ -149,6 +149,7 @@ function JobsCreateContainer({ bodyshop, setBreadcrumbs, setSelectedHeader }) {
;
}
diff --git a/client/src/pages/production-list/production-list.container.jsx b/client/src/pages/production-list/production-list.container.jsx
index 51bbf092a..c8275c1ea 100644
--- a/client/src/pages/production-list/production-list.container.jsx
+++ b/client/src/pages/production-list/production-list.container.jsx
@@ -1,18 +1,12 @@
import React, { useEffect } from "react";
import { useTranslation } from "react-i18next";
import { connect } from "react-redux";
-import { createStructuredSelector } from "reselect";
+import RbacWrapper from "../../components/rbac-wrapper/rbac-wrapper.component";
import {
setBreadcrumbs,
setSelectedHeader,
} from "../../redux/application/application.actions";
-import { selectBodyshop } from "../../redux/user/user.selectors";
import ProductionListComponent from "./production-list.component";
-import RbacWrapper from "../../components/rbac-wrapper/rbac-wrapper.component";
-
-const mapStateToProps = createStructuredSelector({
- bodyshop: selectBodyshop,
-});
const mapDispatchToProps = (dispatch) => ({
setBreadcrumbs: (breadcrumbs) => dispatch(setBreadcrumbs(breadcrumbs)),
@@ -21,7 +15,7 @@ const mapDispatchToProps = (dispatch) => ({
export function ProductionListContainer({
setBreadcrumbs,
- bodyshop,
+
setSelectedHeader,
}) {
const { t } = useTranslation();
@@ -40,7 +34,4 @@ export function ProductionListContainer({
);
}
-export default connect(
- mapStateToProps,
- mapDispatchToProps
-)(ProductionListContainer);
+export default connect(null, mapDispatchToProps)(ProductionListContainer);
diff --git a/client/src/translations/en_us/common.json b/client/src/translations/en_us/common.json
index b862dd9f2..ae44b0a0b 100644
--- a/client/src/translations/en_us/common.json
+++ b/client/src/translations/en_us/common.json
@@ -520,13 +520,17 @@
"status": "Status"
},
"labels": {
+ "agreement": "Agreement {{agreement_num}} - {{status}}",
+ "availablecars": "Available Cars",
"convertform": {
"applycleanupcharge": "Apply cleanup charge?",
"refuelqty": "Refuel qty.?"
},
"correctdataonform": "Please review the information above. If any of it is not correct, you can fix it later.",
+ "driverinformation": "Driver's Information",
"noteconvertedfrom": "R.O. created from converted Courtesy Car Contract {{agreementnumber}}.",
"populatefromjob": "Populate from Job",
+ "rates": "Contract Rates",
"vehicle": "Vehicle",
"waitingforscan": "Please scan driver's license barcode..."
},
diff --git a/client/src/translations/es/common.json b/client/src/translations/es/common.json
index d17627a8e..2ef0ac47c 100644
--- a/client/src/translations/es/common.json
+++ b/client/src/translations/es/common.json
@@ -520,13 +520,17 @@
"status": ""
},
"labels": {
+ "agreement": "",
+ "availablecars": "",
"convertform": {
"applycleanupcharge": "",
"refuelqty": ""
},
"correctdataonform": "",
+ "driverinformation": "",
"noteconvertedfrom": "",
"populatefromjob": "",
+ "rates": "",
"vehicle": "",
"waitingforscan": ""
},
diff --git a/client/src/translations/fr/common.json b/client/src/translations/fr/common.json
index 76251f7e0..b942637d7 100644
--- a/client/src/translations/fr/common.json
+++ b/client/src/translations/fr/common.json
@@ -520,13 +520,17 @@
"status": ""
},
"labels": {
+ "agreement": "",
+ "availablecars": "",
"convertform": {
"applycleanupcharge": "",
"refuelqty": ""
},
"correctdataonform": "",
+ "driverinformation": "",
"noteconvertedfrom": "",
"populatefromjob": "",
+ "rates": "",
"vehicle": "",
"waitingforscan": ""
},