Added job login and log off functionality. BOD-183
This commit is contained in:
12
client/src/pages/tech-job-clock/tech-job-clock.component.jsx
Normal file
12
client/src/pages/tech-job-clock/tech-job-clock.component.jsx
Normal 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>
|
||||
);
|
||||
}
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user