IO-3020 IO-3036 Resolve identified bugs.

This commit is contained in:
Patrick Fic
2024-12-11 09:44:18 -08:00
parent a630fc5556
commit 53d15b0d45
7 changed files with 179 additions and 142 deletions

View File

@@ -892,16 +892,16 @@ export function JobsDetailHeaderActions({
key: "postbills",
id: "job-actions-postbills",
disabled: !job.converted,
label: <LockerWrapperComponent featureName="bill">{t("jobs.actions.postbills")}</LockerWrapperComponent>,
label: <LockerWrapperComponent featureName="bills">{t("jobs.actions.postbills")}</LockerWrapperComponent>,
onClick: () => {
logImEXEvent("job_header_enter_bills");
setBillEnterContext({
actions: { refetch: refetch },
context: {
job: job
}
});
HasFeatureAccess({ featureName: "bills", bodyshop }) &&
setBillEnterContext({
actions: { refetch: refetch },
context: {
job: job
}
});
}
},