diff --git a/bodyshop_translations.babel b/bodyshop_translations.babel index c55a71ccb..b52de475e 100644 --- a/bodyshop_translations.babel +++ b/bodyshop_translations.babel @@ -34582,6 +34582,179 @@ + + type + false + + + + + + en-US + false + + + es-MX + false + + + fr-CA + false + + + + + types + + + customer + false + + + + + + en-US + false + + + es-MX + false + + + fr-CA + false + + + + + general + false + + + + + + en-US + false + + + es-MX + false + + + fr-CA + false + + + + + office + false + + + + + + en-US + false + + + es-MX + false + + + fr-CA + false + + + + + paint + false + + + + + + en-US + false + + + es-MX + false + + + fr-CA + false + + + + + parts + false + + + + + + en-US + false + + + es-MX + false + + + fr-CA + false + + + + + shop + false + + + + + + en-US + false + + + es-MX + false + + + fr-CA + false + + + + + supplement + false + + + + + + en-US + false + + + es-MX + false + + + fr-CA + false + + + + + updatedat false diff --git a/client/src/components/jobs-convert-button/jobs-convert-button.component.jsx b/client/src/components/jobs-convert-button/jobs-convert-button.component.jsx index 108a3e89f..b48deb3b5 100644 --- a/client/src/components/jobs-convert-button/jobs-convert-button.component.jsx +++ b/client/src/components/jobs-convert-button/jobs-convert-button.component.jsx @@ -219,13 +219,15 @@ export function JobsConvertButton({ )} - - - + {bodyshop.region_config.toLowerCase().startsWith("ca") && ( + + + + )} - - - + {bodyshop.region_config.toLowerCase().startsWith("ca") && ( + + + + )} - - - - - + {bodyshop.region_config.toLowerCase().startsWith("ca") && ( + + + + + + )} - - - - - - + {bodyshop.region_config === "CA_BC" && ( + + + + + + + )} - - - + {bodyshop.region_config.toLowerCase().startsWith("ca") && ( + + + + )} ), }, + { + title: t("notes.fields.type"), + dataIndex: "type", + key: "type", + width: 120, + filteredValue: filter?.type || null, + filters: [ + { value: "general", text: t("notes.fields.types.general") }, + { value: "customer", text: t("notes.fields.types.customer") }, + { value: "shop", text: t("notes.fields.types.shop") }, + { value: "office", text: t("notes.fields.types.office") }, + { value: "parts", text: t("notes.fields.types.parts") }, + { value: "paint", text: t("notes.fields.types.paint") }, + { + value: "supplement", + text: t("notes.fields.types.supplement"), + }, + ], + onFilter: (value, record) => value.includes(record.type), + render: (text, record) => t(`notes.fields.types.${record.type}`), + }, { title: t("notes.fields.text"), dataIndex: "text", @@ -106,7 +127,7 @@ export function JobNotesComponent({ title: t("notes.actions.actions"), dataIndex: "actions", key: "actions", - width: 150, + width: 200, render: (text, record) => (