IO-1505 Resolve PST exempt exporting to QBO.

This commit is contained in:
Patrick Fic
2021-11-09 16:04:16 -08:00
parent f4ddb40bde
commit 6afcf82cc4
2 changed files with 14 additions and 8 deletions

View File

@@ -76,7 +76,12 @@ exports.default = function ({
{
local: false,
federal: true,
state: (jobline.db_ref === "900511" || jobline.db_ref === "900510") ? true: jobline.tax_part,
state:
jobs_by_pk.state_tax_rate === 0
? false
: jobline.db_ref === "900511" || jobline.db_ref === "900510"
? true
: jobline.tax_part,
},
bodyshop.md_responsibility_centers.sales_tax_codes
);
@@ -142,7 +147,7 @@ exports.default = function ({
{
local: false,
federal: true,
state: true,
state: jobs_by_pk.state_tax_rate === 0 ? false : true,
},
bodyshop.md_responsibility_centers.sales_tax_codes
);
@@ -204,7 +209,7 @@ exports.default = function ({
{
local: false,
federal: true,
state: true,
state: jobs_by_pk.state_tax_rate === 0 ? false : true,
},
bodyshop.md_responsibility_centers.sales_tax_codes
);
@@ -267,7 +272,7 @@ exports.default = function ({
{
local: false,
federal: true,
state: true,
state: jobs_by_pk.state_tax_rate === 0 ? false : true,
},
bodyshop.md_responsibility_centers.sales_tax_codes
);
@@ -346,7 +351,7 @@ exports.default = function ({
{
local: false,
federal: true,
state: true,
state: jobs_by_pk.state_tax_rate === 0 ? false : true,
},
bodyshop.md_responsibility_centers.sales_tax_codes
);
@@ -394,7 +399,7 @@ exports.default = function ({
{
local: false,
federal: true,
state: true,
state: jobs_by_pk.state_tax_rate === 0 ? false : true,
},
bodyshop.md_responsibility_centers.sales_tax_codes
);
@@ -445,7 +450,7 @@ exports.default = function ({
{
local: false,
federal: true,
state: true,
state: jobs_by_pk.state_tax_rate === 0 ? false : true,
},
bodyshop.md_responsibility_centers.sales_tax_codes
);