feature/IO-3497-Ant-Design-v5-to-v6 - Signed off Files (Checkpoint)

This commit is contained in:
Dave
2026-01-12 12:06:47 -05:00
parent c119a66f27
commit dd3eda12ce
153 changed files with 4819 additions and 4524 deletions

View File

@@ -68,7 +68,7 @@ export default function ShopInfoContainer() {
preserveHiddenFormData();
}, [data, form, preserveHiddenFormData]);
if (error) return <AlertComponent message={error.message} type="error" />;
if (error) return <AlertComponent title={error.message} type="error" />;
if (loading) return <LoadingSpinner />;
return (
<Form

View File

@@ -168,7 +168,6 @@ export default function ShopInfoPartsScan({ form }) {
label={t("bodyshop.fields.md_parts_scan.caseInsensitive")}
name={[field.name, "caseInsensitive"]}
valuePropName="checked"
initialValue={true}
labelCol={{ span: 14 }}
wrapperCol={{ span: 10 }}
>
@@ -183,7 +182,6 @@ export default function ShopInfoPartsScan({ form }) {
label={t("bodyshop.fields.md_parts_scan.mark_critical")}
name={[field.name, "mark_critical"]}
valuePropName="checked"
initialValue={true}
labelCol={{ span: 14 }}
wrapperCol={{ span: 10 }}
>
@@ -242,7 +240,14 @@ export default function ShopInfoPartsScan({ form }) {
<Form.Item>
<Button
type="dashed"
onClick={() => add({ field: "line_desc", operation: "contains" })}
onClick={() =>
add({
field: "line_desc",
operation: "contains",
mark_critical: true,
caseInsensitive: true
})
}
style={{ width: "100%" }}
>
{t("bodyshop.actions.addpartsrule")}

View File

@@ -25,7 +25,7 @@ export function ShopInfoIntellipay({ bodyshop, form }) {
const { intellipay_config } = form.getFieldsValue();
if (intellipay_config?.enable_cash_discount)
return <Alert message={t("bodyshop.labels.intellipay_cash_discount")} />;
return <Alert title={t("bodyshop.labels.intellipay_cash_discount")} />;
}}
</Form.Item>