From a2150009db559736581671d19ac2588dd81dffea Mon Sep 17 00:00:00 2001 From: Allan Carr Date: Fri, 18 Aug 2023 13:59:42 -0700 Subject: [PATCH] IO-2385 Tech Console to print Attendance Report from Shift Clock --- .../tech-job-clock-in-form.container.jsx | 4 +- .../tech-job-print-tickets.component.jsx | 13 ++- .../time-ticket-shift-active.component.jsx | 91 +++++++++++-------- .../time-ticket-shift-form.container.jsx | 18 +++- .../time-ticket-shift.container.jsx | 1 + 5 files changed, 82 insertions(+), 45 deletions(-) diff --git a/client/src/components/tech-job-clock-in-form/tech-job-clock-in-form.container.jsx b/client/src/components/tech-job-clock-in-form/tech-job-clock-in-form.container.jsx index 139a30cbf..b3f3046f4 100644 --- a/client/src/components/tech-job-clock-in-form/tech-job-clock-in-form.container.jsx +++ b/client/src/components/tech-job-clock-in-form/tech-job-clock-in-form.container.jsx @@ -32,7 +32,7 @@ export function TechClockInContainer({ currentUser, }) { console.log( - "🚀 ~ file: tech-job-clock-in-form.container.jsx:29 ~ technician:", + "🚀 ~ file: tech-job-clock-in-form.container.jsx:30 ~ technician:", technician ); const [form] = Form.useForm(); @@ -128,7 +128,7 @@ export function TechClockInContainer({ > {t("timetickets.actions.enter")} - + + + + {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({ ) : (