From ace16ba873aff0e54868812f927f6268dbefb53b Mon Sep 17 00:00:00 2001 From: Allan Carr Date: Thu, 20 Jun 2024 13:46:54 -0700 Subject: [PATCH] IO-2793 Adjustment for parts Signed-off-by: Allan Carr --- server/accounting/qb-receivables-lines.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/server/accounting/qb-receivables-lines.js b/server/accounting/qb-receivables-lines.js index 1207ae6e0..bcd2fff6c 100644 --- a/server/accounting/qb-receivables-lines.js +++ b/server/accounting/qb-receivables-lines.js @@ -910,10 +910,8 @@ function checkStateTax(jobline, jobs_by_pk) { if (jobline.part_type) { if ( - (jobs_by_pk.parts_tax_rates[`${jobline.part_type.toUpperCase()}`].prt_tax_in && - jobs_by_pk.parts_tax_rates[`${jobline.part_type.toUpperCase()}`].prt_tax_in === false) || - (jobs_by_pk.parts_tax_rates[`${jobline.part_type.toUpperCase()}`].prt_tax_rt && - jobs_by_pk.parts_tax_rates[`${jobline.part_type.toUpperCase()}`].prt_tax_rt === 0) + jobs_by_pk.parts_tax_rates[`${jobline.part_type.toUpperCase()}`].prt_tax_in === false || + jobs_by_pk.parts_tax_rates[`${jobline.part_type.toUpperCase()}`].prt_tax_rt === 0 ) { return false; } else {