Added job login and log off functionality. BOD-183

This commit is contained in:
Patrick Fic
2020-07-03 16:35:18 -07:00
parent 1ff3cd0f55
commit 88c29490ca
24 changed files with 740 additions and 125 deletions

View File

@@ -0,0 +1,12 @@
import React from "react";
import TechClockInFormContainer from "../../components/tech-job-clock-in-form/tech-job-clock-in-form.container";
import TechClockedInList from "../../components/tech-job-clocked-in-list/tech-job-clocked-in-list.component";
export default function TechClockComponent() {
return (
<div>
<TechClockInFormContainer />
<TechClockedInList />
</div>
);
}

View File

@@ -27,8 +27,8 @@ const ProductionListPage = lazy(() =>
const ProductionBoardPage = lazy(() =>
import("../production-board/production-board.container")
);
const TechClockIn = lazy(() =>
import("../../components/tech-clock-in/tech-clock-in.container")
const TechJobClockIn = lazy(() =>
import("../tech-job-clock/tech-job-clock.component")
);
const { Content } = Layout;
@@ -81,8 +81,8 @@ export function TechPage({ technician, match }) {
/>{" "}
<Route
exact
path={`${match.path}/clockin`}
component={TechClockIn}
path={`${match.path}/jobclockin`}
component={TechJobClockIn}
/>
<Route
exact