From d7ddbf7e8d77b3b977a61ab535d49690ec1bfcee Mon Sep 17 00:00:00 2001 From: Allan Carr Date: Thu, 20 Jun 2024 14:15:10 -0700 Subject: [PATCH] IO-2793 Change Additional Costs tax item Signed-off-by: Allan Carr --- server/accounting/qb-receivables-lines.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/accounting/qb-receivables-lines.js b/server/accounting/qb-receivables-lines.js index bcd2fff6c..631be177d 100644 --- a/server/accounting/qb-receivables-lines.js +++ b/server/accounting/qb-receivables-lines.js @@ -897,9 +897,6 @@ function checkStateTax(jobline, jobs_by_pk) { (jobline.db_ref && jobline.db_ref.startsWith("90051"))) && !isPaintOrShopMat; - if (jobline.tax_part === false) { - return false; - } else { if (!jobline.part_type && isAdditionalCost) { if (jobs_by_pk.tax_lbr_rt === 0) { return false; @@ -908,6 +905,9 @@ function checkStateTax(jobline, jobs_by_pk) { } } + if (jobline.tax_part === false) { + return false; + } else { if (jobline.part_type) { if ( jobs_by_pk.parts_tax_rates[`${jobline.part_type.toUpperCase()}`].prt_tax_in === false ||