IO-842 Add Time Ticekts to Clock Out button

This commit is contained in:
Patrick Fic
2021-04-07 12:48:22 -07:00
parent d997d535e3
commit bac671ff5c
6 changed files with 104 additions and 75 deletions

View File

@@ -32,17 +32,20 @@ export default function TimeTicketShiftActive({ timetickets, refetch }) {
title={t(ticket.memo)}
actions={[
<TechClockOffButton
jobId={ticket.jobid}
timeTicketId={ticket.id}
completedCallback={refetch}
isShiftTicket
/>,
]}>
]}
>
<DataLabel label={t("timetickets.fields.clockon")}>
<DateTimeFormatter>{ticket.clockon}</DateTimeFormatter>
</DataLabel>
</Card>
</List.Item>
)}></List>
)}
></List>
</div>
) : null}
</div>