Added job intake process for BOD-114

This commit is contained in:
Patrick Fic
2020-05-13 00:38:10 -07:00
parent cf8e0a918c
commit c470e0ba18
39 changed files with 2508 additions and 37 deletions

View File

@@ -85,6 +85,9 @@ const ProductionBoardPage = lazy(() =>
const ShopTemplates = lazy(() =>
import("../shop-templates/shop-templates.container")
);
const JobIntake = lazy(() =>
import("../jobs-intake/jobs-intake.page.container")
);
const { Header, Content, Footer } = Layout;
export default function Manage({ match }) {
@@ -116,14 +119,19 @@ export default function Manage({ match }) {
<PrintCenterModalContainer />
<Route exact path={`${match.path}`} component={ManageRootPage} />
<Route exact path={`${match.path}/jobs`} component={JobsPage} />
<Switch>
<Route
exact
path={`${match.path}/jobs/:jobId/intake`}
component={JobIntake}
/>
<Route
exact
path={`${match.path}/jobs/new`}
component={JobsCreateContainerPage}
/>
<Route
exact
path={`${match.path}/jobs/:jobId`}
component={JobsDetailPage}
/>
@@ -188,7 +196,6 @@ export default function Manage({ match }) {
path={`${match.path}/vehicles/:vehId`}
component={VehiclesDetailContainer}
/>
<Route
exact
path={`${match.path}/invoices`}
@@ -199,7 +206,6 @@ export default function Manage({ match }) {
path={`${match.path}/invoices/:invoiceId`}
component={InvoiceDetailPage}
/>
<Route
exact
path={`${match.path}/owners`}