IO-1622 Add Rates to tech console.

This commit is contained in:
Patrick Fic
2022-01-11 12:28:15 -08:00
parent e1d5558dac
commit 2aa6fdfac5

View File

@@ -55,6 +55,9 @@ export function TechClockOffButton({
timeticket: {
clockoff: (await axios.post("/utils/time")).data,
...values,
rate: emps.rates.filter(
(r) => r.cost_center === values.cost_center
)[0]?.rate,
ciecacode:
bodyshop.cdk_dealerid || bodyshop.pbs_serialnumber
? values.cost_center