diff --git a/bodyshop_translations.babel b/bodyshop_translations.babel index 3aacdbdec..bc3bb852f 100644 --- a/bodyshop_translations.babel +++ b/bodyshop_translations.babel @@ -28886,6 +28886,27 @@ + + window_tag_sublet + false + + + + + + en-US + false + + + es-MX + false + + + fr-CA + false + + + work_authorization false diff --git a/client/src/components/job-detail-lines/job-lines.component.jsx b/client/src/components/job-detail-lines/job-lines.component.jsx index c6376866a..474be88da 100644 --- a/client/src/components/job-detail-lines/job-lines.component.jsx +++ b/client/src/components/job-detail-lines/job-lines.component.jsx @@ -307,12 +307,14 @@ export function JobLinesComponent({ }; const handleMark = (e) => { - if (e.key === "clear") setSelectedLines([]); - - setSelectedLines([ - ...selectedLines, - ...jobLines.filter((item) => item.part_type === e.key), - ]); + if (e.key === "clear") { + setSelectedLines([]); + } else { + setSelectedLines([ + ...selectedLines, + ...jobLines.filter((item) => item.part_type === e.key), + ]); + } }; const markMenu = ( @@ -321,6 +323,7 @@ export function JobLinesComponent({ {t("joblines.fields.part_types.PAN")} {t("joblines.fields.part_types.PAL")} {t("joblines.fields.part_types.PAS")} + {t("general.labels.clear")} ); diff --git a/client/src/components/vendors-form/vendors-form.component.jsx b/client/src/components/vendors-form/vendors-form.component.jsx index f8005283d..ca512cb3c 100644 --- a/client/src/components/vendors-form/vendors-form.component.jsx +++ b/client/src/components/vendors-form/vendors-form.component.jsx @@ -7,7 +7,6 @@ import { Input, InputNumber, PageHeader, - Select, Space, Switch, } from "antd"; @@ -159,19 +158,21 @@ export default function VendorsFormComponent({ - - - + { + // + // + // + } {t("vendors.labels.preferredmakes")} diff --git a/client/src/translations/en_us/common.json b/client/src/translations/en_us/common.json index f6bbbea2c..9675e079f 100644 --- a/client/src/translations/en_us/common.json +++ b/client/src/translations/en_us/common.json @@ -1727,6 +1727,7 @@ "vehicle_check_in": "Vehicle Intake", "vehicle_delivery_check": "Vehicle Delivery Checklist", "window_tag": "Window Tag", + "window_tag_sublet": "Window Tag - Sublet", "work_authorization": "Work Authorization", "worksheet_by_line_number": "Worksheet by Line Number", "worksheet_sorted_by_operation": "Worksheet by Operation", diff --git a/client/src/translations/es/common.json b/client/src/translations/es/common.json index 10e8ec52d..01a2a8fdc 100644 --- a/client/src/translations/es/common.json +++ b/client/src/translations/es/common.json @@ -1727,6 +1727,7 @@ "vehicle_check_in": "", "vehicle_delivery_check": "", "window_tag": "", + "window_tag_sublet": "", "work_authorization": "", "worksheet_by_line_number": "", "worksheet_sorted_by_operation": "", diff --git a/client/src/translations/fr/common.json b/client/src/translations/fr/common.json index 26438a0d7..57dd91448 100644 --- a/client/src/translations/fr/common.json +++ b/client/src/translations/fr/common.json @@ -1727,6 +1727,7 @@ "vehicle_check_in": "", "vehicle_delivery_check": "", "window_tag": "", + "window_tag_sublet": "", "work_authorization": "", "worksheet_by_line_number": "", "worksheet_sorted_by_operation": "", diff --git a/client/src/utils/TemplateConstants.js b/client/src/utils/TemplateConstants.js index 797e262c4..7f8c7b8ed 100644 --- a/client/src/utils/TemplateConstants.js +++ b/client/src/utils/TemplateConstants.js @@ -280,6 +280,14 @@ export const TemplateList = (type, context) => { disabled: false, group: "post", }, + window_tag_sublet: { + title: i18n.t("printcenter.jobs.window_tag_sublet"), + description: "Window Tag Sublet", + key: "window_tag_sublet", + subject: i18n.t("printcenter.jobs.window_tag_sublet"), + disabled: false, + group: "ro", + }, } : {}), ...(!type || type === "job_special"