IO-2116 Add account number to control types for DMS.

This commit is contained in:
Patrick Fic
2022-11-30 08:47:20 -08:00
parent df8c94cda2
commit bc3238aba2
8 changed files with 125 additions and 3 deletions

View File

@@ -345,7 +345,20 @@ export function DmsPostForm({ bodyshop, socket, job, logsRef }) {
t(`jobs.fields.${cdkPayer?.control_type}`)}
</div>
);
else {
else if (
i18n.exists(
`jobs.fields.dms.control_type.${cdkPayer?.control_type}`
)
) {
return (
<div>
{cdkPayer &&
t(
`jobs.fields.dms.control_type.${cdkPayer?.control_type}`
)}
</div>
);
} else {
return null;
}
}}