From 0d2cdec75c0a545991f0bed280446638f326bce7 Mon Sep 17 00:00:00 2001 From: Allan Carr Date: Mon, 10 Jun 2024 14:42:21 -0700 Subject: [PATCH] IO-2793 Correction for Sublet Part Tax Signed-off-by: Allan Carr --- server/accounting/qb-receivables-lines.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/server/accounting/qb-receivables-lines.js b/server/accounting/qb-receivables-lines.js index bb8fa8259..4be412ac9 100644 --- a/server/accounting/qb-receivables-lines.js +++ b/server/accounting/qb-receivables-lines.js @@ -912,14 +912,6 @@ function checkStateTax(jobline, jobs_by_pk) { return false; } else { if (jobline.part_type) { - if (jobline.part_type === "PAS" || jobline.part_type === "PASL") { - if (jobs_by_pk.tax_sub_rt === 0) { - return false; - } else { - return true; - } - } - if ( 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