IO-2793 Correction for Sublet Part Tax
Signed-off-by: Allan Carr <allan.carr@thinkimex.com>
This commit is contained in:
@@ -912,14 +912,6 @@ function checkStateTax(jobline, jobs_by_pk) {
|
|||||||
return false;
|
return false;
|
||||||
} else {
|
} else {
|
||||||
if (jobline.part_type) {
|
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 (
|
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_in === false ||
|
||||||
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_rt === 0
|
||||||
|
|||||||
Reference in New Issue
Block a user