From 93390bef6384fe0ff07309da0fd4c66735a0251c Mon Sep 17 00:00:00 2001 From: Patrick Fic Date: Fri, 5 Jan 2024 17:57:23 -0800 Subject: [PATCH] Additional CI fix. --- .../bill-form/bill-form.component.jsx | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/client/src/components/bill-form/bill-form.component.jsx b/client/src/components/bill-form/bill-form.component.jsx index f5e43c3d6..7f6374984 100644 --- a/client/src/components/bill-form/bill-form.component.jsx +++ b/client/src/components/bill-form/bill-form.component.jsx @@ -79,19 +79,19 @@ export function BillFormComponent({ }); }; - const handleFederalTaxExemptSwitchToggle = (checked) => { - // Early gate - if (!checked) return; - const values = form.getFieldsValue("billlines"); - // Gate bill lines - if (!values?.billlines?.length) return; + // const handleFederalTaxExemptSwitchToggle = (checked) => { + // // Early gate + // if (!checked) return; + // const values = form.getFieldsValue("billlines"); + // // Gate bill lines + // if (!values?.billlines?.length) return; - const billlines = values.billlines.map((b) => { - b.applicable_taxes.federal = false; - return b; - }); - form.setFieldsValue({ billlines }); - }; + // const billlines = values.billlines.map((b) => { + // b.applicable_taxes.federal = false; + // return b; + // }); + // form.setFieldsValue({ billlines }); + // }; useEffect(() => { if (job) form.validateFields(["is_credit_memo"]);