{timetickets.length > 0 ? (
-
-
- {t("timetickets.labels.shiftalreadyclockedon")}
-
-
(
-
- ,
- ]}
- >
-
- {ticket.clockon}
-
-
-
- )}
- >
+
+
+
+ {t("timetickets.labels.shiftalreadyclockedon")}
+
+ {isTechConsole ? (
+
+ ) : null}
+
+
+ (
+
+ ,
+ ]}
+ >
+
+ {ticket.clockon}
+
+
+
+ )}
+ >
+
) : null}
diff --git a/client/src/components/time-ticket-shift-form/time-ticket-shift-form.container.jsx b/client/src/components/time-ticket-shift-form/time-ticket-shift-form.container.jsx
index 4ec7ae140..6e2fc0b9b 100644
--- a/client/src/components/time-ticket-shift-form/time-ticket-shift-form.container.jsx
+++ b/client/src/components/time-ticket-shift-form/time-ticket-shift-form.container.jsx
@@ -1,5 +1,5 @@
import { useMutation } from "@apollo/client";
-import { Button, Form, notification } from "antd";
+import { Button, Form, Space, notification } from "antd";
import axios from "axios";
import moment from "moment";
import React, { useMemo, useState } from "react";
@@ -12,6 +12,7 @@ import {
selectBodyshop,
selectCurrentUser,
} from "../../redux/user/user.selectors";
+import TechJobPrintTickets from "../tech-job-print-tickets/tech-job-print-tickets.component";
import TimeTicektShiftComponent from "./time-ticket-shift-form.component";
const mapStateToProps = createStructuredSelector({
currentUser: selectCurrentUser,
@@ -29,6 +30,10 @@ export function TimeTicektShiftContainer({
isTechConsole,
checkIfAlreadyClocked,
}) {
+ console.log(
+ "🚀 ~ file: time-ticket-shift-form.container.jsx:28 ~ technician:",
+ technician
+ );
const [form] = Form.useForm();
const [insertTimeTicket] = useMutation(INSERT_NEW_TIME_TICKET);
const { t } = useTranslation();
@@ -113,9 +118,14 @@ export function TimeTicektShiftContainer({
initialValues={{ cost_center: t("timetickets.labels.shift") }}
>
-
+
+
+ {isTechConsole === true ? (
+
+ ) : null}
+
);
diff --git a/client/src/components/time-ticket-shift/time-ticket-shift.container.jsx b/client/src/components/time-ticket-shift/time-ticket-shift.container.jsx
index 9f0fec612..a6939e2e7 100644
--- a/client/src/components/time-ticket-shift/time-ticket-shift.container.jsx
+++ b/client/src/components/time-ticket-shift/time-ticket-shift.container.jsx
@@ -76,6 +76,7 @@ export function TimeTicketShiftContainer({