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"]);