IO-2793 Change Additional Costs tax item
Signed-off-by: Allan Carr <allan.carr@thinkimex.com>
This commit is contained in:
@@ -897,9 +897,6 @@ function checkStateTax(jobline, jobs_by_pk) {
|
|||||||
(jobline.db_ref && jobline.db_ref.startsWith("90051"))) &&
|
(jobline.db_ref && jobline.db_ref.startsWith("90051"))) &&
|
||||||
!isPaintOrShopMat;
|
!isPaintOrShopMat;
|
||||||
|
|
||||||
if (jobline.tax_part === false) {
|
|
||||||
return false;
|
|
||||||
} else {
|
|
||||||
if (!jobline.part_type && isAdditionalCost) {
|
if (!jobline.part_type && isAdditionalCost) {
|
||||||
if (jobs_by_pk.tax_lbr_rt === 0) {
|
if (jobs_by_pk.tax_lbr_rt === 0) {
|
||||||
return false;
|
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 (jobline.part_type) {
|
||||||
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 ||
|
||||||
|
|||||||
Reference in New Issue
Block a user