IO-233 Add GST override for CDK.

This commit is contained in:
Patrick Fic
2021-12-03 09:13:24 -08:00
parent a5aee28d42
commit 2f1c168b3e
10 changed files with 94 additions and 13 deletions

View File

@@ -125,7 +125,10 @@ export function DmsContainer({ bodyshop, setBreadcrumbs, setSelectedHeader }) {
!(bodyshop.cdk_dealerid || bodyshop.pbs_serialnumber) ||
!(data && data.jobs_by_pk)
)
return <Result status="404" />;
return <Result status="404" title={t("general.errors.notfound")} />;
if (data.jobs_by_pk && data.jobs_by_pk.date_exported)
return <Result status="warning" title={t("dms.errors.alreadyexported")} />;
return (
<div>