From a005f1bb45585e536174c4865e9e4625c1886ff9 Mon Sep 17 00:00:00 2001 From: Allan Carr Date: Mon, 23 Mar 2026 15:52:49 -0700 Subject: [PATCH 1/3] IO-3609 Bill Cost Calculation Toggle Signed-off-by: Allan Carr --- .../components/bill-form/bill-form.lines.component.jsx | 1 + .../shop-info.responsibilitycenters.component.jsx | 8 ++++++++ client/src/translations/en_us/common.json | 1 + client/src/translations/es/common.json | 1 + client/src/translations/fr/common.json | 1 + 5 files changed, 12 insertions(+) diff --git a/client/src/components/bill-form/bill-form.lines.component.jsx b/client/src/components/bill-form/bill-form.lines.component.jsx index b9c41074c..541608ec4 100644 --- a/client/src/components/bill-form/bill-form.lines.component.jsx +++ b/client/src/components/bill-form/bill-form.lines.component.jsx @@ -96,6 +96,7 @@ export function BillEnterModalLinesComponent({ // Only fill actual_cost when the user forward-tabs out of Retail (actual_price) const autofillActualCost = (index) => { + if (bodyshop.accountingconfig?.disableBillCostCalculation) return; Promise.resolve().then(() => { const retailRaw = form.getFieldValue(["billlines", index, "actual_price"]); const actualRaw = form.getFieldValue(["billlines", index, "actual_cost"]); diff --git a/client/src/components/shop-info/shop-info.responsibilitycenters.component.jsx b/client/src/components/shop-info/shop-info.responsibilitycenters.component.jsx index 87013bdd2..3a9588272 100644 --- a/client/src/components/shop-info/shop-info.responsibilitycenters.component.jsx +++ b/client/src/components/shop-info/shop-info.responsibilitycenters.component.jsx @@ -342,6 +342,14 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { valuePropName="checked" > + , + + ] : []), diff --git a/client/src/translations/en_us/common.json b/client/src/translations/en_us/common.json index a79bf0edd..76e55c8f3 100644 --- a/client/src/translations/en_us/common.json +++ b/client/src/translations/en_us/common.json @@ -339,6 +339,7 @@ "require_actual_delivery_date": "Require Actual Delivery", "templates": "Delivery Templates" }, + "disableBillCostCalculation": "Disable Automatic Bill Cost Calculation", "dms": { "apcontrol": "AP Control Number", "appostingaccount": "AP Posting Account", diff --git a/client/src/translations/es/common.json b/client/src/translations/es/common.json index e1061fb2e..683e1d5b8 100644 --- a/client/src/translations/es/common.json +++ b/client/src/translations/es/common.json @@ -339,6 +339,7 @@ "require_actual_delivery_date": "", "templates": "" }, + "disableBillCostCalculation": "", "dms": { "apcontrol": "", "appostingaccount": "", diff --git a/client/src/translations/fr/common.json b/client/src/translations/fr/common.json index b4b37cf62..7ca765876 100644 --- a/client/src/translations/fr/common.json +++ b/client/src/translations/fr/common.json @@ -339,6 +339,7 @@ "require_actual_delivery_date": "", "templates": "" }, + "disableBillCostCalculation": "", "dms": { "apcontrol": "", "appostingaccount": "", From 85e60dcd6b08d3777ec12a8ca3600ce8132641ad Mon Sep 17 00:00:00 2001 From: Allan Carr Date: Mon, 23 Mar 2026 16:00:12 -0700 Subject: [PATCH 2/3] IO-3623 Extend Vendor Discount to Precision 3 Signed-off-by: Allan Carr --- client/src/components/vendors-form/vendors-form.component.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/components/vendors-form/vendors-form.component.jsx b/client/src/components/vendors-form/vendors-form.component.jsx index 547ff9a2a..ddd9b93d8 100644 --- a/client/src/components/vendors-form/vendors-form.component.jsx +++ b/client/src/components/vendors-form/vendors-form.component.jsx @@ -152,7 +152,7 @@ export function VendorsFormComponent({ bodyshop, form, formLoading, handleDelete {!isPartsEntry && ( <> - + From aa81cddcf182a0e690beadcad961068707336c3a Mon Sep 17 00:00:00 2001 From: Allan Carr Date: Mon, 23 Mar 2026 16:46:28 -0700 Subject: [PATCH 3/3] IO-3622 Employee Delete Rate Signed-off-by: Allan Carr --- .../shop-employees/shop-employees-form.component.jsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/client/src/components/shop-employees/shop-employees-form.component.jsx b/client/src/components/shop-employees/shop-employees-form.component.jsx index 59a5b7e9f..e5bfbde23 100644 --- a/client/src/components/shop-employees/shop-employees-form.component.jsx +++ b/client/src/components/shop-employees/shop-employees-form.component.jsx @@ -316,9 +316,8 @@ export function ShopEmployeesFormComponent({ bodyshop }) {