IO-837 Fix Tech Clocking issue
This commit is contained in:
@@ -31,17 +31,10 @@ export function TechClockOffButton({
|
||||
|
||||
const { t } = useTranslation();
|
||||
const emps = bodyshop.employees.filter(
|
||||
(e) => e.id === technician && technician.id
|
||||
(e) => e.id === (technician && technician.id)
|
||||
)[0];
|
||||
|
||||
console.log(
|
||||
"emps :>> ",
|
||||
emps,
|
||||
"e",
|
||||
bodyshop && bodyshop.employees,
|
||||
"tech",
|
||||
technician
|
||||
);
|
||||
console.log(emps && emps.rates);
|
||||
|
||||
const handleFinish = async (values) => {
|
||||
logImEXEvent("tech_clock_out_job");
|
||||
|
||||
Reference in New Issue
Block a user